tpmsph@ecsvax.uncecs.edu (Thomas P. Morris) (02/02/89)
(Please respond to my e-mail address below, as I don't normally ready this newsgroup... Thanks in advance.) Help! I'm having a devil of a time understanding how/when to use the paper size/tray selection operators "legal" and "legaltray" (and maybe even fiddling with "paperlength", if it exists), on a NEC LC890. A (somewhat long) description of my particular PostScript dilemma follows. The NEC LC890+ has two input trays, and is capable of using Legal length paper. Theoretically, the "statusdict" operator "legal" is supposed to change the current page / current tray "imageable area" to legal (8.5"x14") sized page area. Unfortunately, when I use this command, the printer doesn't "complain" about this being illegal or improper. But all the pages come out blank! So, I'm looking for someone who knows the particular `magic words' or `mantra' to send to the printer so that the printer not only doesn't complain, but so that it also prints something more than just blank pages! Some of the offending code, mostly produced by the MASS-11 word processing utility: save clippath pathbbox 4 1 roll pop pop exch translate .1 .1 scale statusdict begin 2 setpapertray end userdict begin legal end /Courier findfont 10 10 mul scalefont setfont /current_ps {10} def and so on, ad nauseum... Unlike the Apple Laserwriters, there is no separate physical tray for legal paper. There _are_ front panel menus which could be used to change the paper type, but that is _rather_ cumbersome, and definitely prone to operator error, especially for the printers in some of our departmental offices. The LC890 PostScript Supplement mentions another command called "legaltray", but this requires changing settings using the frontpanel menus. Finally, the Supplement claims there is a variable or array called "paperlength" which doesn't appear in any of the printer's PostScript dictionaries, according to a short PostScript program I wrote. If anyone can shed some heat or light on this problem, please help! -------------------------------------------------------------------------- Tom Morris BITNET: TOM@UNCSPHVX UNC School of Public Health, CAIS UUCP: ...!mcnc!ecsvax!tpmsph -------------------------------------------------------------------------- -- ----------------------------------------------------------------------------- Tom Morris BITNET: TOM@UNCSPHVX UNC School of Public Health UUCP : ...!mcnc!ecsvax!tpmsph -----------------------------------------------------------------------------