
Chapter 3: Programming Commands92
Select printing position of HRI characters
ASCII GS H n
Hexadecimal 1D 48 n
Decimal 29 72 n
Value of n: Printing position
0 = Not printed
1 = Above the bar code
2 = Below the bar code
3 = Both above and below the bar code
Default: 0 (Not printed)
PrintsHRI(humanreadableinterface)charactersaboveorbelowthebarcodeusingthepitchspeciedby1D66.Setting
iseffectiveuntiltheprinterisinitialized,reset,orpoweredoff.
Select pitch of HRI characters
ASCII GS f n
Hexadecimal 1D 66 n
Decimal 29 102 n
Value of n: 0, 48 = Standard Pitch at 15 CPI
1, 49 = Compressed Pitch at 20 CPI
Default: 0 (Standard Pitch at 15 CPI)
Selectsstandardandcompressedfontforprintingbarcodecharactersusing1D48n(seeabove).
Select bar code height
ASCII GS h n
Hexadecimal 1D 68 n
Decimal 29 104 n
Value of n: Number of dots
Range of n: 1–255
Default: 216
Setsthebarcodeheightto(n/154inch).
Print bar code
First Variation Second Variation
ASCII GS k m d1…dk NUL GS k m n d1…dn
Hexadecimal 1D 6B m d1…dk 00 1D 6B m n d1…dn
Decimal 29 107 m d1 dk 0 29 107 m n d1…dn
(0 = End of command)
SelectsthebarcodetypeandprintsabarcodefortheASCIIcharactersentered.Ifthewidthofthebarcodeexceedsone
line,thebarcodeisnotprinted.
Therearetwovariationstothiscommand.TherstvariationusesaNULcharactertoterminatethestring;theseconduses
alengthbyteatthebeginningofthestringtocompensateforthecode128barcode,whichcanacceptaNULcharacteras
partofthedata.Withthesecondvariation,thelengthofbyteisspeciedatthebeginningofthestring.
Barcodescanbealignedleft,center,orrightusingthealignpositionscommand(1B61).
ThecheckdigitiscalculatedforUPCandJAN(EAN)codesifitisnotsentfromthehostcomputer.Six-characterzero-
suppressedUPC-Etagsaregeneratedfromfull11or12characterssentfromthehostcomputeraccordingtostandard
UPC-Erules.Start/stopcharactersareaddedforcode39iftheyarenotincluded.
Continued ...
Comentarios a estos manuales