Microsoft KB Archive/32200

Example Multiplan Codes for Epson Printers PSS ID Number: Q32200 Article last modified on 01-12-1989 PSS database name: D_MPlan

1.x 2.x 3.00 3.01 3.02 3.04

MS-DOS

Summary: The table below lists some of the commonly used control codes for Epson-compatible printers. The examples demonstrate the code as it would be entered in the Print Options Setup field of Multiplan. Because this code is sent to the printer at the beginning of the print job, it normally will have an affect on the entire printout.

Action Code

Compressed print on ^O Compressed print off ^R Elite mode on ^[M Elite mode off ^[P Italic on ^[4 Italic off ^[5 Double strike on ^[G Double strike off ^[H

More Information: The ^[ in all these codes is ESCAPE. The Epson printer manuals usually represent ESCAPE with CHR$(27). The code for form length in lines is entered in Print Options Setup as follows:

^[C(number of lines)

The number of lines is designated by typing the ASCII character that represents that number in the ASCII table. For example, suppose you want to configure the Epson for a form length of 65 lines. Because “B” is the 65th decimal character in the ASCII table, you would type the following code in Print Options Setup:

^[CB

Printer control codes also can be placed in individual cells of the spreadsheet, beginning with Multiplan Version 2.01. The method of entering codes in cells is slightly different than the method for entering codes under Print Options Setup. Information on how to enter codes in cells can be found in the “Microsoft Multiplan” manual for Version 3.00 on Pages 476-477.

Copyright Microsoft Corporation 1989.