From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f62f2,3f42244172955ec6 X-Google-Attributes: gidf62f2,public X-Google-Thread: 1164f8,3f42244172955ec6 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-02-28 10:57:22 PST Path: nntp.gmd.de!stern.fokus.gmd.de!ceres.fokus.gmd.de!zib-berlin.de!fu-berlin.de!cs.tu-berlin.de!fauern!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!darwin.sura.net!news.udel.edu!udel!news.mathworks.com!newshost.marcam.com!charnel.ecst.csuchico.edu!olivea!hal.COM!decwrl!pa.dec.com!nntpd.lkg.dec.com!regent.enet.dec.com!lasko From: lasko@regent.enet.dec.com (Tim Lasko, Digital Equipment Corp., Marlborough, MA) Newsgroups: comp.sys.dec,comp.lang.postscript Subject: Re: DEC5100 postscript tray select Date: 28 FEB 95 10:57:22 Organization: Digital Equipment Corporation Message-ID: <3ivhek$16e@nntpd.lkg.dec.com> References: <1995Feb23.114200.5043@cti.wnc.nedlloyd.nl> NNTP-Posting-Host: prince.enet.dec.com Xref: nntp.gmd.de comp.sys.dec:22039 comp.lang.postscript:18857 In article <1995Feb23.114200.5043@cti.wnc.nedlloyd.nl>, wilfred@zeus.wnc.nedlloyd.nl (Wilfred Mollenvanger) writes... >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: [PostScript code deleted] >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. PostScript Level 2 operators for media selection are complex, even obutse at times. The DEClaser 5100 includes several level 1 PostScript compatibility operators, such as "setpapertray". You can select trays via "0 setpapertray", "1 setpapertray", etc. That might be easier than this. The compatibility operators are written as level 2 procedures which execute code similar to what you've already been playing with. ------------------------------------------------------------------------------- Tim Lasko, Digital Equipment Corp., Marlborough MA (lasko@regent.enet.dec.com) Tim Lasko, private citizen (TeemL@aol.com) My opinions are my own; the facts can speak for themselves. I'm on my own time. For Digital printer support: call 1.800.777.4343 or email printers@digital.com