The information in this article applies to:
SUMMARYSome printers, especially dot-matrix printers, do not support PCL command streams, which require a different approach to creating and modifying PDFs (Printer Definition File) used in making PDTs (Printer Definition Table). This article provides the steps to create a PDT to support Epson mode, which is common to many dot-matrix printers. MORE INFORMATION
In many cases, the dot-matrix printer is used for report and label generation using preprinted forms, so accurate placement of characters is critical. The most important settings are CPI (Characters Per Inch), which is the horizontal spacing, LPI (Lines Per Inch), which is the vertical spacing of the lines, and lines per page or page length. Also keep in mind, that most dot-matrix printers have settings for default form size, LPI, CPI and font. When you create a PDF try to keep it simple by changing only those items which are not defaulted in the printer. The use of the Generic/Text only driver delivers an ASCII stream of characters to the printer with no print formatting.
Example: The following example lists the settings to place in a PDF file for 6 LPI, 10 CPI, 8.5 inch forms on an Okidata printer or Tally printer using Epson FX100 emulation: The following changes and additions were made: 10 CPI = 1B 50A highly edited example of a PDF is as follows: Cautionary Notes: All Epson emulations are not created equal. There are 3 Epson modes: 9-pin ESC/P, ESC/P and ESC/P2. Most vendors emulate ESC/P, although not necessarily completely. Write the PDF file with codes using ESC/P for greatest compatibility, testing each change. If the change does not take, obtain the correct code from the printer vendor's documentation. The print server sends the LL6 or LL8 values based on the GUI setting after all of the START_JOB commands have been sent, overriding any LPI commands sent earlier in the PDT as follows: 1B 43 33 1B 32 (6LPI, PDT) 1B 50 1B 30 (8LPI, GUI Setting)When you use the form size settings in Windows NT, Windows NT sends a form feed command when the configured form length (by counting the number of lines) is reached. If the printer is set for a different number of lines for a page size, the printer will form feed to its defined form size. An example may better illustrate this concept. If Windows NT is set for a form length of 8.5 inches at 6 Lines per inch and the printer is set for an 11 inch form, Windows NT sends a form feed after the 51st line. The printer performs the form feed to the top of the next 11 inch form, throwing off the print job entirely. Setting the paper source to Continuous Feed in the Windows NT Spooler printer properties does not override the form size that must be entered so the Windows NT setting and the Printer setting must match. If, after matching form sizes, the print still does not seem to line up, there may be a difference in how Windows NT figures form length and the printer figures form length. To test this scenario, create a very long custom form in Windows NT and print using that form length. Observe where the printer is now performing the form feed to the next page and count the lines. Configure a form in Windows NT to match the number of lines that the printer is using, and the data will usually line up. Dot-matrix printers may be set for Perforation Skip Over, which may also throw off lines per page calculations. REFERENCESwww.epson.co.uk/support/manuals/select/escp.htm Additional query words:
Keywords : sna3 sna4 |
Last Reviewed: December 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |