0% found this document useful (0 votes)
110 views5 pages

QR Code 4610 v1

This document provides instructions for printing QR codes on Zebra 4610 printers with 4690 OS. It describes the programming interface, including the RS485 and BASIC syntax commands to print a QR code with parameters like encoding mode, error correction level, and ECI value. It provides details on character limits and encoding capacities for each error correction level and mode. It also lists some error conditions and notes dependencies and known issues.

Uploaded by

Yavuz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views5 pages

QR Code 4610 v1

This document provides instructions for printing QR codes on Zebra 4610 printers with 4690 OS. It describes the programming interface, including the RS485 and BASIC syntax commands to print a QR code with parameters like encoding mode, error correction level, and ECI value. It provides details on character limits and encoding capacities for each error correction level and mode. It also lists some error conditions and notes dependencies and known issues.

Uploaded by

Yavuz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Printing QR Codes on 4610 Printers with 4690 OS

Version Code: V1.0


1 Programming Interface

1.1 Print QR Code

Use this command to print a QR code

RS485 syntax:
X'1D;4F;n1;n2;n3;data;00

BASIC syntax:
PSTR1$=CHR$(1DH)+CHR$(4FH)+N1+N2+N3
PSTR2$=DATA+CHR$(00H)
PSTRING$=PSTR1$+PSTR2$

where:
n1 Encoding Mode Parameter
00 Byte - Encodes lower case letters, text double-byte characters, binary data and 8
bit values.

01 Alpha-Numeric Mode - Alphanumeric mode encodes data from a set of 45


characters. They are:
• 10 numeric digits (0 - 9) (byte values X’30’ to X’39’),
• 26 alphabetic characters (A - Z) (byte values X’41’ to X’5A’)
• 9 symbols SP, $, %, *, +, -, ., /, : (byte values X’20’ , X’24’, X’25’,
X’2A’, X’2B’, X’2D’, X’2E’, X’2F’, X’3A’ respectively).

The command will be rejected if data is outside the supported range for this
mode.

02 Numeric Mode - This mode encodes data from the decimal digit set (0 - 9) (byte
values X’30’ to X’39’).

The command will be rejected if data is outside the supported range for this
mode.

03 Kanji Mode - This mode encodes Kanji characters. Note: The amount of data
needs to be an even number. The supported range of Kanji characters are from
X’8140’ to X’9FFC’ and from X’E040’ to X’EBBF’. Characters outside these
ranges will be rejected.
04 Extended Channel Interpretation (ECI) Mode – This mode allow the encod-
ing of character sets different than the default.

05 Mixing Mode – This mode allows the printer to encode data using different
modes. Currently works with numeric, alpha numeric, byte, and Kanji characters.
In this mode, printer will decide which type of characters and encode them accord-
ingly.
n2 Error Correction Level
00 L - 7% recovery
01 M - 15% recovery
02 Q - 25% recovery.
03 H - 30% recovery.

If parameter is outside of range, it is assume the setting is 0.


The higher error the correction levels, the more redundancy there is in the symbol.
Therefore:
• The symbol will be larger for the same amount of data.
• The symbol may still be readable even when damaged.

n3 ECI value – valid only if the application chooses the ECI mode
Note – To reserve the encoded characters, the firmware will check for the data in Numeric
and Alphanumeric mode. If any byte mode character is found, all data will be encoded in
byte mode.

ECI Values and Character Sets.


ECI Value Character Set
ISO/IEC 15438 Bar
code symbology
specification-
PDF417: Default
character set to
1994 specification
0 with GLI rules
ISO/IEC 15438 Bar
code symbology
specification-
PDF417: Latin 1
character set to
1994 specification
1 with GLI rules
ISO/IEC 15438 Bar
code symbology
specification-
PDF417: Default
character set with
2 ECI rules
ISO/IEC 8859-1
Latin alphabet No.
3 1
4 ISO8859_2
5 ISO8859_3
6 ISO8859_4
7 ISO8859_5
8 ISO8859_6
9 ISO8859_7
10 ISO8859_8
11 ISO8859_9
12 ISO8859_10
13 ISO8859_11
15 ISO8859_13
16 ISO8859_14
17 ISO8859_15
18 ISO8859_16
20 SJIS
26 UTF-8

data The byte representation of the characters to be encoded. This field has a
maximum of 1000 bytes. Sending more than 1000 bytes will cause a command re-
ject. Note that there is also a maximum number of bytes that can be encode per
mode. See below.

Remarks: Only Supported on the 1NR/2xR printers with firmware level 0F.00 or above.
For RS485 or USB; If this command is longer than one I-Frame it may be divided into sev-
eral I-Frames using a continuation command. See the Continuation of previous command
in the 4690 OS Application Interface Specification for 4610 Printers manual.
• Valid only at the beginning of a line.
• Printing will not start until a X'00' is received.
• This command will increment status byte 6.
• The maximum number of characters to be encoded is

Error Correction Numeric Alpha Numeric Byte Kanji


L (7%) 1000 1000 919 500
M (15%) 1000 1000 701 432
Q (25%) 1000 721 499 308
H (30%) 945 566 393 242

Example – With level H error correction, printer can encode 945 numeric charac-
ters or 566 Alpha numeric characters, 393 bytes, or 242 Kanji characters.
Notes:
• This function is only supported in the customer receipt station.
• The data length is capped at 1000 bytes. Sending more will result in a command
reject. This becomes the maximum for characters to be encoded for error correc-
tion levels that support more than 1000 characters. Kanji Mode uses 2 bytes per
character.
• The scanning accuracy depends on the scanner and decoding software. Scanning
becomes more difficult as the amount of data increases. It is recommended to
keep the amount of data lower than 75% of the maximum number of characters
allowed for each mode.

Error Conditions:
• If an image can not be printed; Status byte 7, bit 2 will be set. This may happen
when the image is too big to print. Try decreasing the Error Correction level.
Error X’80901123’
• The command will be rejected if the data format is not correct for the selected
encoding mode. Error X’80900009’
• The command will be rejected if the maximum number of characters that can be
encoded for the selected mode is exceeded. Error X’80900009’

2 Dependencies
Print QR Barcode command supported on 4610 models 1NR, 2NR, and 2CR at firmware
level 0F.xx or above.

Command will be rejected on older model printers (4610-TIx) and on 4610-1NR/2NR/2CR


that are not at level 0F.xx or above.

3 Known Issues

Due to an error in the current (13.01) printer firmware level, status byte 7 bit 2 is not being
set if the image is too big to print, thus the X’80901123’ return code is not provided to the
application. Instead a partial image is printed. This will be corrected in a future firmware
level.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy