In PlanetPress Connect Designer, in order to set duplex (short edge/long edge) or media tray calls dynamically, I manually set up identical print sections with the only change is the Sheet Configuration options. I then call these sections via a control script based upon the input data.
Is there a way to set the duplex (short edge/long edge) or media tray call Sheet Configuration options for a section via a control script? Similarly, is there a way to set portrait/landscape options via a control script?
In my current setup, based upon the input data, I’m calling one of the following print sections.
- Plain Run Page
- Plain Run Page - Duplex Long Edge
- Plain Run Page - Duplex Short Edge
- Color Run Page
- Color Run Page - Duplex Long Edge
- Color Run Page - Duplex Short Edge
If the input data calls for a print job pulling from the Plain media tray using Duplex Short Edge, I would call “Plain Run Page - Duplex Short Edge” which has the following options selected:
If the input data calls for a print job pulling from the Color media tray using Duplex Long Edge, I would call “Color Run Page - Duplex Long Edge” which has the following options selected:
Although this does work, I’m now having to add a landscape section. In my current setup, this would mean I would have to setup the following:
- Plain Run Page
- Plain Run Page - Landscape
- Plain Run Page - Duplex Long Edge
- Plain Run Page - Duplex Long Edge - Landscape
- Plain Run Page - Duplex Short Edge
- Plain Run Page - Duplex Short Edge - Landscape
- Color Run Page
- Color Run Page - Landscape
- Color Run Page - Duplex Long Edge
- Color Run Page - Duplex Long Edge - Landscape
- Color Run Page - Duplex Short Edge
- Color Run Page - Duplex Short Edge - Landscape
If duplex, media, and landscape options can be set via a control script, it would cut down on the number of sections that would need to be manually defined and called via a control script.
The only workaround I’ve found for one of the Sheet Configuration options is for rotation. This is accomplished by using the following in a CSS file:
.page_mediabox img {
transform: rotate(180deg);
}