🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.postscript.programming
3 messages
3 total messages Started by Myra_Dry Tue, 28 Oct 2003 10:13
Tray selection HP2300 - EPS
#716
Author: Myra_Dry
Date: Tue, 28 Oct 2003 10:13
9 lines
1152 bytes
Hi - I need to insert code into an EPS file in order to select - in seperate print streams - tray 2 with A4 paper and tray 3 with A5 paper. I've tried <</ManualFeed false /MediaPostion 1>> setpagedevice
for A5 paper.

Maybe I'm inserting the code in the wrong place (before %%Page).
I know almost nothing about EPS or PostScript. The EPS gets generated by an old IBM product called DCF on a mainframe and gets printed on printers attached to Windows 2000 PC's. This has always worked well because no tray selection had to be done.

Please help
Thank you
Myra
Re: Tray selection HP2300 - EPS
#717
Author: Aandi_Inston
Date: Tue, 28 Oct 2003 11:04
13 lines
1254 bytes
You must not do this in an EPS. The rules for EPS are very clear: you
must not include device control like this.  You can put it into a
printable PostScript file, just not EPS (which is not meant for
printing).  An EPS must also be single page.

I don't know if your code is right, otherwise. You should take the
code from the PPD file, because it is different for each printer.
Also, you must include a page size request.

If you don't request a page size, the paper size is not changed, so it
cannot switch to a tray with different sized paper.

Aandi Inston
Re: Tray selection HP2300 - EPS
#718
Author: Myra_Dry
Date: Fri, 31 Oct 2003 06:55
4 lines
1066 bytes
Thanks a lot for your help. I've managed to solve the problem in another way. I've set the default page size on the printer to A5 and the paper size in tray 3 to A5 and because the EPS code doesn't set a paper size it defaults to the what the printer has set. For A4 printing I send the print job through GhostScript which converts it to PCL and sets the page size to A4. Tray 2 on the printer has page size set to A4.

Thanks again
Myra
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads