Select your printer model

Parameters are refined by the selected printer.
  • EU-m30
  • TM-J2000
  • TM-J2100
  • TM-L90
  • TM-L90 LFC
  • TM-L100
  • TM-m10
  • TM-m30
  • TM-m30II
  • TM-m30II-H
  • TM-m30III
  • TM-m30III-H
  • TM-m30II-NT
  • TM-m30II-S
  • TM-m30II-SL
  • TM-m50
  • TM-m50II
  • TM-m50II-H
  • TM-P20
  • TM-P20II
  • TM-P60
  • TM-P60II
  • TM-P80
  • TM-P80II
  • TM-T20
  • TM-T20II
  • TM-T20III
  • TM-T20IIIL
  • TM-T20X
  • TM-T70
  • TM-T70II
  • TM-T81III
  • TM-T82II
  • TM-T82III
  • TM-T82IIIL
  • TM-T82X
  • TM-T83III
  • TM-T88IV
  • TM-T88V
  • TM-T88VI
  • TM-T88VII
  • TM-T90
  • TM-T100
  • TM-U220
  • TM-U220II
  • TM-U230

GS Q 0   [obsolete command]


[Name]

Print variable vertical size bit image

[Format]

ASCII
   
GS
  
Q
  
0
  
m
  
xL
  
xH
  
yL
  
yH
  
d1...dk
Hex
1D
51
30
m
xL
xH
yL
yH
d1...dk
Decimal
29
81
48
m
xL
xH
yL
yH
d1...dk

[Range]

m = 0 – 3, 48 – 51
(xL + xH × 256) = 1 – 4256
(yL + yH × 256) = 1 – 16
d = 0 – 255
k = (xL + xH × 256) × (yL + yH × 256)

[Description]

Prints a variable vertical size bit image using the mode specified by m, as follows:
m
Mode
Scaling for horizontal
Scaling for vertical
0, 48
Normal
× 1
× 1
1, 49
Double-width
× 2
× 1
2, 50
Double-height
× 1
× 2
3, 51
Quadruple
× 2
× 2
  • xL, xH specifies (xL + xH × 256) dots in horizontal direction for the bit image.
  • yL, yH specifies (yL + yH × 256) bytes in vertical direction for the bit image.
  • d specifies the bit image data (column format).
  • k indicates the number of the bit image data. k is an explanation parameter; therefore, it does not need to be transmitted.

[Recommended Functions]

This command is supported only by some printer models and may not be supported by future models.
It is recommended to use graphics function (GS ( L   <Function 50> and GS ( L   /   GS 8 L   <Function 113> ). The graphics functions are better than GS Q 0 for the following reasons:
  • Selecting a color for printing is possible.
  • Selecting a size in dot units is possible.

[Notes]

  • In Standard mode, this command is effective only when data is not in the print buffer and the printer is at the beginning of the line.
  • This command processes k bytes data of d1...dk as a bit image data. Data (d) specifies a bit printed to 1 and not printed to 0.
  • If a variable vertical bit image that exceeds the print area for a line is specified, the excess image data is ignored.
  • The scales for width and height of NV bit images are specified by m. Therefore, in Page mode with 90° or 270° clockwise-rotated NV bit image, the printer applies print area and dot density from [width: direction of paper feed, height: perpendicular to direction of paper feed].
  • Character size and all print modes such as emphasize, underline, 90° clockwise rotation, or upside-down, do not affect printing of a variable vertical size bit image data.
  • This command feeds paper for the amount needed for printing a variable vertical bit image regardless of the paper feed setting set by paper feed setting commands.
  • This command cannot be included in a macro definition. Do not use this command when defining a macro.
  • After printing a variable vertical bit-image, normal data processing is started. The print postion is moved to left side of the printable area. Also, the printer is in the status "Beginning of the line".
  • Relationship between bit-image data and printing result is as follows:
  • Graphic
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

ESC/POS® includes patented or patent pending commands. The contents must not be disclosed to third parties.


ESC/POS® Command Reference for TM Printers

Jump to the top