background image

 105

4

IBM Proprinter III XL 

Emulation

Overview

This chapter describes the Proprinter III XL emulation host control codes. 
“Emulation” refers to the ability of a printer to execute the commands of a 
particular printer control language. A printer control language is the coding 
system used to convey, manipulate, and print data. It contains character 
codes and command sequences that configure the emulation. In this manual, 
the terms “emulation”, “printer protocol”, and “printer control language” are 
synonymous.

In the Proprinter III XL emulation mode, your printer can print files coded for 
the Proprinter III XL printer control language. To select the Proprinter 
emulation as the active printer emulation, select Line from the 
EMULATION menu and Proprinter III XL from the Printer Protocol menu, as 
described in the 

User’s Manual.

The Proprinter III XL emulation provides many configurable parameters. The 
default parameter values for this emulation are shown in Table 26. You can 
modify these parameter values in two ways: 

The Proprinter III XL host control codes. An extensive set of Proprinter 
III XL control code commands can be sent to the printer from an attached 
host computer via the host data stream. Most of this chapter is devoted to 
describing the Proprinter III XL control code commands.

The printer configuration menus. You can modify a subset of the 
Proprinter III XL emulation parameters using the printer configuration 
menus, control panel keys, and LCD, as described in the 

User’s Manual.

Control codes sent from a host system generally override previous settings 
that result from the configuration menus.

Note

Configuration values selected from the menus or via host control codes 
can be saved to the printer’s NVRAM memory so that they will not be lost 
when you power off the printer or reset it to the factory default 
configuration. The menu selection for saving a configuration to memory is 
described in the

 User’s Manual.

Содержание P5000LJ Series

Страница 1: ...P5000LJ Series Printers PCL II LinePrinter Plus Programmer s Reference Manual ...

Страница 2: ......

Страница 3: ...P5000LJ Series Printers 173956 001A PCL II LinePrinter Plus Programmer s Reference Manual ...

Страница 4: ...rect incidental or consequential in connection with the furnishing distribution performance or use of this material The information in this manual is subject to change without notice This document contains proprietary information protected by copyright No part of this document may be reproduced copied translated or incorporated in any other material in any form or by any means whether manual graph...

Страница 5: ...lifont is a registered trademark of Agfa Division Miles Incorporated Agfa CG Garth Graphic Intellifont and Type Director are registered trademarks and Shannon and CG Triumvirate are trademarks of Agfa Division Miles Incorporated Agfa CG Bodoni CG Century Schoolbook CG Goudy Old Style CG Melliza Microstyle CG Omega and CG Palacio are products of Agfa Corporation CG Times based on Times New Roman un...

Страница 6: ......

Страница 7: ...ontrol Codes 23 Printer Feature Set Compatibility 23 General Information 24 Escape Sequences 25 Bar Codes 28 US Postnet Barcodes 38 Character Density Selection 42 Character Font Selection 45 Character Overstrike 47 Character Style Selection 47 Cursor Positioning 49 Display Functions Mode 49 Horizontal Margin Selection 50 Line Spacing 50 Logical Page Length Selection 51 Perforation Skip Mode 52 Pri...

Страница 8: ...3 P Series Printer Emulation 71 Overview 71 P Series Default Values and States 72 Configuring the P Series Emulation with Control Codes 74 Format for Control Code Descriptions 74 Switching Between the Emulations 74 Special Function Control Code SFCC Header 75 SFCC Command Line 75 Attribute Set and Reset Codes 76 NUL Code 76 Print Modes Supported for Character Sets 76 The Control Codes 77 Backspace...

Страница 9: ...ch 96 Line Spacing n 216 Inch 97 Overscoring 97 Plot Even Dot P Series High Density Graphics 98 Plot Odd Dot P Series Normal Density Graphics 98 Print Mode Pitch Selection 99 Reverse 102 Superscript Subscript Printing 103 Superscript Subscript Printing Reset 103 Underline 104 VFU Commands 104 Vertical Tab 104 4 IBM Proprinter III XL Emulation 105 Overview 105 Proprinter III XL Emulation Default Se...

Страница 10: ...ouble Wide Print One Line Only Cancel 124 Emphasized Print 125 Emphasized Print Cancel 125 Form Feed 126 Forms Length Set in Inches 126 Forms Length Set in Lines 127 Initialize Parameters 128 Line Feed 130 Line Feed n 216 Inch One Line Only 131 Line Spacing 1 8 Inch 8 lpi 132 Line Spacing 7 72 Inch 10 3 lpi 132 Line Spacing n 72 Inch Executes 133 Line Spacing n 72 Inch Storage 134 Line Spacing n 2...

Страница 11: ...e Descriptions 152 Escape Sequences 152 Attribute Set and Reset Codes 153 NUL Code 153 Switching Between the Emulations 153 The Control Codes 154 Backspace 157 Bell 157 Cancel Line 157 Carriage Return 158 Character Pitch 10 CPI 158 Character Pitch 12 CPI 158 Character Pitch 15 CPI 158 Character Set Select International Languages 159 Clear Bit 7 of Incoming Data Bytes to 0 160 Condensed Print 160 C...

Страница 12: ...ing 7 72 Inch 175 Line Spacing n 216 Inch 175 Line Spacing n 72 Inch 176 Make Hex 80 9F Control Codes 176 Make Hex 80 9F Printable 176 Master Print Select 178 Paper Out Detection Enable 178 Paper Out Detection Disable 179 Pass Bit 7 from Host 179 Printer Select 179 Printer Deselect 179 Reassign Graphics Mode 180 Remove Downloaded Characters 180 Select Graphics Mode 181 Select Italic Character Set ...

Страница 13: ...Set Reset 191 Vertical Tab Execute 191 Vertical Tab Set Clear 192 6 Graphics 193 Overview 193 Bit Image Graphics 193 Designing a Bit Image Pattern 195 Bit Image Density 195 Bit Image Programming Format 196 Bit Image Sample Program 197 Plot Mode 198 Plot Density 198 Plot Data Byte Format 199 Plot Data Line Format 200 Plotting the Data 202 Exiting from P Series Plot Mode 203 Combining Graphics and T...

Страница 14: ...atin American 226 IBM PC Primary Subset Danish II 227 IBM PC Primary Subset Spanish II 228 IBM PC Primary Subset Latin American II 229 IBM PC Extended Subset 0437 PC Character Set 230 IBM PC Extended Subset 0850 PC Multilingual 231 Multinational ASCII USA 232 Multinational EBCDIC 233 ECMA Latin 1 Primary Subset ASCII USA 234 ECMA Latin 1 Primary Subset German 235 ECMA Latin 1 Primary Subset Swedis...

Страница 15: ...Japanese 260 DEC Multinational French Canadian 261 DEC Multinational Dutch 262 DEC Multinational Finnish 263 DEC Multinational Swiss 264 OCR A 265 OCR B 266 C Proprinter Emulation Character Sets 267 Introduction 267 0437 PC Character Set 268 0850 PC Multilingual 269 OCR A 270 OCR B 271 D Epson Emulation Character Sets 273 Introduction 273 0437 PC Character Set 274 0850 PC Multilingual 275 Epson Se...

Страница 16: ...Table of Contents Epson Set Latin American I 288 Epson Set French Canadian 289 Epson Set Latin American II 290 OCR A 291 OCR B 292 ...

Страница 17: ...nd the information you need to use and configure your Printronix P5000LJ Series printer Warnings and Special Information Read and comply with all information highlighted under special headings Warning Warning messages call attention to situations that could hurt you or damage the equipment Caution Conditions that could damage the printer or related equipment Note A note gives you helpful hints abo...

Страница 18: ... and provides quick reference information on daily printer operations such as loading paper and replacing ribbons Italian French German and Spanish are included P5000LJ Maintenance Manual This manual is not shipped with the printer but can be ordered It explains how to maintain and repair the LineJet printer at the field service level of maintenance This manual covers alignments and adjustments pr...

Страница 19: ...in OCR A and OCR B print modes Bar codes Several bar codes are available including Code 3 of 9 Industrial 2 of 5 Interleaved 2 of 5 UPC A EAN 8 EAN 13 UCC EAN 128 UPCE Royal Mail including KIX format Postnet 11 3 cpi and Postnet 4 cpi P Series The P Series emulation software provides the following features Graphics and a selection of print densities You can enable graphics mode and specify a densi...

Страница 20: ...haracter sets in the different print modes OCR A and B character sets must be printed in OCR A and OCR B print modes Epson FX 1050 The Epson emulation software provides the following features Graphics and print densities You can enable graphics mode and specify a density mode dots per inch Print Attributes Characters can be bold italic double high double wide etc Page Formatting Epson commands all...

Страница 21: ...as described in the User s Manual The PCL II emulation provides many configurable parameters The default parameter values for this emulation are shown in Table 1 You can modify the emulation parameter values in two ways The PCL II host control codes An extensive set of PCL II control code commands can be sent to the printer from an attached host computer via the host data stream Most of this chapt...

Страница 22: ...ion Table 1 PCL II Menu Option Factory Settings Parameter Default Setting Primary Secondary Character Set ID 0 Symbol Set Roman 8 8U Pitch 10 0 cpi Density Data Processing Page Length Representation Inches Page Face CPI Delay Enable Graphics Density 60 dpi Max Line Width 13 2 inches Perforation Skip Disable Display Functions Disable LF after CR Disable CR after LF Disable CR after FF Disable CR af...

Страница 23: ...ride settings in the configuration menus However any configuration settings from host control codes will be gone once the printer is powered off or reset to the default values Host control codes are never reflected in the PCL II configuration menu In order to save a configuration it is necessary to select the desired options from the front panel and save the options to one of the printers eight us...

Страница 24: ...heir entirety and may cause erroneous printing since the printer may be unable to perform the requested operation Logical and Physical Pages The limits of the logical page determine the area in which printing can take place Logical page length is set programmatically in lines per page Physical page length is set via the control panel and indicates the actual size of a single page The physical page...

Страница 25: ...e function to which the previous parameter value applies If this character is lower case a b c etc it indicates a combined escape sequence meaning that more parameterized information will follow If the character is upper case A B C etc it terminates the escape sequence string Shift Out SO 1110 I Select following characters from the current secondary character font until receipt of a Shift In Shift...

Страница 26: ...on purposes only the brackets are not actually part of the commands FUNCTION ASCII CODE PAGE PCL LEVEL I Display Functions Mode on ESCY 49 Display Functions Mode off ESCZ 49 Perforation Skip Mode on ESC l1L 52 Perforation Skip Mode off ESC l0L 52 Print Mode Selection 10 16 67 cpi ESC k 0 2 S 52 Programmable reset ESCE 54 Raster Graphics start ESC rA 63 Raster Graphics data ESC b W data 63 Raster G...

Страница 27: ... code data Z 28 Bar Code Height ESC z H 28 Bar Code Header Control ESC z Q 28 Bar Code Label Placement ESC z C 28 Bar Code Selection ESC z V 28 Emulation Switching ESC 0000 0001 0002 X 23 Print Mode Selection double size ESC k8S 52 PTX Linefeed ESC t 0 1 L 53 Programmable VFC ESC l bytes W data 55 Raster Graphics Move raster lines ESC b Y 63 Raster Graphics Resolution ESC t 70 140 R 63 Raster Grap...

Страница 28: ... height of the bar code label in tenths of an inch as specified in the value field To specify a bar code height of 8 inches the ESC z8H escape sequence would be sent to the printer A zero in the value field specifies that bar code height is determined by the current line spacing 1 6 or 1 8 inch for 6 8 LPI respectively or 1 3 or 1 4 inch for double high double wide The default bar code height is 0...

Страница 29: ...r ESC z Q Bar Code Header Control This sequence specifies the placement of the bar code header A number 1 in the value field specifies that a header will be printed above the bar code label and a 2 specifies that it will be placed below the bar code A zero in the value field specifies that no header will be printed The printer default places the header above the bar code ESC z Bar Code Data Z Bar ...

Страница 30: ...cifies the print specifications for bar codes that are 0 5 inches in height have a header above the label and are printed in the UPC A code ESC z8v5h1Q ESC z8v Select UPC A code 5h Label is to be 5 inches high 1Q Places header above bar code Notice that the last letter in the escape sequence Q is upper case while the other letters in the sequence v and h are lower case See Escape Sequences on page...

Страница 31: ...ter upper case Z potential problems exist As a general rule for each line of bar code mixed with text send the text information first followed by a carriage return without a line feed ASCII 13 and then overlay the bar code The carriage return is required so that the bar code cursor position will be correct The following example illustrates how to print text and bar codes on the same line This exam...

Страница 32: ...he bar code label However if the header is disabled text can be placed next to the bar code label For example if you want a label and also wish to enclose the bar code with a box you may not use automatic headers Instead you may set the height of the bar code to the text height and manually print the header Table 4 Bar Code Character Bar Code Number of Characters Sent Code 3 of 9 Variable Industri...

Страница 33: ... The width of the printed bar code can be approximated by the following equation Width in inches number of characters 3 7 0 38 INTERLEAVED 2 of 5 A variable length data string of up to 32 ASCII characters may be printed using the Interleaved 2 of 5 bar code The string may be an odd or even length However if the string is an odd length a leading zero will be inserted to make a string of an even len...

Страница 34: ...ar code The string length must be 12 and may use any of the standard characters 0 through 9 If a non valid character or string length is used a blank non readable bar code will be printed non valid characters are not substituted or deleted The width of the printed bar code is not variable and is 1 56 inches Royal Mail A variable length data string may be printed using the Royal Mail 4 State Custom...

Страница 35: ...ion Meters n4 n6 312 Width Diameter or 2nd Dimension Meters n4 n6 313 Depth Thickness Height or 3rd Dimension Meters n4 n6 314 Area Square Meters n4 n6 315 Volume Liters n4 n6 316 Volume Cubic Meters n4 n6 320 Net Weight Pounds n4 n6 321 Length or 1st Dimension Inches n4 n6 322 Length or 1st Dimension Feet n4 n6 323 Length or 1st Dimension Yards n4 n6 324 Width Diameter or 2nd Dimension Inches n4 ...

Страница 36: ...ckness Height or 3rd Dimension Yards Logistics n4 n6 350 Area Square Inches n4 n6 351 Area Square Feet n4 n6 352 Area Square Yards n4 n6 353 Area Square Inches Logistics n4 n6 354 Area Square Feet Logistics n4 n6 355 Area Square Yards Logistics n4 n6 356 Net Weight Troy Ounce n4 n6 357 Net Volume Ounces n4 n6 360 Volume Quarts n4 n6 361 Volume Gallons n4 n6 362 Gross Volume Quarts n4 n6 363 Gross ...

Страница 37: ... Width Length Core Diameter Direction and Splices n4 n14 8003 UPC EAN Number and Serial Number or Returnable Asset n4 n14 an 16 8004 UCC EAN Serial Identification n4 an 30 8005 Identifies the Price Per Unit of Measure n4 n6 8006 Component of an Article n4 n14 n2 n2 8018 Service Relation Number n4 n18 8100 Coupon Extended Code Number System Character and Offer n4 n1 n5 8101 Coupon Extended Code Num...

Страница 38: ...bar coding including the latest Delivery Point Bar Code or DPBC US POSTNET Bar Codes print at 4 0 cpi 20 bars per inch and 11 3 cpi 22 5 bars per inch Both bar codes are printed by replacing normal printable characters with vertical bars Both options use different characters to represent the desired bar codes as a result the methods by which they are produced are incompatible 11 3 CPI 22 5 bars pe...

Страница 39: ... calculated by adding all of the digits and subtracting the sum from the next highest multiple of ten Consequently the sum of the eleven digits and the check digit will be an even multiple of ten The printer does not calculate the check digit or automatically generate frame bars They must be generated by the computer resident software and sent to the printer To do this it is necessary to design a ...

Страница 40: ...binary code Example 45 01001 01010 4 Convert the binary code into pairs 01001 01010 01 00 10 10 10 5 Convert each pair into its text equivalent 01 00 10 10 10 6 Add the frame bars This can be done in one of two ways Method 1 Table 6 uses the frame bars as separate characters and Method 2 Table 7 links the frame bars to the first and last characters Table 6 Method 1 ZIP Code digit Frame Bar Digit P...

Страница 41: ...4 0 cpi Once the Secondary character set is configured for 4 0 CPI Postnet Bar Codes the Shift Out command can be used to activate the bar codes Shift Out hex 0E After the bar code is printed the normal print mode is activated by using the Shift In command Shift In hex 0F Table 7 Method 2 ZIP Code digit Frame Bar Digit Pairs Binary Code Conversion Symbol Equivalent Converted ZIP Code Text To Print...

Страница 42: ...x 180 x 96 dpi for the primary font ESC s 1Q Select High speed Draft Printing 12 x 6 dot matrix 120 x 48 dpi for the primary font Secondary Selection ESC s0Q Select Standard Density 12 x 9 dot matrix 120 x 72 dpi for the secondary font ESC s1Q Select High Density 18 x 12 dot matrix 180 x 96 dpi for the secondary font ESC s 1Q Select High speed Draft Printing 12 x 6 dot matrix 120 x 48 dpi for the ...

Страница 43: ... 20 cpi1 in HS DP and NLQ PC858 MtLi 13U 5 20 cpi1 in HS DP and NLQ MC Text 12J 5 20 cpi1 in HS DP and NLQ Roman 9 4U 5 20 cpi1 in HS DP and NLQ Latin 9 9N 5 20 cpi1 in HS DP and NLQ Win 3 0Lat 1 9U 5 20 cpi1 in HS DP and NLQ Japan Postnet 15Y 4 cpi in NLQ only Katakana Post n a2 11 25 cpi in NLQ only ASCII 0U 5 20 cpi1 in HS DP and NLQ Math Sym 0A 0M 5 20 cpi1 in HS DP and NLQ LineDraw 0B 0L 5 20...

Страница 44: ...2G 5 20 cpi1 in HS DP and NLQ PC852 Lat2 17U 5 20 cpi1 in HS DP and NLQ PC Turkish 9T 5 20 cpi1 in HS DP and NLQ PC Hebrew 15H 5 20 cpi1 in HS DP and NLQ PC Lat Ara 10V 5 20 cpi1 in DP and NLQ 10 cpi in HS only PC Cyrillic 3R 5 20 cpi1 in HS DP and NLQ Win3 1Lat1 19U 5 20 cpi1 in HS DP and NLQ Win3 1Lat 2 9E 5 20 cpi1 in HS DP and NLQ Win3 1Lat 5 5T 5 20 cpi1 in HS DP and NLQ Math 8 8M 5 20 cpi1 i...

Страница 45: ... cpi1 in HS DP and NLQ ELOT 927 Greek n a2 5 20 cpi1 in HS DP and NLQ Greek 437 n a2 5 20 cpi1 in HS DP and NLQ Greek 8859 7 n a2 5 20 cpi1 in HS DP and NLQ NOTES 5 20 cpi1 5 10 12 13 3 15 16 67 20 cpi n a2 not applicable There is no designated code for this font you can select it only from the control panel Table 8 Available Symbol Sets continued Name Code CPI in High Speed HS Data Processing DP ...

Страница 46: ...s to those attributes last specified or if none have been specified from the control panel default font For example if you wish to select a font without selecting a print pitch the print pitch last specified will be in effect If you had not previously specified a print pitch the printer will use the print pitch of the default font that was last specified from the control panel provided that the pa...

Страница 47: ...tyles upright and italic The following escape sequences select either the upright or the italic print style for the primary and secondary character fonts ESC s0S Selects the upright style for the primary font ESC s1S Selects the italic style for the primary font ESC s0S Selects the upright style for the secondary font ESC s1S Selects the italic style for the secondary font Italics cannot be select...

Страница 48: ...rsor to absolute horizontal cursor position in decipoints where x 720 inch increments Fractional decipoint values are not allowed Relative Horizontal Cursor Position in Decipoints ESC a H Move cursor horizontally in decipoints relative to the current position where is a signed integer at x 720 inch increments Fractional decipoint values are not allowed The vertical cursor positioning commands move...

Страница 49: ...occur if vertical positioning is set to a value higher than the current position Display Functions Mode PCL Level I The display functions mode can be entered using the ESCY sequence In the display functions mode the printer prints representative character symbols for the control code characters instead of actually executing the control characters In this mode the carriage return CR control charact...

Страница 50: ...sition then the new setting does not take effect until the cursor is reset to zero The first column within a line is designated column 0 If a print position greater or less than the printer s physical limit is specified the right or left margin will be set to the limits of the printer Power on and set the margins to the maximum limits Commands are ignored if the result would place the left margin ...

Страница 51: ...the physical page length Requests for a page length greater than 128 are ignored Although the logical page is specified in number of lines this number represents the space occupied by that many lines using the line spacing that was effective at the time the logical page length was specified Therefore if a logical page length of 66 lines is specified and the line spacing is currently at 6 LPI the l...

Страница 52: ... disabled the printer will print in the margin space below the desired bottom of text This can be avoided if a VFC select to the next Top of Form is performed immediately following the last desired line of text on the page Print Mode Selection The standard compressed and double high double wide print modes are selected using the ESC k 0 2 4 8 S sequence as shown in the following table This escape ...

Страница 53: ...he hex 80 through 9F region while others do not If the active symbol set does not have printables in the hex 80 through 9F range the characters are ignored To determine symbol set properties perform a symbol set print from the PCL menu 7 bit sets print only one line of characters while 8 bit sets print two 8 bit sets with printables in the hex 80 through 9F range print characters in the space belo...

Страница 54: ...ed as defined by physical page length Margins set at maximum limits and or Left margin set at first column 0 Physical page length remains as configured from the control panel Logical page length physical page length Text length logical page length minus one inch All character font attributes symbol set pitch style and density default to the character font configured from the control panel Display ...

Страница 55: ...uence in the same manner as the standard VFC The standard and programmable VFC both use the same table in RAM Resetting the printer causes the standard VFC to be recalculated using the current page and text form length and a new table to be overwritten in RAM The VFC table is also recalculated when the line spacing text length or page length changes Special VFC Considerations Before loading a VFC ...

Страница 56: ... 5 form and 6 LPI print we have 21 potential lines of print 3 5 x 6 21 Refer to the following figure for an example of the desired finished output There are many methods to accomplish this task The simplest way is to provide a 1 in CH3 Channel 3 for all possible print lines and simply call CH3 for each line including blank lines This is called line counting and leaves the burden of positioning wit...

Страница 57: ...e Company Name We will arbitrarily assign CH4 to occur at line 7 Opening Line CH5 to occur at line 10 Body CH6 to occur on line 17 Closing Line and CH7 to occur on line 20 P S Line With the above channel assignments in mind the programmer would call CH1 to begin the letter After printing the name and address using calls to CH3 to move to each line the programmer would call CH4 to skip to line 7 an...

Страница 58: ... and eliminating the confusion of entering unprintable data Do not call the corresponding channel bit 7 or 15 or else improper spacing will occur If the VFC channels that bits 7 and 15 represent must be used these unprintable characters must be manipulated for data entry In most cases this can be dealt with by using the DISPLAY FUNCTIONS mode of your terminal Type in the ESC l byte count W followe...

Страница 59: ... and 16 is also not allowed due to a limitation of entering data with an octal value above 177 There are several methods to enter data in the Workstation Configurator Entering data as a decimal number i e 13 for a carriage return As an OCTAL number one byte at a time by preceding the number with the sign As a two or three character mnemonic such as BS or DC1 see Appendix B of the Workstation Confi...

Страница 60: ... 0 0 0 0 0 0 0 0 1 0 0 000 004 NulEot D Line 6 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 000 004 NulEot D Line 7 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 000 014 NulFF L Line 8 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 000 004 NulEot D Line 9 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 000 004 NulEot D Line 10 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 000 024 NulDc4 T Line 11 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 000 004 NulEot D Line 12 0 0 0 0 0 0 0 0...

Страница 61: ...e 2 1 Line 3 1 1 Line 4 1 1 Line 5 1 1 1 1 Line 6 1 1 Line 7 1 1 1 1 Line 8 1 1 Line 9 1 1 1 1 1 Line 10 1 1 Line 11 1 1 1 1 Line 12 1 Line 13 1 1 1 1 1 1 Line 14 1 1 Line 15 1 1 1 1 1 Line 16 Line 17 Line 18 Line 19 Line 20 Line 21 1 This sample shows a 21 line VFC table at 6 LPI The text ends at line 14 leaving 6 blank lines one inch at the bottom of the page These channels cause a move to the n...

Страница 62: ... computed VFC and the TEXT and PAGE LENGTH escape sequences The most common errors in successfully implementing the Programmable VFC escape sequence usually involve improper VFC byte counting or attempting to manipulate unprintable characters and getting confused Converting these unprintable characters to printable ones is the easiest way to avoid data entry confusion Summary of Recommended Steps ...

Страница 63: ... table lists only one of the many valid ways The ESC t R escape sequence allows you to select a graphics resolution of either 70 x 72 dots per inch default or 140 x 144 dots per inch high resolution For example to specify high resolution you would send the ESC t140R escape sequence to the printer Using the standard resolution the maximum amount of graphics data that can be printed is 115 5 bytes v...

Страница 64: ...es parameter is the decimal number of blank raster lines to skip The size of the blank raster line to be skipped is equivalent to the currently set vertical raster graphics resolution The advantage of using this escape sequence over sending multiple raster data transfer escape sequences containing blank raster lines is the escape sequence is processed faster and the paper is moved faster The ESC r...

Страница 65: ...ins a 1 in this table on every line it can access If the VFC channel cannot access the line a 0 is placed on that line for that channel For example to specify a skip to the next half form a program would specify VFC channel 6 Notice in the sample on page 61 that 1 s are placed in the table at the half form position lines 1 and 9 Then for example if the printer has finished printing line 2 and chan...

Страница 66: ...he text length is set equal to the logical page length Transparent Print Data This feature allows the printing of binary data which is required in certain applications The escape sequence ESC p of bytes X enables the printer to print data as in the display functions mode except that no control codes or escape sequences including CR and ESCZ are executed The number specified in the value field is t...

Страница 67: ...at top of page These channels cause a move to the next double triple space line and therefore may not actually perform a double triple space Note In most situations the printer s standard computed VFC page length setting as determined from the front panel meets the application requirements Refer to the User s Manual for information on setting the page length from the front panel Table 12 VFC Defau...

Страница 68: ...the VFC escape sequence in an initialization string instead of embedding them within the application The process of downloading VFC using Workstation Configurator is different than when using an HPIB printer Workstation Configurator has a utility that allows modification to two different files that allow for among other things setting initialization strings flow control and VFC Workstation Configu...

Страница 69: ...directives the application must use carriage control and CCTL must be included in the file equation as shown in the following example file filename dev device number cctl Graphics When using graphics the line feed generated by the driver must be suppressed or there will be 1 6 or 1 8 spacing between raster lines One way to do this is to add a to the front of the file as carriage control the file e...

Страница 70: ... 20B Downloading VFC All information concerning downloading VFC files is contained in the DVC12 Graphics Printer Driver Reference Manual P N 92068 90022 B 4 Carriage Control Directives The HP 1000 software drivers allow users to embed the following carriage control directives in files ASCII SYMBOL CARRIAGE ACTION Single space with or without automatic page eject or No space return next printing at...

Страница 71: ... many configurable parameters The default parameter values for this emulation are shown in Table 13 You can modify the emulation parameter values in two ways The P Series host control codes An extensive set of P Series control code commands can be sent to the printer from an attached host computer via the host data stream Most of this chapter is devoted to describing the P Series control code comm...

Страница 72: ... described in the User s Manual Host control codes can override many of the settings for these menu options Table 13 P Series Default Settings Characteristic Default Setting Control Code 06 8 0 LPI Control Code 08 Elongated Define CR Code CR CR Auto LF Disable Overstrike Enable Define LF Code LF CR LF Select SFCC 1 EVFU Selected Enable Alternate Set 80 9F Control Code Character Set IBM PC Primary ...

Страница 73: ...Typeface Data Processing Proportional Spacing Disable Bold Print Disable Italic Print Disable Slashed Zero Disable Left Margin 0 columns Right Margin 0 columns Bottom Margin 0 lines Perforation Skip Disable Form Length 11 0 inches 279 4 millimeters 66 lines Form Width 13 6 inches 345 4 millimeters 136 characters Reset Cmd CFG Ld Disable ...

Страница 74: ... numbers Purpose The function s of the control code Discussion A discussion of the uses of the code or command sequence including exceptions or limitations to its use Example A sample is provided for some control codes when it is possible to illustrate the effect of a control code or if a specific syntax is required to complete the program statement i e Horizontal Tab set Vertical Tab set clear Sw...

Страница 75: ...ext which follows The protocol has six command lines PMODE OSET PSET LPI LINES and INCHES Each of these command lines is discussed in this chapter under the appropriate Control Code function For example the forms length in inches can be set using the following command line SFCC INCHES n f where n is the whole number of inches and f is the fractional increment in 0 5 inch increments When using the ...

Страница 76: ...spaces since it is not a space character Print Modes Supported for Character Sets All print modes are supported for all character sets however for the character sets listed in Table 16 only the print modes listed are supported Note Hex 80 in the 0437 PC Character Set and hex 7F in the 0850 PC Character Set are treated as a NUL however these two controls can not be used as parameter terminators Tab...

Страница 77: ... 2 94 SFCC LPI Line Spacing 1 8 Inch 8 lpi SFCC 0 94 SFCC LPI Line Spacing 8 or 10 3 LPI ACK 95 1 line only SFCC f Line Spacing 7 72 Inch SFCC 1 95 Line Spacing n 72 Inch SFCC A 96 Line Spacing n 216 Inch SFCC 3 97 VFU Commands N A 104 Print Attributes Bold Print SFCC G 80 Bold Print 1 line only SFCC j 80 Bold Print Reset SFCC H 80 Elongated Double High Print One Line Only SFCC h 87 Elongated Doub...

Страница 78: ...SFCC d Plot Odd Dot Normal Density ENQ 98 SFCC e Other Functions Bell BEL 79 Character Set Select SFCC l xyz 82 Character Set Select ECMA Latin 1 Extended SFCC OSET n 84 Character Set Select International Languages SFCC R n 85 SFCC PSET n Characters 80 9F Control Codes SFCC 7 86 Characters 80 9F Printable Symbols SFCC 6 86 Emulation Reset SFCC 89 Extended Character Set SO 91 SFCC SO SFCC n SFCC 4 ...

Страница 79: ...d position one character space to the left at the current character pitch setting The code is ignored if the logical print head is positioned at the first character column Example If you were to print five T characters then two BS commands then two characters the output would look like the sample below Bell ASCII Code BEL Hex Code 07 Dec Code 07 Purpose Sounds the printer s buzzer beeper Discussio...

Страница 80: ...e as emphasized printing When SFCC j is used bold printing is selected for one line only and reset by the bold print reset control code emulation reset or a paper motion command Example The following sample illustrates bold character printing Bold Print Reset ASCII Code SFCC H Hex Code SFCC 48 Dec Code SFCC 72 Purpose Resets bold character printing Discussion This control code resets the bold prin...

Страница 81: ...revious characters on the line If identical characters are placed in the same position on the line those characters will be printed in emphasized print when the Overstrike mode is enabled from the control panel The CR CR configuration causes subsequent printable data to overprint previous data at half speed if Overstrike is enabled from the control panel and prints somewhat faster if Overstrike is...

Страница 82: ...t will not change If is the value selected for y or z the previously selected international language and or extended character set for the selected character set will be used The character set international language and extended character set can also be selected from the printer control panel via the Character Set and Print Language options however the control code setting will override the contr...

Страница 83: ...adian 10 hex 3A Latin American Italian Dutch 11 hex 3B Norwegian Turkish Finnish 12 hex 3C Danish II Japanese Swiss 13 hex 3D Spanish II 14 hex 3E Latin American II Table 19 International Language Select z z x 0 hex 30 x 1 hex 31 x 2 hex 32 x 3 hex 33 IBM PC Multinational ECMA Latin 1 DEC Multinational 0 hex 30 IBM PC 0437 Mult Extended Set Barcode 10 cpi DEC Mult Ext Set 1 hex 31 IBM PC 0850 Mult...

Страница 84: ...rint at the print mode and pitch selected by the OSET command even if that mode and pitch differs from the currently selected print mode and pitch If the print mode differs between the extended and primary characters the first character in the data stream selects the print mode at which that line will print Different pitches can be printed on the same line Table 20 Print Modes Pitches Available Us...

Страница 85: ...C R hex PSET ECMA Latin 1 IBM PC 0437 or 0850 Multinational DEC Multinational 0 30 0 ASCII USA ASCII USA ASCII USA ASCII USA 1 31 1 German French EBCDIC French 2 32 2 Swedish German German 3 33 3 Danish English UK English UK 4 34 4 Norwegian Danish Norw Danish 5 35 5 Finnish Swedish Swedish 6 36 6 English UK Italian Italian 7 37 7 Dutch Spanish Spanish 8 38 8 French Japanese Japanese 9 39 9 Spanis...

Страница 86: ... international character selection using the IBM PC character set Characters 80 9F Control Codes ASCII Code SFCC 7 Hex Code SFCC 37 Dec Code SFCC 55 Purpose Selects hex codes 80 through 9F in the character sets as control codes Cancels the command SFCC 6 Discussion This control code overrides the control panel setting Characters 80 9F Printable Symbols ASCII Code SFCC 6 Hex Code SFCC 36 Dec Code S...

Страница 87: ...trol code is received one entire line of elongated characters is printed and then automatically reset When configured for double high print the P Series control code BS Hex 08 also selects elongated character printing for a single line When using this feature with relative line slewing the paper will be moved n 1 lines rather than n lines Refer to Vertical Page Formatting on page 207 for more info...

Страница 88: ...ble high character printing Emphasized Print ASCII Code SFCC E Hex Code SFCC 45 Dec Code SFCC 69 Purpose Selects emphasized character print format Discussion When the emphasized print control code is received all characters will be printed in emphasized print until reset by the emphasized print reset control code or printer reset The emphasized print attribute is implemented by horizontal shadow p...

Страница 89: ...parameters to their factory default or power up configuration values Discussion Print mode line spacing international language selection margins form length skip over perforation and character pitch are reset to their selected power up configuration values Character by character and line by line attributes are canceled The vertical format unit is cleared The current line is set to the top of form ...

Страница 90: ... W double wide print Example The following sample illustrates Expanded Print for one line only Another example of expanded printing is shown for Expanded Double Wide Print SFCC W on page 90 Expanded Print Double Wide Set Reset ASCII Code SFCC W n Hex Code SFCC 57 n Dec Code SFCC 87 n Purpose Selects or resets expanded double wide print where n SOH hex 01 or 1 hex 31 selects expanded print n NUL he...

Страница 91: ... motion command SO SFCC SO and SFCC n are cancelled by paper motion Example The following sample illustrates the Extended Character Set and Extended Character Set Cancel see page 91 control codes Extended Character Set Cancel Primary Set Select ASCII Code SI SFCC SI SFCC o SFCC 5 Hex Code 0F SFCC 0F SFCC 6F SFCC 35 Dec Code 15 SFCC 15 SFCC 111 SFCC 53 Purpose Cancels Extended Character Set as sele...

Страница 92: ...through 18 specify the number of inches on a page f fractional number in 5 inch increments minimum forms length is 5 inches Discussion Upon receipt of this code the current line becomes the first line of the form and the form length set becomes the current forms length Vertical tab positions set below the bottom of the form are cleared Forms length is defined in inches therefore subsequent line sp...

Страница 93: ...the vertical character position one line at the current line space setting Discussion If configured for LF equals new line LF CR LF the logical print head is positioned at character column 1 of the new line Otherwise the logical print head does not move when configured for LF function only LF LF ONLY The LF function cancels all single line print attributes such as double high elongated and double ...

Страница 94: ...el line spacing setting Example The following example illustrates 1 6 inch line spacing and assumes that a distance has not been set by ESC A Line Spacing 1 8 Inch 8 lpi ASCII Code SFCC 0 SFCC LPI n Hex Code SFCC 30 Dec Code SFCC 48 Purpose Specifies continuous line spacing at 1 8 inch increments 8 lpi Discussion When the 1 8 inch line spacing control code is received all lines will be printed at ...

Страница 95: ... 3 lpi 7 72 Example The following example illustrates printing a single line of text at 8 lpi Line Spacing 7 72 Inch ASCII Code SFCC 1 Hex Code SFCC 31 Dec Code SFCC 49 Purpose Specifies the line spacing at 7 72 inch 10 3 lpi increments Discussion When the 7 72 inch line spacing control code is received all lines will be printed at the 7 72 inch line spacing until a new line spacing is selected or...

Страница 96: ... spacing until a new line spacing is selected or the printer is reset The control code line spacing selection will override the control panel line spacing setting The SFCC 2 sequence page 94 asserts the line spacing which was stored by the preceding SFCC A sequence Small values of n may result in overlapping lines Overlapping lines may also occur if print attributes such as Elongated Double High S...

Страница 97: ...f the current dot row spacing the remainder is added to the next paper motion command Caution should be used when combining this control code with other print attributes such as Elongated Double High Superscript or Subscript overlapping lines may occur Printing at different horizontal and vertical densities will not overlap Example The following example illustrates n 216 inch line spacing Overscor...

Страница 98: ...s Compare the example below to the normal density odd dot plot example Plot Odd Dot P Series Normal Density Graphics ASCII Code ENQ SFCC e Hex Code 05 SFCC 65 Dec Code 05 SFCC 101 Purpose Prints dots at the odd numbered dot columns Discussion This is the P Series programming normal density graphics control code The ENQ code should occur before any printable data in the data stream For high density...

Страница 99: ...ill not change Values other than those shown in Table 24 and Table 25 are ignored Discussion P Series PMODE switches to the Primary Character Set and selects print mode and pitch Print mode and pitch can also be selected from the control panel The print mode pitch select control code from the host computer will override the control panel print mode setting and the print mode and pitch selection wi...

Страница 100: ...12 cpi 2 DP 15 cpi 3 NLQ 10 cpi 4 HS 10 cpi 5 OCR A 10 cpi 6 OCR B 10 cpi 7 DP 10 cpi upside down 8 DP 12 cpi upside down 9 DP 13 cpi upside down 10 DP 15 cpi upside down 11 DP 17 cpi upside down Table 23 Print Mode and Pitch SFCC nq n Print Mode and Pitch 1 hex 31 NLQ 10 cpi 2 hex 32 DP 10 cpi 3 hex 33 HS 12 cpi 4 hex 34 DP 12 cpi 5 hex 35 DP 13 cpi ...

Страница 101: ... shown i e 0 and 30 are equal Either value can be used in your program expression Table 25 Print Mode and Character Pitches SFCC X Characters Per Inch value of n value of m Print Mode DP 0 30 NLQ 1 31 HS 2 32 HS 3 33 HS 4 34 OCR A 5 35 OCR B 6 36 NLQ2 7 37 NLQ2 8 38 0 30 10 10 10 10 10 10 10 10 10 1 31 12 12 12 12 12 12 12 2 32 13 13 13 13 13 13 13 3 33 15 15 15 15 15 15 15 4 34 17 17 17 17 17 17 ...

Страница 102: ... 34 CHR 1 X04 Reverse ASCII Code SFCC n Hex Code SFCC 7D 3B n Dec Code SFCC 125 59 n Purpose Moves the logical print head up Discussion If n is L the print head moves up one line Reverse line feed If n is P the print head moves up to the previous top of form Reverse form feed Note The character set used when OCR A or OCR B is selected depends on the Standard character set currently selected The ch...

Страница 103: ...rscript or subscript until reset by the super subscript printing reset control code SFCC T or printer reset Use caution when combining this command with other print attributes arbitrary combinations might yield unexpected results Example The following sample illustrates superscript subscript printing Superscript Subscript Printing Reset ASCII Code SFCC T Hex Code SFCC 54 Dec Code SFCC 84 Purpose R...

Страница 104: ...strates automatic underlining VFU Commands ASCII Code Refer to the P Series VFU section in Chapter 7 Purpose Load and execute the VFU Discussion Refer to Chapter 7 for detailed information Vertical Tab ASCII Code VT Hex Code 0B Dec Code 11 Purpose Prints the data in the buffer and advances the paper to the next vertical tab position Discussion If a vertical tab format is defined in the EVFU channe...

Страница 105: ... many configurable parameters The default parameter values for this emulation are shown in Table 26 You can modify these parameter values in two ways The Proprinter III XL host control codes An extensive set of Proprinter III XL control code commands can be sent to the printer from an attached host computer via the host data stream Most of this chapter is devoted to describing the Proprinter III X...

Страница 106: ...provided by the LinePrinter formatting menus The EMULATION menu options are described in the User s Manual Host control codes can override many of the settings for these menu options Table 26 Proprinter III XL Menu Option Factory Settings Characteristic Default Setting Define CR Code CR CR Auto LF Enable Define LF Code LF LF FF Valid at TOF Enable Character Set Code Page 437 Alt Char Set Set 1 20 ...

Страница 107: ... 6 0 Typeface Data Processing Proportional Spacing Disable Bold Print Disable Italic Print Disable Slashed Zero Disable Left Margin 0 columns Right Margin 0 columns Bottom Margin 0 lines Perforation Skip Disable Form Length 11 0 inches 279 4 millimeters 66 lines Form Width 13 6 inches 345 4 millimeters 136 characters Reset Cmd CFG Ld Disable ...

Страница 108: ...ode or if a specific syntax is required Escape Control Codes Overview Printer capability is greatly increased by the use of escape control code sequences Escape sequences always begin with the ASCII escape sequence introducer ESC hex 1B Many of the ASCII control codes described in this chapter are escape sequences An ESC sequence introducer in the data stream signals the printer to wait for specia...

Страница 109: ...on is provided here The Proprinter III XL emulation provides one data protocol for printing graphics information the Bit Image graphics protocol allows an image block to be printed When using the Bit Image protocol you can mix text and graphics on the same line Setting Bit Image Modes via Control Codes Control codes select bit image modes The following bit image modes can be mixed on the same line...

Страница 110: ...cant bit bit 8 is cleared to 0 Code Page and Character Set Control Codes A code page is a set of symbols consisting of letters numbers and graphic elements For the Proprinter III XL emulation your printer supports characters from IBM s Code Page 0437 and Code Page 0850 among an extensive array of different print quality and print language sets The print language sets are selected using the Print L...

Страница 111: ...Proprinter III XL emulation will currently ignore this control code and any data applicable to it Switching Between the Emulations The printer supports several different emulations PCL II is the default P Series Proprinter III XL and Epson FX 1050 are all a part of the LinePrinter Plus emulation The following command switches from PCL II to Proprinter ESC 00001X To switch from Proprinter to PCL II...

Страница 112: ...144 Tabs Clear All ESC R 144 Format Backspace BS 114 Cancel CAN 120 Carriage Return CR 120 Carriage Return Set ESC 5 n 121 Forms Length Set in Inches ESC C NUL n 126 Forms Length Set in Lines ESC C n 127 Margin Bottom ESC N n 136 Margin Cancel Bottom ESC O 136 Margins Horizontal ESC X n m 136 Set Top of Form ESC 4 141 Tab Horizontal HT 142 Tab Set Clear Horizontal ESC D n1 n2 nk NUL 142 Tabs Clear...

Страница 113: ...l Spacing ESC P n 139 Select Attributes ESC n1 NUL NUL NUL n2 n3 140 Superscript Subscript Printing ESC S n 141 Superscript Subscript Printing Cancel ESC T 142 Underline ESC n 145 Bit Image Bit Image Mode Single Density Normal Speed ESC K n1 n2 115 Bit Image Mode Double Density Half Speed ESC L n1 n2 116 Bit Image Mode Double Density Normal Speed ESC Y n1 n2 117 Bit Image Mode Quadruple Density Ha...

Страница 114: ...s code is ignored if the logical print head is positioned at the first character column When the backspace code is received printing speed will be reduced If the printer is in double width mode the backspace code moves the print head left two normal character spaces Example If you were to print five T characters then two BS commands then two characters the output would look like the sample below B...

Страница 115: ...56 n2 remainder of division of number of DATA bytes by 256 sometimes referred to as MOD 256 n2 Number of DATA bytes 256 quotient of division Discussion This code prints specified data as bit image graphics at normal density 60 dots per inch horizontally and 72 dots per inch vertically For more information see Bit Image Graphics on page 193 Example The following example produces a pattern of Single...

Страница 116: ...eferred to as MOD 256 n2 Number of DATA bytes 256 quotient of division Discussion This code prints specified data as bit image graphics at double horizontal density 120 dots per inch horizontally and 72 dots per inch vertically This code causes print speed to be reduced by half from normal density speed For more information see Bit Image Graphics on page 193 Example The following example produces ...

Страница 117: ...es referred to as MOD 256 n2 Number of DATA bytes 256 quotient of division Discussion This code prints specified data as bit image graphics at double horizontal density 120 dots per inch horizontally and 72 dots per inch vertically By ignoring adjacent dots the print speed is not reduced from the normal density speed For more information see Bit Image Graphics on page 193 Example The following exa...

Страница 118: ...ber of DATA bytes by 256 sometimes referred to as MOD 256 n2 Number of DATA bytes 256 quotient of division Discussion This code prints specified data as bit image graphics at quadruple density 240 dots per inch horizontally and 72 dots per inch vertically This code causes print speed to be reduced by half For more information see Bit Image Graphics on page 193 Example The following example produce...

Страница 119: ...ttribute is implemented by increasing the dot density for the bold text with a result similar to emphasized printing Bold printing reduces the current print speed by one half Example The following sample illustrates bold character printing Bold Printing Cancel ASCII Code ESC H Hex Code 1B 48 Dec Code 27 72 Purpose Cancels bold printing Discussion No other print attributes are changed Note The ESC ...

Страница 120: ...e 13 Purpose Returns the logical print head to the first character column resets the pointer to the first character position May be configured to include a line feed Discussion The CR code is configured via the ESC 5 code or via the control panel menus described in the User s Manual The CR CR configuration causes the character position indicator to be positioned at character column one subsequent ...

Страница 121: ...the CR code to perform a carriage return plus a line feed Character Pitch 12 cpi ASCII Code ESC Hex Code 1B 3A Dec Code 27 58 Purpose Sets character pitch to 12 cpi Discussion An ESC code overrides any control panel setting Character Set Select Set 1 A ASCII Code ESC 7 Hex Code 1B 37 Dec Code 27 55 Purpose Selects hex codes 80 through 9F in the character sets as control codes Cancels the command E...

Страница 122: ...ng the control panel the default is Enable Once you enable condensed print using the control panel this control code sets condensed print to enabled until it is canceled by control code DC2 a printer reset or a new print mode ESC I control code Example The following sample shows condensed character printing and reset Condensed Print Cancel ASCII Code DC2 ESC DC2 Hex Code 12 1B 12 Dec Code 18 27 18...

Страница 123: ... Selects or cancels double wide expanded print where n may range from 0 through 255 hex 00 through hex FF If n 1 3 5 any odd value double wide print is selected If n 0 2 4 any even value double wide print is cancelled Discussion An ESC W code sets or cancels double wide print as follows When expanded print using ESC W is received all characters print double wide until cancelled by an even paramete...

Страница 124: ...utomatically reset This command can be reset by a paper motion command FF LF VT CR by the DC4 double wide cancel code CAN or ESC W double wide print Example The following sample illustrates Expanded Print for one line only Double Wide Print One Line Only Cancel ASCII Code DC4 ESC DC4 Hex Code 14 1B 14 Dec Code 20 27 20 Purpose Cancels double wide print if it was set by command SO Discussion The DC...

Страница 125: ...nd or printer reset Emphasized print reduces the current print speed Example The following sample illustrates emphasized character printing Emphasized Print Cancel ASCII Code ESC F Hex Code 1B 46 Dec Code 27 70 Purpose Cancels emphasized character printing Discussion The emphasized print reset command only resets the emphasized print character attribute See Example for using ESC E combined with ES...

Страница 126: ...n Inches ASCII Code ESC C NUL n Hex Code 1B 43 00 n Dec Code 27 67 0 n Purpose Sets the length of forms paper in inches where n whole numbers from 1 through 21 hex 01 through hex 15 to specify the number of inches on a page All larger values are ignored Discussion Upon receipt of this code the current line becomes the first line of the form and the forms length set becomes the current forms length...

Страница 127: ...en set subsequent line spacing changes do not affect the result of this command If the forms length is set smaller than the line spacing a form feed advances the paper position to the next top of form position If the forms length derived from the quotient of n lines divided by lines per inch is not an exact multiple of the printer dot resolution the value is adjusted down until the forms length an...

Страница 128: ...orts six values for this parameter 00 01 04 05 254 and 255 hex 00 01 04 05 FE and FF Any other value will be ignored If any of the six supported values is entered for the n2 parameter then the printer will reset to the factory default configuration Configuration parameters defined by command bytes n4 and n5 if present will override conflicting factory default values Note An ESC K code can occur at...

Страница 129: ...ased configuration values when the printer is reinitialized Possible values for n4 and n5 are listed in Table 30 and Table 31 respectively Note In addition to the formatting from bytes n4 and n5 this command sets the current line as top of form It also clears vertical tabs and sets the horizontal tabs at every eight columns starting at column 9 Table 30 n4 Values n4 Bit Function OFF 0 ON 1 7 Proce...

Страница 130: ... new line Otherwise the logical print head does not move when configured for LF function only LF LF only The LF function cancels double wide expanded characters if set by the SO command Line feed can occur at any place in the datastream and is acted upon immediately Table 31 n5 Values n5 Bit Function OFF 0 ON 1 7 Process this byte Process Ignore 6 Code page 437 850 5 Unidirectional Printing Bidire...

Страница 131: ...advances one line at the n line spacing setting and the logical print head is positioned at character column 1 The paper position moves only in multiples of the current dot row spacing If the distance to move is other than a multiple of the current dot row spacing the remainder is added to the next paper motion command Small values of n may result in overlapping lines Overlapping lines may also oc...

Страница 132: ...e ESC 1 Hex Code 1B 31 Dec Code 27 49 Purpose Specifies the line spacing at 7 72 inch 10 3 lpi increments Discussion When the 7 72 inch line spacing control code is received all lines will be printed at the 7 72 inch line spacing until a new line spacing is selected or the printer is reset The control code line spacing selection will override the control panel line spacing setting and the message ...

Страница 133: ...as set by ESC A Discussion ESC 2 asserts n 72 inch line spacing as set by ESC A page 134 If no distance has been set by ESC A the distance is 1 6 inch The control code line spacing selection will override the control panel line spacing setting Example The following example illustrates 1 6 inch line spacing and assumes that a distance has not been set by ESC A ...

Страница 134: ...ing stored by the preceding ESC A until a new line spacing is selected or the printer is reset A control code line spacing overrides a control panel line spacing setting The control panel display shows line spacing in lines per inch Small values of n may result in overlapping lines Overlapping lines may also occur if print attributes such as Elongated Double High Superscript or Subscript character...

Страница 135: ...d or the printer is reset The control code line spacing selection will override the control panel line spacing setting The vertical character position moves only in multiples of the current dot row spacing If the distance to move is other than a multiple of the current dot row spacing the remainder is added to the next paper motion command Caution should be used when combining this control code wi...

Страница 136: ... The bottom margin setting can also be selected from the control panel however the host control code will override the control panel setting Any vertical tabs set within the bottom margin zone will be ignored Margin Cancel Bottom ASCII Code ESC O Hex Code 1B 4F Dec Code 27 79 Purpose Resets the bottom margin to zero Margins Horizontal ASCII Code ESC X n m Hex Code 1B 58 n m Dec Code 27 88 n m Purp...

Страница 137: ...ing sample illustrates automatic overscoring and overscoring reset Print All Characters ASCII Code ESC n1 n2 Hex Code 1B 5C n1 n2 Dec Code 27 92 n1 n2 Purpose Prints the characters assigned to code points as characters rather than interpreting the code values as commands where n1 256n2 defines the number of data bytes to follow n1 Number of DATA bytes 256 n2 remainder of division of number of DATA...

Страница 138: ...ode ESC I n uppercase i Hex Code 1B 49 n Dec Code 27 73 n Purpose Selects a print mode Discussion This control code selects a print mode from among the choices listed in Table 33 There are several duplicate function values that select the same print quality These are provided for compatibility with the Proprinter III XL standard Table 33 Print Mode Values n Hex Function 00 DP 10 cpi 01 HS 12 cpi 0...

Страница 139: ...elected with this command override control panel selections Selecting an OCR print quality overrides any character attributes already set such as condensed double wide etc These attributes will not return when another print quality is set Character attributes set when OCR is selected will be ignored Proportional Spacing ASCII Code ESC P n Hex Code 1B 50 n Dec Code 27 80 n Purpose Enables disables ...

Страница 140: ...t Attributes n1 Values n1 Hex Function 03 Set character height and line feed settings according to the value of n2 If n1 03 there is no n3 04 Set character height line feed and character settings according to the values of n2 and n3 Table 35 Select Attributes n2 Values n2 Hex Function 00 No change 01 Set single height characters 02 Set double height characters 10 Set single line spacing 11 Set sin...

Страница 141: ...elects subscript printing n 0 2 4 any even value selects superscript printing Discussion When the super subscript command is received all characters will be superscript or subscript until reset by the super subscript reset command or printer reset Super subscript print modes are not available for the double high attribute You can print both superscript and subscript characters in the same characte...

Страница 142: ...y eighth character starting at position 9 9 17 25 If there are no horizontal tabs set or the logical printhead is located at the last character column the code is ignored and no movement occurs If double wide double high attributes are enabled single wide character spacing is used Horizontal tabs are stored as a relative position therefore character pitch changes will change horizontal tab positio...

Страница 143: ...n character columns Example The following example illustrates horizontal tab setting and accessing Tab Vertical ASCII Code VT Hex Code 0B Dec Code 11 Purpose Prints the data in the buffer and advances the paper to the next vertical tab position Discussion In the Proprinter III XL emulation vertical tab positions are set by control code ESC B and executed by control code VT In this mode if vertical...

Страница 144: ...line spacing changes affect the tab position If the value of n exceeds the forms length that tab position is ignored Vertical tab positions are set by the command ESC B and executed by the command VT The tab positions must be in ascending order or the emulation ignores the out of order symbols If the ESC B command is followed immediately by hex 00 the vertical tab positions are cleared Example The...

Страница 145: ...ning Example The following sample illustrates automatic underlining and underlining reset Unidirectional Printing ASCII Code ESC U n Hex Code 1B 55 n Dec Code 27 85 n Purpose Sets or cancels unidirectional printing While this feature reduces print speed by 1 2 the increased print quality will improve the readability of barcodes and graphics Discussion This code sets or cancels unidirectional print...

Страница 146: ...146 Chapter 4 Configuring the Proprinter III XL Emulation with Control Codes ...

Страница 147: ... provides many configurable parameters The default parameter values for this emulation are shown in Table 37 You can modify these parameter values in two ways The Epson FX host control codes An extensive set of Epson FX control code commands can be sent to the printer from an attached host computer via the host data stream Most of this chapter is devoted to describing the Epson FX control code com...

Страница 148: ...ed by the LinePrinter formatting menus The EMULATION menu options are described in the User s Manual Host control codes can override many of the settings for these menu options Table 37 Epson Emulation Menu Option Factory Settings Characteristic Default Setting Define CR Code CR CR Auto LF Enable Define LF Code LF LF Printer Select Disable Character Set Epson Set 20 CPI Condensed Enable Alt Set 80...

Страница 149: ... 0 Typeface Data Processing Proportional Spacing Disable Bold Print Disable Italic Print Disable Slashed Zero Disable Left Margin 0 columns Right Margin 0 columns Bottom Margin 0 lines Perforation Skip Disable Form Length 11 0 inches 279 4 millimeters 66 lines Form Width 13 6 inches 345 4 millimeters 136 characters Reset Cmd CFG Ld Disable ...

Страница 150: ... can configure the zero character to contain a slash or no slash The Double Wide print control codes ESC W SO double character width but not inter character spacing unlike the Epson FX 1050 The formulas for total character spacing are as follows Epson FX 1050 2 char 1 dot space Epson Emulation 2 char 1 dot space The Condensed Print SI control code condenses character width but not inter character ...

Страница 151: ...us described in the User s Manual or the ESC R control code to select an international character set Normally these characters are either blank or control codes The implementation is that the control codes hide the non italic international characters even in hex 00 through 1F and DEL DEL conceals the non italic slashed zero Table 39 Epson Character Set Hex 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 à SP 0 ...

Страница 152: ...he uses of the code or command sequence including a description of exceptions or limitations to normal use Example A sample is provided when it is possible to illustrate the effect of a control code or if a specific syntax is required dagger This symbol means the code produces non Epson behavior in your printer Escape Sequences An Epson control code consisting of more than one character is called ...

Страница 153: ... to add blank spaces since it is not a space character NUL can also be used as a parameter terminator for the Set Horizontal Tabs page 171 or Set Vertical Tabs multibyte control code page 192 Switching Between the Emulations The printer supports several different emulations PCL II is the default P Series Proprinter III XL and Epson FX 1050 are all a part of the LinePrinter Plus emulation The follo...

Страница 154: ...178 Paper Out Detection Disable ESC 8 179 Select Vertical Tab Channel ESC c 184 Set Form Length in Inches ESC C NUL n 185 Set Form Length in Lines ESC C n 186 Set Vertical Tabs in Channels ESC b c n1 n2 n3 n16 NUL 188 Skip Over Perforation ESC N n 188 Skip Over Perforation Cancel ESC O 189 Vertical Tab Execute VT 191 Vertical Tab Set Clear ESC B n1 n2 nk NUL 192 Horizontal Motion Backspace BS 157 ...

Страница 155: ...line ESC n 190 Print Quality Control Character Pitch 15 cpi ESC g 158 Define a Download Character ESC 161 Master Print Select ESC n 178 Remove Downloaded CharactersESC NUL n NUL 180 Select Print Quality ESC x n 183 Select Serif or Sans Serif Font ESC k n 184 Select User Defined Font ESC n 184 Character Set Manipulation Character Set Select International Languages ESC R n 159 Enable Printing Hex Co...

Страница 156: ...druple Density ESC Z n1 n2 170 Reassign Graphics Mode ESC s m 180 Select Graphics Mode ESC m n1 n2 181 Select 9 Pin Graphics Mode ESC m n1 n2 d1 dk 182 Miscellaneous Printer Control Bell BEL 157 Cut Sheet Paper Feed Control ESC EM n 161 Half Speed Mode On Off ESC s n 170 Initialize Printer ESC 172 Printer Select DC1 179 Printer Deselect DC3 179 Unidirectional Printing 1 Line ESC 190 Unidirectional...

Страница 157: ...aphics command ESC K ESC L ESC Y or ESC Z your printer will backspace into the graphic pattern the number of dots depending on the current cpi setting For an Epson FX 1050 printer one Backspace will send the logical printhead directly to the beginning of the graphics pattern Example If you were to print five T characters then two BS commands then two characters the output would look like the sampl...

Страница 158: ...O and ESC SO and unidirectional printing from ESC Character Pitch 10 CPI ASCII Code ESC P Hex Code 1B 50 Dec Code 27 80 Purpose Sets character pitch to 10 characters per inch cpi Discussion This command is normally used to cancel 12 cpi Character Pitch 12 CPI ASCII Code ESC M Hex Code 1B 4D Dec Code 27 77 Purpose Sets character pitch to 12 characters per inch cpi Discussion This command is availab...

Страница 159: ...on only defines character sets through hex 0C Discussion This control code setting overrides a character set selection made at the control panel Example The following example illustrates international character selection using the IBM PC character set Table 40 Epson International Character Sets 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E 0 1 2 3 4 5 6 7 8 9 A B C n International Character Set Is If Hex He...

Страница 160: ...he printer receives code SI all characters are printed condensed approximately 60 per cent of the width of normal characters until the printer is reset by ESC M ESC P DC2 a printer reset or a new print mode control code SI code hex 0F is equivalent to the ESC SI code If condensed print is not allowed in the current font this code is ignored Proportionally spaced text cannot be condensed Proportion...

Страница 161: ... Hex Code 1B 19 n Dec Code 27 25 n Purpose This code controls the paper feed mechanism on Epson printers Discussion The printer ignores this command Define a Download Character ASCII Code ESC Hex Code 1B 26 Dec Code 27 38 Purpose Defines a download character Discussion The printer ignores this command and removes all downloaded font data from the data stream Delete Character ASCII Code DEL Hex Cod...

Страница 162: ...h Double High printing only Double High printing will occur Example The following sample illustrates double high character printing Double Strike ASCII Code ESC G Hex Code 1B 47 Dec Code 27 71 Purpose Makes text bolder by double printing each dot twice Discussion This command makes text bolder by printing each dot twice the second dot offset to the right of the first by a distance equal to 1 2 the...

Страница 163: ... off where n 1 or 49 hex 01 or hex 31 turns double wide print on n 0 or 48 hex 00 or hex 30 turns double wide print off Discussion When ESC W is received all characters are printed twice as wide until reset This command overrides SO ESC SO and DC4 The OCR A and OCR B fonts cannot be printed in double wide This control code doubles character width but does not double inter character spacing unlike ...

Страница 164: ...led by a paper motion control code LF VT etc as in the IBM Proprinter III XL This control code doubles character width but does not double inter character spacing unlike the Epson FX 1050 The formulas for total character spacing are as follows Epson FX 1050 2 char 1 dot space Epson Emulation 2 char 1 dot space Example The following sample illustrates double wide print for one line only Double Wide...

Страница 165: ...or ESC Discussion This command is available in both DP and NLQ modes Enable Printing Hex Codes 00 1F and 80 9F ASCII Code ESC I n uppercase i Hex Code 1B 49 n Dec Code 27 73 n Purpose Permits you to print hex codes 00 1F and 80 9F where n 1 allows hex codes 00 1F and 80 9F to be printable and to be used for user defined characters n 0 returns hex 00 1F and 80 9F to control codes Discussion The pri...

Страница 166: ...31 1F BEL BS HT LF VT FF CR SO SI DC2 DC3 DC4 CAN ESC B8 0 0 KEY CHARACTER ESC 33 27 1B OCTAL DECIMAL HEX 1 0 1 1 B4 B2 B3 B1 B7 B6 B5 0 0 1 BITS à è ù ò ì ß ø Ä Ü ä ü É é 0 0 0 0 0 1 COLUMN 8 9 200 128 80 201 129 81 202 130 82 203 131 83 204 132 84 205 133 85 206 134 86 207 135 87 210 136 88 211 137 89 212 138 213 139 214 140 215 141 216 142 217 143 220 144 90 221 145 91 222 146 92 223 147 93 224...

Страница 167: ...elects normal density bit image graphics of 60 dots per inch horizontally and 72 dots per inch vertically where n1 256n2 defines the number of data bytes to follow DATA ASCII characters for the dot pattern bytes n1 Number of DATA bytes 256 n2 remainder of division of number of DATA bytes by 256 sometimes referred to as MOD 256 n2 Number of DATA bytes 256 quotient of division Discussion You can cha...

Страница 168: ... n2 remainder of division of number of DATA bytes by 256 sometimes referred to as MOD 256 n2 Number of DATA bytes 256 quotient of division Discussion Double density printing reduces print speed to half that of normal density printing You can change graphics density with the ESC command This feature is widely used to move the print head precisely by printing blank dot columns Example The following ...

Страница 169: ...umber of DATA bytes by 256 sometimes referred to as MOD 256 n2 Number of DATA bytes 256 quotient of division Discussion This mode prints double density with no adjacent dots It is similar to ESC L except that if the graphics data contain horizontally adjacent dots the data may print incorrectly This feature is widely used to move the print head precisely by printing blank dot columns Example The f...

Страница 170: ...s 256 quotient of division Discussion This mode is similar to ESC L except that four dot columns are printed in the space normally taken by two columns You can change graphics density with the ESC command Example The following example produces quadruple density graphics of the pattern used in the standard density example The amount of data must be quadrupled for quadruple density the data are used...

Страница 171: ...ab positions where n1 through n32 specify the character column of the tab positions NUL hex 00 is the sequence terminator ESC D 0 clears all tabs Discussion The values of n must be listed in ascending order or they are ignored Tabs greater than 32 or those positioned beyond the right margin are ignored The physical tab position is the product of n and the current cell width 1 pitch excluding doubl...

Страница 172: ...itch are reset to their power up values Character by character and line by line attributes are canceled All channels of the vertical format unit are cleared This command resets the horizontal tabs to every eighth character column Interface parameters and printer protocol selection are not affected Italic Printing ASCII Code ESC 4 Hex Code 1B 34 Dec Code 27 52 Purpose Turns on italic character prin...

Страница 173: ...phasis and font selections double wide from SO and ESC SO and unidirectional printing from ESC Line Feed n 216 Inch ASCII Code ESC J n Hex Code 1B 4A n Dec Code 27 74 n Purpose Immediately advances the paper n 216 inch where n 0 through 255 hex 00 through hex FF Discussion n 0 is ignored Paper movement occurs in multiples of 3 216 inch This command produces an immediate line feed but does not affe...

Страница 174: ...eset This control code overrides line spacing set at the control panel Example The following example illustrates 1 6 inch line spacing Line Spacing 1 8 Inch 8 lpi ASCII Code ESC 0 Hex Code 1B 30 Dec Code 27 48 Purpose Sets the line spacing to 1 8 inch 8 lpi for subsequent line feeds Discussion The 0 is ASCII character 0 zero not hex 00 When ESC 0 is received all lines are printed at 8 lpi until a ...

Страница 175: ...where n 1 through 255 hex 01 through hex FF Discussion All line feeds following receipt of this code are at n 216 inch line spacing until a new line spacing is selected or the printer is reset Line spacing set by this control code overrides line spacing setting set at the control panel The vertical character position moves only in multiples of the current dot row spacing If the distance to move is...

Страница 176: ...used on the same line If lines overlap printing speed is reduced Any values set by ESC 3 line spacing n 216 inch are replaced Example The following example illustrates 20 72 inch line spacing Make Hex 80 9F Control Codes ASCII Code ESC 7 Hex Code 1B 37 Dec Code 27 55 Purpose Selects codes hex 80 9F in the character sets as control codes Discussion This is the default when the Epson character set i...

Страница 177: ...5 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 B8 è ù ò ì Ñ ñ Å å ç ß Æ æ Ø ø Ä Ö ö ä Ü ü É é 0 0 0 0 0 1 COLUMN 8 9 200 128 80 201 129 81 202 130 82 203 131 83 204 132 84 205 133 85 206 134 86 207 135 87 210 136 88 211 137 89 212 138 213 139 214 140 215 141 216 142 217 143 220 144 90 221 145 91 222 146 92 223 147 9...

Страница 178: ...d grey scale characters are not underlined Proportional spacing overrides condensed or 12 cpi printing if both are selected Paper Out Detection Enable ASCII Code ESC 9 Hex Code 1B 39 Dec Code 27 57 Purpose Asserts a paper out condition immediately when the end of the paper supply is sensed Discussion The printer decodes and ignores this command Table 41 Master Print Select Bit Values Bit No Bit 0 ...

Страница 179: ...er Select ASCII Code DC1 Hex Code 11 Dec Code 17 Purpose Places printer in the selected state Discussion The configuration parameter Printer Select must be set to Enable Refer to the User s Manual for information about this menu option This control code allows the printer to receive and print data from the host if it was deselected by DC3 If the printer was not deselected by DC3 this code is ignor...

Страница 180: ...n s is character K L Y or Z which is changed to mode m 0 7 from Table 42 page 181 Thereafter sending data to the bit image command makes the data print according to the graphics mode you select with m Remove Downloaded Characters ASCII Code ESC NUL n NUL Hex Code 1B 3A 00 n 00 Dec Code 27 58 0 n 0 Purpose Erases all downloaded characters Discussion The printer ignores this command but removes all ...

Страница 181: ...ics Modes m Option Alternate Code Density dots per inch Resolution dots per inch 0 Single density ESC K 60 120 1 Double density ESC L 120 1201 2 High speed double density ESC Y 60 1202 3 Quadruple density ESC Z 120 2401 2 3 4 CRT I none 80 160 5 Plotter 1 1 none 72 144 6 CRT II none 90 180 7 Double density plotter none 144 1441 1 Prints at half speed 2 Data can be sent incorrectly In these modes n...

Страница 182: ...ESC m n1 n2 d1 dk Hex Code 1B 5E m n1 n2 d1 dk Dec Code 27 94 m n1 n2 d1 dk Purpose Turns on 9 pin bit image graphics mode Discussion m defines the plot density as shown in Table 42 on page 181 n1 256n2 The total number of columns n1 Number of DATA bytes 256 n2 remainder of division of number of DATA bytes by 256 sometimes referred to as MOD 256 n2 Number of DATA bytes 256 quotient of division Thi...

