From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f62f2,3f42244172955ec6,start X-Google-Attributes: gidf62f2,public X-Google-Thread: 1164f8,3f42244172955ec6,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-02-23 20:24:32 PST Newsgroups: comp.sys.dec,comp.lang.postscript Path: nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!zib-berlin.de!Germany.EU.net!EU.net!sun4nl!rtmrd1!wilfred From: wilfred@zeus.wnc.nedlloyd.nl (Wilfred Mollenvanger) Subject: DEC5100 postscript tray select Message-ID: <1995Feb23.114200.5043@cti.wnc.nedlloyd.nl> Sender: news@cti.wnc.nedlloyd.nl Nntp-Posting-Host: apollo.wnc.nedlloyd.nl Organization: Nedlloyd Computer Services X-Newsreader: TIN [version 1.2 PL1] Date: Thu, 23 Feb 1995 11:42:00 GMT Xref: nntp.gmd.de comp.sys.dec:21770 comp.lang.postscript:18602 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.