From: wilfred@zeus.wnc.nedlloyd.nl (Wilfred Mollenvanger)
Subject: DEC5100 postscript tray select
Date: Thu, 23 Feb 1995 11:42:00 GMT [thread overview]
Message-ID: <1995Feb23.114200.5043@cti.wnc.nedlloyd.nl> (raw)
Hi,
I'm looking for the postscript code to select the input papertray on
a DEC 5100 printer. We want use this printer from a non DEC
unix system and we don't got library/driver/script to do this. I've
done some experimenting and code like:
/TrayselUpper {
currentpagedevice /InputAttributes get 0 get
dup null eq
{ pop }
{ dup length 1 add dict copy
dup /InputAttributes
1 dict dup /Priority [0] put
put setpagedevice
} ifelse
} bind def
seems to work but isn't there a more 'standard' and cleaner way of doing
this? The problem is, but I'm not an postscipt programmer, that there's
no standard way to do tray selection in postscript. It's printer dependend.
Thanx,
Wilfred Mollenvanger.
next reply other threads:[~1995-02-23 11:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-02-23 11:42 Wilfred Mollenvanger [this message]
1995-02-28 15:57 ` DEC5100 postscript tray select Tim Lasko, Digital Equipment Corp., Marlborough, MA
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox