9065 - 9080 - 10300
DDEECC EEMM UULLAATTIIOO NN
AADDDDEENNDDUUMM
78413212-001 Addendum to 9065-9080-10300 User Manual.
The DEC PPL2 emulation can be selected in the following way:
1) Press PROGRAM key. The message "PRINT OUT? NO" will appear. 2) Press DOWN ARROW key until the message "CONFIG MENU NO" will appear. 3) Press RIGHT ARROW key. The message "CONFIG MENU YES" will appear. 4) Press DOWN ARROW key until the message "EMUL. OPTIONS" will appear. 5) Press RIGHT ARROW key. The message "EMUL. EPSON LQ" will appear. 6) Press RIGHT ARROW key until the message "EMUL. DEC PPL2" will appear.
At this point, if you press the PROGRAM key, the DEC PPL2 emulation will be selected. Otherwise, if you press DOWN ARROW key, you will access the options related to DEC PPL2 emulation, that is:
1) "G0 C-S US ASCII" G0 Character Set 2) "UP C-S DEC SUPP" User Preference Supplemental Character Set 3) "AUTO CR YES" 4) "AUTO LF NO" 5) "AUTO WRAP YES"
The possible values for each option can be selected pressing the RIGHT ARROW key. When you have selected the desired value for each option, press the PROGRAM key.
I
1) G0 Character Set.
"G0 C-S US ASCII" US ASCII "G0 C-S BRITISH" British "G0 C-S FINNISH" DEC Finnish "G0 C-S FRENCH" French "G0 C-S FR/CAN" DEC French-Canadian "G0 C-S GERMAN" German "G0 C-S ISO ITAL" ISO Italian "G0 C-S JIS ROM" JIS Roman "G0 C-S DNOR/DAN" DEC Norwegian/Danish "G0 C-S ISO SPAN" ISO Spanish "G0 C-S SWEDISH" DEC Swedish "G0 C-S NOR/DAN" Norwegian/Danish "G0 C-S DUTCH" DEC Dutch "G0 C-S SWISS" DEC Swiss "G0 C-S PORTUG" DEC Portuguese "G0 C-S LEGAL" Legal "G0 C-S DEC SUPP" DEC Supplemental "G0 C-S SPEC.GRA" DEC Special Graphics "G0 C-S TECNICAL" DEC Technical "G0 C-S 7BIT HEB" DEC 7-Bit Hebrew "G0 C-S HEBR SUP" DEC Hebrew Supplemental "G0 C-S 8BIT GRES" DEC 8-Bit Greek Supplemental "G0 C-S 7BIT TUR" DEC 7-Bit Turkish "G0 C-S 8BIT TURS" DEC 8-Bit Turkish Supplemental "G0 C-S JIS KATA" JIS Katakana
II 2) User Preference Supplemental Character Set.
"UP C-S DEC SUPP" DEC Supplemental "UP C-S SPEC.GRA" DEC Special Graphics "UP C-S TECNICAL" DEC Technical "UP C-S 7BIT HEB" DEC 7-Bit Hebrew "UP C-S HEBR SUP" DEC Hebrew Supplemental "UP C-S 8BIT GRES" DEC 8-Bit Greek Supplemental "UP C-S 7BIT TUR" DEC 7-Bit Turkish "UP C-S 8BIT TURS" DEC 8-Bit Turkish Supplemental "UP C-S JIS KATA" JIS Katakana "UP C-S ISO LA-1S" ISO Latin-1 Supplemental "UP C-S ISO LA-2S" ISO Latin-2 Supplemental "UP C-S ISO LA-5S" ISO Latin-5 Supplemental "UP C-S ISO LA-9S" ISO Latin-9 Supplemental "UP C-S ISO HEBS" ISO Latin-Hebrew Supplemental "UP C-S ISO LAGRS" ISO Latin-Greek Suplemental "UP C-S ISO CYRS" ISO Latin-Cyrillic Supplemental
3) Automatic Carriage Return.
"AUTO CR YES" "AUTO CR NO"
4) Automatic Line Feed.
"AUTO LF NO" "AUTO LF YES"
III
5) Automatic Wrap.
"AUTO WRAP YES" "AUTO WRAP NO"
For what concerns the USER MACRO options:
- LINE SP. can assume the following additional values, selectable in all emulations: 2 LPI, 3 LPI, 4 LPI and 10 LPI.
- PITCH can assume the following additional values, selectable only when DEC PPL2 emulation is active: 6.6 CPI, 8.2 CPI, 9 CPI, 13.2CPI, 16.5CPI and 18 CPI.
IV
Addendum to 9065-9080-10300 Programmer Manual.
DDEECC PPPPLL22 QQuuiicckk RReeffeerreennccee
This section contains bas ic information on the DEC PPL2 command s supp orted in the Comp up rint 9065, 9080 and 10300 printer s.
The commands are listed by function, in the following order:
– Pos itioning Contr ols and Tabs
– Sheet size and margins
– Typ e size an d spacin g, man agin g imp licit cursor motion
– Font management and attri bute sel ecti on
– Selecting character sets
– Reports
– Miscellaneous
– Ba rcode pri nti ng
– Gr ap hics
This guid e is in ten ded for use in conjun ction with th e Digital Ansi-compliant Printing Protocol Level 2 Programming Reference Manual and the Digital Ansi-compliant Printing Protocol Level 2 Programming S upplement . These are referred to simpl y as the Progra mming Reference Ma nua l and the Programming Supplement, respectively.
1 Char acter s us ed in contr ol func tions ap pear in monos paced typ e. The following table exp lains some of the conventions used.
A pa ir of numb ers sepa ra ted by a slash (/) cha racter indicates Column/ Row nota ti on. This ti on refersnota to the locati on of a cha racter in a sta nda rd code ta ble, such as ASCI I.
Sp aces ap pear between char acter s in sequenc es for clar ity; they ar e not part of the format. Sp ace is designated as "SP " when it is part of the format of a command or sequenc e. The following conventions are used in the command listings:
Conventions
Code Description
ESC Esca pe (1/11), introduces an esca pe seq uence. CSI Control Sequence Introducer (9/11), introduces a control sequence. CSI can also be represented by the equi valent esca pe seq uence ESC [ (1/11 5/11) . DCS Device Control Stri ng (9/0), introduces a dev ice control stri ng . DCS can also be represented by the equi valent esca pe seq uence ESC P (1/11 5/0) ST Stri ng Termi nator (9/12) indicates the end of a control stri ng . ST can also be represented by the equi valent esca pe seq uence ESC \ (1/11 5/12) .
Pn Numeri c pa ra meter, or numb er of uni ts tha t speci fy a dista nce or quanti ty perta ini ng to the esca pe seq uence, control functi on or control stri ng .
Ps Selective parameter or one that identifies a list of options pertaining to the specific command. If ">" (3/14) or "?" (3/15) occurs at the beginning of a string of parameters, the following parameters are Digital private parameters. ">" or "?", if present must occur onl y once at the beginni ng of the pa ra meter stri ng .
I n In termedi ate cha racter - component of an esca pe seq uence, control seq uence or stricontrolng . F Fina l cha racter - component of an esca pe seq uence, control seq uence or control stri ng
2 Code Description
SP Space (2/0) C0 Contr ol Char acter s ar e given in figur e "Stand ar d 8-bit Code Table (Left Half)". C1 Contr ol Char acter s ar e given in figur e "Stand ar d 8-bit Code Table (Right Half)". In the 7-bit envir onment, C1 Contr ol Char acter s can be sent with an esca pe seq uence prov ided in the following ta bles. Both numeri c and sel ecti ve pa ra meters are interpreted as unsi gned deci ma l integers, with the most significant digit sent first. For instance, the value 16 is coded as "16" (3/1 3/6). Lead ing zer os ar e allowed but ar e ignor ed. Plus and mi nus signs are not al lowed.
Positioning Controls and Tabs
Mnemonic Function Command Remarks
BS Backspace 0/8 C0 Control Code CR Ca rri age Return 0/13 C0 Control Code FF For m Feed 0/12 C0 Control Code HT Horizontal Tab 0/9 C0 Control Code LF Line Feed 0/10 C0 Control Code VT Vertical Tab 0/11 C0 Control Code HTS Horizontal Tab Set, 8/8 C1 Control Code at current posi ti on 7-bit environment: ESC H IND Ind ex 8/4 C1 Control Code 7-bit environment: ESC D NEL Next Line 8/5 C1 Control Code 7-bit environment: ESC E 3 Mnemonic Function Command Remarks
PLD Par tial Line Down 8/11 C1 Control Code 7-bit environment: ESC K Adva nce pa per 1/12 in. PLU Par tial Line Up 8/12 C1 Control Code 7-bit environment: ESC L Reverse pa per 1/12 in. VTS Vertical Tab Set, at 8/10 C1 Control Code current posi ti on 7-bit environment: ESC J DECCAHT Clea r All Hori zonta l ESC 2
Tabs DECCAVT Clea r All Verti cal ESC 4
Tabs
DECSHTS Set Horizontal Tab CSI Pn ; ... ; Pn u P n = tabs top position (max. 16)
Stops
DECSVTS Set Verti cal Ta b CSI Pn ; ... ; Pn v P n = tabs top position (max. 16) Stops DE CHTS Horizontal Tab Set ESC 1 DECVTS Verti cal Ta b Set ESC 3
TBC Ta b Clea r CSI P s ; ... ; P s g P s=0: Clear hor iz. Tab at active position
P s=1: Clear ver t. tab at active position
P s=2 or 3: Clear all hor iz. tabs
P s=4: Clear all ver t. tabs
HP A Hori zonta l Positi on CSI Pn ' P n = position to move to Absolute
4 Mnemonic Function Command Remarks
HP R Hori zonta l Positi on CSI Pn a P n = posi ti on of columns down
Rel ati ve
VPA Verti cal Posi ti on CSI Pn d P n = position to move to
Absolute
VPR Verti cal Posi ti on CSI Pn e P n = number of lines down Rel ati ve
Sheet Size and Margins
Mnemonic Function Command Remarks
DECSLPP Set Lines per CSI Pn t P n = numb er of lines per pa ges
Phys ical Page
DECVPLA Set Ver tical Page CSI Pn1 ; Pn2 - u P n1 = Position of the origin from top of Length Alignment form (in 1/720 in.)
P n 2 = Pap er length (in 1/720 in.)
DECSLRM Set Left and Right CSI Pn1 ; Pn2 s P n1 = left mar gin
Ma rg ins P n2 = right margin
DECH PWA Set Page Width CSI Pn1 ; Pn2 " s P n1 = origin (in 1/12 in.)
Alignm en t P n2 = pa per width (in 1/12 in.)
DECST BM Set Top and Bottom CSI Pn1 ; Pn2 r P n1 = top margin
Ma rg ins P n2 = bottom margin
5 Type Size and Spacing, Managing Implicit Cursor Motion
Mnemonic Function Command Remarks DECAWM Autowrap Mode CSI ? 7 h Set autowr ap mod e CSI ? 7 l Reset autowrap mode DECCRN LM Ca rri age Return/ CSI ? 40 h CR acts as New Line Ne w Line Mode CSI ? 40 l CR acts as Ca rri age Return DECPSP Proportional CSI ? 27 h Sets proporti ona l spa cing mode Spa cing Mode CSI ? 27 l Resets proporti ona l spa cing mode
DECSHORP Set Hori zontal CSI Ps w P s = 0: 10 CPI P s = 8: 8.25 CPI
Pitc h P s = 1: 10 CPI P s = 9: 15 CPI
P s = 2: 12 CPI P s = 11: 17.1 CPI
P s = 3: 13.2 CPI P s = 12: 8.55 CPI
P s = 4: 16.5 CPI P s = 13: 18 CPI
P s = 5: 5 CPI P s = 14: 9 CPI
P s = 6: 6 CPI P s = 15: 10 CPI
P s = 7: 6.6 CPI P s = 16: 20 CPI
DECVERP Set Verti cal Pi tch CSI Ps z P s = 0: 6 LPI
P s = 1: 6 LPI
P s = 2: 8 LPI
P s = 3: 12 LPI
P s = 4: 2 LPI
P s = 5: 3 LPI
P s = 6: 4 LPI
P s = 7: 10 LPI
P s = 10: same as PS =1
P s = 21: 4 LPc m*
P s = 22: 2 LPc m
P s = 23: 1 LPc m
P s = 10-17 same as 0-7; 21-23 same as 31-33
6 Mnemonic Function Command Remarks
GSM Gr ap hic Size CSI Pn 1 ; P n1 = 100: Nor mal height char acter s
Modi ficati on Pn 2 SP B P n1 = 200: Double height
P n1 = 300: Tr iple height P n1 = 400: Quad ruple height P = 100: Nor mal wid h ch acter s n2 t ar P n2 = 200: Double wid th P = 300: Tr iple wid th n2 P n2 = 400: Quad ruple wid th LNM Line Feed/New CSI 2 0 h LF acts as new line. Line Mode CSI 2 0 l LF acts as line feed. * LPcm = Lines per centimeter
Font Management and Attribute Selection
Mnemonic Function Command Remarks
SGR Select Graphic CSI Ps m P s = 10 : Cour ier
Rendition P s = 11 : Courier
Se lecting Font P s = 12 : Gothic
P s = 13 : Pr estige
P s = 14 : Script
P s = 15 : Cour ier
P s = 16 : Presentor
P s = 17 : Optional card font (not available)
P s = 18 : OCR -A
P s = 19 : OCR -B
P s = ?12 : Data Block
7 Font Management and Attribute Selection (cont.)
Mnemonic Function Command Remarks
SGR Select Graphic CSI Ps m P s = 0: Turn off all attri butes, sta nda rd and pri vate
Rendition - P s = 1: Bold on
Se lecting P s = 3: Slant on
Attrib utes P s = 4: Un derlin e on; double un der lin e off
P s = 9: Strike-through on
P s = 21: Double underline on, underline off
P s = 22: Bold off
P s = 23: Slant off
P s = 24: Any und er line off
P s = 29: Strike-through on
P s = 30: Print Text in blac k
P s = 31: Print text in red
P s = 32: Print text in green
P s = 33: Pr in t text in yellow
P s = 34: Print text in blue
P s = 35: Print text in magenta
P s = 36: Print text in cyan
P s = 37: Print text in "white" (no printing)
P s = 39: Print text in blac k
P s = 53: Overline on
P s = 55: Over line off
P s = ?0: All pri vate attri butes off
P s = ?4: Superscri pt on, sub scri pt off
P s = ?5: Sub scri pt on, superscri pt off
P s = ?6: Overline on
P s = ?24: Superscri pt and sub scri pt off
P s = ?26: Over line off 8 Mnemonic Function Command Remarks
DECDLD Download Font DCS See the Programming Reference Manual parameter_string { D ... D ST
DECDEN Pr inting CSI Ps " z P s = 0 or 1: Select draft
Density P s = 2: Selec t letter quality
Selection P s = 3: Select best draft
P s = 4: Selec t near letter quality
P s = 5: Select high speed draft
Selecting Character Sets
Mnemonic Function Command Remarks
ASCEF Announce ESC SP L ASCII in G0 and GL. Subset of Code ESC SP M ISO Latin-1 in G1 and GR. Extensi on ESC SP N Sa me as ESC SP L
Fac ilities ASCII in G0 and GL.
DECAU PSS Ass ign User DCS P s ! u D ... P s = 0: 94-char .set
Preference D ST P s = 1: 96-char .set Supplemental D ... D:SCS designating sequenc e. Set SS2 Single Shift 2 C1 Control Code Take the next char acter from G2 7-bit envir onment: ESC N SS3 Single Shift 3 C1 Control Code Take the next char acter from G3 7-bit environment: ESC O LS0 Locking Shif t 0 SI Invok e G0 into GL (or Shi ft In )
9 Mnemonic Function Command Remarks
LS1 Locking Shif t 1 SO Invok e G1 into GL (or Shift Out) LS2 Locking Shif t 2 ESC n Invok e G2 into GL LS3 Locking Shif t 3 ESC o Invok e G3 into GL LS1 Locking Shif t 1 ESC ~ Invoke G1 into GR
Right LS2 Locking Shif t 2 ESC } Invoke G2 into GR
Right LS3 Locking Shif t 3 ESC | Invoke G3 into GR Right
SCS Select Character Set ESC I 1 I 2 F I1 = "(": Invoke 94-char .set into G0
I 1 = ")": Invoke 94-char .set into G1
I1 = "*": Invoke 94-char .set into G2
I1 = "+": Invoke 94-char .set into G3
I 1 = "-": Invoke 96-char .set into G1
I 1 = ".": Invoke 96-char .set into G2
I 1 = "/": Invoke 96-char .set into G3
I 2F = final char acter s from "SCS Final Char acter s".
10 SCS Final Characters
Character Set I2 F Designator Characters 94-Character Sets Britis h A 4/1 ASCII B 4/2 DE C Dutc h 4 3/4 DE C Finnis h 5 3/5 Fr enc h R 5/2 DE C Fr enc h-Canadian 9 3/9 Germ an K 4/11 DE C Hebr ew Sup plemental "4 2/2, 3/4 DE C 7-Bit Hebr ew %= 2/5, 3/13 ISO Italian Y 5/9 Legal %4 2/5, 3/4 JIS Katak ana I 4/9 JIS Roman J 4/10 DEC Nor wegian/Danish 6 3/6 ISO Sp anis h Z 5/10 DE C Swed ish 7 3/7 DE C Swis s = 3/13 Nor wegian/Danish ' 6/0 DE C Sup plemental %5 2/5, 3/5 DE C Technic al > 3/14 DE C Sp ecial Gr ap hics 0 3/0 DE C Por tugues e %6 2/5, 3/6 11 SCS Final Characters (cont.)
Character Set I2 F Designator Characters 94-Character Sets DE C 7-Bit Tur kish %2 2/5, 3/2 DE C 8-Bit Tur kish Sup plemental %0 2/5, 3/0 DE C 8-Bit Gr eek Sup plemental "? 2/2, 3/15
User Preference Supplemental < 3/12 Download Char acter Set SP@ 2/0, 4/0
User Preference Supplemental I2 F Designator Characters 96-Character Sets ISO Latin-1 Supplemental A 4/1 ISO Latin-2 Supplemental B 4/2 ISO Latin-Greek Supplemental F 4/6 ISO Latin-Hebrew Supplemental H 4/8 ISO Latin -Cyrillic Su pp lemen tal L 4/12 ISO Latin- 5 Sup plemental M 4/13 ISO Latin- 9 Sup plemental (*) b 6/2 User Preference Supplemental < 3/12 Dowload ed Char acter Set SP@ 2/0, 4/0
(*) Contains the Euro Symbol
12 SCS Final Characters for Fallback Character Sets
Character Set Conventions F Designator Character Fallbac k to DE C Finnis h C 4/3 Fallbac k to DE C Fr enc h Canad ian Q 5/1 Fallbac k to DE C Nor wegian/Danis h E 4/5 Fallbac k to DE C Swed ish H 4/8
Reports
Mnemonic Function Command Remarks
DA Devic e CSI Ps c Req uest Device Attri butes Report. Attributes Ps mus t be 0.
DAR Devi ce ESC [ ? P s1; P s2 ; ... ; P s1 = 72
Attributes P sn c (pri nter to host) P s2-P sn describe extensions. See the Report Programming Supplement.
DA2 Secondary CSI > P s c P s mus t be 0. Devic e Attributes
DA2R Secondary ESC [ > P s1 ; P s2 ; P s3 ; P s1 = 69
Devic e P s4 ; P s5 c (pri nter to P s2 = firmw are rev ision x 10
Attributes host) P s3 = 0 (or 1 reserved )
Report P s4 = 20
P s5 = firmw are edi t rev ision
13 Reports (cont.)
Mnemonic Function Command Remarks
DECLAN S Loa d DCS Ps1 v Messa ge is Hex . encoded. ANSWERBACK encoded_mess_string
without Password ST
DECLAN S Loa d DCS Ps1;Pn2 ;Pn3 v P s = 1 : No passwor d - Do not stor e ANSWERBACK encoded_mess_string messa ge.
with Passwor d ST P s = 2: No pa ssword - Store messa ge:
P s = 3: Password – Store
P n2: Old pa ssword
P n3: New pa ssword Defa ul t pa ssword: 0 Pas sword range: 0 - 9999 ENQ Send 0/5 C0 Cont rol Code ANSWERBACK
Messa ge
DECRFS Request Font CSI Ps " { P s mus t be 3 Status
DSR Device Status CSI Ps n P s = 0 or 5: Reques t extend ed DSR
Req uest P s = ?1: Disa ble unsol icited reports
P s = ?2: Enable br ief uns olicited reports, send extended report
P s = ?3: Enable/send extended unsolicited reports (Not supported)
DSR Devic e Status Brief: CS I Ps n P s = 0: No errors
Report Extended: brief, P s = 3: Error
followed by CS I ? Pn1 See the Programming S upplement
; Pn2 ; ... ; Pnn n for extended report.(Not supported) 14 Miscellaneous
Mnemonic Function Command Remarks
BEL Bel l 0/7 C0 Control Code
DECSCL Select Conformance CSI Ps1 " p P s = 0: reset native level
Level P s = 71: reset - DEC PPL1
P s = 72: reset - DEC PPL2 DECSTR Soft Termi nal Reset CSI ! p Reset to in itial state RIS Reset to in itial state ESC c Reset to in itial state DECIPEM IBM Pr oprinter CSI ? 58 h Depreca ted functi on Protocol Mode CSI ? 58 l ROCS Return from Other ESC % @ Retur n to DEC PPL2 mod e Coding System SOCS Select Other Coding ESC % = IBM Proprinter Protocol System ESC % SP 2 EPSON Protocol CRM Control CSI 3 h Print hex representa tion for all
Representati on char acter s (Not supported) Mode CSI 3 l Reset (Not supported)
DECFN VR2 Loa d Fa ctory NVR CDS P s ; P s2 “ P s1 = 0: omitted, default
Settings s data_string P s1 = 1: Stor e curr ent state (data ignor ed)
ST P s1 = 2: Modify with following data, stor e
P s1 = 3: Loa d NVRAM, modi fy, store
P s1 = 4: Load Fac tory Defaults, mod ify, stor e
P s2 = 0: omitted, default
P s2 = 1: da ta is ASCI I encoded setup P s1 ;
P s2 ; ... ; P si ; ...
P si: index of the value for pa ra meter i
P si = 0 or omitted: leave unchanged (Not supported) 15 Miscellaneous
Mnemonic Function Command Remarks
DECASFC Automa ti c Sheet CSI P s ! v P s = 0: No cha nge, eject pa per
Feeder Control P s = 1-3: Tr ay n (reser ved )
P s = 4: Fr ont1 Tr actor feed ing
P s = 5: Fr ont2 Tr actor feed ing
P s = 99: No cha nge, eject pa per
DECSITF Selec t Inp ut Tr ay CSI P s1 ; P s2 ; P s 1 = 0: Dis able all comp osite inp ut tr ays
Failover ... ; P sn SP w P s 1 = 1: Define comp osite tr ay n
P s2-P sn = n: Add tray n to the composite definition (Not supported)
DECPHGC Prin thea d Gap CSI P s - s P s = 0: Automatic Gap Control (AGC)
Control P s = 1-5: Pr ogrammable Copy Control mode (PCC) - numb er of copies (Not supported) DE CUPM Un idir ection al Pr in t CSI ? 41 h Sel ects uni directi ona l pri nti ng Mode CSI ? 41 l Selects bi-directional printing SnC1R C1 Transmit ESC SP 6 Pr ocess 7-bit, drop 8th but /DEC*C1 /Receive ESC SP 7 Pr ocess 7-bit and 8-bit ESC SP F Tr ans mit 8-bit as 7-bit equivalents (not supported) ESC SP G Transmi t 8-bit (not supported)
16 Barcode Printing
Mnemonic Function Command Remarks
DECBAR Sta rt or Stop ESC % SP 0 Star t bar code. Ba r Codes ESC % @ Stop bar code.
DECSBCA Sel ect Ba r Code CSI P s1 ; P s2 ; … ;
Attributes P s9 ‘ q Parameter Description Value
P s1 Bar Code Sys tem 0, 2: Code 3 of 9 1: Inter leaved 2 of 5 4: EAN 8 5: EAN 13 7: Codabar a/t 8: Codabar b/n 9: Codabar c/* 10: Codabar d/e 11: UPC-A 12: UPC-E 13: Pos tnet 14: Ind ustrial 2 of 5 15: Code 93 16: MSI mod 10/10 17: Code 128 (EAN 128) 18: Matr ix 2 of 5
P n2 Width of narrow Sup ported values : 8 to 45 (default = 10) bars in deci points Not ap plicable to UPC , EAN an d Pos tnet systems.
17 Barcode Printing (cont.)
Mnemonic Function Command Remarks Parameter Description Value
P n3 Width of qui et Sup ported value: 180.
zones in deci points
P n4 Width of wide For EAN , UPC, supported values are in bars in deci points rangethe 20 to 158 (default is 25).
P n4 is not us ed for Code 93, MSI 10/10 and Code 128 systems .
Pos tnet bar code style is fixed to 0,0217" for bar s and to 0,0255" for spaces. Pitc h is 21,18
bar s/inc h.
P n5 Ignored
P n6 Hei ght of bars in Min = 60 deci points Max = 2400
Default = 120
P n7 Ignored
P n8 Ori entati on 0, 1 or none : Hori zontal symbol from left to right (portrait) 3: Vertical symbol from bottom to top (land scape - not ap plicable for EAN 8 & 13, UPC A & E
P s9 Human Read able 0, 1: No HRC Char acter s 2, 3, 4: Prin t HRC in OCR B Ignor ed for Pos tnet
18 Notes on Barcode Printing
After pri nti ng bar code, appropri ate posi ti oni ng control comma nds, must be sent to pri nt addi ti ona l barcode stri ng s, tex t or graphi cs.
In the following examples, HPA Pn command positions the Active Position at column Pn, VPA Pn command positions the Active Position at line Pn.
1. Two barcodes Code 39 on the same line: DECSBCA CSI 0;;;;;;;;'q DECBAR(sta rt) da ta DECBAR(stop) HPA Pn ESC % SP0 da ta ESC % @ CSI Pn ‘ DECBAR (sta rt) da ta DECBAR (stop) ESC % SP0 da ta ESC % @
2. Two barcodes Code 39 on the same line: DECSBCA CSI 0;;;;;;;;'q DECBAR(sta rt) da ta DECBAR(stop) VPA Pn ESC % SP0 da ta ESC % @ CSI Pn d DECBAR (sta rt) da ta DECBAR (stop) ESC % SP0 da ta ESC % @
19 Sixel Graphics Device Control String Envelope
Mnemonic Function Command
DCS String Introducer
Ps1; Pn2 ; Pn3 q Protocol Selector P s1: ma cro pa ra meter, sel ect hori zonta l grid size and pixel aspect ratio. See Table D-12.
P s2: ignored.
P n3 : horizontal gri d size - overri des P s1 for horizontal gri d size - aspect rati o unchanged. See Table D-13. sixel data Picture da ta In cludes sixel pri nta ble cha racters and sixel control codes. See Table D-14. ST Stri ng Termi nator Exi t Sixel Graphi cs mode and return to tex t mode.
TABLE D-12 Sixel Graphics Protocol Selector Ps1
Ps1 Value Horizontal Grid Size (inches) Aspect Ratio (Vert:Hor)* 0, 1 or none 1/144 2 2 1/360 5 3, 4 1/180 2.5 5, 6, 7, 8 1/144 2 9 1/72 1 > 9 1/144 2
* Vertical Gr id Size = 1/72 inc h, unles s mod ified by P n3 or DECGRA.
20 TABLE D-13 Sixel Graphics Grid Size defined by Pn3
Pn 3 Value HGS:VGS (dpi) by Aspect Ratio (defined by Ps1) 1:1 2:1 2.5:1 5:1
0 or none No cha nge to HG S and VGS defi ned by P s1 1, 2 360:360 360:180 360:144 360:72 4 3, 180:180 180:90 180:72 180:36 6, 7 5, 144:144 144:72 180:72 180:36 9 8, 90:90 90:45 90:36 180:36 - 15 10 72:72 72:36 90:36 180:36 19 16, 45:45 72:36 90:36 180:36 > 20 36:36 72:36 90:36 180:36
TABLE D-14 Sixel Graphics Control Codes
Mnemonic Function Command Remarks
DECG RA Set Raster " (2/2) Defines the pixel aspect ra ti o. Followed by pa ra meters Attributes P n1 ; P n2 ; P n3; P n4 P n1: Pixel aspect ra ti o numera tor (A) P n2: Pixel aspect ra ti o denomi na tor (R), where 0 < A/R < 1.5 corr espond s to 1:1 1.5 < A/R << 2.25 corr espond s to 2:1 2.25 < A/R << 3.75 corr espond s to 2.5:1 3.75 < A/R corresponds to 5:1
P n3 and P n4 : ignored
DECGRI Gra phi cs ! (2/1) Followed by a nu mer ic valu e P n and a sixel data to be
Repea t repea ted P n times. Introducer
21 Mnemonic Function Command Remarks DECGCR Gra phi cs $ (2/4) Returns acti ve posi ti ons to graphi cs left ma rg ins Ca ge rri a Return DECGN L Gra phi cs - (2/13) Returns acti ve posi ti on to graphi cs left ma rg in on Next Line th e followin g lin e DECGCI Gr ap hic s # (2/3) Assi gns a color to a color numb er or sel ects a Color predefi ned color numb er. In troducer Followed by pa ra meters
P c ; P u ; P x ; P y; P z
P c: Color number (0-255)
P u: Universa l coordi nate system sel ector: 1=HLS, 2=RGB
P x, P y, P z: color coordi na tes. Parameter 0-9 (3/0) - (3/9) Numeri c pa ra meters - used on the above control Char acter s codes Parameter ; (3/11) Separates parameters - used on the above control Separator codes Sixel Data (3/15 – 3/14) Sixel printable char acter s. The pri nter sub stra cts the offset (3F hex adeci ma l) from the received code, assigning each of the rema ining low- order six bits to a grid posi ti on: LSB = top pixel MSB = bottom pixel Examp les: ? (3/15): blank char acter @ (4/0): pri nt onl y top pixel A (4/1) : pri nt second-from-top pixel ~ (7/15): print one full column
22 Standard 8-bit Code Table (Left Half)
23 Standard 8-bit Code Table (Right Half)
24 Designating and Invoking Character Sets
25 National Replacement Character sets
Location US National Replacement Character Sets ASCII British DEC French DEC French- German ISO JIS Finnish Canada Italian Roman 2/3 # £ £ £ 4/0 @ à à § § 5/11 [ Ä ° â Ä º 5/12 \ Ö ç ç Ö ç ¥ 5/13 ] Å § ê Ü é 5/14 ^ Ü î 6/0 ' é ô ù 7/11 { ä é é ä à 7/12 | ö ù ù ö ò 7/13 } å è è ü è 7/14 ~ ü tr ema û ß ì _
26 Location US National Replacement Character Sets
ASCII DEC Norw.- ISO DEC Norw.- DEC DEC DEC Portu- Danish Spanish Swedish Danish Dutch Swiss guese 2/3 # £ £ ù 4/0 @ Ä § É 3/4 à 5/11 [ Æ ¡ Ä Æ ÿ é Ã 5/12 \ Ø Ñ Ö Ø 1/2 ç Ç 5/13 ] Å ¿ Å Å | ê Õ 5/14 ^ Ü Ü î 5/15 _ è 6/0 ' ä é ô 7/11 { æ ° ä æ tr ema ä ã 7/12 | ø ñ ö ø f ö ç 7/13 } å ç å å 1/4 ü õ 7/14 ~ ü ü ' û
27
DEC Chaaraactter Sett TTaables
28
29
30
31
32
33
34
35
36
37
38
39
40
41 ISO Latin 9
42