Home
For Hanzi BIG5 Printer only
Contents
1. NOTE FIM Postbar and PDF417 do not support this parameter C Calculate and plot check digit if the check digit is optional Bell activates the height variable hh 2 digit barcode height in 1 10 D Dark barcode Note This parameter does not take effect under any DBCS typefaces EF q data q secondary data field optional The secondary data field is only used to specify the barcode data when the primary data field is empty two delimiters without any data When the primary data field is not empty the secondary data field is ignored Bell ASCII Code BEL Hex Code 07 Dec Code 07 Purpose Sounds the printer s buzzer beeper Comment BEL function will sound the buzzer beeper for 0 2 seconds upon receipt of this command Cancel Character Rotation ASCII Code Hex Code Dec Code Purpose Comment FSK 1C 4B 28 75 Cancels character rotation horizontal printing mode This command cancels the effect of FS J This control code does not function while in non DBCS mode Cancel Line ASCII Code Hex Code Dec Code Purpose Comment CAN 18 24 Clears all data not yet printed from a line but does not affect control codes You can use this control code to delete a line but do so with caution to avoid possible misprinting This control code cancels the double wide attribute set by SO No other print attributes are affected The simulated print head goes to
2. 33 Character Pitch 15 CPI 33 Condensed Print Set Reset 34 Table Of Contents DBCS Mode Select eene 35 DBCS Mode sse een 35 DBCS Mode Underline pp 35 DBCS Superscript Subscript Print Set Cancel 36 Define a Download Character DBCS eese 36 Define Pattern for Special Printing 37 Define User Defined Character pp 38 Delete Character 39 Double High Print sss 39 Double Strike Select 39 Double Strike Cancel seen nene 40 Double Wide 40 Double Wide Print One Line sm 41 Double Wide Print One Line 42 Double Wide Print One Line ppp 42 Double Wide Print One Line 42 Double Wide Double High 2x2 Print pp 43 Download Chinese Font For Hanzi Big5 Printer Only 43 Download Chinese Font Unicode Position For Hanzi Big5 Printer Only sss 43 Download Chinese Font UTF 8 Position For Hanzi Big5 Printer Only ined e ture 44 Emphasized Print Select 44 Emphasized Print Cancel 45 E
3. 66 Orientation of Downloaded 66 Printer Deselect sss eene 67 Printer Select eener ea ec epo 67 Proportional Spacing Select Deselect 67 Rotate Character 90 Degrees Counter Clockwise 68 Select Autowrap Mode For Hanzi Big5 Printer Only 68 Save Downloaded Character into 68 Static Barcode Function 69 Select Bit Image dee ie ee fees 70 Select DBCS ASCII Character Type 70 Select DBCS Character Bitmap 71 Select DBCS Character Font pp 71 Select DBCS Print Quality esee 71 Select Graphics Mode sse 72 Select Italic Character Set 73 Select Print Quality 0 eeeneeeeneeen nee ee neses ee se ersserssern nesr nerrnnernnnennsrenee 73 Select Special Printing Effect Ne 74 Select Super Subscript Printing For Hanzi BIG5 Printer only 75 Select Typeface For Hanzi BIGS Printer 75 Select Underline Printing For Hanzi Big5 Printer 75 Select Vertical Printing for Hanzi BIG5 Printer only
4. ASCII Code ESCO Hex Code 1B 30 Dec Code 27 48 Purpose Sets the line spacing to 1 8 inch 8 Ipi for subsequent line feeds Comment The 0 is ASCII character 0 not hex 0 When ESC 0 1 received all lines are printed at 8 Ipi until a new line spacing is selected or the printer is reset This control code overrides line spacing set at the control panel Example The following example illustrates 1 8 inch line spacing 10 LPRINT Control code ESC O sets 20 LPRINT CHR 27 30 LPRINT line spacing at 40 LPRINT 1 8 8 1 1 inch for all subsequent lines 90 LPRINT until reset or another spacing is selected Control code ESC sets line spacing at 1 8 B 1 1 inch for all subsequent lines until reset or another spacing is selected Line Spacing n 60 Inch Line Spacing n 60 Inch ASCII Code ESCAn HexCode 1B41n Dec Code 2765 Purpose Sets a line spacing of n 60 inch for subsequent line feeds Where n 0 through 85 all other values are ignored Comment When this control sequence is received all subsequent line feeds are n 60 inch until a new line spacing is selected or the printer is reset This setting overrides line spacing set at the control panel When n 0 the current line spacing is printed 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 characters are used on the same line
5. 10 WIDTH LPT1 255 20 LPRINT Single Density Bit Image Graphics 30 LPRINT CHRS 27 K CHRS 24 1 40 FOR N 1 TO 40 50 RESTORE 60 FOR I 1 TO 7 70 READ R 80 LPRINT 90 NEXT I 100 NEXT N 110 DATA 73 146 36 255 36 146 73 120 LPRINT Single Density Bit Image Graphics Figure 6 Sample Single Density Bit Image Graphics 105 Appendix C Graphics 106 D Contact Information Printronix Customer Support Center IMPORTANT Please have the following information available prior to calling the Printronix Customer Support Center e Model number e Serial number located on the back of the printer e Installed options i e interface and host type if applicable to the problem e Configuration printout Line Matrix Printer Press PRT CONFIG on the control panel then press Enter e s the problem with a new install or an existing printer Description of the problem be specific Good and bad samples that clearly show the problem faxing or emailing of these samples may be required Americas 714 368 2686 Europe Middle East and Africa 31 24 6489 410 Asia Pacific 65 6548 4114 China 86 800 999 6836 http www printronix com support aspx Printronix Supplies Department Contact the Printronix Supplies Department for genuine Printronix supplies Americas 800 733 1900 Europe Middle East and Africa 33 0 1 46 25 19 07 Asia Pacific 65 6548 41
6. 256 x n2 defines the number of data bytes to follow d1 d2 dk ASCII characters for the dot pattern bytes NOTE d1 d2 dk DATA consists of 8 bit dot columns with the MSB at the top and 1 bits producing dots 0 lt d lt 255 Comment This mode is similar to ESC L except that four dot columns are printed in the space normally taken by two columns 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 is used 108 times rather than 27 10 WIDTH 1 1 255 20 LPRINT Quad Density Bit Image Graphics 30 LPRINT 27 Z 205 CHR 3 40 FOR 1 TO 108 50 RESTORE 60 FOR I 1 TO 9 70 READ R 80 LPRINT CHR R 90 NEXT I 100 NEXT 110 LPRINT CHR 255 120 DATA 255 128 64 32 16 8 4 2 1 Guad Density Bit Image Graphics 50 Graphics Standard Density Graphics Standard Density ASCII Code Hex Code Dec Code Purpose Expression ESC n1 n2 d1 d2 dk 1B 4B n1 n2 d1 d2 dk 27 75 n1 n2 d1 d2 dk Selects normal density bit image graphics of 60 dpi horizontally and 72 dpi vertically CHR 27 K CHR n1 CHR n2 DATA Where n1 through 255 n2 0 through 31 n1 256 x n2 defines the number of data bytes to follow d1 d2 dk ASCII characters for the dot pattern bytes NOTE 07 d2 dk DATA cons
7. 118 proportional protocol RAM read reset resolution ROM roman RTS sans serif See font proportional In general a set of rules governing the exchange of information between computer systems For printers a protocol is the coding system used to convey and print characters and graphics A printer protocol includes character codes printer function codes and machine to machine communication codes In this manual protocol and emulation mean the same thing See also compatibility and emulation R Acronym for Random Access Memory Also called main memory or working memory this is the active memory of a printer into which programs are loaded This memory can be read from or written to at any time hence the term random access RAM is also termed volatile because whatever is in RAM is lost when power is turned off or interrupted See also ROM To retrieve data from memory RAM NVRAM or mass storage hard disk floppy diskette etc To turn off deactivate disable or return to a previously determined state A measure expressing the number of units in a given range used to create an image In printing this is expressed as the number of dots per inch dpi horizontally and vertically Acronym for Read Only Memory Programs instructions and routines permanently stored in the printer ROM is not lost when power is turned off and cannot be written to hence the term read only
8. 2 B R b r 2 B R b r 3 DC3 3 C S c s 3 C S c 4 i DC4 4 D T d t 2 4 T d t 5 5 E U e u 8 e 96 5 E U e u 6 amp 6 F V f f amp 6 F V f v 7 BEL 7 Ww g w i 7 G 9 8 BS 8 H X h x 8 H X h x 9 HT U 9 i y N 9 Y i y A LF t J 2 j 2 x J 2 2 VT ESC K k K k lt L Pt lt L I D CR m E SO gt n gt N n F SI O o DEL e 18 Escape Sequences Escape Sequences Some LQ 1600K control codes consisting of more than one character are called escape sequences because the first character in the sequence is the ASCII ESCape character ESC alerts the printer that a special function command not printable characters follows The format for an escape sequence is ESC parameter 1 parameter 2 parameter n For example to select emphasized offset print send the ESC character immediately followed by the E character do not add a space character ASCII ESC E Hex 1B 45Dec 27 69 FS Sequences Another type of control code which consists of more than one character is called an FS sequence because the first character is the ASCII FS character This control code is used when the printer is printing Double Byte Character Set DBCS character
9. 76 Select Vertical Tab Channel sese 76 Set 0 dot Intercharacter Spacing of DBCS Characters 76 Set 3 dot Intercharacter Spacing of DBCS Characters 77 Set 6 dot Intercharacter Spacing of DBCS Characters 77 Set 12 dot Intercharacter Spacing of DBCS Characters 77 Set Absolute Horizontal Print Position 1 60 Inch 78 Set Chinese Font Rotate For Hanzi Big5 Printer 78 Set Chinese Inner Code For Hanzi Big5 Printer 79 Set DBCS Compressed 79 Set Font Line Gap For Hanzi Big5 Printer Only 79 Table Of Contents Set Font Scale For Hanzi Big5 Printer Only 80 Set Form Length By 80 Set Form Length in Inches ppp 81 Set Font Pitch For Hanzi Big5 Printer Only 81 Set Intercharacter Spacing pp 82 Set Intercharacter One Byte Spacing In DBCS Mode 82 Set Intercharacter Two Byte Spacing in DBCS Mode 83 Set International Character 83 Set Left Margin For Hanzi Big5 Printer Only 85 Set Line Pitch For Hanzi Big5 Printer
10. 85 Set Logical Right Margin For Hanzi Big5 Printer 85 Set Logical Left Margin For Hanzi Big5 Printer Only 86 Set Margin Left ci iic i boe ete nee pects 86 Set Margin Right 87 Set n 120 inch Line Spacing ppp 87 Set Paper Length For Hanzi Big5 Printer Only 87 Set Relative Horizontal Print Position In 1 120 Inches 88 Set Right Margin For Hanzi Big5 Printers Only 88 Set Vertical Tabs in Channels seen 88 Skip Over Perforation 89 Skip Over Perforation Cancel sss 89 Static Barcode Function For Hanzi Big5 Printer Only 90 Superscript and Subscript Printing pp 91 Superscript and Subscript Printing 92 Turn On Off Compress 92 Turn On Off OCRB Printing isisi rini en 93 93 Unidirectional Printing For One Line 94 Unidirectional Printing Set Reset 94 Vertical and Horizontal Extension pp 94 Vertical Tab a e ede res e 95 Vertical Tab 95 A S
11. OCHRS SO line spacing at 30 260 inch increments for all subsequent lines until reset or another spacing is selected code ESC 30 sets line spacing at 50 2360 increments until inch for all subsequent lines reset another spacing is selected 61 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Make Hex 80 9F Control Codes ASCII Code ESC 7 Hex Code 1B 37 Dec Code 2755 Purpose Makes codes hex 80 9F control codes Comment This is the default when the Epson italic character set is selected as the default set at the control panel Make Hex 80 9F Printable ASCII Code ESC 6 Hex Code 1 36 Dec Code 27 54 Purpose Makes codes hex 80 9F printable characters Comment 6 is an ASCII character 6 not hex 6 This is the default when the IBM PC graphics character set Code Page 437 is selected as the default set at the control panel The characters printable in the Epson italic character set are shown in Figure 1 62 B7 B6 BITS 85 B4 B3 B2 B1 OCTAL DECIMAL HEX B4 B8 B7 B6 BITS B2 B1 ROW B5 COLUMN 000 0 o o A oo 2 N Sad 220 144 90 221 145 222 146 92 223 147 93 224 148 94 225 149 95 226 150 96 227 151 97 230 152 157 236 158 237 159 9F Figure 1 Make Hex 80 9F Printable LQ 1600K Printable Codes Hex 80
12. Delete Character ASCII Code Hex Code Dec Code Purpose Comment DEL 127 Deletes the previous character on line This command is ignored if it occurs immediately after a CR or a paper motion command Characters truncated due to line length restrictions are not affected by this code Double High Print Set Reset ASCII Code Hex Code Dec Code Purpose Comment ESCwn 1B 77 27 119 Turns double high character printing and off Double high characters are standard width but twice as high Where n hex 01 or 1 hex 31 turns double high printing on n NUL hex 00 hex 30 turns double high printing off This control code does not function while in DBCS mode Double Strike Select ASCII Code Hex Code Dec Code Purpose Comment ESCG 1B 47 27 T1 Makes text bolder by printing each dot twice 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 width of a dot the same as with ESC E 39 Chapter 40 2 Configuring the LQ 1600K Emulation with Control Codes Double Strike Cancel ASCII Code ESCH Hex Code 1B 48 Dec Code 27 72 Purpose Comment Example LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT Turns off the double strike printing set by ESC G or ESC This control code resets only the double strike print attribute Other print attributes
13. 58 LQ 1600K emulation 13 Make 80 9F Hex Control Codes 62 Make 80 9F Hex Printable 62 Margins left 86 right 87 Master Select One Line Attribute in DBCS Mode 66 N NLQ select print quality 73 n 120 inch Line Spacing set 87 Orientation of Downloaded Character 66 P Page length set in inches 81 set in lines 80 Paper slewing 99 125 Perforation skip over 89 cancel 89 Print position horizontal setting 88 Printer deselect 67 Printer select 67 Proportional Spacing 67 R Reset Emulation 55 S Save Downloaded Character into Flash 68 Select Autowrap Mode 68 Select Bit Image 70 Select Underline Printing 75 Select Master Print Emphasis 64 65 Sequences escape 19 FS 19 Set absolute horizontal print position in 1 60 inch 78 Set and Reset Codes 19 Set Chinese Font Rotate 78 Set Chinese Inner Code 79 Set DBCS Compressed Mode 79 Set Font Pitch 81 Set Font Scale 80 Set Font Line Gap 79 Set intercharacter spacing 82 Set intercharacter one byte spacing in DBCS mode 82 Set intercharacter two byte spacing in DBCS mode 83 Set Left Margin 85 Set Line Pitch 85 Set Logic Right Margin 85 Set Logical Left Margin 86 Set n 120 inch Line Spacing 87 Set Paper Length 87 Set Right Margin 88 Set 0 dot Intercharacter Spacing of DBCS Characters 76 Set 12 dot Intercharacter Spacing of DBCS 126 Characters 77 Set 3 dot Intercharacter Spacing o
14. 9F 63 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Master Print Select ASCII Code ESC n Hex Code 1B21n Dec Code 2733n Purpose Selects or changes print attributes in a single command Where n an 8 bit number with the bits set to specify print attributes as shown in Table 6 0 lt n lt 255 Table 6 Master Print Select Bit Values Bit No Bit 0 Bit 1 0 10 cpi 12 cpi 1 Monospaced Proportional 2 Normal Condensed 3 Normal Emphasized 4 Normal Double Strike 5 Normal Double Wide 6 Normal Italic 7 Normal Underlined For example to specify 10 cpi proportional spacing and italics n 01000010 Where bit O 0 10 cpi bit 1 1 proportional bit 2 3 4 5 0 normal bit 6 1 italic bit 7 0 normal n a binary number 0 10000 1 0 which equals hex 42 The hex command sequence is 1B 21 42 Comment Emphasized is substituted for double strike 64 Master Print Select in DBCS Mode Master Print Select in DBCS Mode ASCII Code FS n Code 1C21n Dec Code 2833n Purpose Selects or changes DBCS print attributes in a single command Where n an 8 bit number with the bits set to specify print attributes as shown below 0 lt 2 n 255 Table 7 Master Print Select Bit Values Bit No Bit 0 Bit 1 0 Normal Vertical print rotated 1 Normal Half width 2 Normal Double width 3 Normal Double height 4 Normal
15. CHRS 8 CHRS 8 wt 1 in ASCII in DBCS mode 27 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Barcode Printing ASCII Code SSCCct ddatad Pp C HAA ED F q data q Hex Code SSCC 63 ddatad 4E 58 mmmm 50p E43 48 hh 44 46 data q Dec Code SSCC 99 78 xxxx 88 mmmm 80p 67 72 hh 68 70 data 9 Where t type of Barcode t ASCII t hex Selects Barcode B 42 Codabar C 43 Code 39 9 39 Code 93 D 44 Code 128 8 38 EAN 8 1 31 EAN 13 F 46 FIM G 47 German 1 2 5 49 Interleaved 2 5 40 MSI 4 34 PDF 417 4F PostBar P 50 POSTNET R 52 Royal Mail T 54 Telepen V 56 UCC EAN 128 A 41 UPC A E 45 UPC E S 53 UPC Shipping U 55 UPS 11 28 Barcode Printing Where d barcode delimiter which can be any character not used in the barcode data field data variable length printable data field PDF character set is Alphanumeric The following parameters are optional where N activates the offset the x and y coordinate unit system n ASCII Selects Value 0 Use current cpi and values 1 Use 1 4 inch value 2 Use 1 2 centimeter value 1 2 54x2 3 Use 1 mm value 1 25 4 4
16. CHRSC amp HF2 250 LPRINT CHRS C amp HD3 CHR CRHA1 260 LPRINT CHR C amp HBB CHR CRHFA 270 RETURN SE 5 s Select Super Subscript Printing For Hanzi BIG5 Printer only Select Super Subscript Printing For Hanzi BIG5 Printer only ASCII Code SSCC n Hex Code SSCC 7E Dec Code SSCC 126n Purpose Prints characters that follow at about 1 2 their normal width and 1 2 their normal height the printing location depends on the value of n as follows 0 48 Upper part of the character space 10 49 Lower part of the character space n 2or50 Normal character Where n 0 1 2 48 49 50 Comment Setting n 2 returns the character back to its normal height Select Typeface For Hanzi BIG5 Printer only ASCII Code ESC kn Hex Code 1 6 Dec Code 27 107 This is to select DBCS ASCII typeface 0 Normal n 5 OCRB Where n 0 5 Comment This command only takes effect in DCBS mode Select Underline Printing For Hanzi Big5 Printer Only ASCII Code ASSC 0 T n Hex Code ASSC 30 54 2D n Dec Code ASSC 48 84 45 n Purpose To set underline printing Where 0x30 reset default n 0x31 underline for all characters n 0x32 underline for all characters except space 0x20 Comment This control code does not function while in non DBCS mode 75 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Select Vertical Printing for Ha
17. Code Hex Code Dec Code Purpose Comment 46 FF 0 12 Prints the data in the buffer if any then moves the paper to the top of the next form The simulated print head moves to the left margin This code cancels all single line print attributes Graphic Printing Graphic Printing ASCII Code ASSC 0 m nL nH 1 Hex Code ASSC 30 2 nL nH 1 Dec Code ASSC 48 42 nN nH 1 Purpose Prints dot grphics in 16 or 24 dot columns depending on the following parameters Where m specifies the dot density nL nH specifies the total number of columns or graphics data that follow number of dot columns nHx256 nL d1 dk specifies bytes of graphics data k is determined by multiplying the total number of columns times the number of bytes required for each column Parameter Horizontal Vertical Dots Per Bytes Per mis ASSC Density dpi Density dpi Column Column 0 180 180 24 3 1 90 180 24 3 2 120 120 16 2 3 90 144 24 3 4 90 120 16 2 5 90 90 16 2 47 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Graphics Double Density ASCII Code n1 n2 d1 d2 dk Hex Code 1B 4C n1 n2 d1 d2 dk Dec Code 27 T6 n1 n2 d1 2 Purpose Selects double density bit image graphics of 120 dpi horizontally and 72 dpi vertically Expression CHR 27 L CHR n1 CHR n2 DA TA Where n1 through
18. Condensed Print SI or ESC SI 34 Condensed Print Reset DC2 34 Define Pattern for Special Printing Effect ESC Xn1n2af1a2a3 37 Double High Print Set Reset ESCwn 39 Double Strike Select ESC G 39 Double Strike Cancel ESC H 40 Double Wide Print ESC Wn 40 Chapter 22 Configuring the LQ 1600K Emulation with Control Codes FUNCTION Double Wide Print 1 line Double Wide Print 1 line Cancel Emphasized Print Select Emphasized Print Cancel Italic Printing Select Italic Printing Cancel Select Italic Character Set Select Special Printing Effect Superscript and Subscript Printing Superscript and Subscript Printing Cancel Underline Print Quality Control Master Print Select Select Print Quality Select Typeface TW printer only Character Set Manipulation Enable Printing of Control Codes Make Hex 80 9F Printable Make Hex 80 9F Control Codes Set International Character Set Data Manipulation Cancel Line Delete Character Graphics Graphics Standard Density Graphics Double Density Graphics Double Density Double Speed Graphics Quadruple Density Select Graphics Mode Miscellaneous Printer Control Bell Home Print Head Initialize Printer Printer Select Printer Deselect Unidirectional Printing for One Line Unidirectional Printing Set Reset Superset Commands Download Chinese Font Graphic Printing Bit Image Barcode Printing Select Vertical Printing Select Superscript Subscript Tur
19. Expansion ASCII Code ASSC 0 e n1 n2 Hex Code Dec Code Purpose Comment ASSC 30 65 n1n2 ASSC 48 101 n1 n2 Expand the DBCS characters up to the size of 72 For this command to work n1 must be the same value as n2 i e n12n2 When n1 and n2 25 to 72 this set font expansion mode is ON The value of n1 and n2 determines the bitmap size For example if the size of n1 is 50 then the size of the bitmap will be set to 50x50 For n1 and n2 24 the font expansion mode resets to OFF and the bitmap size reverts to the default 24x24 Inter line spacing and inter character spacing calculations are based on standard setting as if the bitmap is 24x24 This command only increases the size of the bitmap and does not affect the inter character spacing or inter line spacing For example if inter line spacing is 6 dot rows when the bitmap is expanded from 24x24 to 72x72 the inter line spacing still remains as 6 dot rows The same is true for inter character spacing Other commands such as double height double width 2x2 times left right margin etc will not function when the font expansion mode is set on For different typefaces the characters will expand based on the appropriate typeface resolution All commands affecting LPI and CPI still takes effect and is set as if the bitmap is 24x24 as mentioned above Where n1 24 71 n2 24 72 This control code does not function while non DBCS mode Form Feed ASCII
20. If lines overlap printing speed is reduced Any values set by ESC 3 line spacing n 180 inch are replaced Example The following example illustrates 20 60 inch line spacing io LPRINT Control code 5 20 sete 20 LPRINT CHRS 27 A CHRE CRO 3O LPRINT line spacing at 20 60 inch 40 LPRINT increments for all subsequent lines 30 LPRINT until reset or another spacing is z Control code ESC amp 20 sets line spacing at 20 60 inch increments for ali subsequent lines until reset or another spacing is selected 59 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Line Spacing n 180 Inch ASCII Code ESC3n Hex Code 1B33n Dec Code 2751n Purpose Specifies the line spacing at n 180 inch increments Where 0 through 255 Comment The 3 is an ASCII character 3 not hex 3 All line feeds following receipt of this code are at n 180 inch line spacing until a new line spacing is selected or the printer is reset Line spacing set by this control code overrides the line spacing setting set at the control panel When n 0 the current line spacing is printed If the vertical distance to move is other than a multiple of the n 180 inch the remainder is added to the next paper motion command Use caution when combining this control code with other print attributes such as Elongated Double High Superscript or Subscript because overlapping lines may occur Print speed is reduced if lines overla
21. ROM resident fonts are fonts which are permanently stored in a printer and available at any time See also RAM A type style in which the characters are upright This sentence is printed in a roman type style Abbrev for Request To Send Control signal from the printer S A typeface or font in which the characters do not have serifs This font is sans serif serial communications serial matrix serif set shadow printing shuttle size type slewing soft reset SOH spacing start bit stop bit string style type symbol set The sequential transmission of data in which each element is transferred in succession A type of printing technology used in some impact printers Data is sent to the printer through either a serial or a parallel interface but the print head must receive the data serially in order to form each character The moving print head uses pins to form whole characters one at a time and one after the other The pins print dots according to programmed matrix patterns A line matrix printer also forms characters with dots in matrix patterns but it feeds print data in parallel to many hammers mounted on a rapidly oscillating shuttle The hammers fire simultaneously to print entire dot rows hence lines at a time A short line stemming from and at an angle to the upper or lower end of the stroke of a letter or number character A serif To turn on activate invoke or enable A typef
22. Set Margin Right 87 ESC R Set International Character Set 83 ESC S Superscript and Subscript Printing 91 124 ESC SI Set Condensed Print 34 ESC SO Double Wide Print One Line 41 ESC SP Set Intercharacter Spacing 82 ESC t Select Italic Character Set 73 ESC T Superscript and Subscript Printing Cancel 92 ESC u Select DBCS Character Font 71 ESC U Unidirectional Printing Set Reset 94 ESC w Double High Print Set Reset 39 ESC W Double Wide Print 40 ESC x Select Print Quality 73 ESC Y control code double density bit image graphics 104 ESC Y Graphics Double Density Double Speed 49 ESC Z control code quadruple density bit image graphics 104 ESC Z Graphics Quadruple Density 50 ESC Set Relative Horizontal Print Position in 1 120 Inch 88 ESC Master Print Emphasis Select 64 ESC X Define Pattern for Special Printing Effect 37 ESC Initialize Printer 55 ESC Select Graphics Mode 72 ESC Select Vertical Tab Channel 76 ESC Line Spacing n 360 61 ESC Set Absolute Horizontal Print Position in 1 60 Inch 78 ESC 0 Line Spacing 1 8 Inch 8 1 58 ESC 1 Set Margin Left 86 ESC 2 Line Spacing 1 6 Inch 6 Ipi 57 ESC 3 Line Spacing n 180 Inch 60 ESC 4 Italic Printing Select 55 ESC 5 Italic Printing Cancel 55 ESC 6 Make 80 9F Hex Printable 62 ESC 7 Make 80 9F Hex Control Codes 63 Escape sequences 19 Expanded Pri
23. by the DC4 or FS DC4 codes by a paper motion control code LF VT etc or by CR NOTE This control code does not function while in non DBCS mode Double Wide Print One Line Cancel ASCII Code FS DC4 Hex Code 1C 14 Dec Code 28 20 Purpose Cancels the double wide print for one line only selected by FS SO Comment This command cancels the double wide print selected by SO ESC SO or FS SO but does not cancel double wide printing selected by ESC W or ESC 1 NOTE This control code does not function while in non DBCS mode 42 Double Wide Double High 2x2 Print Double Wide Double High 2x2 Print ASCII Code Hex Code Dec Code Purpose Comment FSWn 1 57 28 87 n Turns on double wide double high 2x2 printing in DBCS mode In a non DBCS mode this command will function like ESC W Download Chinese Font For Hanzi Big5 Printer Only ASCII Code Hex Code Dec Code Purpose Comment ASSC 0 T 2 X 0 c1 c2c3 data ASSC 30 54 32 X 30 c1 c2c3 data ASSC 48 84 50 X 48 c1 c2c3 data To download the user defined characters with 24x24 cell size Where X is an optional parameter without X the data is 72 byte binary data with X the data is 144 byte ASCII data c1 c2c3 is code point c2c3 is 2 byte code point in normal code page c1c2c3 is byte code point in UTF8 code page data download data in 72 144 byte which is arranged in horizontal sequence This control code does no
24. character encoding scheme introduced in 1963 and used widely on many computers and printers It is a 7 bit code with 128 different bit patterns There is no parity recommendation Operations performed on text that alter its appearance but do not change the font Examples underlining superscripting bold etc B A printed code consisting of parallel bars of varied width and spacing and designed to be read by a one dimensional scanning device A unit of speed that measures the rate at which information is transferred Baud rate is the reciprocal of the length in seconds of the shortest pulse used to carry data For example a system in which the shortest pulse is 1 1200 second operates at 1200 baud On RS 232 serial lines the baud rate equals the data flow rate in bits per second bps To communicate properly a printer must be configured 109 Appendix E Glossary 110 bit bold Boot up buffer bus byte character cell character proportion character set character weight checksum to operate at the same baud rate as its host computer Contraction of binary digit A digit in the binary number system represented by a 0 or a 1 A bitis the smallest unit of storage in a digital computer where 0 and 1 are represented by different voltages Groups of bits form other units of storage called nibbles bytes and words A print attribute specifying text of a heavy line thickness See also character weig
25. current line spacing lt page length n is the number of lines skipped between the last line printed on one page and the first line on the next page The actual distance set is the product of n and the current line spacing If the value of n exceeds the current form length the skip is set to one line smaller than the form length or to 0 whichever is greater Skip over perforation set by this command overrides control panel settings This feature is canceled by ESC O ESC C or ESC C NUL Skip Over Perforation Cancel ASCII Code Hex Code Dec Code Purpose Comment ESCO 1B 4F 27 79 Cancels the skip over perforation set by ESC N and resets the bottom margin to zero O is ASCII uppercase o not zero 0 89 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Static Barcode Function For Hanzi Big5 Printer Only ASCII Code ASSC 0 T c t ddatad 0n1n2n3 fp Hex Code ASSC 30 54 63 t ddatad 30n1n2n3 23 p Dec Code ASSC 48 84 99 t ddatad 48 n1n2n3 35 p Purpose To set various barcode types t Interleaved 2 5 t A Code 39 t B Interleaved 2 5 t C Code 39 t D Interleaved 2 5 t E Codabar t F EAN 13 t G EAN 8 t H Codabar UPC A Where 0 the height of the barcode n1n2n3 is in ASCII value the height is 300 dpi and is converted to dot by 180 dpi it PDF enable disable 0x30 disable 0x31 enable e t barcode type n1 n2 n3 0x3
26. read by a photoelectric optical scanner and recorded on magnetic tape or disk OCR A and OCR B are two widely used OCR fonts An operational state in which the printer cannot accept commands or data from the host computer but can perform self tests form settings and record configuration changes A unit of measurement for electrical resistance An operational state in which the printer is under direct control of the host computer In this state the printer accepts commands and data sent from the host computer and acts on them immediately P Parity checking is the addition of non data bits to data resulting in the number of 1 bits being either parsing PC PCB PCBA PI pica pin configuration pitch pixel point port portrait Postnet print mode proportion character always even or always odd Parity is used to detect transmission errors Parity represents the value in the check digit of the received or transmitted data The process of separating a programming statement into basic units that can be translated into machine instructions A printer can recover from an erroneous code sequence by performing as much of the function as possible or parsing the valid parameter from the invalid Abbrev for Personal Computer Abbrev for Printed Circuit Board A PCB is an insulating board on which circuit paths have been printed or etched Abbrev for Printed Circuit Board Assembly A PCBA is a PCB
27. single byte character mode ASCII The typeface will remain the same Comment Control codes which are not valid for DBCS mode but sent while in DBCS mode will take effect after the changeover This command will set the DBCS ASCII mode in the front panel to ASCII mode DBCS Mode Underline ASCII Code FS n Hex Code 1C2Dn Dec Code 28 45 Turns automatic underlining and off Where n hex 00 hex 30 to turn off underlining n hex 01 or 1 hex 31 to turn on single underlining n STX hex 02 or 2 hex 32 to turn on double underlining only in DBCS 24 and Draft 24 mode Comment This control code does not function while in non DBCS mode 35 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes DBCS Superscript Subscript Print Set Cancel ASCII Code FSrn Hex Code 1C 72n Dec Code 28114n Purpose Selects superscript subscript printing in DBCS mode Where n hex 00 or 0 hex 30 to enable superscript printing n hex 01 or 1 hex 31 to enable subscript printing Comment This command is canceled by FS DC2 This control code does not function while in non DBCS mode Define a Download Character DBCS ASCII Code FS 2 a1 a2 n1 n72 Hex Code 1C 32 a1 a2 n1 n72 Dec Code 28 50 a1 a2 n1 n72 Purpose Defines a DBCS character for downloading The control code should be followed by 72 bytes of data a1 and a2 together define the code point of
28. such as double wide printing are not affected printing Control code CHR 27 6 selects bold for example Control code CHR 27 cancels bold Control code ESC G selects bold for example Control code ESC H cancels bold Double Wide Print The following program illustrates double strike character ESC G character printing AaBbCcDdEeF fGgHhIiJjKkL1MmNnOoPp ESC H character printing character printing amp AaBbCcDdEeF fGgHhIiJjAkL1MmNnOoPp Character printing ASCII Code ESCW n Hex Code 1B57n Dec Code 2787n Purpose Comment Where Turns double wide print on and off n hex 01 or 1 hex 31 turns double wide print on n NUL hex 00 or 0 hex 30 turns double wide print off When ESC W is received all characters are printed twice as wide until reset This command overrides SO ESC SO and DCA Example Double Wide Print One Line The following program illustrates double wide character printing 10 LPRINT Control code 20 LPRINT ESC W 1 selects 30 LPRINT CHR 27 W CHR 1 40 LPRINT expanded character printing 90 LPRINT Control code 60 LPRINT ESC W resets 70 LPRINT CHR 27 W CHR OD 80 LPRINT expanded character printing Control code ESC W 1 selects expanded Control character printing code W O resets expanded character printing Double Wide Print One Line ASCII Code SO ESC S
29. the download character where a1 is the high byte and a2 is the low byte The character can then be printed by sending a1 a2 to the printer The character can print in all the DBCS typefaces It will be available until the printer power is recycled The download ranges are different for different types of printers GB AAA1 AFFE F8A1 FEFE A140 A7A0 FF40 FF7E FF80 FFFE SJIS High Byte FO F9 Low Byte 40 FC BIG5 BIG5 8140 A07E 81A1 AOFE C840 C87E C8A1 C8FE FA40 FE7E FAA1 FEFE 8100 FE3F A180 FEAD CNS AAA1 C1FE C3A1 C3FE F321 FE7E TCA DF30 FC39 DF61 FC7A DF80 FCFD DF41 FC5A 8030 9039 8D41 905A 8D61 907A 8D80 90FD IMB5550 D240 E87E D280 E8FC F940 FB7E F980 FBFC TELETEXT F7A1 FEFE WANG DBAO F4EE F9A0 FBEE 5 NIL 36 Define Pattern for Special Printing Effect BIG5E 8840 8D7E 88A1 8DFE FA40 FETE FAA1 FEFE HKSCS 2001 8140 877E 81A1 87FE UTF8 E000 F8FF Multiple characters from these ranges can be defined as long as the printer does not run out of memory Define Pattern for Special Printing Effect ASCII Code ESC Xn1n2a1a2a3 Hex Code Dec Code Purpose Comment 1B 28 58 n1 n2 a1 a2 a3 27 40 88 n1 2 al a2 a3 Defines the pattern to be used in conjunction with outlined characters Where n1 3 default 2 0 default 1 0 1 0 lt 2 lt 4 a3 0 default Where 1 0 background 1 1 fill pattern 2 0 black on white normal 2 1 white
30. the print position it had after the last CR or paper motion command 31 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Cancel Spacing Adjustment ASCII Code FSV Hex Code 1C 56 Dec Code 28 86 Purpose Cancels the spacing adjustment of half width characters to fit into the full width DBCS character space Comment This command cancels the effect of FS U This control code does not function while in non DBCS mode Carriage Return ASCII Code CR Hex Code 00 Dec Code 13 Purpose Returns the simulated print head to the left margin Comment CR code may or may not cause printing or paper motion depending on the configuration as set from the control panel If is set the characters following the CR are printed over the previous characters on the line If CR CR LF is set the paper is also moved one line at the current line spacing This automatic LF will also cancel all single line print attributes CC DOS Control Code ASCII Code ESCIn Hex Code 1B49n Dec Code 27 T3n Table 5 CC DOS Control Code Parameters Value of n Function A Characters print normal size B Characters print double width in both ASCII and Hanzi mode Characters print double height only in Hanzi mode Characters print double width and double height but double height only prints in Hanzi mode 32 Character Pitch 10 CPI Character Pitch 10 CPI ASCII Code ESCP Hex Co
31. 0 0x39 Comment This control code does not function while in non DBCS mode The default barcode height is 1 3 inch 90 100 i LPRINT LPRINT LPRINT LPRINT LPRINT LPRINT 20 LPRINT 1 30 LPRINT T CHRS 27 Superscript and Subscript Printing Superscript and Subscript Printing ASCII Code ESC Sn Hex Code 1B 53 Dec Code 2783 Purpose Selects superscript or subscript printing Where n hex 00 or 0 hex 30 to enable superscript printing n hex 01 or 1 hex 31 to enable subscript printing Comment Superscript prints full sized characters 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 You can print both superscript and subscript characters in the same character column by using the Backspace BS control code but these characters will not print when double high printing is in effect Example The following program illustrates superscript and subscript printing CONTROL CODE CRSCRIPT CHR 27 T A CHRE 27 S 0 2 CHRS 27 T CHRS 27 S CHRE 0 2 CHRS TO mc CHR amp OT 59 CHRO CHR 27 T CONTROL CODE ESC 1 SELECTS CHR 27 5 CHRS 1 SUBSCRIPT CHR PZ T 31 CHRS 27 SG CHRS 1 HE
32. 1 4 size 5 Superscript Subscript 6 gt 7 Normal Underlined 65 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Master Select One Line Attribute in DBCS Mode ASCII Code ASSC 0 n Hex Code ASSC 30 21 n Dec Code ASSC 48 33 n Purpose Where 0 lt lt 255 Select any combination of several one line attributes by setting or clearing the appropriate bit in the n parameter as shown in Table 8 Table 8 Bit On Off Hex Dec Function 2 Off 00 0 Cancel double width On 04 4 Select double width 3 Off 00 0 Cancel double height On 08 8 Select double height Comment These attributes are canceled when the printer receives the following commands LF FF VT and CR This command takes effect only in DBCS mode Orientation of Downloaded Character ASCII Code Hex Code Dec Code Purpose Comment 66 ASSC 0 o n ASSC 30 6F n ASSC 48 111 n Sets the orientation of downloaded characters Where 0 48 vertical same as LQ1600K FS2 format n 10or49 horizontal function Takes effect before FS 2 and ASC 0 2 commands Printer Deselect Printer Deselect ASCII Code DC3 Hex Code 13 Dec Code 19 Purpose Places printer in the deselected state Comment configuration parameter Printer Select must be set to Enable When the printer receives this command it ignores data until a DC1 Printer Select command is received Printer Select ASC
33. 16 or 65 6548 4182 China 86 400 886 5598 India 800 102 7869 http www printronix com supplies parts aspx 107 Appendix D Corporate Offices Corporate Offices 108 Printronix Inc 15345 Barranca Parkway Irvine CA 92618 U S A Phone 714 368 2300 Fax 714 368 2600 Printronix Inc c o Printronix Nederland BV Bijsterhuizen 11 38 6546 AS Nijmegen 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 6542 0110 Fax 65 6546 1588 Printronix Commercial Shanghai Co Ltd 22F Eton Building East No 555 Pudong Av Shanghai City 200120 P R China Phone 86 400 886 5598 Fax 86 21 5138 0564 Visit the Printronix web site at www printronix com E Glossary AtoD ACK active column active line active position ASCII attributes print bar code baud A Analog to Digital Acknowledge character A transmission control character transmitted by the printer as an affirmative response to an inquiry from the host The horizontal location on the paper where the next character will print The vertical location on the paper where the next character will print The position on the paper where the next character will print The intersection of the active column and the active line Abbrev for American Standard Code for Information Interchange A standard
34. 255 n2 0 through 31 n1 256 x n2 defines the number of data bytes to follow d1 d2 dk ASCII characters for the dot pattern bytes NOTE 07 d2 dk DATA consists of 8 bit dot columns with the MSB at the top and 1 bits producing dots 0 lt d lt 255 Comment Double density printing reduces print speed Example The following example produces double density bit image graphics of the pattern used in the standard density bit image mode example The amount of data must be doubled for double density the data is used 54 times rather than 27 10 WIDTH lpti 255 20 LPRINT Double Density Bit Image Graphics 30 LPRINT CHR 27 L 231 CHR C1 40 FOR N 1 TO 54 90 RESTORE 60 FOR 1 1 TO 9 70 READ R 80 LPRINT CHRS R 90 NEXT I 100 NEXT N 110 LPRINT CHR 255 120 DATA 255 128 64 32 16 8 4 2 1 Double Density Bit Image Graphics NSNNNNSNNSNNSNNISSNISNNNNNSNNSSNSNISNSNNNNNSSNSNSSNSNNSNSNSSNNNNNN 48 Graphics Double Density Double Speed Graphics Double Density Double Speed ASCII Code Hex Code Dec Code Purpose Expression ESC Y n1 n2 d1 d2 dk 1B 59 n1 n2 d1 d2 dk 27 89 n1 n2 d1 d2 dk Selects double density double speed bit image graphics of 120 dpi horizontally and 72 dpi vertically CHR 27 Y CHR n1 CHR n2 DATA Where n1 through 255 n2 0 through 31 n1 256 x n2 defines the number of data bytes to follow d1 d2 dk ASCII
35. 39 Double Strike 39 cancel 40 Double Wide Print 40 Double Wide Print 1 Line 41 42 Download Chinese Font 43 Unicode Position 43 Downloaded Character orientation 66 Downloaded Character Save into Flash 68 123 Emphasized Print 44 reset 45 Emulation Reset 55 Enable Printing of Control Codes 45 Enable disable codes 19 Epson FX 1050 emulation configuring with control codes 20 control code description format 20 vertical tabs 99 ESC 94 ESC Underline 93 ESC A Line Spacing n 72 Inch 59 ESC b Set Vertical Tabs in Channels 88 ESC B Vertical Tab Set Clear 95 ESC C Set Form Length by Lines 80 ESC C 0 Set Form Length in Inches 81 ESC D Horizontal Tab Set Release 53 ESC E Emphasized Print Select 44 ESC e Vertical and Horizontal Extension 94 ESC F Emphasized Print Cancel 45 ESC g Character Pitch 15 CPI 33 ESC G Double Strike Select 39 ESC H Double Strike Cancel 40 ESC J Line Feed n 216 Inch 56 ESC K control code single density bit image graphics 103 ESC K Graphics Standard Density 51 ESC Select Typeface for Hanzi BIG5 Printer only 75 ESC L control code double density bit image graphics 104 ESC L Graphics Double Density 48 ESC M Character Pitch 12 CPI 33 ESC N Skip Over Perforation 89 ESC O Skip Over Perforation Cancel 89 ESC P Character Pitch 10 CPI 33 ESC p Select Proportional Spacing 67 ESC q Select Special Printing Effect 74 ESC Q
36. 4 n Purpose Sets the line spacing to n 120 inch Where 0 lt lt 255 Comment This command affects the Select LPI front panel setting Set Paper Length For Hanzi Big5 Printer Only ASCII Code ASSC 0 T C n1 n2 n3 Hex Code ASSC 30 54 43 ni n2 n3 Dec Code ASSC 48 84 67 ni n2 n3 Purpose To set form length to 1 6 inches Where n1 n2 n3 0x30 0x39 Comment This control code does not function while in non DBCS mode 87 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Set Relative Horizontal Print Position In 1 120 Inches ASCII Code 1 n2 Hex Code 1B 5C n1 n2 Dec Code 27 92 n1 n2 Moves the simulated print head to a relative horizontal print position in dots using 1 120 inch increments in Near LQ mode and 1 180 inch increments in all other modes Where 1 through 127 n2 0 through 255 Comment Adds nf n2 x 256 dots to the horizontal position of the simulated print head The number sent is two s complement with negative numbers moving to the left The command is ignored if it would move the simulated print head beyond the page margins Set Right Margin For Hanzi Big5 Printers Only ASCII Code ASSC 0 T n1 n2 n3 Hex Code ASSC 30 54 51 n1 n2 n3 Dec Code ASSC 48 84 81 n1 n2 n3 Purpose To set margin in 1 10 inches 10 CPI equivalent according to the number of half width characters Where n1 n2 n3 0x30 0x39 Comment This control code
37. 6 Tab 1 7 PART NAME 8 2 9 10 11 12 13 QUANTITY 14 Tab 3 15 lt N Figure 2 Example of Vertical Tab Positions C Graphics Bit Image Graphics Bit image graphics are created by vertically printing the bit pattern of a series of data bytes For example the bit pattern of the ASCII character A hex 41 decimal 65 is shown in Figure 3 If this data byte is rotated 90 degrees clockwise the result is a vertical data byte with the most significant bit MSB at the top If each 1 true bit is then printed as a dot the result is a bit image plot of the ASCII character A ASCII character A Hex 41 Binary 01000001 MSB Most Significant Bit 8 MSB 7 6 5 4 3 MSB 2 ol ololelolol 87654321 Figure 3 Vertical Data Byte Pattern 101 Appendix C Graphics 102 The relationship between the ASCII character its decimal value and its bit image plot is shown in Figure 4 All 8 bits of the data byte are used in all fonts but some fonts have taller and shorter characters You may have to adjust the line spacing in order to print without horizontal gaps Data bytes are identified by their binary octal hexadecimal or decimal equivalents These numeric equivalents are combined in data streams to form graphic patterns such as the one illustrated in Figure 5 Binary Vertically Printed ASCII Decimal Code to Rotat
38. 77 Dec Code ASSC 48 119 Purpose Saves the downloaded character into flash Comment same functionality with control panel selection DBCS Download Save to Flash 68 Static Barcode Function Static Barcode Function ASCII Code ASSC 0 T c t d data d O n4nona p Hex Code Dec Code Purpose ASSC 30 54 63 t d data d 30 n4non3 23 p ASSC 48 84 99 t ddata d 48 n4n2n3 35 p Sets the static barcode Where t barcode type Interleaved 2 5 Code 39 t B Interleaved 2 5 t C Code 39 t D Interleaved 2 5 t E Codabar t F EAN 13 t EAN 8 t H Codabar 1 A 0 barcode height n4nans are in ASCII value the height is dot by 300 dpi and converted to dot by 180 dpi n1n2na 0x30 0x39 PDF enable disable 0x30 disable 0x31 enable 69 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Select Bit Image ASCII Code SSCC m nL d1 dk Hex Code SSCC 2A m nH d1 dk Dec Code SSCC 42 m nH d1 dk Purpose Prints dot graphics in 12 or 16 dot columns depending on the following parameters Where 0 lt lt 255 lt lt 31 30 31 32 m specifies the dot density nL nH specifies the total number of columns of graphics data that follow number of dot columns nH x 256 nL d1 dk bytes of graphics data k is determined by multiplying the total number of column
39. BO through DF cannot be italicized Italic printing will reduce throughput Italic Printing Cancel ASCII Code Hex Code Dec Code Purpose ESC 5 1B 35 27 53 Turns off italic character printing 55 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Line Feed ASCII Code LF Hex Code 0A Dec Code 10 Purpose Prints the data in the buffer if any and advances the vertical character position a distance of one line at the current line spacing Comment If configured for LF equals newline LF CR LF the simulated print head is moved to the left margin otherwise it is not moved from its current position The current line is printed and the simulated printhead moves down a distance equal to the current line spacing If there are no dots the paper is moved but no printing occurs When possible successive line feeds are accumulated and moved at once The amount of paper advanced by the LF code can be set by any of the line spacing control codes ESC 0 ESC 2 ESC 3 ESC A or ESC This code cancels all single line print attributes such as double high and double wide characters Line Feed n 180 Inch ASCII Code ESC Jn Hex Code 1B 4A n Dec Code 2774n Purpose Immediately advances the paper n 180 inch Where n 0 through 255 Comment n 0is ignored This command produces an immediate line feed but does not affect line spacing or produce a carriage return Any one line only print attributes in effect
40. CIMAL o o E Bebe C No nem N B aN M S 52N oeo 88 5859 5 N o 5 gt a BR n o Nw an 46 gt O A m m N NW gt NW co Ro wo I a X ES E PAN a NA PN lt AB N e P a om o GIO AI N NE a NN EN 5 i gt X4 m o o a r 53 m A m 97 Appendix A Standard ASCII Character Set 98 B Vertical Page Formatting Overview Rapid vertical paper movement is called slewing You can enable the printer to slew paper to preset locations on a page by loading the vertical tab table The vertical tab table is a set of programmed vertical tabs Various lines of the form are assigned vertical tabs which are then accessed by control codes for rapid paper advancement to the tab position Two control codes are used for vertical tabbing ESC B sets single channel vertical tabs and VT executes a vertical tab These codes are described in Chapter 3 The Epson emulation also has ESC to select one of eight t
41. CS mode Set Logical Right Margin For Hanzi Big5 Printer Only ASCII Code ASSC 0 T y n1n2n3n4 Hex Code ASSC 30 54 79 1 2 3 4 Dec Code ASSC 48 84 121 n1n2n3n4 Purpose To set right margin by current right margin n1n2n3n4 n1n2n3n4 is dot in 300 dpi and will be converted to 180 dpi Where n1 n2 n3 n4 0x30 0x39 Comment This control code does not function while in non DBCS mode This will affect the Set Right Margin front panel setting 85 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Set Logical Left Margin For Hanzi Big5 Printer Only ASCII Code ASSC 0 T n1 n2 n3 n4 Hex Code ASSC 30 54 24 n1 n2 n3 n4 Dec Code ASSC 48 84 36 n1 n2 n3 n4 Purpose To set left margin by current left margin n1n2n3n4 n1n2n3n4 is dot by 300 dpi and will be converted in dot by 180 dpi Where n1 n2 n3 n4 0x30 0x39 Comment This control code does not function while in non DBCS mode This will affect the Left Margin front panel setting Set Margin Left ASCII Code ESCIn Hex Code 1B6Cn Dec Code 27 108n Where n 1 though 255 the number of columns from the left edge of the physical page to the beginning of the print line Purpose Sets the left margin to n columns in the current font Comment sure to use the alphabetic lowercase as in left rather than the capital letter I as in Island for this command The number of inches of margin does not vary if the font
42. Characters SUB Q 76 Set 3 dot Intercharacter Spacing of DBCS Characters SUB N 77 Set 6 dot Intercharacter Spacing of DBCS Characters SUBE 77 Set 12 dot Intercharacter Spacing of DBCS Characters SUB P 77 Select DBCS ASCII Character FSkn 70 Select DBCS Character Font ESCun 71 Vertical and Horizontal Extension ESC 1 2 94 Select DBCS Character Bitmap FSen1 n2 71 23 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes DBCS Command Set Adjust Half Width Characters to Fit 24 into DBCS character spacing FSU 25 Adjust Table Characters FSvn 25 Align Two Half Width Rotated Characters in DBCS Mode FSD 26 Cancel Character Rotation FSK 31 Cancel Spacing Adjustment FSV 32 CC DOS Control Code ESCIn 32 DBCS Mode Select FS amp 35 DBCS Mode Cancel FS 35 DBCS Mode Underline FS n 35 DBCS Superscript Subscript Print Set Cancel FSrn 36 Define a Download Character DBCS FS 2 n1 n2 n3 n74 36 Double Wide Print 1 line FS SO 42 Double Wide Print 1 line Cancel FS DC4 42 FUNCTION ASCII CODE PAGE Double Wide Double High 2x2 Print FSWn 43 Half Width Print FS SI 52 Half Width Print Cancel FS DC2 52 Master Print Select in DBCS Mode FS n 65 Rotate Character 90 degrees Counter Clockwise FS J 68 Select DBCS Print Quality FSxn 71 Set Intercharacter Spacing one byte in DBCS Mode FST n1 2 82 Set Intercharacter Spacing two byte in DBCS Mode FS S n1 n2 83 Adjust Half Width Characters to Fit into
43. DBCS Character Spacing Adjust Half Width Characters to Fit into DBCS Character Spacing ASCII Code Hex Code Dec Code Purpose FSU 1C 55 28 85 Aligns two half width characters to fit the space normally occupied by a single full width DBCS character Comment This control code does not function while in non DBCS mode Adjust Table Characters ASCII Code FSvn Hex Code 1C 76 n Dec Code 28 118 Extends the table line draw characters in the following ranges GB A854 A870 A9A4 A9A7 A9BO A9EF SJIS 849F 84BE BIG5 BIG5 A271 A275 A277 A278 A27A A27E A2A1 A2A7 F9DD F9FD CNS A3B3 A3B7 A3B9 A3BA A3BC A3C7 TCA 8249 8240 824F 8250 8252 825A 8261 8263 ETEN 8249 8240 824F 8250 8252 825A 8261 8263 IBM5550 8 72 8A74 8A75 8A77 8A7E 8A80 8A83 TELETEXT NIL WANG 8E58 8E5A 8E61 8E62 8E64 8E65 8E67 8E72 BIG5 A271 A275 A277 A278 A27A A27E A2A1 A2A7 F9DD F9FD BIGSE A271 A275 A277 A278 A27A A27E A2A1 A2A7 F9DD F9FD HKSCS 2001 A271 A275 A277 A278 A27A A27E A2A1 A2A7 F9DD F9FD They are extended so they touch in both horizontal and vertical directions Where n to turn off this function 1 to turn on this function 25 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Align Two Half Width Rotated Characters in DBCS Mode ASCII Code FSD Hex Code 1C 44 Dec Code 28 68 Purpose Aligns two half width rotated characters to fi
44. I Enable Printable RMB Select Disable Table 2 Factory Settings for Kanji SJIS Characteristic Default Setting Select CPI Select LPI DBCS CPI Host Command Typeface Styling Type High Density Proportional Spacing Bold Print Italic Print Slashed Zero Text Position DBCS ASCII Mode DBCS ASCII Style Compressed Mode DBCS Compressed Encoding Taller 15 CPI Graphics Spd Up Left Margin Right Margin 15 0 8 0 7 5 Ignore Unidir Near LQ Mincho Disable Disable Disable Disable Disable Bottom of Line DBCS Mode Normal Disable Disable Address Table Disable Normal 0 columns 0 columns 15 Chapter 16 2 LQ 1600K Emulation Table 2 Factory Settings continued for Kanji SJIS Characteristic Default Setting Reset Cmd CFG Ld Illegal Code Pt Define CR Code Auto LF Define LF Code Printer Select Character Set 20 CPI Condensed Alt Set 80 9F Currency Sign AR3240 Compat Bottom Margin 0 lines Perforation Skip Disable Form Length 8 5 inches 215 9 millimeters 68 lines Form Width 13 6 inches 345 4 millimeters 204 characters Disable Normal CR CR Enable LF Disable Standard Sets Epson Set ASCII Enable Printable Select Disable Table 3 Factory Settings for Hanzi Big5 Characteristic Default Setting Select CPI Select LPI DBCS CPI Host Command Typeface Styling Type High Density Proporti
45. II Code DC1 HexCode 11 Dec Code 17 Purpose Places printer in the selected state Comment configuration parameter Printer Select must be set to Enable 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 ignored Proportional Spacing Select Deselect ASCII Code ESC pn Hex Code Dec Code Purpose Comment 1B 70n 27 112n Where n hex 00 or 0 hex 30 turns proportional mode off n hex 01 or 1 hex 31 turns proportional mode on Turns proportional mode on and off This command only affects the character printing in ASCII mode This command affects the Prop Spacing setting in the front panel 67 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Rotate Character 90 Degrees Counter Clockwise ASCII Code FS J Hex Code 1C 4A Dec Code 28 74 Purpose Rotates characters while in DBCS mode vertical printing mode Comment This control code does not function while in non DBCS mode Select Autowrap Mode For Hanzi Big5 Printer Only ASCII Code ASSC 0 T m n Hex Code ASSC 30 54 60 n Dec Code ASSC 48 84 109 n Purpose To set Auto Line Feed Where 0x30 reset auto LF default n 0x31 set auto LF Comment This control code does not function while in non DBCS mode Save Downloaded Character into Flash ASCII Code ASSC 0 w Hex Code ASSC 30
46. O Hex Code Dec Code Purpose Comment Example 10 LPRINT 20 LPRINT 30 LPRINT 40 LPRINT 90 LPRINT Control code SO selects 1 14 27 14 Selects double wide print for one line only This control code is a line by line print attribute When SO or ESC SO is received the characters on the current line print twice as wide and then reset automatically This control code is cancelled by the DC4 or FS DC4 codes by a paper motion control code LF VT etc or by CR The following program illustrates double wide print for one line only Control code SO selects CHR 14 expanded character printing for one line only expanded character Printing for one line only 41 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Double Wide Print One Line Cancel ASCII Code DC4 Hex Code 14 Dec Code 20 Purpose Cancels the double wide print for one line only selected by SO ESC SO or FS SO Comment This command cancels the double wide print selected by SO ESC SO or FS SO but does not cancel double wide printing selected by ESC W or ESC 1 Double Wide Print One Line ASCII Code FS SO Hex Code 1 OE Dec Code 2814 Purpose Selects double wide print for one line only Comment This control code is line by line print attribute When FS SO is received the characters on the current line print twice as wide and then reset automatically This control code is cancelled
47. PRINTRONIX Programmer 5 Reference Manual LQ 1600K Emulation For P6000 H Series Line Matrix Printers Programmer s Reference Manual LQ 1600K Emulation For P8000 H Series Line Matrix Printers PRINTRONIX Printronix Inc makes no representations or warranties of any kind regarding this material including but not limited to implied warranties of merchantability and fitness for a particular purpose Printronix Inc shall not be held responsible for errors contained herein or any omissions from this material or for any damages whether direct indirect 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 graphic electronic mechanical or otherwise without the prior written consent of Printronix Inc COPYRIGHT 2005 2012 PRINTRONIX INC All rights reserved Trademark Acknowledgements Printronix and LinePrinter Plus are registered trademarks of Printronix Inc IBM is a registered trademark of International Business Machines Corp Epson is a registered trademark of Seiko Epson Corporation Table Of Contents 1 ntroguctlG t TT 11 About this Mantial 2 e ect ree ae
48. Use target barcode dot refer to table immediately below when n 4 Front Panel Typeface X Offset Unit Inch Y Offset Unit Inch LQ 1 180 1 180 Near LQ 1 120 1 120 Normal 1 180 1 144 Hi Speed 1 180 1 120 Super Hi Speed 1 180 1 90 Ultra Hi Speed 1 180 1 90 Where Xxxx 4 digit upper left corner x horizontal axis yyyy 4 digit upper left corner y vertical axis X 7 activates magnification mmmm bar code magnification The possible magnification is as follows 29 Chapter 30 2 Configuring the LQ 1600K Emulation with Control Codes Barcode Type Magnification Code 39 X4 X3 X2 X1 X1 5 X1A X1B X1C X1D X1E X4 X2 X2A X1 X1A X1B Interleaved 2 5 X4 X3 X2 X2A X1 X1A X1B German 2 5 X4 X3 X2 X2A X1 X1A X1B UPC Shipping X4 X3 X2 X1 X1 5 X1A X1B X1C X1D X1E Telepen X4 X3 X2 X1 X4 X3 X2 X1 X1 5 MSI X4 X3 X2 X1 X1 5 Code 128 X4 X3 X2 X1 X1 5 UCC EAN 128 X4 X3 X2 X1 X1 5 Code 93 X2 X1 UPS 11 X2 X1 UPC A X2 X1 UPC E X2 X1 EAN 8 X4 X3 X2 X1 EAN 13 X1 Codabar X1 X1A POSTNET X1 X1A Royal Mail X1 Postbar X3 X2 X1 FIM PDF 417 The X1C X1D and X1E values can only be printed for a 180 dpi horizontal barcode If these values are sent for a 120 dpi horizontal barcode it will print as value X1 Where P activates printable data field variable p location of PDF above B below default
49. WON Chapter 14 2 LQ 1600K Emulation Default Values and States Your printer stores a set of typical operating states and conditions in the flash memory The first time you power up the printer the factory settings in Table 1 are automatically invoked Table 1 Factory Settings for Hanzi GB Characteristic Default Setting Select CPI Select LPI DBCS CPI Host Command Typeface Styling Type High Density Proportional Spacing Bold Print Italic Print Slashed Zero Text Position DBCS ASCII Mode DBCS ASCII Style Compressed Mode DBCS Compressed Font Scale Encoding Taller 15 CPI Graphics Spd Up Left Margin Right Margin Bottom Margin Perforation Skip Form Length Form Width Reset Cmd CFG Ld Illegal Code Pt 10 0 6 0 6 7 Ignore Unidir Near LQ SONG Disable Disable Disable Disable Disable Bottom of Line DBCS Mode Normal Disable Disable Standard Address Table Disable Normal 0 columns 0 columns 0 lines Disable 11 0 inches 279 4 millimeters 66 lines 13 6 inches 345 4 millimeters 136 characters Disable Normal Default Values and States Table 1 Factory Settings continued for Hanzi GB Characteristic Default Setting Define CR Code CR CR Auto LF Enable Define LF Code CR LF Printer Select Disable Character Set 20 CPI Condensed Alt Set 80 9F Currency Sign AR3240 Compat Standard Sets Epson Set ASCI
50. X CHRS 27 EU s49 CHRE 27 5 CHRB 1 DEC CHR UP ipu CONTROL CODE ESC T CANCELS SUPERSGCRIPT SUBSCRIPT PRINTING CONTROL CODE ESC S SELECTS SUPERSCRIPT A B C ONIRE CODE ESC 5 1 SELECTSsusCRIPT e ONTROL CODE ESC T CANCELS SUPERSCRIPT SURSCRIPT PRINTING 91 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Superscript and Subscript Printing Cancel ASCII Code ESCT Hex Code 1B 54 Dec Code 27 84 Purpose Cancels superscript and or subscript printing as set by ESC S n Turn On Off Compress Mode ASCII Code ASSC 0 x n Hex Code ASSC 30 78 n Dec Code ASSC 48 120n Where n 0 1 48 49 The default is n 0 Purpose Turn on off compress mode as follows n 0 or 48 turns off compress mode n 10r 49 turns on compress mode NOTE When compress mode is turned on some features such as double height double width two by two etc are ignored Comment This command affects the front panel setting of Compressed Mode 92 Turn On Off OCRB Printing Turn On Off OCRB Printing ASCII Code ASSC 0 z n Hex Code ASSC 30 7A n Dec Code ASSC 48 122n Where n 0 1 48 49 The default is n 0 Purpose Turn on off OCRB mode as follows n 0 48 turns off OCRB mode n 1 or 49 turns on OCRB mode NOTE When OCRB is turned on the OCRB character can be printed out Comment This command affects the front panel setting of OCBR Selection This command
51. ab channels and ESC b to set the tabs in a particular channel Executing Vertical Tabs The vertical tab execute code is VT hex 0B It prints the contents of the print buffer if data is in the buffer and causes paper movement to the next predefined vertical tab position If a tab position is not defined the paper is moved to the next line at the current line spacing If a tab position is at the current line the paper is moved to the next tab position If no tab positions are defined between the current line and the end of the form the paper moves to the next TOF 99 Appendix B Vertical Page Formatting 100 Vertical Tab Positions Vertical tab positions are set by line number A maximum of 16 vertical tab positions can be set on the form A sample format is shown in Figure 2 The first vertical tab is set at line 6 for part number data a second tab is set at line 8 for part name data and a third tab is set at line 14 for quantity data The ESC B code 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 Form Data Form Line Number Vertical Tabs 1 Top of Form 2 3 4 5 PART NUMBER
52. ace with a heavy line thickness produced by doublestriking The printer forms a character then prints it again but the second position is fractionally offset from the first position See also bold character weight The subassembly in a line matrix printer that includes the hammer bank assembly plus some or all of the drive mechanism See point Rapid vertical paper movement See warm start Abbrev for Start Of Header See font proportional and font monospaced The signal that indicates the start of a character or element in a serial data stream The signal that indicates the end of a character or element in a serial data stream Two or more bytes of data or code treated as a unit See type style See character set 119 Appendix E Glossary 120 TOF true twinax type family type size type style typeface typographic font UPC VFU VGL VT warm start T Abbrev for Top Of Form Also written top of form On or 1 High true refers to a positive relative voltage representing the ON state low true refers to a zero or negative relative voltage representing the ON state Twinaxial cable An electrical signal conductor consisting of two wires surrounded by insulation and a braided shield Used to connect computers to input or output devices See typeface See point Refers to either the upright or italic character style in a specific font family Roman is upright italic is slante
53. age Programming Format The bit image command format is ESC CC n1 n2 DATA Where ESC the serial matrix escape sequence CC L Y or Z to select dot density single L double Y double density double speed Z quadruple density 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 DATA the dot pattern bytes The syntax of the bit image expression must be correct The number of data bytes and the n1 n2 definition must be equal Any characters following n1 and n2 are interpreted and plotted as data until the n1 n2 definition is satisfied If n1 2 n2 0 then control codes L Y or Z are ignored The maximum number of data bytes that can be included in the DATA portion of the program statement when using 132 column paper varies according to the dot density At 60 dpi single density 792 bytes double density 1584 bytes quadruple density 3168 bytes Bit Image Graphics Data that goes past the right margin is discarded if automatic line feed is disabled If automatic line feed is enabled data that goes past the right margin triggers an automatic line feed LF and is printed on the next line Bit Image Sample Program The program below written in BASIC produces the single density bit image pattern shown in Figure 6 The 7 byte pattern is repeated 40 times
54. anel Values of n not in Table 10 are ignored This control code does not function while in DBCS mode Example The following example compares the Swedish character set to the USA ASCII character set 10 LPRINT Control code ESC R 5 selects 20 LPRINT the Suedish character set shoun beneath 30 LPRINT the USA ASCII characters 40 LPRINT 30 LPRINT ABCDLDUN1 L3 v 60 LPRINT CHR 27 R CHR 5 70 LPRINT AB CDL NV I 4 15 LPRINT 27 CHR O Control code ESC R 5 selects the Suedish character set shoun beneath the USA ASCII characters 1 ABCDAGAUU 456 435 84 Set Left Margin For Hanzi Big5 Printer Only Set Left Margin For Hanzi Big5 Printer Only ASCII Code ASSC 0 T n1 n2 n3 Hex Code ASSC 30 54 6C n1 n2 n3 Dec Code ASSC 48 84 108 n1 n2 n3 Purpose To set the left margin in 1 10 inch 10 CPI equivalent according to the number of half width characters that is in n1n2n3 from the left most position Where n1 n2 n3 0x30 0x39 Comment This control code does not function while in non DBCS mode Set Line Pitch For Hanzi Big5 Printer Only ASCII Code ASSC 0 T 3 n1 n2 n3 n4 Hex Code ASSC 30 54 30 n1 n2 n3 n4 Dec Code ASSC 48 84 48 n1 n2 n3 n4 Purpose To set the line spacing by dot in 300 dpi which will convert to 180 dpi n1n2n3 is in ASCII value Where n1 n2 n3 n4 0x30 0x39 Comment This control code does not function while in non DB
55. are canceled Small values of n may result in overlapping lines Overlapping lines may also occur if print attributes such as double high superscript or subscript characters are used on the same line Example The following example illustrates n 180 inch line spacing 10 LPRINT Control code ESO J 132 20 LPRINT CHRS 72 JU CHRSLGZO LPRINT performs a 132 180 inch 40 LPRINT line feed function for one line only Control code ESC J 1323 performs a 132 180 inch line feed function for one line only 56 10 20 30 40 50 Line Spacing 1 6 Inch 6 Ipi Line Spacing 1 6 Inch 6 Ipi ASCII Code ESC 2 Hex Code 1B 32 Dec Code 27 50 Purpose Sets the line spacing to 1 6 inch 6 Ipi for subsequent line feeds Comment The 2 is ASCII character 2 not hex 2 When ESC 2 is received all lines are printed at 6 Ipi until a new line spacing is selected or the printer is reset This control code overrides line spacing set at the control panel Example The following example illustrates 1 6 inch line spacing LPRINT LPRINT LPRINT LPRINT LPRINT Control code ESC 2 sets CHR 27 2 line spacing at 6 lpi for all subsequent lines until reset or another spacing is selected Control code ESC 2 sets line spacing at 6 lpi for all subsequent lines until reset or another spacing is selected 57 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes 58 Line Spacing 1 8 Inch 8 Ipi
56. character width or horizontal dot density changes 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 In DBCS mode the right margin will be set according to the width of DBCS characters This command affects the front panel setting of Left Margin 86 Set Margin Right Set Margin Right ASCII Code ESC Qn Hex Code 1B51n Dec Code 2781n Where n 1 through 255 number of columns from the left edge of the physical page to the end of the print line Purpose Sets the right margin to n columns at the current character width Comment number of inches of margin does not vary if the font character width or horizontal dot density changes This command automatically clears and resets horizontal tabs to every eight characters then performs a CAN operation 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 In DBCS mode the right margin will be set according to the width of DBCS characters This command affects the Right Margin front panel setting Set n 120 inch Line Spacing ASCII Code ASSC 0 J n Hex Code ASSC 30 4A Dec Code ASSC 48 7
57. characters for the dot pattern bytes NOTE 07 d2 dk DATA consists of 8 bit dot columns with the MSB at the top and 1 bits producing dots 0 lt d lt 255 Comment 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 following example produces a double density double speed graphic image of the pattern used in the standard density example The amount of data must be doubled for double density the data is used 54 times rather than 27 10 WIDTH Ipti 255 20 LPRINT Double Density Double Speed Bit Image Graphics 30 LPRINT CHR t27 Y 231 CHRS 1 40 FOR N i TO 54 90 RESTORE 60 FOR I 1 TO 9 70 READ R 80 LPRINT CHR R 90 NEXT I 100 NEXT N 110 LPRINT 255 120 DATA 255 128 64 32 16 8 4 2 1 Double Density Double Speed Bit Image Graphics 49 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Graphics Quadruple Density ASCII Code ESC Z n1 n2 d1 d2 dk Hex Code 1B 5A n1 n2 d1 d2 dk Dec Code 27 90 n1 n2 d1 d2 dk Purpose Selects Quadruple Density Bit Image graphics of 240 dpi horizontally and 72 dpi vertically Expression CHR 27 Z CHR n1 CHR n2 DATA Where n1 0 through 255 n2 0 through 31 n1
58. d A descriptive name or brand name that identifies a particular design of type Also called type family See font proportional U Abbrev for Universal Product Code V Abbrev for Vertical Format Unit Abbrev for Code V Graphics Language An emulation of the QMS Code V Magnum firmware The software version of the old hardware based IGP that is used in the Printronix PSA line of printers It provides the same forms and barcode generation capabilities as the IGP Abbrev for Vertical Tab W A reboot or soft reset in which the following occurs 1 data is cleared from all buffers I O and internal print buffers 2 all internal system variables are set to default values which is transparent to the user and 3 the power up configuration values except the weight word write X ON host I O selection are loaded If the user has not defined power up configuration values the printer resets to the factory default configuration values See character weight 1 A storage unit consisting of the number of bits that comprise one storage location in main memory 2 The name used for a variable or constant in a program 3 The data value occupying a storage location To place data in memory RAM NVRAM or in mass storage hard disk floppy diskette etc X A character transmitted by the printer announcing that the printer is off line or the buffer is almost full A character transmitted by t
59. de 1B 50 Dec Code 2780 Purpose Sets character pitch to 10 characters per inch cpi Comment This command is available in all print modes except DBCS mode This command is normally used to cancel 12 cpi This command affects the front panel setting of cpi Character Pitch 12 CPI ASCII Code ESCM Hex Code 1B 4D Dec Code 2777 Purpose Sets character pitch to 12 characters per inch cpi Comment This command is available in all print modes except DBCS mode This command affects the front panel setting of cpi Character Pitch 15 CPI ASCII Code ESCg Hex Code 1B 67 Dec Code 27 103 Purpose Sets character pitch to 15 characters per inch cpi Comment This command is available in all print modes except DBCS mode This command affects the front panel setting of cpi 33 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Condensed Print Set Reset ASCII Code SI ESC SIDC2 Hex Code OF 1B OF18 Dec Code 15 27 1512 Purpose Condenses print pitch as close as possible to 60 percent of the former character width Comment 10 condenses to 17 1 cpi 12 cpi or 13 3 cpi condenses to 20 cpi 15 cpi will not have condense print Control code SI affects all subsequent characters After receiving code 1 all characters are printed condensed until the printer is reset by ESC M ESC P DC2 a printer reset or a new print mode control code SI code hex OF is equivalent to the ESC SI code If condensed print is not allow
60. does not function while in non DBCS mode Set Vertical Tabs in Channels ASCII Code ESC b cn1 n2 n3 n16 NUL Hex Code 1B 62 c n1 n2 n3 n16 00 Dec Code 27 98 n2 3 16 0 Assigns vertical tabs to channels selected by ESC Where c 0 through 7 n 1 through 255 n1 through n16 specify the line numbers for each of the vertical tab s up to a maximum of 16 tab positions in every channel with a maximum of eight channels NUL must end the sequence Comment Channels are selected by ESC The distance of each tab stop from TOF is the current line spacing times the number of lines given in n 88 Skip Over Perforation If paper movement is commanded to a value of n greater than the page length the paper movement command is ignored The values of n must be in ascending 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 and skip over perforation is ignored You can clear any channel by sending ESC b c NUL where c is the channel number The values for n must be in ascending order a value of n less than the previous n ends tab setting just like the NUL code Skip Over Perforation ASCII Code Hex Code Dec Code Purpose Comment ESCNn 1 4 27 78 Selects the number of lines at the current line spacing for the paper to skip at the bottom of the perforation Where n 1 through 127 n n x
61. e space to the left right of the printed character in dot positions The dot size for n1 and n2 is equal to 180 dpi The default for n120 and n2 3 This control code does not function while in non DBCS mode and only for two byte characters in DBCS mode Set International Character Set ASCII Code ESCRn Hex Code Dec Code Purpose 1B52n 2782n Specifies a language overlay that prints the characters shown in Table 10 when the specified code is invoked Where n 7 hex 0 through E to determine the language overlay shown in Table 10 The real Epson only defines character sets through hex C 83 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Table 10 Epson International Character Sets Hex Codes International Character Set Is 5 5D 5E USA French German English UK Danish Swedish Italian Spanish I Japanese Norwegian Danish Spanish II Latin American 2 French Canadian Latin American II HHHHHHHWHHHOMOHHA BO WO UU OR UO oH HRA gt gt gt gt gt gt gt DCRR 210 0 8 O C DO O D D v w DoD D M CC w fg gt gt m m ITF a fa a I rg fa m 2no222890Ke 2 a 8ran mmrn mb Ce De Po t 5 Dp De Do L3 C un 0 1 2 3 4 5 6 7 8 9 A B C D E Comment This control code setting overrides a character set selection made at the control p
62. ecomes 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 ignored Forms length is defined in inches therefore subsequent line spacing changes do not affect the result of this command Values of n greater than 22 are ignored When forms length is set by an ESC C sequence the skip over perforation set by ESC N is cancelled This control code overrides forms length set at the control panel Set Font Pitch For Hanzi Big5 Printer Only ASCII Code Hex Code Dec Code Purpose Comment ASSC 0 T P n1 n2 n3 n4 ASSC 30 54 50 n1n2n3 n4 ASSC 48 84 80 n1n2n3 n4 To set character spacing by dot in 300 dpi which will convert to 180 dpi The character spacing includes character width and inter character spacing The character width refers to DBCS single byte character width in normal mode Where n1 n2 n3 n4 0x30 0x39 This control codes does not function while in non DBCS mode 81 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes 10 20 30 40 5 60 LPRINT LPRINT LPRINT LPRINT LPRINT Set Intercharacter Spacing ASCII Code ESC SP n Hex Code 1B 20n Dec Code 27 32 Defines n dots for intercharacter spacing Comment The valid values of n 0 through 127 This control code defines the space to the right of the printed character in dot positions Each time a characte
63. ed Data Bit Image Character Value Equivalent Byte 128 5 64 o 32 16 65 8 O 4 2 EN o Figure 4 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 hex 00 through hex FF The ASCII character set is charted in Appendix A Bit Image Graphics Designing a Bit Image Pattern A bit image pattern is produced in four steps 1 Ona quadrille pad or graph paper lay out the graphic pattern you want to print See Figure 5 2 Determine the decimal equivalent of each vertical data byte in your pattern The sum of the decimal equivalent of each true bit in the vertical data byte is the decimal equivalent of the data byte 3 Write a program to generate the pattern Enter and run the program on the host computer 1st Bit Image Data Byte 2nd Bit Image Data Byte Weights i 7th Bit Image Date Byte MSB 128 o 64 32 16 8 4 2 e LSB 1 is 146 98 255 2 146 13 Figure 5 Bit Image Pattern Plan Bit Image Density You can print bit image graphics in different dot densities Select dot densities by sending a control code in the data stream NOTE Every line of graphics data must include the necessary bit image command so the printer can perform the chosen graphics functions Single Dens
64. ed in the current font this code is ignored Proportional spacing overrides condensed printing This control code does not function while in DBCS mode 12 cpi will condense to 20 cpi only if the menu option 20 CPI Condensed is enabled Example The program below shows condensed character printing and reset 10 LPRINT Control code 20 LPRINT SI selects 30 LPRINT CHR 15 40 LPRINT condensed character printing 50 LPRINT Control code DC2 60 LPRINT CHR 18 70 LPRINT resets condensed character printing Control code SI selects condensed character printing Control code DC2 resets condensed character printing 34 DBCS Mode Select DBCS Mode Select ASCII Code FS amp Hex Code 1C 26 Dec Code 2838 Purpose Places the printer in DBCS mode Comment All data received by the printer with the MSB set will be paired with the next character which may or may not be a DBCS character If the pair constitutes a 2 byte code which falls within the defined DBCS character set range a DBCS character will be printed Otherwise the characters will be treated individually and printed accordingly Control codes which normally can be applied to a non DBCS mode typeface will not have an effect This command will set the DBCS ASCII mode in the front panel to DBCS mode DBCS Mode Cancel ASCII Code FS Hex Code 1C 2bE Dec Code 2846 Purpose Cancels the effect of the FS amp command and places the printer in
65. elect code page as 0x30 Big5 default 0x31 NS 0x32 DCI 0x36 IBM5550 0x37 UTF8 This control code does not function while in non DBCS mode Set DBCS Compressed Mode ASCII Code ASSC 0 c n Hex Code Dec Code Purpose Comment ASSC 30 63 n ASSC 48 99 n Turn on off DBCS Compressed mode Where n 7 0 or 48 Turns off DBCS Compressed mode n 1o0r49 Turns on DBCS Compressed mode This command only works in DBCS mode and have no effect in ASCII mode this command affects the DBCS Compressed front panel setting Set Font Line Gap For Hanzi Big5 Printer Only ASCII Code ASSC 0 T m n1 n2 n3 n4 Hex Code Dec Code Purpose Comment ASSC 30 54 47 m ni n2 n3 n4 ASSC 48 84 71 m n1 n2 n3 n4 To set inter character and inter line spacing in dot by 300 dpi which will convert to dot by 180 dpi The inter char spacing is set according to DBCS ASCII character Where m 0x30 set inter char spacing m 0x31 set inter line spacing This control code does not function while in non DBCS mode 79 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Set Font Scale For Hanzi Big5 Printer Only ASCII Code ASSC 0 T W n1 n2 Hex Code ASSC 30 54 57 ni n2 Dec Code ASSC 48 84 87 ni n2 Purpose Character expands as n1 vertical expand n2 horizontal expand n1 n2 0x30 reset n1 n2 0x31 normal 1x1 n1 n2 0x32 expand twice double height double width Whe
66. f DBCS Characters 77 Set 6 dot Intercharacter Spacing of DBCS Characters 77 Skip Over Perforation 89 cancel 89 Software features 11 Spacing Proportional 67 SSCC c Barcode Printing 28 SSCC Graphic Printing 70 SSCC Select Vertical Printing for Hanzi BIGS Printer only 76 SSCC Select Super Subscript Printing for Hanzi BIG5 Printer only 75 Static Barcode Function 69 90 SUB E Set 6 dot Intercharacter Spacing of DBCS Characters 77 SUB N Set 3 dot Intercharacter Spacing of DBCS Characters 77 SUB P Set 12 dot Intercharacter Spacing of DBCS Characters 77 SUB Q Set 0 dot Intercharacter Spacing of DBCS Characters 76 Superscript Subscript printing 91 cancel 92 Super Set Commands 19 Supplies Department 107 T Tabs horizontal set release 53 vertical 95 selecting channels 76 set in channels 88 set clear 95 Tabs vertical Epson FX 1050 99 Proprinter XL emulation 99 Turn On Off Compress Mode 92 Turn On Off OCRB Printing 93 U Underline 93 Unicode Position Download Chinese Font 43 Unidirectional Printing 94 Unsupported features 13 V Vertical format unit VFU 99 Vertical tabbing example 100 Vertical tabs 95 Epson FX 1050 99 selecting channels 76 set in channels 88 set clear 95 10 cpi code 33 12 cpi code 33 15 cpi code 33 127 128 257275 001B
67. format Comment Emphasized print 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 width of a dot Example The following program illustrates emphasized character printing 10 LPRINT Control 20 LPRINT E selects 30 LPRINT CHR 27 E 40 LPRINT emphasized character printing 42 LPRINT Control code ESC F 50 LPRINT 27 F 60 LPRINT cancels emphasized character printing Control code ESC E selects emphasized character printing Control code ESC F cancels emphasized character printing 44 Emphasized Print Cancel Emphasized Print Cancel ASCII Code Hex Code Dec Code Purpose ESCF 1B 46 27 70 Cancels emphasized character printing selected by ESC E or ESC Enable Printing of Control Codes ASCII Code Hex Code Dec Code Purpose Comment ESC In 1B 49 n 27 T3n Tells the printer to treat codes 0x00 through Ox1F and 0x80 through Ox9F as either printable characters or control codes Where n 1 codes 0x00 through Ox1F and 0x80 through Ox9F are treated as printable characters n 0 codes 0x00 through Ox1F and 0x80 through Ox9F are treated as control codes This command has no effect when the italic character table is selected no characters are defined for these codes in the italic character table 45 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Font
68. hapter 2 Configuring the LQ 1600K Emulation with Control Codes Set Absolute Horizontal Print Position in 1 60 Inch ASCII Code ESC n1n2 Hex Code Dec Code Purpose Comment 1B 24 n1 n2 27 36 n1 n2 Moves the simulated print head to an absolute horizontal print position using 1 60 inch increments Where n1 0 through 127 n2 0 through 255 n1 n2 x 256 60 7 the unsigned distance in inches from the left margin If the distance goes beyond the right margin the sequence is ignored Set Chinese Font Rotate For Hanzi Big5 Printer Only ASCII Code Hex Code Decimal Purpose Comment 78 ASSC O T n ASSC 30 54 2B n ASSC 48 84 43 n Set rotation as n 0x31 DBCS character in normal do not rotate default n 0x32 DBCS character rotate 90 degrees counterclockwise n 0x33 DBCS character rotate 270 degrees counterclockwise n 0x34 DBCS character rotate 180 degrees n 0x35 ASCII character in normal do not rotate n 0x36 ASCII character rotate 90 degrees counterclockwise n 0x37 ASCII character rotate 270 degrees counterclockwise n 0x38 ASCII character rotate 180 degrees Where 0x31 0x39 This control code does not function while non DBCS mode Set Chinese Inner Code For Hanzi Big5 Printer Only Set Chinese Inner Code For Hanzi Big5 Printer Only ASCII Code ASSC 0 T A n Hex Code Dec Code Purpose Comment ASSC 305441 n ASSC 48 84 65 n S
69. he printer announcing that the printer is on line or the buffer is almost empty 121 Appendix E Glossary 122 Index A Adjust half width character to fit into DBCS character spacing 25 Adjust spacing of table making characters 25 Align two half width rotated characters in DBCS mode 26 ASCII Character Set 97 B Backspace 27 Barcode Printing 28 Bell 31 Bit image density double 48 double double speed 49 quadruple 50 standard 51 Bit image graphics bit pattern from ASCII character 101 density selecting 103 designing a pattern 103 programming format 104 Proprinter and Epson 101 sample program 105 Bold print 44 BS Backspace 27 C CAN Cancel Line 31 Cancel spacing adjustment 32 Carriage Return 32 CC DOS Control Code 32 Character pitch 10 cpi 33 12 cpi 33 15 cpi 33 Character sets Epson LQ 1600K 18 international overlays 83 Character Set ASCII 97 Contact information 107 Control code description format Epson FX 1050 20 Control code index 21 Customer Support Center 107 D DBCS mode 20 underline 35 cancel 35 select 35 DBCS Superscript Subscript Print Set Cancel 36 DC1 Printer Select 67 DC2 Condensed Print Reset 34 DC4 Cancel Double Wide Print 1 line 42 Default values 14 Define a download character DBCS 36 Define User Defined Character 38 DEL Delete Character 39 Density selection for bit images 103 Double High Print
70. ht The start up procedure which causes a computer operating system to be loaded into main memory A reserved area in memory where data is written to and read from during data transfers A circuit for the transfer of data or electrical signals between two devices A group of consecutive bits forming a unit of storage in a digital computer and used to represent one alphanumeric character A byte usually consists of 8 bits but may contain more or fewer bits depending on the computer or protocol C The invisible rectangular space occupied by a character including the white space around the character The height of a cell remains constant even with changes to the current line spacing and the width is equal to the current character spacing Used as a unit of spacing The ratio of character height to character width See also compressed and expanded A set of codes each of which represents a control or printable character including symbols punctuation numbers diacritical markings and alphabet characters Each character is assigned a unique address in memory The degree of lightness and thickness of printed text For example Bold refers to a heavy or thick character weight Medium normal or book weight refer to the character weight used in this sentence A value used to verify microcode correctness command command delimiter command sequence compatibility compressed configuration control
71. ical DIP switch has from four to ten individual switches mounted in its package The individual switches are typically toggle rocker or slide switches To deactivate or set to OFF A thin flexible magnetic disk containing software such as test and diagnostic programs initialization files and all font specifications for the printer Abbrev for Data Processing See also HS for Draft Print A limited dot font used for rough copy Low print quality but fast printing speed Acronym for Dynamic Random Access Memory Abbrev for Data Set Ready Status signal to the printer indicating the host is in a ready condition Abbrev for Data Terminal Ready Control signal from the printer indicating it is in a ready condition E Abbrev for European Computer Manufacturers Association Abbrev for Electronic Industries Association Telecommunications Industry Association A name indicating a monospaced font with a pitch of 12 cpi and usually 10 points in height em emulation en enable escape sequence ETX EVFU expanded false family or type FF FIFO fixed pitch fonts font font landscape A unit of measure in typesetting The width of a piece of type about as wide as it is tall Derived from uppercase M usually the widest character in a set Refers to the ability of a printer to execute the commands of another printer protocol When used as a proper noun e g Epson LQ 1600K Emulation it
72. ill be combined with the next character to produce one DBCS character DBCS characters are only available in the LQ Near LQ Normal Hi Speed Super Hi Speed and Ultra Hi Speed typefaces The command to select DBCS mode FS amp switches the printer to one of these typefaces Near LQ is the default typeface but if another print quality has been selected previously through the FS x command then that print quality is the DBCS typeface selected The character printed when the printer combines two characters into one double byte character depends on the character set of your particular printer Configuring the LQ 1600K Emulation with Control Codes The remainder of this chapter describes the LQ 1600K printer control language codes that may be sent from a host computer attached to the printer in order to invoke and configure numerous LQ 1600K emulation functions Format for Control Code Descriptions The following information is listed for each code where applicable and possible in this chapter ASCII Mnemonic The ASCII name for the control code Hex Code The hexadecimal equivalent of the code For octal equivalents refer to Appendix A Dec Code The decimal equivalent of the code Purpose The function s of the control code Expression The control codes used in the BASIC programming language Comment description of exceptions or limitations to normal use Example A sample expression written in the BASIC program
73. int quality n ETX hex 03 or 3 hex 33 selects Super Hi Speed print quality n 7 EOT hex 04 or 4 hex 34 selects Normal print quality n ENQ hex 05 or 5 hex 35 selects Ultra Hi Speed print quality This command overrides control panel print quality selections 71 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Select Graphics Mode ASCII Code mn1n2 Hex Code 1B2Amn n2 Dec Code 27 42 2 Turns on 8 pin 24 pin bit image graphics mode m Table 9 shows the graphics modes available Comment n1 through 255 n2 0 through 31 n n1 n2 x 256 the total number of columns or data bytes to follow For example to specify 257 columns 1 1 x 256 257 Table 9 LQ 1600K Graphics Modes m Mode Prisc dae Pins used 0 Single density 60 8 1 Double density 120 8 2 Double density double speed 120 8 3 Quadruple density 240 8 4 Monitor graphics 80 8 6 Monitor graphics Il 90 8 32 Single density 60 24 33 Double density 120 24 38 Monitor graphics III 90 24 39 Triple density 180 24 40 Sextuple density 360 24 72 Select Italic Character Set Select Italic Character Set ASCII Code ESCtn Hex Code 1B74n Dec Code 27116n Purpose Selects the italics character set from hex 80 through hex FF Where n hex 01 or 1 hex 31 selects the graphics character set n hex 00 or 0 hex 30 selects the italics character se
74. ists of 8 bit dot columns with the MSB at the top and 1 bits producing dots 0 lt d lt 255 Example 10 WIDTH The following example produces a pattern of standard density bit image graphics The 9 data bit pattern is repeated 27 times Compare this example to the double density and quadruple density examples lptl 252 20 LPRINT Single Density Bit Image Graphics LPRINT CHR 27 CHR 244 CHR OD 40 FOR N 1 TO 27 50 RESTORE 60 FOR 1 1 TO 9 70 READ R 80 LPRINT CHR R 90 NEXT I 100 NEXT N 110 LPRINT CHR 255 120 DATA 255 128 64 32 16 8 4 2 1 Single Density Bit Image Graphics PSS 51 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Half Width Print ASCII Code FS SI Hex Code 1C OF Dec Code 28 15 Purpose Sets the printing of DBCS characters as half width SBCS characters maintain at their normal width Comment This command takes effect only for DBCS characters and is canceled by FS DC2 Half Width Print Cancel ASCII Code FS DC2 Hex Code 1C 12 Dec Code 28 18 Purpose Resets half width superscript subscript printing of DBCS characters to normal size Comment This command cancels the effect of FS SI and FS r Home Print Head ASCII Code ESC Hex Code 1B 3C Dec Code 27 60 Purpose Moves the print head to the extreme left position so the next line prints left to right Horizontal Tab Execu
75. ity 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 quality horizontal dot density is 60 dpi and vertical dot density is 48 dpi 103 Appendix C Graphics 104 Double Density Mode ESCL Double density mode prints up to twice the number of dots per inch horizontally in the same space used for single density The vertical dot density remains the same as in single density mode Double horizontal density requires twice the number of input data bytes to print the same length line as single density Printing double density reduces the printing speed by half Double Speed Double Density Mode ESC Y When the double density double speed control code is received data bytes print at double the current horizontal dot density but adjacent dots are not printed Since double density graphics are printed at half speed double speed double density graphics are printed at the same speed as single density graphics This mode is often used to position a simulated print head precisely by sending blank dot columns Quadruple Density Mode ESC Z When printing quadruple density graphics the printer combines adjacent quadruple density bit image bytes The compounded data is then printed in double density mode Bit Im
76. ler cpi cps CPU CR data bits An operating instruction e g form feed or FF sent from a computer to the printer Also called a control code or non printable character Commands are opposed to data which is printed An ASCII character used to begin a command string Commonly used command delimiters are ESC hex 1B and SOH hex 01 Two or more bytes that instruct the printer to perform a special function The first character in the sequence is a special function control character This character alerts the printer that the string which follows is a command sequence not a character or graphic code See also escape sequence The ability of one printer to accept and properly process commands meant for a different printer See also emulation and protocol Refers to a typeface with a font width approximately 60 smaller than normal Character height is not changed Refers to the operating properties that define how the printer responds to signals and commands received from the host computer at the printer interface These properties are called configuration parameters and are set to match the operating characteristics of the host computer system An independent logic unit in a data processing System that controls data paths between one or more units of peripheral equipment Abbrev for characters per inch A measurement of monospaced fonts indicating the horizontal character density For example 10 cpi means 10 cha
77. lows the printer down approximately 50 but it is sometimes used when very accurate dot placement is desired in graphics Vertical and Horizontal Extension ASCII Code Hex Code Dec Code Purpose Comment 94 ESC e n1 n2 1A 65 n1 n2 27 101n1 n2 Enables the extension of the character bitmap so that they touch in both horizontal and vertical directions as follows e 11 1 or 49 2 1 or 49 Normal character e 2 lt 1 lt 4 50 lt 1 lt 52 2 1 or 49 Double height character same with FS 8 e 1 1 or 49 2 lt 2 lt 4 or 50 lt n2 lt 52 Double width character same with FS 4 e 2 lt n1 lt 40r50 lt n1 lt 52 2 lt n2 lt 4 or 50 lt n2 lt 52 Double width and double height character same with FS 12 Where 1 lt n1 lt 40r49 lt n1 lt 52 1 lt n2 lt 40r49 lt n2 lt 52 The default is normal character Vertical Tab Execute Vertical Tab Execute ASCII Code Hex Code Dec Code Purpose Comment VT 0B 11 Advances the simulated print head to the next vertical tab position selected by ESC If no vertical channel was selected channel 0 is used If no vertical tabs were set the paper advances one line The simulated print head moves to the left margin If a tab position is on the current line the paper is moved to the next tab position If there are no tab positions between the current line and the end of the form the paper is moved to the to
78. lustrates how to set horizontal tabs 10 LPRINT Control code 20 LPRINT ESC D CHR 4 CHR 10 CHR O 30 LPRINT sets tab stops at columns 4 and 10 40 LPRINT Control code HT 90 LPRINT accesses the tab stops as follous 60 LPRINT CHR 27 D CHR 4 CHR 10 CHR O 70 LPRINT CHR 9 80 LPRINT column 4 90 LPRINT CHR 9 CHR 9 100 LPRINT column 10 Control code ESC D CHR 4 CHR 10 CHR CO sets tab stops at columns 4 and 10 Control code HT accesses the tab stops as follous column 4 column 10 54 Initialize Printer Initialize Printer ASCII Code Hex Code Dec Code Purpose Comment ESC 1B 40 27 64 Resets all print related parameters to the power up configuration values Restores the power up configuration The print buffer is cleared of printable data on the line preceding the command Current position is set as top of form All settings such as font international language selection etc are reset to the power up default 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 Select ASCII Code Hex Code Dec Code Purpose Comment ESC 4 1 34 27 52 Turns on italic character printing Character graphics IBM graphic set hex
79. means printer protocol See also compatibility and protocol A unit of measure in typesetting equal to half the width of an em To activate make true 1 or set to on A command sequence in which the first byte is always the ASCII ESC character Same as escape code See also command sequence Abbrev for End of TeXt A transmission control character sent from the host to the printer indicating the end of transmission of a block of data Abbrev for Electronic Vertical Format Unit Relates to the ability to slew skip quickly a specified number of lines A font enhancement referring to larger than normal character width with no change in character height F Off or zero Compare true A set of all variations and sizes of a type style Abbrev for Form Feed Abbrev for First In First Out See font monospaced The complete set of a given size of type including characters symbols figures punctuation marks ligatures signs and accents To fully describe a font you must specify seven characteristics 1 typeface 2 spacing proportional or monospaced 3 type size 12 point 14 point etc 4 scale factor character height width ratio 5 type style 6 character weight 7 character proportion normal condensed expanded A font printed parallel to the long edge of a page 113 Appendix E Glossary 114 font monospaced font name font pattern font portrait font proportional fon
80. ming language is provided for some control codes to illustrate how the code is used 20 Control Code Index Control Code Index The following index lists the control codes by function ASCII mnemonic and page number Some control code functions can also be selected at the control panel 21 FUNCTION ASCII CODE PAGE Vertical Motion and Print Execution Carriage Return CR 32 Form Feed FF 46 Line Feed LF 56 Line Feed n 180 Inch ESC Jn 56 Line Spacing 1 6 Inch 6 1 ESC2 57 Line Spacing 1 8 Inch 8 1 ESC 0 58 Line Spacing n 60 Inch ESCAn 59 Line Spacing n 180 Inch ESC 60 Line Spacing n 360 Inch ESC n 61 Select Vertical Tab Channel ESC c 76 Set Form Length by Lines ESC Cn 80 Set Form Length in Inches ESC C NUL n 81 Set Vertical Tabs in Channels ESC b c n1 n2 n3 n16 NUL 88 Skip Over Perforation ESCNn 89 Skip Over Perforation Cancel ESC O 89 Vertical Tab Execute VT 95 Vertical Tab Set Clear ESC B n1 n2 n3 nk NUL 95 Horizontal Motion Backspace BS 27 Carriage Return CR 32 Character Pitch 10 cpi ESCP 33 Character Pitch 12 cpi ESCM 33 Character Pitch 15 cpi ESC g 33 Horizontal Tab Execute HT 52 Horizontal Tab Set Release ESC D n1 nk NUL 53 Proportional Spacing Select Deselect ESCpn 67 Set Absolute Horizontal Print Position in 1 60 ESC n1n2 78 Set Intercharacter Spacing ESCSPn 82 Set Relative Horizontal Print Position in 1 120 ESC 1 n2 88 Set Margin Left ESCIn 86 Set Margin Right ESCQn 87 Emphasis
81. n On Off Compress Mode ASCII CODE SO or ESC SO DC4 ESC E ESC F ESC 4 ESC 5 ESCtn ESCqn ESCSn ESCT ESC n ESC n ESC xn ESC kn ESC In ESC 6 ESC 7 ESC Rn CAN DEL ESC n1 2 ESCLn1n2 ESCYn1n2 ESC Z n1 n2 ESC mn1 n2 BEL ESC lt ESC DC1 DC3 ESC ESCUn UTF 8 Hanzi Big5 only SSCC n ASSCOxn Control Code Index FUNCTION ASCII CODE PAGE Define User Defined Character ASSC 0 2 n 38 Master Select One line AttributeASSC 0 n 66 Download Chinese Font ASSCOT2 43 Download Chinese Font Unicode Position For Hanzi Big5 Printers Only ASSCOTd X4XoX5X4X5 data 43 Font Expansion ASSCOe 46 Graphic Printing ASSCO 47 Orientation of Downloaded Character ASSCOon 66 Save Downloaded Character Into Flash ASSC 0 w 68 Select Autowrap Mode ASSCOTm 68 Select Underline Printing ASSCOT 75 Set Chinese Font Rotate ASSC OT 78 Set Chinese Inner Code ASSCOTA 79 Set DBCS Compressed Mode ASSC 0 79 Set Font Line Gap ASSCOTG 79 Set Font Scale ASSCOTW 80 Set Font Pitch ASSCOTP 81 Set Left Margin ASSCOTI 85 Set Logical Right Margin ASSC OT y 85 Set Line Pitch ASSCOT3 85 Set Logical Left Margin ASSCOT 86 Set n 120 inch Line Spacing ASSCOJn 87 Set Paper Length ASSC OTC 87 Static Barcode Function ASSC 0 T c t d data d 0 n4nana p 69 Turn On Off OCRB Printing ASSCOzn 93 AR3240 Commands for GB and Kanji printer only Set 0 dot Intercharacter Spacing of DBCS
82. n n1 0x32 double height the line spacing will double Where n1 n2 0x30 0x32 Comment This control code does not function while in non DBCS mode Set Form Length By Lines ASCII Code ESC C n Hex Code 1B43n Dec Code 2767 Purpose Sets the form length by lines Where n 1 through 127 to specify the number of lines per form at the current line spacing 0 lt n x current line spacing lt 22 inches Comment The current line becomes the first line of the form The forms length units are always defined in inches therefore subsequent line spacing changes do not affect the result of this command Changing 1 does not change the forms length The forms length is set to the number of lines defined by the quotient of n and the current line spacing so that the units are in inches If the calculated forms length in lines is not an exact multiple of the target machine dot size the forms length value will be adjusted down 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 This command affects the front panel setting of Funct of Lines 80 Set Form Length in Inches Set Form Length in Inches ASCII Code Hex Code Dec Code Purpose Comment ESC C NUL n 1B 4300 n 27670n Sets form length to n inches Where n 1 through 22 to specify the number of inches on a form Upon receipt of this code the current line b
83. nable Printing of Control Codes eee 45 Font Expansion vce teer pee ieee eee oed 46 Fortm Eeed n icr t e ee et tes ct aint 46 Graphic Printing 47 Graphics Double Density pp 48 Graphics Double Density Double 49 Graphics Quadruple Density pp 50 Graphics Standard Density pp 51 Half PIM ce pee e pei 52 Half Width Print Cancel eene 52 H me Print H ad 52 Horizontal Tab Execute pp 52 Horizontal Tab Set Release pp 53 Initialize Primer e teg tte en ed eed 55 Italic Printing Select sem 55 Italic Printing m 55 l ine Eeed uetus can 56 Line Feed n 180 Inch nennen 56 Table Of Contents Line Spacing 1 6 Inch 6 as 57 Line Spacing 1 8 Inch 8 1p 7 58 Line Spacing n 60 59 Line Spacing n 180 Inch essen 60 Line Spacing n 360 eene 61 Make Hex 80 9F Control 62 Make Hex 80 9F Printable en 62 Master Print Seleti necir o bi aat deed 64 Master Print Select in DBCS 65 Master Select One Line Attribute in DBCS Mode
84. nt 40 Expanded Print 1 Line 41 42 cancel 42 Factory settings 14 Features 11 unsupported 13 Font Expansion 46 Form Feed 46 Form length set in inches 81 set in lines 80 FS DBCS Mode Underline 35 FS D Align Two Half width Rotated Characters in DBCS mode 26 FS DC2 Half Width Print Cancel 52 FS DCA Cancel Double Wide Print 1 line 42 FS e Select DBCS Character Bitmap 71 FS J Rotate Character 90 degrees Counter clockwise 68 FS K Cancel Character Rotation 31 FS k Select DBCS ASCII Character Type 70 FS r DBCS Superscript Subscript Print Set Cancel 36 FS Set Intercharacter two byte Spacing in DBCS mode 83 FS SI Half Width Print 52 FS SO Double Wide Print One Line 42 FS T Set Intercharacter one byte Spacing in DBCS mode 82 FS W Double Wide Double High 2x2 Print 43 FS x Select DBCS Print Quality 71 FS Master Print Select in DBCS Mode 65 FS cancel DBCS mode 35 FS amp select DBCS mode 35 FS 2 Define a Download Character DBCS 36 G Glossary 109 Graphic Printing 47 Graphics Mode 8 Pin 72 Graphics Proprinter and Epson 101 H Home Print Head 52 Horizontal tabs execute 52 set release 53 Index of control codes 21 Initialization 55 Italics cancel printing 55 character set select 73 printing 55 L Line Feed 56 n 216 Inch 1 line 56 Line Spacing n 180 Inch 60 n 360 Inch 61 n 72 Inch 59 1 6 Inch 57 1 8 Inch
85. nzi BIG5 Printer only ASCII Code SSCC n Hex Code Dec Code Purpose Comment SSCC2Bn 43 The character is printed with different degrees of rotation in the counter clockwise direction under DBCS mode n 0or48 90 degrees rotation n 1or49 180 degree rotation n 2or50 270 degree rotation n 3or 51 rotate DBCS full width character 90 degrees n 4or52 normal character Where n 0 1 2 3 4 48 49 50 51 52 The default value is n 4 normal character NOTE This command is only supported in the Hanzi TW printer Select Vertical Tab Channel ASCII Code ESC c Hex Code Dec Code Purpose Comment 1B2Fc 2747 c Selects a vertical tab channel set by ESC b Where c 0 through 7 Subsequent VT hex 0B commands use tab table specified by If no tab table is selected table 0 is used Set 0 dot Intercharacter Spacing of DBCS Characters ASCII Code SUB Hex Code Dec Code Purpose Comment 76 1A 51 26 81 Sets 0 dot intercharacter spacing of DBCS characters This command affects the front panel setting of DBCS CPI Set 3 dot Intercharacter Spacing of DBCS Characters Set 3 dot Intercharacter Spacing of DBCS Characters ASCII Code SUB Hex Code Dec Code Purpose Comment 1A 4E 26 78 Sets 3 dot intercharacter spacing of DBCS characters The left intercharacter space is O dots the right intercharacter space is 3 dots The dot size is 1 180 inch Thi
86. on black a2 2 dotted 2 3 slashed a2 4 meshed This command will not take effect unless the characters printed are outlined as set by the ESC q control code 37 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Example 100 LPRINT CHR 27 110 LPRINT CHR 28 2 120 LPRINT CHR 27 3 130 LPRINT CHR 285 140 LPRINT CHR 27 150 GOSUB 210 160 LPRINT CHR 27 170 GOSUB 210 80 LPRINT CHR 275 190 GOSUB 210 200 END The following program demonstrates the function of the command CHR 45 CHR 1 CHR 1 X CHRS 3 0 CHR 0 CHRS 1 CHRS O X CHES 3 CHRS 0 CHRS 0 CHR 2 CHR O 220 LPRINT CHRS amp HD6 CHRSCEHDO 230 LPRINT CHRS amp HD3 CHRS amp HAZ 240 LPRINT CHRS ZHCE CHRSC amp HC4 250 LPRINT CHRSC amp HBAD CHRSC amp HF2 260 LPRINT CHRSC amp HD3 CHRSCEHA1 270 LPRINT CHRS amp HBB CHRSC amp HFA 280 RETURN Define User Defined Character ASCII Code Hex Code Dec Code Purpose Comment 38 ASSC 0 2 al a2 1 0144 ASSC 30 32 a2 d1 d144 ASSC 48 50 a2 d1 d144 Sets the ASCII format data for a user defined character The user defined characters can be printed by sending a7 a2 to the printer Where af high byte code point 82 7 low byte code point d1 d144 144 bytes ASCII format data This command takes effect only in DBCS mode Delete Character
87. onal Spacing Bold Print Italic Print Slashed Zero Text Position DBCS ASCII Mode 10 0 6 0 6 7 Ignore Unidir LQ MING Disable Disable Disable Disable Disable Bottom of Line DBCS Mode Default Values and States Table 3 Factory Settings continued for Hanzi Big5 Characteristic Default Setting DBCS ASCII Style Normal Compressed Mode Disable DBCS Compressed Disable Encoding Address Table Taller 15 CPI Disable Graphics Spd Up Match Typeface 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 Reset Cmd CFG Ld Illegal Code Pt Define CR Code Auto LF Define LF Code Printer Select Character Set 20 CPI Condensed Alt Set 80 9F 345 4 millimeters 136 characters Current Config As Space CR CR Enable LF CR LF Disable Standard Sets Epson Set ASCII Enable Printable Chapter 2 LQ 1600K Emulation Epson Character Sets The LQ 1600K printer uses two character sets the IBM PC set and the Epson set The Epson set is the ASCII character set with the upper non ASCII set defined as italics and the usually unprintable codes designed as international characters See Table 4 Table 4 Epson Character Set Hex 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 8 SP 0 SP 0 1 B 1 A Q a q B 1 A Q a q 2 DC2
88. only works in DBCS mode Underline ASCII Code ESC n Hex Code 1B2Dn Dec Code 2745n Purpose Turns automatic underlining on and off Where n NUL hex 00 or 0 hex 30 to turn off underlining n hex 01 or 1 hex 31 to turn on underlining Comment Spaces are underlined but graphics and grey scale characters are not This control code does not function while in DBCS mode Example The following program illustrates underlining 10 LPRINT Control code ESC 1 20 LPRINT CHR 27 CHR 1 30 LPRINT enables automatic underlining 40 LPRINT Control code ESC 0 90 LPRINT CHR 27 CHR OD 60 LPRINT disables automatic underlining Control code ESC 1 enables automatic underlining Control code ESC O disables automatic underlining 93 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Unidirectional Printing For One Line ASCII Code Hex Code Dec Code Purpose ESC lt 1B 3C 27 60 Causes printing to occur from left to right for one line only Unidirectional Printing Set Reset ASCII Code Hex Code Dec Code Purpose Comment ESCUn 1B55n 2785n Causes printing to occur in only one direction of shuttle movement left to right Where n hex 00 or 0 hex 30 turns unidirectional mode off n hex 01 or 1 hex 31 turns unidirectional mode on Printing normally occurs in both directions of shuttle movement Unidirectional printing s
89. or lines per inch A measurement indicating the vertical spacing between successive lines of text For example 8 1 means 8 lines of text for every vertical inch Abbrev for lines per minute A speed measurement indicating the number of lines printed every minute Ipm usually defines the speed at which text prints See also ipm M See font monospaced Millimeter 115 Appendix E Glossary 116 N A NACK NAK nibble NLQ nS NVRAM OCR off line Ohm on line parity check N Not available or not applicable Abbrev for Negative Acknowledge reply A reply from the printer to the host indicating that an exception has occurred Contrast with acknowledge character Abbrev for Negative Acknowledge character A transmission control character transmitted by the printer as a negative response to an enquiry from the host A unit of storage containing half of a byte usually four bits Abbrev for Near Letter Quality Nanosecond one billionth of a second Abbrev for NonVolatile Random Access Memory A type of RAM in which stored data is not lost when the power is interrupted or turned off A battery supplies power to NVRAM when the system does not Unlike ROM another type of nonvolatile memory NVRAM is accessible and its contents can be altered O Abbrev for Optical Character Recognition A process by which a machine can read characters printed in a special standardized font Data is
90. p Example The following example illustrates n 180 inch line spacing l0 LPRINT Control code ESC 3 50 sets 20 LPRINT 27 3 CHRS 50 30 LPRINT line spacing at 50 180 inch 40 LPRINT increments for all subsequent lines 50 LPRINT until reset or another spacing is selected Control code ESC 3 50 sets line spacing at 50 180 inch increments for all subsequent lines until reset or another spacing is selected 60 io 20 3Q 40 30 Control Line Spacing n 360 Inch Line Spacing n 360 Inch ASCII Code ESC n Hex Code 1B2Bn Dec Code 2743n Purpose Specifies the line spacing at n 360 inch increments Where n 0 through 255 Comment All line feeds following receipt of this code are at n 360 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 set at the control panel When n 0 the current line spacing is printed If the vertical distance to move is other than a multiple of n 360 inch the remainder is added to the next paper motion command Use caution when combining this control code with other print attributes such as Elongated Double High Superscript or Subscript because overlapping lines may occur Print speed is reduced if lines overlap Example The following example illustrates n 360 inch line spacing LPRINT LPRINT LPRINT LPRINT LPRINT Control code ESC 90 sets CHR O2732
91. p of the next form If the printing crosses the page boundary the VT command causes the paper to move to the top of the next form This code cancels all single line print attributes Vertical Tab Set Clear ASCII Code Hex Code Dec Code Purpose Expression Comment ESC B n1 n2 n3 nk NUL 1B 42 n1 n2 n3 nk 00 27 66 n1 n2 n3 nk 0 Sets up to 16 vertical tab positions Where n 1 through 255 1 through 16 n1 through nk specify the line number for the vertical tab s up to a maximum of 16 tab positions NUL must end the sequence To clear the tab settings send ESC B NUL 1B 42 00 CHR 27 B CHR n7 CHR nk CHR 0 The values of n range from 1 through 255 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 of sequence number is ignored and the rest of the load is processed Skip over perforation is ignored This command always sets channel 0 You can clear channel 0 by sending ESC B NUL See also the channel selection command ESC and the channel loading command ESC b 95 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes 96 Standard ASCII Character Set B7 B6 BITS P5 B4 B3 B2 B1 OCTAL DE
92. r is printed n number of dots are left blank preceding the next character For different print modes the dot resolution varies e g DP 120 dpi NLQ 180 dpi If double wide printing is enabled the dot size adjusts accordingly This control code does not function while in DBCS mode Example The following program illustrates intercharacter space setting Control code ESC SP 0 CHRS 27 CHRS OD selects 0 standard character spacing Control code ESC SP 6 CHRSC27 i CHRS 6 selects 6 dot character spacing Control code ESC SF 0 selects 0 standard character spacing Control code ESC SP 6 selects 6 dot character spacing 82 Set Intercharacter One Byte Spacing In DBCS Mode ASCII Code FST n1 2 Code 1 54 2 Dec Code 28 84 n1 n2 Defines preceding succeeding dots for inter character spacing Comment This control code defines the space to the left right of the printed character in dot positions The dot size for n1 and n2 is equal to 180 dpi The default for n120 and 2 2 This control code does not function while in non DBCS mode and only for one byte characters in DBCS mode Set Intercharacter Two Byte Spacing in DBCS Mode Set Intercharacter Two Byte Spacing in DBCS Mode ASCII Code FS 5 7 n2 Hex Code Dec Code Purpose Comment 1 53 n1 n2 28 83 n1 n2 Defines preceding succeeding dots for intercharacter spacing This control code defines th
93. racters can be printed in one horizontal inch See also pitch Abbrev for characters per second A measurement of the print speed of a serial character printer Abbrev for Central Processing Unit Abbrev for Carriage Return D Binary information sent to the printer A character set grouping which contains letters digits and punctuation marks to be printed or which contains control codes to move paper format text and graphics and position the text and graphics on the page 111 Appendix E Glossary 112 DCD decipoint default descender diagnostic DIP DIP switch disable diskette DP draft DRAM DSR DTR ECMA EIA TIA Elite Abbrev for Data Carrier Detect Status signal to the printer The ON condition is required for the printer to receive data One tenth of a point A unit of length equal to 1 720 inch See also point A value parameter attribute or option assigned by a program or system if another is not specified by the user The portion of a printed lowercase character that appears below the base line For example g p and all are characters with lowercase descenders Pertains to the detection and isolation of printer malfunctions or mistakes Acronym for Dual In line Package A method of packaging semiconductor components in rectangular cases with parallel rows of electrical contacts A DIP equipped with switches A typ
94. rinter data reception problems The computer that stores processes and sends data to be printed and which communicates directly with the printer The term host indicates the controlling computer since modern printers are themselves microprocessor controlled computer systems Abbrev for High Speed or Draft Print characters Abbrev for Horizontal Tab Abbrev for Hertz Cycles per second Frequency IEEE initialization interface invoke ipm italic LF landscape LCD LED logical link Ipi lpm monospaced MM Abbrev for Institute of Electrical and Electronic Engineers Inc A series of processes and self tests that set power up default conditions and parameters The hardware components used to link two devices by common physical interconnection signal and functional characteristics To put into effect or operation Abbrev for inches per minute A measurement of the speed of a printer printing in graphics print mode plotting speed See also A slanted type style This is an italic type style L Abbrev for Line Feed Printed perpendicular to the paper motion Abbrev for Liquid Crystal Display The LCD is located on the operator panel Its purpose is to communicate information to the operator concerning the operating state of the printer Abbrev for Light Emitting Diode The parameters that specify data transfer control or communication operations Abbrev f
95. s The LQ 1600K emulation software provides the following features e Graphics and print quality You can enable graphics mode and specify a density mode dots per inch for either 8 pin 24 pin images e Print Attributes Characters can be bold italic double high double wide etc e Formatting Commands which allow you to set line spacing page length and vertical tabbing e Font Typefaces Also referred to as print modes There are six typefaces that can print both SBCS and DBCS characters LQ Near LQ Normal Hi Speed Super Hi Speed and Ultra Hi Speed Chapter 1 Software Features 2 LinePrinter Plus LQ 1600K Emulation LQ 1600K Emulation Emulation refers to the ability of a printer to execute the commands of other printer control languages In LQ 1600K emulation mode your printer prints files coded for Epson LQ series printers particularly the LQ 1600K Exceptions and Differences Because Of Mechanical Differences Between Your Printer A Line Matrix Printer And Moving Printhead Serial Matrix Printers Some Features Are Approximated Or Not Supported Commands not supported by our printer Control paper loading ejecting ESC EM n Select user defined set ESC n Define user defined characters ESC k NUL n m Copy ROM to RAM ESC NUL n m Select justification ESC a n Set MSB to 1 ESC gt Set MSB to 0 ESC Cancel MSB Control ESC Reassign bit image mode ESC ONO aA F
96. s The FS alerts the printer that a special function command not printable characters follows Most FS commands work only on DBCS characters The format for an FS sequence is FS parameter 1 parameter 2 parameter n For example to rotate DBCS characters by 90 counter clockwise send an FS character immediately followed by the J character ASCII FS J Hex 1C 4ADec 28 74 Super Set Commands The unique control code sequence for both SSCC and ASSC commands are defined in the table below Control ASCII Value Hex Value Dec Value Code SSCC ESC 1B 7C 7D 3B 27 124 125 59 ASSC ESC 4 1B 7C 7D 71 21 124 125 59 113 Set And Reset Codes Set and reset are other ways of saying turn on and turn off select and deselect or enable and disable Some printer features are set and reset with an escape sequence and the numbers 1 or In those cases you can represent 1 and 0 as hexadecimal codes 01 and 00 or as the ASCII codes for the numerals 1 and 0 hexadecimal 31 and 30 19 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes DBCS Mode When the printer is in DBCS mode it can print double byte characters characters that require two bytes to define It can also print a limited number of single byte ASCII characters If a form hex 0x20 through hex Ox7F is sent to the printer it will be printed as a standard ASCII character If a character is larger that Ox7F it w
97. s command also affects an SBCS character if the character is aligned with a DBCS character by an FS U command If an SBCS character is aligned with a DBCS character the intercharacter space of an SBCS character is half This command affects the front panel setting of DBCS CPI Set 6 dot Intercharacter Spacing of DBCS Characters ASCII Code SUB E Hex Code Dec Code Purpose Comment 1A 45 26 69 Sets 6 dot intercharacter spacing of DBCS characters The left intercharacter space is 3 dots the right intercharacter space is 3 dots The dot size is 1 180 inch This command also affects an SBCS character if the character is aligned with a DBCS character by an FS U command If an SBCS character is aligned with a DBCS character the intercharacter space of an SBCS character is half This command affects the front panel setting of DBCS CPI Set 12 dot Intercharacter Spacing of DBCS Characters ASCII Code SUB Hex Code Dec Code Purpose Comment 1A 50 26 80 Sets 12 dot intercharacter spacing of DBCS characters The left intercharacter space is 6 dots the right intercharacter space is 6 dots The dot size is 1 180 inch This command also affects an SBCS character if the character is aligned with a DBCS character by an FS U command If an SBCS character is aligned with a DBCS character the intercharacter space of an SBCS character is half This command affects the front panel setting of DBCS CPI 77 C
98. s times the number of bytes required for each column Parameter Horizontal Vertical Dots per Bytes per min ESC Density dpi Density dpi Column Column 30 90 90 12 2 31 120 120 16 2 32 90 90 16 2 Select DBCS ASCII Character Type ASCII Code FS k n Hex Code 1C 6B n Dec Code 28 107n Purpose This selects a DBCS ASCII character 0 40 Selects normal DBCS ASCII characters 1 or 49 Selects oversized DBCS ASCII characters Where n 0 1 48 49 The default is n 0 normal DBCS ASCII character Comment This command affects the front panel setting of DBCS ASCII Style Select DBCS Character Bitmap Select DBCS Character Bitmap ASCII Code FS e n n2 Hex Code Dec Code Purpose Comment 1C 65 n1 n2 28 101n1 n2 Sets the character bitmap to 24 x 24 Where n n2 00r8 n n2 2232 The vertical cell size is n1 dots the horizontal cell size is n2 dots Select DBCS Character Font ASCII Code ESC n Hex Code Dec Code Purpose 1A 75 n 27 117n This selects a DBCS character font Where n 0 or 49 to select 24x24 DBCS character Select DBCS Print Quality ASCII Code FSxn Hex Code Dec Code Purpose Comment 1C 78n 28 120n Selects the typeface for printing in DBCS mode Where n 7 NUL hex 00 or 0 hex 30 selects LQ print quality n hex 01 or 1 hex 31 selects Hi Speed print quality n STX hex 02 or 2 hex 32 selects Near LQ pr
99. t Comment The graphics character set is assumed to be the IBM Graphics Code Select Print Quality ASCII Code ESC xn Hex Code 1B78n Dec Code 27 120 Selects print quality Where n hex 00 or 0 hex 30 selects Hi Speed n hex 01 or 1 hex 31 selects LQ n STX hex 02 or 2 hex 32 selects Near LQ n ETX hex 03 or 3 hex 33 selects Super Hi Speed n 7 EOT hex 04 or 4 hex 34 selects Normal n ENQ hex 05 or 5 hex 35 selects Ultra Hi Speed Comment This command overrides control panel print quality selections 73 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Select Special Printing Effect ASCII Code ESC qn Hex Code 1B71n Dec Code 27 113 Select the desired effect for printing Where 0 normal n 1 outline n 2 shadow n 3 outline and shadow Comment This command does not affect graphics characters Example The following program demonstrates the function of the command 74 10 LPRINT CHR 28 amp 20 LPRINT CHR 27 q CHR COO 30 GOSUB 200 40 LPRINT CHR C272 CHR 1 50 GOSUB 200 60 LPRINT CHR C 272 CHR 2 5 70 GOSUB 200 80 LPRINT 27 CHR 3 90 GOSUB 200 100 LPRINT CHR 28 110 LPRINT CHR C12 120 END 200 210 LPRINT CHR C amp HD6 CHRS C amp HDO 220 LPRINT CHR C amp HD3 CHR C amp HA2 230 LPRINT CHR C amp HCE CHR C amp HCA 240 LPRINT CHR amp HB4
100. t function while in non DBCS mode Download Chinese Font Unicode Position For Hanzi Big5 Printer Only ASCII Code Hex Code Dec Code Purpose Comment ASSC 0 T d X4 X2X4X4X5 data ASSC 30 54 64 X4 XoX3X4X5 data ASSC 48 84 100 X4 X2X4X4X5 data To download the user defined characters with 24x24 cell size in unicode position Where X4X2X3X4Xs is the unicode character position in ASCII value representation data Download data in 144 bytes that are arranged in horizontal sequence This control code does not function while in non DBCS mode and only takes effect when the printer is set to UTF 8 Encoding mode 43 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Download Chinese Font UTF 8 Position For Hanzi Big5 Printer Only ASCII Code ASSC 0 T X4X2Xa data Hex Code ASSC 30 54 55 X4X5Xa4 data Dec Code ASSC 48 84 85 X4X5Xa data Purpose To download the user defined characters with 24x24 cell size in UTF 8 position Where e X4X25X3 is the UTF 8 format character position it is various length in UTF 8 format data Download data in 72 bytes binary format the are arranged in vertical sequence The same format with Fs 2 Comment This control code does not function while in non DBCS mode and only takes effect when the printer is set to UTF 8 Encoding mode Emphasized Print Select ASCII Code ESCE Hex Code 1B 45 Dec Code 2769 Purpose Selects emphasized character print
101. t the space occupied by a normal size rotated character Comment Right after the control code sequence two characters are paired The characters are not required to be half width to be aligned because the command automatically takes care of that It is only necessary for the characters to be rotated in order for the command to take effect Only two characters are combined at a time This command does not function while in non DBCS mode Example The following program demonstrates the function of the command 10 LPRINT CHR C282 20 LPRINT CHR 28 J LPRINT CHR 28 D abcde 999 LPRINT CHR C12 4qovo 26 Backspace Backspace ASCII Code BS Hex Code 08 Dec Code 08 Purpose Moves the simulated print head to the left one byte space toward the first character column In DBCS mode the movement is two one byte spaces Comment Moves the character position indicator one byte space two Example 10 LPRINT 20 LPRINT 30 LPRINT 40 LPKRINT 50 LPEINT 60 LPRINT 70 LPKRINT 80 LPRINT Backspace Backspace TTTTT one byte spaces in DBCS mode to the left at the current character pitch setting The code is ignored if the simulated print head is positioned at the first character column Print and send two backspaces in ASCII and DBCS mode 28 Backspace in ASCII mode CHR 8 CHR 8 CHRS 28 amp Backspace DBCS mode Spirit
102. t weight font width hammer hammer spring hammer tip hex codes hex dump host computer HS HT Hz Also called fixed pitch fonts Every character regardless of horizontal size occupies the same amount of font pattern space All monospaced fonts use specific pitch size settings Monospaced fonts are sometimes used when strict character alignment is desired tables charts spreadsheets etc See typeface The matrix of pixels which represents a character symbol or image A font printed parallel to the short edge of a page A font in which the width of a character cell varies with the width of the character For example i takes less space to print than m Using proportional fonts generally increases the readability of printed documents giving text a typeset appearance The thickness of the lines that make up a character For example bold and light are different font weights The measurement of the width of a character cell in dots H The hammer spring with a hammer tip mounted onto it The flat piece of metal made of spring steel which supports and pushes the hammer tip The small round point located near the end of the hammer spring which strikes the ribbon and leaves a dot on the paper Based on a numeral system with a radix of 16 A hex dump is a translation of all host interface data to its hexadecimal equivalent A hex dump is a printer self test typically used to troubleshoot p
103. tandard ASCII Character Set 97 B Vertical Page 99 WNO ON cinta ette tete ae etate 99 Executing Vertical Tabs e 99 Vertical Tab Positions em 100 101 Bitlmage Graphics cai etd te eee aie 101 Designing a Bit Image Pattern 103 Table Of Contents Bit Image Density ia E ede Routes 103 Bit Image Programming Format pp 104 Bit Image Sample Program ssesen 105 D Contact 107 Printronix Customer Support Center sss 107 Printronix Supplies Department 107 Gorporate OIfICes e e tee 108 109 Table Of Contents Introduction About this Manual This manual is designed so you can quickly find the information you need to use the LQ 1600K emulation This book does not explain how to operate the printer For printer operation see the User s Manual Warnings and Special Information Read and comply with all information highlighted under special headings WARNING Conditions that could harm you CAUTION Conditions that could damage the printer or related equipment IMPORTANT Information vital to proper operation of the printer NOTE Information affecting printer operation Software Feature
104. te ASCII Code HT Hex Code 09 Dec Code 09 Purpose Moves the simulated print head to the next horizontal tab stop Comment Power on default horizontal tabs are set at every eighth character at the current character spacing Tab positions are not affected by a change of font or character width Underline will not be printed between the current print position and the next tab position 52 Horizontal Tab Set Release Horizontal Tab Set Release ASCII Code ESC D n1 nk NUL Hex Code Dec Code Purpose Expression Comment 1B 44 1 00 27 68 n1 nk 0 Sets up to 32 horizontal tab positions CHR 27 D CHR n71 CHR n32 CHR 0 n 1 255 k 1 32 Where n1 through n32 specify the character column of the tab positions NUL is the sequence terminator ESC D NUL clears all tabs 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 double wide After tabs are set HT moves the simulated print head to the next tab stop Sending ESC initializes the printer and resets the tabs to every eighth character column which is the default In proportional mode the size of 10 CPI characters determines tab positions 53 Chapter 2 Configuring the LQ 1600K Emulation with Control Codes Example The following example il
105. that has all of the electrical and mechanical components resistors capacitors ICs sockets etc mounted on it Abbrev for Paper Instruction A signal from the host with the same timing and polarity as the data lines A name indicating a monospaced font with a pitch of 10 cpi and usually a 12 point height Pica is used in typography as a unit of measurement equal to 1 6 inch Establishes the physical attachment and protocol conversion connections for the host interface The number of text characters printed per horizontal inch Specified in characters per inch cpi Derived from picture PIX Element The smallest displayable picture element on a video monitor or printable unit In printing a pixel is a dot A unit of length in printing and typography used to specify type sizes heights of font characters etc There are 72 points in a vertical inch thus one point equals 1 72 inch or approximately 0 0138 inch Some examples of point sizes are This is 8 point type This manual is printed in 10 point type This is 14 point type A channel used for receiving data from or transmitting data to one or more external devices Printed parallel to the short edge of a page A bar code standard defined by the U S Postal Service Synonymous with print attributes Includes character attributes such as italic underlining super subscript as well as Draft NLQ and DP See character proportion 117 Appendix E Glossary
106. ve vie ceo cede rei 11 Warnings and Special Information pp 11 Software Features see S 11 2 LinePrinter Plus LQ 1600K Emulation 13 EQ 1600K Emulation 1 cerit eere ede eene deu 13 Exceptions and Differences pp 13 Default Values and 14 Epson Character Sets eiecit elfe 18 Escape Sequences 1 19 FS Seduenices i on iet s e ade ee daa seed da cede iY 19 Super Set Comnmarids dtd eet bec ha 19 Set And Reset Codes pp 19 DBCS Mode nem 20 Configuring the LQ 1600K Emulation with Control Codes 20 Format for Control Code Descriptions pp 20 Control Code Index itae prie adda tees 21 Adjust Half Width Characters to Fit into DBCS Character Spacing 25 Adjust Table 25 Align Two Half Width Rotated Characters in DBCS iocur NEIN 26 Backspace i e ee tret t estote 27 Barcode Printirig 5 citer oii e doti ter eet tea e Pent e Po 28 Belli tei 31 Cancel Character Rotation pp 31 GanceliLirie 5 Rr bns Net e 31 Cancel Spacing Adjustment pp 32 Carriage bain cones e bedienen Pede padece lattice 32 CC DOS Control Code 32 Character Pitch 10 CPI nnd eene 33 Character Pitch 12
Download Pdf Manuals
Related Search
Related Contents
Para Comenzar - RCA Antennas Epson PowerLite 7800pNL Operation Guide here - Vanderbilt University here Revolabs DECT Monitor 取扱説明書 - i-PRODUCTS(アイプロダクツ)は、電光掲示板 Manuale dell`utente - M EpsonEB-1940W - Office Max SRL Pistola manuale EasySelect Copyright © All rights reserved.
Failed to retrieve file