HP Value Serial/USB Receipt Printer II Manuel d'utilisateur Page 87

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 155
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 86
Chapter 3: Programming Commands 87
Bar codes
Thesecommandsformatandprintbarcodesandaredescribedinorderoftheirhexadecimalcodes,
withtheexceptionoftheQRcodeoverview,whichisdescribedintheorderofuseincreatingtwo-
dimensionalQRcodes.
These commands describe operation for 80mm paper.
QR code Overview
QRcodeisa2-dimensionalmatrixsymbologyconsistingofanarrayofnominallysquaremodulesarrangedinanoverall
squarepatternusingtheQRsymbology.Auniquepatternatthreeofthesymbol’sfourcornersassistsindeterminingthe
barcodesize,position,androtation.
AseriesofsevencommandsarerequiredtocreateandprintQRcodes.
1.SelectmodelforQRcode 1D286B04003141n1n2
2.SetthesizeforQRmodule 1D286B03003143n
3.Setdataparsingmode 1D286B03003144m
4.Selecterrorcorrectionlevel 1D286B03003145n
5.Storesymboldata 1D286BqLqH315030f1…fk
6.Printsymboldata 1D286B0300315130
7.TransmitQRcodeprintsize 1D286B0300315230
The details of each command are described below.
Note: The settings for model, size of module, and error correction level are effective until the printer is reset, or the power
is turned off.
Select model for QR code
ASCII GS ( k EOT NUL 1 A n1 n2
Hexadecimal 1D 28 6B 04 00 31 41 n1 n2
Decimal 29 40 107 4 0 49 65 n1 n2
Value of n1: 31h = Selects model 1
32h = Selects model 2 (default)
Value of n2: 00h (default)
Thiscommandspeciestheoriginalversion(m=1),ortheenhancedformofthesymbology(m=2).Model2isthe
recommended model.
Set size for QR code module
ASCII GS ( k ETX NUL 1 C n
Hexadecimal 1D 28 6B 03 00 31 43 n
Decimal 29 40 107 3 49 67 n
Value of n: 01h ≤ n ≤ 10h
Default: 03h
ThiscommandsetsthesizeoftheQRmoduleton dots.
Vue de la page 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 154 155

Commentaires sur ces manuels

Pas de commentaire