Technical data
Table Of Contents
- 0. i Cover B
- 0. i Copyright B
- 0. i TOC B
- 1. i Introduction B
- 2. i Programming Concepts B
- 3. i Code Quick Reference B.backup
- 4. i Standard Command Codes B
- 5. i Optional Command Codes B
- 6. i Bi-Directional Communications B
- 7. i Appendix B
- 7
- appendix
- custom graphics
- CUSTOM GRAPHICS EXAMPLE
- 1. Determine the matrix size for the graphic. It must be in 8 dot by 8 dot blocks. The example here has six blocks horizontally and six blocks vertically (48 x 48).
- 2. Lay out a grid and draw the image on the grid.
- 3. Transfer the image into a bit map representation and then into hexadecimal format:
- 4. Using the hexadecimal data, send the following code to print the graphic image as designed.
- 5. To send the data in binary format, the software must convert the data into binary format before transmitting it to the printer. Using the BASIC programming language for example, this is done by notation “CHR$ (&HC0)” which sends the hexidecima...
- PCX GRAPHICS EXAMPLE
- CUSTOM GRAPHICS EXAMPLE
- printer configuration commands
- reference tables

Unit 4: Standard Command Codes
“i” Programming Reference
4-3 PN: 9001158B
PRINT QUANTITY
FUNCTION
To specify the total quantity of labels to print for a given print job.
FORMAT
<ESC>Qaaaaaa
aaaaaa = Total number of labels to print (1 to 999999)
Place just preceding <ESC>Z, unless <ESC>~ exists, then preceding that. This command must be
present in every print job.
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>XB1SATO
<ESC>Q3
<ESC>Z
OUTPUT
Three labels containing the data “SATO” will be printed.
NOTES
To cancel a print job, turn off the printer or send the CAN code if using the Bi-Com.
When used with the Sequential Numbering (<ESC>F) command, the value specified for print quantity
should be equal to the number of sequential values desired.
If a Print Quantity is not specified, the printer will not print a label.
For this command, leading zeroes do not have to be entered. The command “Q1” is equivalent to
“Q000001”.