Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* DEC5100 postscript tray select
@ 1995-02-23 11:42 Wilfred Mollenvanger
  1995-02-28 15:57 ` Tim Lasko, Digital Equipment Corp., Marlborough, MA
  0 siblings, 1 reply; 2+ messages in thread
From: Wilfred Mollenvanger @ 1995-02-23 11:42 UTC (permalink / 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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-02-28 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-02-23 11:42 DEC5100 postscript tray select Wilfred Mollenvanger
1995-02-28 15:57 ` Tim Lasko, Digital Equipment Corp., Marlborough, MA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox