Programming 49
Software Command Syntax
ESC B C |
| Barcode Clear |
1B 42 43 n1 | hex | |
27 66 67 n1 | decimal |
|
Clears the bar code field reserved by command <ESC>BS.
.
nSpecifies which bar code field to clear. The range is 0 to 15. The fields may be cleared in any order.
ESC | n1 | nx |
| Barcode print (PDF 417) | |
1B | 7C | n1 | nx | Hex | |
027 | 124 | n1 | nx | Decimal |
|
This command positions and prints a PDF 417 2D barcode.
Note • PDF 417 requires special firmware in the printer. See Firmware on page 116.
n1 | Specifies the type of bar code. The following types are supported: |
|
|
n1 = 5 | PDF417 |
|
|
n2n3 | Specifies the |
| significant byte (MSB). n3 is the least significant byte (LSB). |
|
|
n4n5 | Specifies the |
| discarded in variable document mode. n4 is the most significant byte (MSB). |
| n5 is the least significant byte. (LSB). |
|
|
n6 | Rows of barcode data. The valid range is 0 for automatic row calculation or |
| |
n7 | Columns of barcode data. The valid range is 0 for automatic column |
| calculation or |
|
|
n8 | Specifies the error correction level for the PDF417 barcode. The valid range is |
| 0 for automatic calculation or |
| ErrorLevel 8, respectively). |
|
|
n9 | Specifies in pixels the height of each row of the barcode. |
|
|
n10 | Specifies the scaling factor of the barcode |
|
|
n11n12 | Specifies the length of the data to follow. |
| Both n11 and n12 are specified as 0. The data field (n13...nx) is terminated by |
| a null. |
| If n11 and n12 are |
| follows. The valid range for this parameter is 0 (which species the null |
| terminated behavior) and 1 to 2710. Even when using the null terminated |
| behavior, you cannot specify more than 2710 bytes (not including the |
| terminating null). |
|
|
n13...nx | Byte data to be encoded. Data must be |
| must be the length specified by n11 and n12 otherwise. |
|
|
09/14/2009 | TTP 2000 Technical Manual |