HS-QR73(24V) user manual content 1 Introduction ............................. 5 1.1 HS-QR73 ............................5 1.2 main feature ..........................5 2 Performance parameters .......................... 6 3 Dimensional drawing and pin definition ....................7 3.1 Dimensional drawing ........................7 3.2 Pin definition..........................8 4.Basic use ..............................10 4.1 Print a self-test page .........................
Page 3
HS-QR73(24V) user manual Set print alignment ........................26 Set Chinese character mode ..................... 27 Set Chinese character printing mode combination ..............27 Cancel Chinese Character Mode ..................... 29 Define user-defined Chinese characters .................. 29 Choose an international character set ..................30 Select character code page .......................
1 Introduction 1.1 HS-QR73 HS-QR73 is a printer with integrated panel design, which is embedded in the customer's equipment and has a good overall appearance. Low power consumption, high quality, stable performance, and the motor and thermal print head have passed numerous tests to achieve high standards.
HS-QR73(24V) user manual 3 Dimensional drawing and pin definition 3.1 Dimensional drawing a. HS-QR73-HA size chart (detailed explanation of the model) b. HS-QR73-HE dimension drawing...
HS-QR73(24V) user manual 3.2 Pin definition Interface indication:...
Page 9
HS-QR73(24V) user manual Power (POWER) pin definition (XH2.54-3PIN) Pin number Signal name illustrate VH(DC24V 2A) DC24V 2A positive pole null ground Cash drawer (DK) pin definition (XH2.54-2PIN) Pin number Signal name illustrate positive pole Cash drawer console USB pin definition (PH2.0-4PIN)
HS-QR73(24V) user manual flow control Paper near end optocoupler (NEOP) pin definition(PH2.0-3PIN) Pin number Signal name illustrate Parallel (LPT) Interface Pin Definition Signal Function Signal Function /STROBE Strobe, active low /ACK Confirm, active low DATA0 data bit 0 BUSY busy...
HS-QR73(24V) user manual LED light guide bar (blue) blinking paper not removed 4.3 Eliminate cutter jams and paper jams Method 1: Press and hold the reset button for 3 seconds to reset the cutter, and quickly remove the stuck cutter (use first)
HS-QR73(24V) user manual a. Panel installation: Insert the bottom of the printer into the opening of the device, open the upper cover of the printer, and fasten the screws on the left and right sides with a screwdriver, as shown in the figure below. Be careful not to lock the screws too tightly, which will cause the printer to deform and affect the printer function.
HS-QR73(24V) user manual Note: Do not scratch the print head with hard objects (such as tweezers, etc.) when cleaning the print head; in order to improve the service life of the print head, long-term printing of self-adhesive paper will have residual glue on the back of the adhesive. It is recommended to clean the print head every month.
HS-QR73(24V) user manual Figure5.1 Figure 5.2 Figure 5.3 6.Command list Print and line feed Enter Print feed ESC J Print and feed paper n dots command ESC d Print and feed paper n lines...
Page 15
HS-QR73(24V) user manual ESC 3 Set the line spacing to n dots ESC 2 Set the line spacing to the default value ESC $ Set print position GS L nL nH Set the amount of left margin ESC B n...
Page 16
HS-QR73(24V) user manual GS(k pL pH cn fn m d1… Store the QR code data in the QR code buffer GS(k pL pH cn fn m Print QR code GS(k pL pH cn fn m Set the graphic information of the QR code...
HS-QR73(24V) user manual 7 The detail of commands 7.1 Print and feed command Print and feed paper Name Print and line feed :LF ASCII :10 Format Decimal :0A Print the content in the print buffer, and then set the paper feed one line according...
HS-QR73(24V) user manual of the next line For Example 1b 40 30 31 32 1b 4a 10 Print and feed paper n lines Name Print and feed n lines :ESC d n ASCII :27 100 n Format Decimal :1B 64 n...
HS-QR73(24V) user manual Set the line spacing to the default value Name Set the line spacing to the default value :ESC 2 ASCII :27 50 Format Decimal :1B 32 Description Set the line spacing to the default 33 points Range...
HS-QR73(24V) user manual As shown in the figure: If set outside the printable area, use the maximum printing unit. 1b 40 1d 4c 08 00 For example 30 31 32 0d 0a 30 31 32 0d 0a Set the left margin...
HS-QR73(24V) user manual Choose font Name Choose font :ESC M n ASCII :27 77 n Format Decimal Hex :1b 4d n Select character font Function Choose font A (12×24) 。 0, 48 Choose font B (9×24) 。 Description 1, 49 Choose font C (9×17)
HS-QR73(24V) user manual Double height Cancel Double width Cancel Undefined Underline Cancel Range Default n = 0 Support modal All the printers This command is valid for both Chinese fonts and foreign fonts. Note When ESC @, printer reset, power off, the setting of this command is invalid.
HS-QR73(24V) user manual Support modal All the printers This command is valid for Chinese fonts and foreign fonts except HRI characters Note When ESC @, printer reset, power off, the setting of this command is invalid. 1b 40 1d 21 11...
HS-QR73(24V) user manual 2, 50 Set underline mode (2 points thick) 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Range Default n = 0 Support modal All the printers right side of the character), except for the blank set by HT.
HS-QR73(24V) user manual Set and cancel bold printing Name Set and cancel bold printing :ESC E n ASCII :27 69 n Format Decimal :1B 45 n Set or cancel the bold print mode. Description When the least significant bit of n is 0, the bold printing mode is released.
HS-QR73(24V) user manual B0 AE C9 CF D7 D4 BC BA 0D 0A Set and cancel upside-down printing Name Set and cancel upside-down printing :ESC { n ASCII Decimal :27 123 n Format :1B 7B n Set or cancel the upside-down printing mode.
HS-QR73(24V) user manual Mode 0,48 On the left 1,49 Centered 2,50 To the right 0 ≤ n ≤ 2 or 48 ≤ n ≤ 50 Range Default n = 0 Support modal All the printers After ESC @, printer reset, and power off, the setting of this command becomes Note invalid.
HS-QR73(24V) user manual 1C 21 80 B0 AE C9 CF D7 D4 BC BA 0D 0A 1C 2E B0 AE C9 CF D7 D4 BC BA 0D 0A Cancel Chinese Character Mode Name Cancel Chinese Character Mode : FS .
HS-QR73(24V) user manual : 27 82 n Decimal Hex: 1B 52 n Select the value of n to set the international character set according to the following table character set France Germany Denmark I Sweden Italy Description Spain I Japan...
Page 32
HS-QR73(24V) user manual CP860 [Portuguese] CP863 [Canadian-French] CP865 [Nordic] WCP1251 [Cyrillic] CP866 Cyrilliec #2 MIK[Cyrillic /Bulgarian] CP755 [East Europe, Latvian 2] Iran reserve reserve reserve reserve CP862 [Hebrew] WCP1252 Latin I WCP1253 [Greek] CP852 [Latina 2] CP858 Multilingual Latin Ⅰ+Euro)
HS-QR73(24V) user manual 8 dots direction 24 dots direction High position High position Low position Low position Dot plot data(bitmap) Dot plot data(bitmap) This command only fills the print buffer. The printing of the image will not start until the print command is received. The print buffer will be emptied after the image is printed.
HS-QR73(24V) user manual k is the number of bytes of the dot graph data, k is used for illustration, no need to transmit XX58: 0 ≤ m ≤ 3; 48 ≤ m ≤ 51 1 ≤ xL + xH×256 ≤ 48 0 ≤...
Page 37
HS-QR73(24V) user manual : GS * x y d1...d(x×y×8) ASCII : 29 42 x y d1 ...d(x×y×8) Format Decimal : 1D 2A x y d1...d(x×y×8) Use x and y to specify the number of points to define the download bitmap.
Page 39
HS-QR73(24V) user manual 0 ≤ yL ≤ 255) 0 ≤ yH ≤ 1 (1 ≤ (yL+yH*256) ≤ 288) 0 ≤ d ≤ 255) k = (xL+xH*256)*(yL+yH*256)*8 Data area defined by sum meter = 64K bytes Default Support modal All the printers Frequent execution of write commands may damage the NV memory.
Page 40
HS-QR73(24V) user manual by the FS p command. osed of [xL xH yL yH d1...dk]. Therefore, when there is only one NV bit image, n=1, the printer only processes the data group [xL xH yL yH d1...dk] once. The printer uses ([data: (xL+xH *256)*(yL+yH*256)*8]+[header:4]) bytes of NV memory.
Page 41
HS-QR73(24V) user manual (xL+xH*256)*8dots=512dots Most significant bit Least significant bit 1B 40 1C 71 01 03 00 03 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF...
HS-QR73(24V) user manual Print NV bitmap Name Print NV bitmap : FS p n m ASCII : 28 112 n m Format Decimal : 1C 70 n m Print NV bitmap in the mode specified by m Mode 0, 48...
Page 43
HS-QR73(24V) user manual Mode Vertical resolution Horizontal resolution (DPI) (DPI) 0,48 normal 1,49 Double width 2,50 Double height 3,51 Double width, double height 0 ≤ m ≤ 3 or 48 ≤ m ≤ 51 0 ≤ xL ≤ 255 0 ≤ xH ≤ 255 0 ≤...
HS-QR73(24V) user manual Print line segment in horizontal position (curve print command) Name Print line segment in horizontal position (curve print command) :GS ‘ n x1sL x1eH x1eL x1eH ...xnsL xnsH xneL xneH ASCII :1D 27 n x1sL x1eH x1eL x1eH ...xnsL xnsH xneL xneH...
Page 45
HS-QR73(24V) user manual Char SendStr[8]; Char SendStr2[16]; Float i; Short y1,y2,y1s,y2s; //Print Y axis (one line) SendStr[0]=0x1D; SendStr[1]=0x27; SendStr[2]=1; // one line SendStr[3]=30 SendStr[4]=0; //Start point SendStr[5]=104; SendStr[6]=1; //End point PreSendData(SendStr,7); //Print curve SendStr[0]=0x1D; SendStr[1]=0x27; SendStr[2]=3; //Three lines: X-axis, sin and cos function curve Three lines:...
Page 46
HS-QR73(24V) user manual PreSendData(&y2,2); //The cos function is at the end of the line Else PreSendData(&y2,2); //The cos function is at the beginning of the line PreSendData(&y2s,2); //The cos function is at the end of the line y1s=y1; // When printing enters the next line, the abscissa of the starting point of the sin function curve y2s=y2;...
HS-QR73(24V) user manual 7.4 Tabulation commands Horizontal tabulation Name Horizontal tabulation : HT ASCII : 9 Format Decimal : 09 Description Move the printing position to the next tab position Range Default Support modal All the printers Tab position is set by ESC D...
HS-QR73(24V) user manual It supports the setting of up to 16 tab positions. Using this command will cancel the previous tabulation position setting. k is used for indication purposes and does not need to be transmitted. When the transmission [d]k encounters NULL, it is regarded as the end.
HS-QR73(24V) user manual Set the height of the bar code to n points, and the meaning of parameter n is as follows:Height is 50 and 100 Description 1 ≤ n ≤ 255 Range Default n = 64 Support modal All the printers...
Page 52
HS-QR73(24V) user manual m is the encoding method. n is the coded data length, only used in (B) mode. The difference between (A) and (B) instructions is that the data segment of (A) ends with a NULL character, while (B) indicates the length of the data.
Page 53
HS-QR73(24V) user manual [When n = n = 11,12 7,8,11,12, d1 = 48 ] JAN13 fixed n = 12,13 48≤d≤57 (EAN13) JAN8 fixed n = 7,8 48≤d≤57 (EAN8) 48≤d≤57, 0~9,A~Z 65≤d≤90, 1≤n≤255 CODE39 variable SP, $, %,+, -, ., d = 32,36,37,...
Page 54
HS-QR73(24V) user manual When m parameter 0 ~ 6 (A), the barcode data ends with NULL. When m parameter 65 ~ 74 (B), the barcode data uses n to indicate the data length. k is used for indication and does not need to be transmitted.
Page 55
HS-QR73(24V) user manual automatically insert "*" • When "*" is encountered in the data, the encoder will treat it as a terminator, and the rest of the data will be treated as normal data processing; • The check digit will not be automatically calculated and added.
Page 56
HS-QR73(24V) user manual CODE 128: 1b 40 1d 48 02 1d 68 64 1d 77 03 1d 6b 49 0A 7B 42 4E 6F 2E 7B 43 0C 22 38 • If the character set selection is not at the forefront of the bar code data, the printer will stop processing this command and treat the remaining data as normal data.
HS-QR73(24V) user manual Hex : 1D 28 6b pL pH cn fn n Description Set the error correction level of the QR code pL=3, pH=0 cn=49 Range fn=69 48 ≤ n ≤ 51 Default n=48 Support modal All the printers...
HS-QR73(24V) user manual pL=3, pH=0 cn=49 Range fn=81 m=48 Default Support modal All the printers Print the QR code. The user must consider the space of the QR code graphics (the top and bottom Note spacing and the left and right spacing of the QR code graphics are specified in the specifications).
HS-QR73(24V) user manual pL=3, pH=0 cn=49 Range fn=82 m=48 Default Support modal All the printers This command does not print QR code graphics. The user must consider the space of the QR code graphics (the top and bottom Note spacing and the left and right spacing of the QR code graphics are specified in the specifications).
HS-QR73(24V) user manual Range n = 1, 49 Default Support modal All the printers When using the serial interface: If DTR/DSR control is set, the printer will only transmit one byte after confirming that the host is ready to receive data (DSR signal is SPACE). If the host computer is not ready to receive and send data (DSR signal is MARK), the printer waits until the host is ready.
Page 62
HS-QR73(24V) user manual n = 3: Transmission error status n = 4: Transport paper sensor status 1 ≤ n ≤ 4 Range Default Support modal All the printers • The printer returns to the relevant status immediately after receiving the command •...
HS-QR73(24V) user manual No error condition There is an error condition Fixed at 0 n=3: Transmission error status Hex code Decimal code Function Fixed at 0 Fixed at 1 Undefined Cutter without error Cutter is wrong Fixed at 1 No unrecoverable errors Unrecoverable error 打...
HS-QR73(24V) user manual the error occurred. Recover from the error after clearing the receiving and printing buffers. Range n = 1, 2 Default Support modal All the printers the cover open error occurs. ffer is full or a serial interface mode error occurs, this command is still executed.
Page 65
HS-QR73(24V) user manual Paper roll sensor status prohibited The status of the paper roll sensor allows Undefined The first byte (printer information): Off/On Hex code Decimal code ASB status Not defined. It is fixed at 0 Not defined. It is fixed at 1 Not defined.
HS-QR73(24V) user manual the status when the command is executed. Once the "Allowed" status item is changed, the printer automatically transmits the status. Because each state transfer represents the current state, the prohibited state items can be changed. the printer can receive and transmit printer data for the first time when it is turned is ready to receive data.
HS-QR73(24V) user manual Page control command Page start command Name Page start command Hex :a: 1A 5B 00 b: 1A 5B 01 x_L x_H Format y_L y_H Width_L width_H Height_L Height_H Rotate Indicate the beginning of a Page page, and set the page page size, reference point coordinates and page rotation angle.
HS-QR73(24V) user manual Page end command Name Page end command Hex :1A 5D 00 Format Identifies the end of a Page page data. Input parameters: none. Description return value: none. Range Default Support modal Note For example Page printing command...
HS-QR73(24V) user manual Paper feed command Name Paper feed command :a: 1A 0C 00 Format 1A 0C 01 StopPosition Offset_L Offset_H Input parameters: without. return value: without. Remark: After receiving this command, the printer feeds the paper, and when the label seam is flush with the cutting edge, it stops feeding.
HS-QR73(24V) user manual Page drawing instructions In the following commands, the reference origin of all coordinate points is the reference point defined in the start instruction of the Page page. Commands Page_Width and Page_Height respectively represent the width and height of the page defined in.
Page 71
HS-QR73(24V) user manual FontHeight The font height of the text character. The valid range is {16, 24, 32, 48, 64, 80, 96}. FontType The text character effects are defined as follows: Data definition Bold flag: Set to 1 to make the font bold, and to clear it to not make the font bold.
Page 73
HS-QR73(24V) user manual range: [0, Page_Width-1]. EndY The y coordinate value of the end point of the straight line segment, the value range: [0,Page_Height-1]. return value: none. Input parameters: StartX The x coordinate value of the starting point of the straight line segment, the value range: [0, Page_Width-1].
HS-QR73(24V) user manual Rectangular frame drawing command Name Rectangular frame drawing command Hex :a. 1A 26 00 Left_L Left_H Top_L Top_H Right_L Right_H Bottom_L Bottom_H Format 1A 26 01 Left_L Left_H Top_L Top_H Right_L Right_H Bottom_L Bottom_H Width_L Width_H Color Draw a rectangle of the specified size at the specified position on the Page.
HS-QR73(24V) user manual range: [0, Page_Width-1]. Bottom The y coordinate value of the lower right corner of the rectangular box. Value range: [0, Page_Height-1]. Width The width of the rectangular frame. Color The color of the rectangle frame line, the straight range is {0, 1}. When Color = 1, draw a black rectangle wide, when Color = 0, draw a white rectangle.
HS-QR73(24V) user manual Input parameters: Left The x coordinate value of the upper left corner of the rectangular block, the value range: [0, Page_Width-1]. The y coordinate value of the upper left corner of the rectangular block. Value range: [0, Page_Height-1].
Page 77
HS-QR73(24V) user manual The y coordinate value of the upper left corner of the barcode, the value range: [0, Page_Height-1]. BarcodeType Identifies the barcode type, the value range: [0,29]. The values are defined as follows: value type length Barcode value range...
Page 78
HS-QR73(24V) user manual the relative code character is found, which is the check code Characters. Full ASCII 39 Code, special characters represented representable words, 39C also contains Full ASCII, pay attention to the aspect ratio processing EAN13 The interval between the...
Page 79
HS-QR73(24V) user manual MSIC Use the check code as data to calculate the check code again PLESS ITF14 25C variant, 0 is added before the first number, the last number needs to be deducted when the check code is calculated,...
HS-QR73(24V) user manual QRCode code block, value range: [1, 4]. The definition of each value is the same as the command input parameter UniWidth. Rotate QR Code rotation angle, value range: [0, 3]. The definition of each value is the same as the command input parameter Rotate.
HS-QR73(24V) user manual PDF417 code width, value range: [1, 3]. The definition of each value is the same as the command input parameter UniWidth. Rotate PDF417 code rotation angle, value range: [0, 3]. The definition of each value is the same as the command input parameter Rotate.
Page 83
HS-QR73(24V) user manual The x coordinate value of the upper left corner of the bitmap, the value range: [0, Page_Width]. The y coordinate value of the upper left corner of the bitmap, the value range: [0, Page_Height]. Width The pixel width of the bitmap.
HS-QR73(24V) user manual Set the maximum heating points for printing, heating time, interval time: n1 = 0-255 The maximum number of heating points, the unit (8dots), the default value is 9 (80 points); n2 = 0-255 heating time, unit (10us), default value 80;...
Page 86
HS-QR73(24V) user manual 0,48 Cash drawer open/close signal (connect to pin 2) 1,49 Cash drawer open/close signal (connect to pin 5) 2. When the cash drawer is opened, it is [t1×2ms], and when it is closed, it is [t2 ×2ms].
Need help?
Do you have a question about the HS-QR73 and is the answer not in the manual?
Questions and answers