GS v 0 m xL xH yL yH d1...dk
[Name] | Printing of raster bit image |
|
|
|
|
|
|
|
| ||||||
[Format] | ASC II |
| GS | v | 0 | m | xL | xH | yL | yH | d1...dk | ||||
| Hex |
|
|
| 1D | 76 | 30 | m | xL | xH | yL | yH | d1...dk | ||
| Decimal | 29 | 118 | 48 | m | xL | xH | yL | yH | d1...dk | |||||
[Range] | 0 | m |
| 3, 48 | m | 51, 0 |
| xL | 255, 0 | xH | 255, | ||||
| 0 | yL |
| 255, 0 | yH | 8, 0 |
|
| d | 255, |
|
|
|
| |
| k=(xL+xH x 256) x (yL+yH x 256), however, k | 0 | |||||||||||||
[Description] | Prints raster bit images in mode | m . |
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
| |||
| m |
|
|
| Mode Name |
|
| Dot Density in |
| Dot Density in | |||||
|
|
|
|
| Vertical Direction |
| Horizontal Direction | ||||||||
|
|
|
|
|
|
|
|
|
| ||||||
| 0,48 |
|
| NORMAL MODE |
|
|
| 203 DPI |
|
| 203 DPI | ||||
| 1,49 |
| DOUBLE WIDTH MODE |
|
|
| 203 DPI |
|
| 101 DPI | |||||
| 2,50 |
| DOUBLE HEIGHT MODE |
|
| 101 DPI |
|
| 203 DPI | ||||||
| 3,51 |
| QUADRUPLE SIZE MODE |
|
| 101 DPI |
|
| 101 DPI | ||||||
| xL, xH specify the number of data in horizontal direction of the bit | ||||||||||||||
| image to (xL+xH x 256) bytes. |
|
|
|
|
|
| ||||||||
| yL, yH specify the number of data in vertical direction of the bit | ||||||||||||||
| image to (yL+yH x 256) bytes. |
|
|
|
|
|
| ||||||||
[Details] | In STANDARD MODE, this command is valid only when there is no | ||||||||||||||
| print data in the print buffer. |
|
|
|
|
|
|
|
| ||||||
| Any of the print modes (Character size, emphasis, double strike, | ||||||||||||||
| inverting, underlining, | ||||||||||||||
| affect the raster bit image. |
|
|
|
|
|
|
|
| ||||||
| If the print area specified by GS L and GS W is narrower than a | ||||||||||||||
| minimum width, the print area for that line only is extended to the | ||||||||||||||
| minimum width. The minimum width is one dot in NORMAL | ||||||||||||||
| MODE (m=0, 48) and DOUBLE HEIGHT MODE (m=2,50), and 2 | ||||||||||||||
| dots in DOUBLE WIDTH MODE (m=1, 49) and QUADRUPLE SIZE | ||||||||||||||
| MODE (m=3, 51). |
|
|
|
|
|
|
|
|
| |||||
| Any part of data that is out of the print area is only read and | ||||||||||||||
| discarded in units of dot. |
|
|
|
|
|
|
|
| ||||||
| The setting of ESC a (Aligning characters) are also valid for the | ||||||||||||||
| raster bit image. |
|
|
|
|
|
|
|
|
|
| ||||
| If this command is executed during macro definition, the macro | ||||||||||||||
| definition is suspended, and the processing of the command | ||||||||||||||
| starts. The macro is left undefined. |
|
|
|
|
| |||||||||
| d denotes defined data. Dots to be printed are specified as | ||||||||||||||
| 1 | and those not to be printed as | 0 . |
|
|
|
| ||||||||
[Example] | When xL+xH x 256= 64: |
|
|
|
|
|
|
|
|
|
| (XL + xH x 256)x 8 dot=512 dot |
| ||||||
1 |
| 2 |
| 3 |
|
| 62 | 63 | 64 |
65 |
| 66 |
| 67 |
|
| 126 | 127 | 128 YL + yH x 256 dot |
|
|
|
|
|
|
| K | ||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
MSB |
|
|
|
|
|
| LSB |
|
|
GS h n
[Name] | Define downloaded bit image | |||
[Format] | ASCII | GS | h | n |
| Hex | 1D | 68 | n |
| Decimal | 29 | 104 | n |
[Range] | 1 n | 255 |
|
|
[Description] | Selects the height of the bar code. | |||
| n specifies the number of dots in the vertical direction. | |||
[Details] | N = 162 |
|
|
|
[See Also] | GS k |
|
|
|
(1)GS k m d1...dk NUL
(2)GS k m n d1...dn
[Name] | Print the bar code |
|
|
|
| |
[Format] | (1) ASCII | GS | V | m | d1...dk | Nul |
| Hex | 1D | 6B | m | d1...dk | 00 |
| Decimal | 29 | 107 | m | d1...dk | 0 |
| (2) ASCII | GS | k | m | n | d1...dn |
| Hex | 1D | 6B | m | n | d1...dn |
| Decimal | 29 | 107 | m | n | d1...dn |
[Range] | (1) 0 | m | 6 (k and d depends on the bar code system used) |
| ||||||||
| (2) 65 | m | 73 (n and d depends on the bar code system used) | |||||||||
[Description] | Selects a bar code system and prints the bar code. m selects a bar | |||||||||||
| code system as follows: |
|
|
|
|
|
|
| ||||
| For (1) : |
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
| ||||||
| m | Bar Code System | Number of Characters | Remarks |
|
| ||||||
| 2 | JAN13 (EAN13) | 12 | k | 13 | 48 | d | 57 |
|
| ||
| 3 | JAN 8 (EAN8) | 7 | k | 8 | 48 | d | 57 |
|
| ||
| 4 |
| CODE39 | 1 |
| k | 48 | d | 57, 65 | d | 90, | |
|
|
| 32, 36, 37, 43, 45, 46, 47 | |||||||||
|
|
|
|
|
|
|
| |||||
| For (2) : |
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
| |||||
| m | Bar Code System | Number of Characters | Remarks |
|
|
| |||||
| 67 | JAN13 (EAN13) | 12 | k | 13 | 48 | d | 57 |
|
| ||
| 68 | JAN 8 (EAN8) | 7 | k | 8 | 48 | d | 57 |
|
| ||
| 69 |
| CODE39 | 1 | k | 255 | 48 | d | 57, 65 | d | 90, | |
|
| 32, 36, 37, 43, 45, 46, 47 | ||||||||||
|
|
|
|
|
|
|
| |||||
| 73 |
| CODE128 | 2 | k | 255 | 0 | d | 127 |
|
| |
[Details] | For (1): |
|
|
|
|
|
|
|
|
| ||
| This command ends with a NUL code. |
|
|
|
|
|
When the bar code system used is JAN13 (EAN13), the printer prints the bar code after receiving 13 bytes bar code data and processes the following data as normal data.
When the bar code system used is JAN8 (EAN8), the printer prints the bar code after receiving 8 bytes bar code data and processes the following data as normal data.