Thread View: adobe.postscript.programming
3 messages
3 total messages
Started by Markus Plannerer
Tue, 02 Mar 2004 09:26
select papertray A3
Author: Markus Plannerer
Date: Tue, 02 Mar 2004 09:26
Date: Tue, 02 Mar 2004 09:26
8 lines
1320 bytes
1320 bytes
Hello, how to select papertray A3 which is not the default ? The Printer is Lexmark C910. Thanks Markus
Re: select papertray A3
Author: Aandi Inston
Date: Tue, 02 Mar 2004 11:21
Date: Tue, 02 Mar 2004 11:21
16 lines
1664 bytes
1664 bytes
Markus Plannerer <mp@erpa.NoSpam.de> wrote: >how to select papertray A3 which is >not the default ? > >The Printer is Lexmark C910. Examine the PPD file for your printer. It will have the PostScript sequences you need for device control. Tip: be sure to include the code for selecting page size A3 -and- the code for selecting the paper tray. One or the other alone may not work. ---------------------------------------- Aandi Inston quite@dial.pipex.com http://www.quite.com Please support usenet! Post replies and follow-ups, don't e-mail them.
Re: select papertray A3
Author: Bram Stolk
Date: Wed, 03 Mar 2004 12:05
Date: Wed, 03 Mar 2004 12:05
60 lines
2960 bytes
2960 bytes
On Tue, 02 Mar 2004 11:21:16 GMT
quite@dial.pipex.con (Aandi Inston) wrote:
> Markus Plannerer <mp@erpa.NoSpam.de> wrote:
>
> >how to select papertray A3 which is
> >not the default ?
> >
> >The Printer is Lexmark C910.
>
> Examine the PPD file for your printer. It will have the PostScript
> sequences you need for device control.
>
> Tip: be sure to include the code for selecting page size A3 -and- the
> code for selecting the paper tray. One or the other alone may not
> work.
> ----------------------------------------
> Aandi Inston quite@dial.pipex.com http://www.quite.com
> Please support usenet! Post replies and follow-ups, don't e-mail them.
>
Something like this works for me:
%!PS
%%PageBoundingBox: 0 0 842 1190
%%Orientation: Landscape
%%DocumentPaperSizes: a3
%%PaperSize: a3
%%BeginPaperSize: a3
/setpagedevice where {
pop 1 dict dup /PageSize [ 842 1190 ] put setpagedevice
} {
statusdict /a3tray known {
statusdict begin a3tray end
/a3 where { pop a3 } if
} {
/a3 where {
pop a3
} {
statusdict /setpage known {
statusdict begin
842 1190 0 setpage
end
} if
} ifelse
} ifelse
} ifelse
%%EndPaperSize
--
------------------------------------------------------------------------------
Bram Stolk, VR Specialist.
SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP AMSTERDAM
email: bram@nospam.sara.nl Phone +31-20-5923059 Fax +31-20-6683167
"For the costs of subsidized agriculture in the EU, we can have all 56 million
European cows fly around the world. First Class." - J. Norberg
------------------------------------------------------------------------------
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