Страница 183: ...s control panel print quality selections Selecting an OCR print quality overrides any character attributes set such as condensed double wide etc Setting character attributes when OCR is set may cause unexpected results Draft OCR A and OCR B print qualities n 2 3 or 4 are not defined in Epson FX printers Select Deselect Proportional Spacing ASCII Code ESC p n Hex Code 1B 70 n Dec Code 27 112 n wher...

Страница 184: ...oman n 1 3 5 any odd value the font selected is a sans serif NLQ font Select User Defined Font ASCII Code ESC n Hex Code 1B 25 n Dec Code 27 37 n Purpose Selects a user defined font Discussion The printer ignores this command and removes all font data sent from the data stream Select Vertical Tab Channel ASCII Code ESC c Hex Code 1B 2F c Dec Code 27 47 c Purpose Selects a vertical tab channel set ...

Страница 185: ...ant bit MSB of all incoming data to 1 Discussion The MSB is bit number 7 This command only affects text and control code data Graphics data pass through unchanged Set Form Length in Inches ASCII Code ESC C NUL n Hex Code 1B 43 00 n Dec Code 27 67 0 n Purpose Sets form length to n inches where n whole numbers from 1 through 24 to specify the number of inches on a form Discussion Upon receipt of thi...

Страница 186: ... to the next possible multiple When forms length is set by an ESC C sequence the skip over perforation set by ESC N is cancelled Set Intercharacter Spacing in 1 120 Inch ASCII Code ESC SP n Hex Code 1B 20 n Dec Code 27 32 n Purpose Permits character spacing adjustments in 1 120 inch increments where n 0 through 127 hex 00 through 7F Set Margin Left ASCII Code ESC l n lowercase L Hex Code 1B 6C n D...

Страница 187: ...ommand automatically clears and resets horizontal tabs to every eight characters The smallest possible space between the left and right margins is the width of one double wide 10 cpi character If a margin control code violates this minimum distance it is ignored Settings in proportional mode are treated as 10 CPI Set Relative Horizontal Print Position in 1 120 Inch ASCII Code ESC n1 n2 Hex Code 1B...

Страница 188: ...cending order If they are not the sequence up to and including the out of sequence number is ignored The rest of the load is processed Skip over perforation is ignored You can clear any channel by sending ESC b c NUL where c is the channel number Skip Over Perforation ASCII Code ESC N n Hex Code 1B 4E n Dec Code 27 78 n Purpose Selects the number of lines at the current line spacing for the paper ...

Страница 189: ...ers with a baseline higher than the normal characters Subscript prints full sized characters with a baseline lower than the normal characters When the control code is received all characters are superscript or subscript until reset by ESC T or printer reset This differs from the Epson standard which utilizes half size characters for superscript and subscript printing You can print both superscript...

Страница 190: ...UL hex 00 or 0 hex 30 to turn off underlining n SOH hex 01 or 1 hex 31 to turn on underlining Discussion Spaces are underlined but graphics and grey scale characters are not Example The following sample illustrates underlining Unidirectional Printing 1 Line ASCII Code ESC Hex Code 1B 3C Dec Code 27 60 Purpose Causes printing to occur from left to right for one line only Discussion Printing normall...

Страница 191: ...ery accurate dot placement is desired in graphics Vertical Tab Execute ASCII Code VT Hex Code 0B Dec Code 11 Purpose Advances the logical print head to the next vertical tab position selected by ESC Discussion If no vertical channel was selected channel 0 is used If no vertical tabs were set the paper advances one line The logical print head moves to the left margin If a tab position is on the cur...

Страница 192: ... ESC B NUL 1B 42 00 Discussion The values of n range from 1 through 255 hex 01 through FF and must be in ascending order The distance of each tab stop from TOF is the current line spacing times the number of lines given in n If the value of n exceeds the form length commands to move to that tab position are ignored If values of n are not in ascending order the sequence up to and including the out ...

Страница 193: ...ed for graphics printing When the emulation is in the P Series protocol mode Odd Even dot plotting is used for graphics printing Each line of graphics data must include a graphics control code to enable the emulation for the desired graphics mode of operation Bit Image Graphics When the printer uses the IBM Proprinter XL or Epson FX emulation it creates graphics by accepting bit image graphics dat...

Страница 194: ...valents These numeric equivalents are combined in data streams to form graphic patterns such as the one illustrated in Figure 6 Figure 5 Bit Image Pattern from an ASCII Character Bit Image plotting is not limited to printable ASCII characters You can print Bit Image patterns for any 8 bit data byte with decimal values ranging from 0 through 255 The ASCII character set is charted in Appendix A MSB ...

Страница 195: ...e graphics in different dot densities Select dot densities by sending a control code in the data stream Single Density Mode ESC K Single density bit image graphics in a Data Processing DP print quality are printed at 60 dots per inch dpi horizontally and 72 dpi vertically For NLQ print quality the horizontal dot density is 90 dpi and vertical dot density is 96 dpi For High Speed HS draft print qua...

Страница 196: ...n printing quadruple density graphics the printer combines adjacent quadruple density bit image bytes The compounded data are then printed in double density mode Bit Image Programming Format The bit image command format is ESC CC n1 n2 DATA where ESC the serial matrix SFCC CC K L Y or Z to select dot density K single L double Y double density double speed Z quadruple density n1 Number of DATA byte...

Страница 197: ...en in BASIC produces the single density bit image pattern shown in Figure 7 The 7 byte pattern is repeated 40 times Depending on the host computer system it may be necessary to add a width statement to the BASIC program 10 WIDTH LPT1 255 20 LPRINT Single Density Bit Image Graphics 30 LPRINT CHR 27 K CHR 24 CHR 1 40 FOR N 1 TO 40 50 RESTORE 60 FOR I 1 TO 7 70 READ R 80 LPRINT CHR R 90 NEXT I 100 NE...

Страница 198: ...riority over ENQ hex 05 ENQ has the same priority level and is acted upon in the order received A printable symbol is defined as any character or command that might cause the head of a serial printer to move away from character column one Plot Density Plot density refers to the number of dots per inch dpi printed in a single dot row Two types of plot density are available with P Series Plot mode g...

Страница 199: ...t In P Series Plot Mode the format is as follows 1 Each data byte specifies six out of twelve plot dot columns 2 Using odd dot plot mode bits 1 to 6 of the data byte address the odd numbered dot columns using even dot plot mode bits 1 to 6 of the data byte address the even numbered dot columns 3 Bit 6 and or bit 7 of the data byte must be a 1 or true bit in the Plot mode 4 Bit 8 of the data byte i...

Страница 200: ...here in the line prior to the line terminator but plot speed may decrease if it is not at the beginning of the line 1 1 1 1 1 1 0 BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 BIT 6 BIT 7 BIT 8 ODD DOT PLOT DATA BYTE LSB MSB 1 3 5 7 9 11 NOT USED NOT USED 0 0 0 1 1 1 1 2 4 6 8 10 12 EVEN DOT PLOT DATA BYTE BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 BIT 6 BIT 7 BIT 8 LSB MSB DOT COLUMN 1 OF NEXT CHARACTER COLUMN DOT COLUMN 12 ...

Страница 201: ...ided with the data Double Density Plot For double density plot the plot line contains Control Code hex 04 plot data bytes a Line Terminator hex 0A or hex 0C Control Code hex 05 plot data bytes and a Line Terminator The control sequence for sending P Series Double Density Plot is as follows 1 Send the even dot plot control code EOT hex 04 followed by plot data bytes refer to page 205 2 Send a line ...

Страница 202: ...n entire dot row is plotted in one printing pass Consequently the first row of all 25 images is printed in one pass followed by the second row etc until all rows have been printed 10 LPRINT Odd Dot Plot 20 FOR I 1 TO 8 30 READ R1 40 READ R2 50 LPRINT CHR 5 60 FOR N 1 TO 25 70 LPRINT CHR R1 CHR R2 80 NEXT N 90 LPRINT 100 NEXT I 110 DATA 42 64 73 65 92 64 42 64 73 65 92 64 42 64 73 65 120 LPRINT Fig...

Страница 203: ... 13 Figure 13 Truncated Character Line ABCDEFGHIJKLMNOPQR plot data plot data A text line follows plot data preceded by a single line terminator code Text characters may extend into the range of the previously printed plot line and appear truncated A text line follows plot data but is preceded by an additional line terminator or LF code Characters are printed at full height ABCDEFGHIJKLMNOPQR Note...

Страница 204: ...bol can be created in the Plot mode or with Bit Image graphics simply by addressing and plotting the appropriate dot positions Either Bit Image or Plot mode graphics can be mixed with text within the page on a line by line basis Each line of graphics data must include a graphics control code or the emulation will automatically default to the print mode Using Bit Image graphics it is possible to us...

Страница 205: ...01 1110110 1110111 1111000 1111001 1111010 1111011 1111100 1111101 1111110 1111111 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 a b c d e f g h i j k l m n o p q r s t u v w x y z Delete 20 32 040 21 22 23 24 25 26 27 28 29 2...

Страница 206: ...206 Chapter 6 Combining Graphics and Text ...

Страница 207: ...he IBM Proprinter XL and the Epson FX emulations each contain a vertical tab table It is a set of programmed vertical tabs Electronic Vertical Format Unit EVFU Only the P Series emulation provides the EVFU capability Planning a Vertical Page Format Vertical page formatting with a VFU consists of four steps 1 Select the type of vertical format you want to use This is covered in the next section 2 D...

Страница 208: ... If a channel 12 is not loaded a line feed will occur Proprinter and Epson Vertical Tab Table The IBM Proprinter XL and the Epson FX emulations each contain a vertical tab table It is a set of programmed vertical tabs Various lines of the form are assigned vertical tabs which are then accessed by control code for rapid paper advancement to the tab position Two control codes are used for vertical t...

Страница 209: ...e assigns the vertical tabs to the lines of the form Once the tab positions are set sending the vertical tab execute code VT causes the paper currently at the top of form position to advance to the first tab position for PART NUMBER data Sending another VT moves the paper to the second tab position for PART NAME followed by a third VT to access the third tab position for QUANTITY data Figure 14 Ex...

Страница 210: ...for any number of lines Channel 1 The top of form code reserved as the first line on the form or the first line printed top of form position The operating program sends the channel 1 code to advance to the top of the next form After the memory is loaded a Form Feed code FF hex 0C will move the paper to the next channel 1 top of form Channels 2 through 11 13 and 14 Used as general channel codes lin...

Страница 211: ... byte will specify the EVFU channel number Table 43 lists the EVFU channels and their equivalent data bytes Table 43 P Series EVFU Codes ASCII Data Bits Channel Hex Dec Code 8 7 6 5 4 3 2 1 10 16 DLE 0 0 0 1 0 0 0 0 1 TOF 11 17 DC1 0 0 0 1 0 0 0 1 2 12 18 DC2 0 0 0 1 0 0 1 0 3 13 19 DC3 0 0 0 1 0 0 1 1 4 14 20 DC4 0 0 0 1 0 1 0 0 5 15 21 NAK 0 0 0 1 0 1 0 1 6 16 22 SYN 0 0 0 1 0 1 1 0 7 17 23 ETB ...

Страница 212: ... second start load code is received resulting in reinitialization of the EVFU This allows the host data to be restarted When the EVFU memory is cleared the forms length returns to the previously set value and the current print position becomes the top of form TOF Note The ESC code cannot be used simultaneously as the EVFU VT code and the Special Function Control Code SFCC Refer to the appropriate ...

Страница 213: ... 43 2B 54 44 2C 55 45 2D 56 46 2E 57 47 2F 0 1 2 3 4 5 6 7 8 9 60 48 30 61 49 31 62 50 32 63 51 33 64 52 34 65 53 35 66 54 36 67 55 37 70 56 38 71 57 39 72 58 3A 73 59 3B 74 60 3C 75 61 3D 76 62 3E 77 63 3F A B C D E F G H I J K L M N O 100 64 40 101 65 41 102 66 42 103 67 43 104 68 44 105 69 45 106 70 46 107 71 47 110 72 48 111 73 49 112 74 4A 113 75 4B 114 76 4C 115 77 4D 116 78 4E 117 79 4F P Q...

Страница 214: ...214 Appendix A ...

Страница 215: ...r Letter Quality NLQ They may be selected using the configuration menus described in detail in your User s Manual There are also several control codes that allow you to select different character sets described in Chapter 3 of this book These include SFCC l SFCC OSET SFCC R and SFCC PSET The maximum set of printable symbols is shown for columns hex 80 9F selected via the ESC 6 control code ...

Страница 216: ...216 Appendix B P Series Emulation Character Sets IBM PC Primary Subset ASCII USA ...

Страница 217: ...217 IBM PC Primary Subset French ...

Страница 218: ...218 Appendix B P Series Emulation Character Sets IBM PC Primary Subset German ...

Страница 219: ...219 IBM PC Primary Subset English UK ...

Страница 220: ...220 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Danish ...

Страница 221: ...221 IBM PC Primary Subset Swedish ...

Страница 222: ...222 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Italian ...

Страница 223: ...223 IBM PC Primary Subset Spanish ...

Страница 224: ...224 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Japanese ...

Страница 225: ...225 IBM PC Primary Subset French Canadian ...

Страница 226: ...226 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Latin American ...

Страница 227: ...227 IBM PC Primary Subset Danish II ...

Страница 228: ...228 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Spanish II ...

Страница 229: ...229 IBM PC Primary Subset Latin American II ...

Страница 230: ...230 Appendix B P Series Emulation Character Sets IBM PC Extended Subset 0437 PC Character Set ...

Страница 231: ...231 IBM PC Extended Subset 0850 PC Multilingual ...

Страница 232: ...232 Appendix B P Series Emulation Character Sets Multinational ASCII USA ...

Страница 233: ...233 Multinational EBCDIC ...

Страница 234: ...234 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset ASCII USA ...

Страница 235: ...235 ECMA Latin 1 Primary Subset German ...

Страница 236: ...236 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset Swedish ...

Страница 237: ...237 ECMA Latin 1 Primary Subset Danish ...

Страница 238: ...238 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset Norwegian ...

Страница 239: ...239 ECMA Latin 1 Primary Subset Finnish ...

Страница 240: ...240 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset English UK ...

Страница 241: ...241 ECMA Latin 1 Primary Subset Dutch ...

Страница 242: ...242 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset French ...

Страница 243: ...243 ECMA Latin 1 Primary Subset Spanish ...

Страница 244: ...244 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset Italian ...

Страница 245: ...245 ECMA Latin 1 Primary Subset Turkish ...

Страница 246: ...246 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset Japanese ...

Страница 247: ...247 ECMA Latin 1 Extended Subset Multinational ...

Страница 248: ...248 Appendix B P Series Emulation Character Sets ECMA Latin 1 Extended Subset Barcode 10 cpi ...

Страница 249: ...249 ECMA Latin 1 Extended Subset Greek ...

Страница 250: ...250 Appendix B P Series Emulation Character Sets ECMA Latin 1 Extended Subset Graphic ...

Страница 251: ...251 ECMA Latin 1 Extended Subset Scientific 10 cpi ...

Страница 252: ...252 Appendix B P Series Emulation Character Sets DEC Multinational ASCII USA ...

Страница 253: ...253 DEC Multinational French ...

Страница 254: ...254 Appendix B P Series Emulation Character Sets DEC Multinational German ...

Страница 255: ...255 DEC Multinational English UK ...

Страница 256: ...256 Appendix B P Series Emulation Character Sets DEC Multinational Norwegian Danish ...

Страница 257: ...257 DEC Multinational Swedish ...

Страница 258: ...258 Appendix B P Series Emulation Character Sets DEC Multinational Italian ...

Страница 259: ...259 DEC Multinational Spanish ...

Страница 260: ...260 Appendix B P Series Emulation Character Sets DEC Multinational Japanese ...

Страница 261: ...261 DEC Multinational French Canadian ...

Страница 262: ...262 Appendix B P Series Emulation Character Sets DEC Multinational Dutch ...

Страница 263: ...263 DEC Multinational Finnish ...

Страница 264: ...264 Appendix B P Series Emulation Character Sets DEC Multinational Swiss ...

Страница 265: ...265 OCR A ...

Страница 266: ...266 Appendix B P Series Emulation Character Sets OCR B ...

Страница 267: ...referred to as code pages for the Proprinter emulation The character sets are shown in Near Letter Quality NLQ They may be selected using the configuration menus described in detail in your User s Manual The maximum set of printable symbols is shown for columns hex 80 9F selected via the ESC 6 control code ...

Страница 268: ...268 Appendix C 0437 PC Character Set 0437 PC Character Set ...

Страница 269: ...269 0850 PC Multilingual ...

Страница 270: ...270 Appendix C OCR A OCR A ...

Страница 271: ...271 OCR B ...

Страница 272: ...272 Appendix C OCR B ...

Страница 273: ...he character sets are shown in Near Letter Quality NLQ They may be selected using the configuration menus described in detail in your User s Manual The international character sets may be selected using the ESC R n control code see page 159 The maximum set of printable symbols is shown for columns hex 80 9F selected via the ESC I or ESC 6 control code ...

Страница 274: ...274 Appendix D 0437 PC Character Set 0437 PC Character Set ...

Страница 275: ...275 0850 PC Multilingual ...

Страница 276: ...276 Appendix D Epson Set ASCII USA Epson Set ASCII USA ...

Страница 277: ...277 Epson Set French ...

Страница 278: ...278 Appendix D Epson Set German Epson Set German ...

Страница 279: ...279 Epson Set English UK ...

Страница 280: ...280 Appendix D Epson Set Danish I Epson Set Danish I ...

Страница 281: ...281 Epson Set Swedish ...

Страница 282: ...282 Appendix D Epson Set Italian Epson Set Italian ...

Страница 283: ...283 Epson Set Spanish I ...

Страница 284: ...284 Appendix D Epson Set Japanese Epson Set Japanese ...

Страница 285: ...285 Epson Set Norwegian ...

Страница 286: ...286 Appendix D Epson Set Danish II Epson Set Danish II ...

Страница 287: ...287 Epson Set Spanish II ...

Страница 288: ...288 Appendix D Epson Set Latin American I Epson Set Latin American I ...

Страница 289: ...289 Epson Set French Canadian ...

Страница 290: ...290 Appendix D Epson Set Latin American II Epson Set Latin American II ...

Страница 291: ...291 OCR A ...

Страница 292: ...292 Appendix D OCR B OCR B ...

Страница 293: ...195 Bit image programming format 196 Bold PCL II 65 BS Backspace Proprinter control code 114 C CAN Cancel Proprinter control code 120 Carriage control directives 69 Carriage Return Epson FX 1050 158 Proprinter emulation 120 Character density selection PCL II 42 Character font selection PCL II 45 Character overstrike PCL II 47 Character sets ASCII 213 Epson FX 1050 international overlays 159 Propri...

Страница 294: ... with control codes 152 control code description format 152 control codes index 154 ESC Escape sequences 152 exceptions 150 factory settings 148 Set and Reset codes 153 Epson FX 1050 emulation control codes Backspace BS 157 Bell BEL 157 Cancel Line CAN 157 Carriage Return CR 158 Character Pitch 10 CPI ESC P 158 Character Pitch 12 CPI ESC M 158 Character Pitch 15 CPI ESC g 158 Character Set Select ...

Страница 295: ... Tab Channel ESC 184 Set Absolute Print Position in 1 60 Inch ESC 185 Set Bit 7 of Incoming Data Bytes to 1 ESC 185 Set Forms Length by Lines ESC C 186 Set Forms Length in Inches ESC C 0 185 Set Intercharacter Spacing in 1 120 Inch ESC SP 186 Set Margin Left ESC l 186 Set Margin Right ESC Q 187 Set Relative Horizontal Print Position in 1 120 Inch ESC 187 Set Vertical Tabs in Channels ESC b 188 Ski...

Страница 296: ...double density bit image graphics 196 ESC N Margin Bottom Proprinter control code 136 ESC O Margin Cancel Bottom Proprinter control code 136 ESC P Proportional Spacing Proprinter control code 139 ESC Q Deselect Printer Proprinter control code 123 ESC R Tabs Clear All Proprinter control code 144 ESC S Superscript Subscript Printing Proprinter control code 141 ESC T Superscript Subscript Printing Ca...

Страница 297: ...n selection PCL II 50 HP 1000 information PCL II 70 HP 3000 information PCL II 68 HT Tab Horizontal Proprinter control code 142 I Ignored and reserved control codes Proprinter III XL emulation 110 Image printing overview 193 Industrial 2 of 5 Bar Code width 33 Interleaved 2 of 5 Bar Code width 33 International character sets Epson FX 1050 159 Italic character selection PCL II 47 K Proprinter contr...

Страница 298: ...f Speed ESC L 116 Bit Image Mode Double Density Normal Speed ESC Y 117 Bit Image Mode Quadruple Density ESC Z 118 Bit Image Mode Single Density ESC K 115 Bold Printing ESC G 119 Bold Printing Cancel ESC H 119 Cancel CAN 120 Carriage Return CR 120 Carriage Return Set ESC 5 121 Character Pitch 12 cpi ESC 121 Character Set Select Set 1 A ESC 7 121 Set 2 B ESC 6 121 Condensed Print SI ESC SI 122 Conde...

Страница 299: ...t data byte format 199 plot density 198 plot mode 202 plot mode graphics 198 P Series emulation control codes Backspace BS 79 Bell BEL 79 Bold Print SFCC G 80 Bold Print Reset SFCC H 80 Carriage Return CR 81 Character Set Select SFCC 1 82 Character Set Select ECMA Latin 1 Extended SFCC OSET 84 Character Set Select International Languages SFCC PSET SFCC R 85 Characters 80 9F Control Codes SFCC 7 86...

Страница 300: ... SFCC P Series 75 SFCC 1 Character Set Select P Series control code 82 SI ESC SI Condensed Print Proprinter control code 122 SO Double Wide Print One Line Only Proprinter control code 124 Standard PCL II 65 Storage of emulation configuration on diskette 23 Stroke Weight PCL II 65 Switching character font PCL II 65 Switching emulations 23 Symbol set selection PCL II 46 T Tabs vertical Epson FX 208 ...

Страница 301: ...rmation 207 Vertical formatting P Series EVFU 210 Vertical forms control PCL II 67 Vertical page format planning 207 Vertical tabbing example 209 Vertical tabs Epson FX 208 Proprinter III XL emulation 208 VFC Channel Definitions table 67 VT Tab Vertical Proprinter control code 143 ...

Страница 302: ...302 ...

Страница 303: ......

Страница 304: ...ons Center 714 368 2686 Printronix Nederland BV P O Box 163 Nieuweweg 283 NL 6600 Ad Wijchen The Netherlands Phone 31 24 6489489 Fax 31 24 6489499 Printronix Schweiz GmbH 42 Changi South Street 1 Changi South Industrial Estate Singapore 486763 Phone 65 542 0110 Fax 65 543 0220 Visit our Web site at www printronix com ...

Отзывы: