7197 Series II Owner’s Guide Chapter 6: Commands
August 2011
160
Select Bar Code Width
ASCII: GS w n
Hexadecimal: 1D 77 n
Decimal:
29 119 n
Value of n:
1, 2, 3, 4, 5
Default:
3 for receipt
Sets the bar code width to n dots.
Formulas:
n + 1/8 mm (n + 1/203 inch) for receipt.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H77) & Chr$(n)
Caution :
When selecting a bar code width of 1 the readability rate is impacted.
QR Code: Select the model
ASCII: GS ( k pL pH cn fn n1 n2
Hexadecimal: 1D 28 6B pL pH cn fn n1 n2
Decimal:
29 40 107 pL pH cn fn n1 n2
Values of
pL,pH:
pL, pH specify (pL + pH × 256) as the number of
bytes after pH (cn, fn, and [parameters]). (pL +
pH × 256) = 4 So (pL = 4, pH = 0)
Value of cn:
49
Value of fn:
65
Value of n1:
49= Selects model 1 Code conversion
processing
50= Selects model 2 conversion processing.
200= Select Micro QR Code.
Value of n2:
0
Default:
n1 = 50, n2 = 0