Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page Eject?

Status
Not open for further replies.

dherron

MIS
Jun 8, 2004
1
US
We have an application that creates postscript documents that are printed on postscript capable printers. The application currently places each document in a seperate print file and each file is sent to the printer with a DCL (OpenVMS) PRINT command. When hundreds of documents are created the between-job time (3-5 seconds) is too slow.
We want to create a single print file that contains multiple documents.

The kicker is the first page of each document in the print file must start on the front of the physical piece of paper.
How do I force a "showpage" command to render the image on the front of the current piece of paper, OR the next piece of paper if the last page of the previous document has already been rendered on the front of the current piece of paper? I guess I'm looking for some sort of "page-eject", or "form-feed" capability.

Thanks for your help,
Dan Herron
Kittles Furniture
Indianapolis, IN
 
There is no such command. You'll either need to insert extra showpages programmatically, or you can look at your PPD to see what Duplexing options are available, and insert them between jobs.

Thomas D. Greer
 
This depends on how the a particular printer handles the "setpagedevice" command, but issuing the following commands at the start of the appropriate pages can work:

To start a duplex set:
<</Duplex true>> setpagedevice

To start a simplex set:
<</Duplex false>> setpagedevice

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top