APPLICATION NOTE #140 USING THE QMS-PS 800 WITH XYWRITE III PLUS Rev. 01 The QMS-PS 800 and QMS-PS 800 II, products of QMS, Inc., are 300-dot-per-inch laser printers that respond to PostScript (a page description language developed by Adobe Systems Inc.) This application note explains how you can set up a PC (Printer Control) table or use the PI (Printer Insert) command to change the printer's method of feeding paper or to switch paper trays. USING THE MANUAL PAPER FEED SLOT The manual paper feed slot is useful if you want to print an envelope, a transparency, or other such items. To switch from cassette paper feed (the default state) to the manual paper feed, you use the following PostScript command: )s statusdict/manualfeed true put( XyWrite provides two ways to send PostScript commands to the printer: the PI (Printer Insert) command and the PC (Printer Control) command. To use the PI command: 1. Move the cursor to the place in the document where you want to activate manual paper feed. 2. Enter the PI command, along with the PostScript command for manual feed: Type: F5pi )s statusdict/manualfeed true put( Result: When you TYPE your document, the code to switch to manual feed is sent to the printer. The printer remains in the manual feed state until it receives a code to change to the cassette feed state or until you power the printer off and on. To restore printing to the printer's cassette paper feed: 1. Move the cursor to the place in the document where you want to reactivate cassette feed. 2. Enter the PI command, along with the PostScript command for cassette feed: Type: F5pi )s statusdict/manualfeed false put( If you regularly switch from one method of paper feeding to another, you may want to set up a PC (Printer Control) table in your printer file. The PC table eliminates the need to remember the PostScript command and also reduces the risk of making a typographical error when issuing the command. To set up a PC table: 1. Call your printer file to the screen. For example: Type: F5call 3post.prn 2. Move the cursor to the section of the printer file that contains the default commands (e.g., DF PL, DF FD, etc.). 3. Enter the PC table. (See Note #1.) Type: PC:2 Type: )s statusdict/manualfeed true put( Type: )s statusdict/manualfeed false put( 4. Store and load the printer file. 5. Call your document to the screen. 6. Enter the appropriate PC command. The numbers in the PC command refer to lines in the PC table. To switch to manual feed: Type: F5pc 1 To restore cassette feed: Type: F5pc 2 CHANGING PAPER CASSETTES The QMS-PS 800 II has two paper cassettes. The lower cassette, which the printer uses by default, is tray 1; the upper cassette is tray 2. To switch to the upper tray, issue the PI command to send the correct PostScript codes to the printer. Type: F5pi )s statusdict begin 2 setpapertray end( To reinstate tray 1 as the default, issue the following PI command: Type: F5pi )s statusdict begin 1 setpapertray end( As with all printer instructions, you can include the codes to change paper cassettes in a PC table in your printer file. The table would look like this (see Note #1): PC:2 )s statusdict begin 1 setpapertray end( )s statusdict begin 2 setpapertray end( After you enter this table, store and load the printer file. You can now change paper trays by issuing the PC command. To activate paper tray 2, move the cursor to the appropriate spot in your document and: Type: F5pc 2 To restore paper tray 1 as the default: Type: F5pc 1 Note #1 Editing a PC Table. A printer file can contain only one PC table, but that PC table can contain any number of lines. If your printer file already has a PC table, you can add the control strings described in this application note to it. Be sure to change the top line of the PC table to include the number of lines you add. Then determine the line numbers for the new control strings so that you specify the correct values in the PC command.