APPLICATION NOTE #158 PRINTING MULTIPLE COPIES ON A LIPS 10 LASER PRINTER Rev. 01 If you are using a C. Itoh LIPS 10 Laser Printer, you can set up a PC (Printer Control) table or use the PI (Printer Insert) command to define the number of copies you want to print. This application note gives you the information you need to use XyWrite to invoke the LIPS command language multiple (LCL) copy command. LCL MULTIPLE COPY COMMAND If you want to print multiple copies of the same document, you can simply execute the TYPE command once for each copy. However, if you are printing a large number of copies of a small document, it is more efficient to use the LCL multiple copy command, because your computer only has to process one request, leaving it free to go on to other tasks. The form of the LCL command is: O];COPY n;EXIT where n is the number of copies you want to print. (The default is 1.) When the printer processes this command, it prints the specified number of copies of each page in the document, but it does not collate them. In other words, if you request 10 copies, the printer outputs 10 copies of page 1, then 10 copies of page 2, etc. Therefore, the command is most effective when used with small documents, such as memos and letters. USING THE PI (PRINTER INSERT) COMMAND PI is an embedded command that allows you to send a control string of up to 80 characters directly to the printer. Let's assume you want to print three copies of your memo: 1. Call the file to the screen. 2. Position the cursor at the start of the file. 3. Enter the PI command along with the LCL codes for printing 3 copies. (Note: the character after the closing parentheses is an uppercase O (oh), not a zero.) Type: F5pi )O]; copy 3;exit; Result: An embedded triangle marks the spot where you issued the command. When you TYPE your memo, your printer will output three copies of it. USING THE PC (PRINTER CONTROL) TABLE Like the PI command discussed above, the PC (Printer Control) command also allows you to send control strings directly to the printer. To use the PC command, you first define the control strings in a Printer Control table in the printer file and then reference them in the PC command. Suppose you always print out two copies of your letters, and five copies of your memos. You could set up a PC table so that line one contains the control string for printing a single copy, line two contains the string for 2 copies and line three contains the string for 5 copies. Then, to print multiple copies, you simply enter the PC command along with the line number of the string you want to send (e.g., PC 2 for 2 copies, PC 3 for 5 copies). Let's set up such a PC table. 1. Call your printer file to the screen. For example: Type: F5call 3lips10.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 after the defaults and before the PT tables. (See Note #1.) Type: PC:3 Type: )O];copy 1;exit; Type: )O];copy 2;exit; Type: )O];copy 5;exit; 4. Store and load the printer file. 5. Call your memo or letter to the screen. 6. Enter the appropriate PC command. Remember, the numbers in the PC command reference the appropriate lines in the PC table. Do not confuse these numbers with the quantity of copies you want. To print five copies of your memo: Type: F5pc 3 To print two copies of your letter: Type: F5pc 2 To reset the quantity to one (see Note #1): Type: F5pc 1 CHANGING THE NUMBER OF COPIES The multiple copy command takes effect at the point it is placed in the text and stays in effect until it is overridden. That means that if you issue a PC or PI command to get four copies of a document, you will get four copies of all of your documents until you issue a different PC or PI command (or turn the printer off and on). Let's say you just printed four copies of a series of documents, and now you want to reset the print quantity to one. 1. Display the first document for which you want a single copy. 2. Position the cursor at the start of the file. 3. Enter the appropriate PI or PC command. For example: Type: F5pi )O]; copy 1;exit; or Type: F5pc 1 Result: When you TYPE this and subsequent documents, your printer will output a single copy. Note #1 One Command Per File. Do not put more than one multiple copy command in a file. If you do, the second command will override the first one. Note #2 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 multiple copy control strings 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. Note #3 XyWrite III Users. PI (Printer Insert) is a XyWrite III Plus command. However, you can use the PC (Printer Control) function with the LCL escape code to print multiple copies of your document. Note #4 More Information. For more information on the PI and PC commands, refer to the XyWrite Reference Guide. For more information on the C. Itoh LIPS 10 printer, refer the the documentation supplied by the printer manufacturer.