TOPIC
This article explains how to use PostScript commands to print from a specific paper tray on the Color LaserWriter 12/600 PS printer either by default, or on a per-job basis.
DISCUSSION In order the change the paper tray for one job, you can use the following PostScript code fragments. This was taken from the Color LaserWriter 12/600 PS PPD. You need to insert the code at the beginning of your print job. CAUTION: If you choose to use the PostScript code provided in this article, you assume all risks involved in making these changes. PostScript code, if not entered correctly, can place the LaserWriter into a condition requiring service. 250 Page Tray %========================================================= % Begin PostScript code % currentpagedevice /InputAttributes get 0 get dup null eq { pop } { dup length 1 add dict copy dup /InputAttributes 1 dict dup /Priority [0 1 2] put put setpagedevice } ifelse % % End PostScript code %========================================================= Multipurpose Tray %========================================================= % Begin PostScript code % currentpagedevice /InputAttributes get 1 get dup null eq { pop } { dup length 1 add dict copy dup /InputAttributes 1 dict dup /Priority [1 0 2] put put setpagedevice } ifelse % % End PostScript code %========================================================= Optional Tray %========================================================= % Begin PostScript code % currentpagedevice /InputAttributes get 2 get dup null eq { pop } { dup length 1 add dict copy dup /InputAttributes 1 dict dup /Priority [2 0 1] put put setpagedevice } ifelse % % End PostScript code %========================================================= Changing Default Tray If you wish to change the default paper tray, this is PostScript Level 1 code: %========================================================= % Begin PostScript Code % serverdict begin 0 exitserver statusdict begin n setdefaultpapertray end % % end PostScript Code %========================================================= Replace "n" before "setdefaultpapertray" based on the following table: 0 (StandardCassette) 1 (Multipurpose) 2 (OptionalCassette) This changes the default paper tray permanently, or until you use this PostScript code to change the default tray again. This is the equivalent PostScript Level 2 code: %========================================================= % Begin PostScript Code % serverdict begin 0 exitserver 1 dict dup /InputAttributes 1 dict dup /Priority [2 1 0] put put setpagedevice % % End PostScript Code %========================================================= This sets the paper tray priority to: 1st Priority - Cassette (500 Sheets) - designated by the "2" in the array above. 2nd Priority - Multipurpose Tray - designated by the "1" in the array above. 3rd Priority - Cassette (250 Sheets) - designated by the "0" in the array above. You can change the paper tray priority order by changing the values in "/Priority [2 1 0]". For example, /Priority [0 1 2] makes the 250 sheet cassette first priority, then the Multipurpose tray next, then the 500 sheet cassette. |
Document Information | |
Product Area: | Printers |
Category: | LaserWriters |
Sub Category: | Color LaserWriter 12/600 PS |
Copyright © 2000 Apple Computer, Inc. All rights reserved.