Page 2
Introduction POSTEK PPLE COMMAND MANUAL B1. Command Syntax - Generally speaking, command names consist of 1 or 2 (case sensitive) alphanumeric characters. - Some commands require one or more optional parameters and/or optional commands to perform special functions. - All command lines should be concluded by a “LF-0AH” or “CR-0DH+LF-0AH” via “enter” to a new line.
Page 3
Introduction POSTEK PPLE COMMAND MANUAL B2. Fonts Based on their storage mediums, the command set has defined 3 kinds of Fonts. - Internal Fonts - Soft Fonts - Externally Stored Fonts 1. Internal fonts Five kinds of internal fonts reside within the printers ROM, and unlike soft fonts, they cannot be deleted. Each font has a unique ID number.
Page 4
Introduction POSTEK PPLE COMMAND MANUAL The code table may be redefined as another kind of character set or code page. 8 Bit character 7 Bit character Character Set Code page 437 USASCII, British, Code page 850 Danish, French, Code page 852...
Page 5
B4. Command reference POSTEK PPLE COMMAND MANUAL B4. Command reference This section contains a complete listing of all commands in alphabetical order. The coordinates system for the barcode label printer is shown below: 864/1248dot 0dot Print line Label feed direction (0,0) 方向...
Page 8
B4. Command reference POSTEK PPLE COMMAND MANUAL p6: Establishes the wide bar width, in dots p7: Establishes the barcode height, in dots P8: Choosing 'N' prints normal text (i.e. black characters on a white background) Choosing 'R' prints reversed text (i.e. white characters on a black background) “DATA”: A fixed data field.
Page 9
B4. Command reference POSTEK PPLE COMMAND MANUAL Syntax: bp1, p2, p3, [specific parameters and data] Parameter Explanation: p1: Horizontal start position (X) in dots. p2: Vertical start position (Y) in dots. p3: barcode selection. p3 value Bar Code type PDF-417...
Page 10
B4. Command reference POSTEK PPLE COMMAND MANUAL Ship to City: GS<city> Ship to State: GS<state> RS: RS End of Message: EOT (* Mandatory Data for UPS must be assigned) Tracking Number: *<tracking number> SCAC: GS<SCAC> UPS Shipper Number: GS<shipper number>...
Page 11
B4. Command reference POSTEK PPLE COMMAND MANUAL Printout: Datamatrix Ecc200 [w, v, o, m], “Data” w: Maximum printing width in dots v: Maximum printing height in dots o: Rotation: 0 – 0° , 1 – 90° , 2 – 180° , 3 – 270°...
Page 13
B4. Command reference POSTEK PPLE COMMAND MANUAL “+3D”= Increases each time by 3, according to Decimal base computation. Example: 1234, 1235, 1236…. “-1B”= Decreases each time by 1, according to Binary computation. Example: 1111, 1110, 1101 …. “-4O= Decreases each time by 4, according to Octonary number system computation. Example: 1234, 1230, 1224….
Page 14
B4. Command reference POSTEK PPLE COMMAND MANUAL is achieved with a value of 20. Syntax: Dp1<LF> Parameter explanation: p1: value range: 0-20, default is 8. Example: T100, 100, 0, 3, 1, 1, N, “DARKNESS=10” EI Command: Print a detailed soft font list Description: This command will cause the printer to print a list of all soft fonts that are stored in memory.
Page 15
B4. Command reference POSTEK PPLE COMMAND MANUAL EK Command: Deletes soft fonts Description: This command is used to remove one or all, soft fonts stored in RAM and/or Flash memory. Syntax: EK “ID”<LF> EK “*”<LF> Parameter explanation: ID: Soft font ID, values from A-Z.
Page 16
B4. Command reference POSTEK PPLE COMMAND MANUAL Byte 0,1 Expressed as a hexadecimal number. For ASCII characters, the high byte is 0x00 and the low byte is the ASCII code; For Chinese characters use GB code Byte 2 Character overall width; equal to the character...
Page 17
B4. Command reference POSTEK PPLE COMMAND MANUAL FI Command: Print form list Description: This command prints a list of forms currently downloaded to the printers Flash memory or RAM from the host. Syntax: FI<LF> Example: Printout: If the printer has not stored any forms, it will print:...
Page 18
B4. Command reference POSTEK PPLE COMMAND MANUAL FK “*”<LF> Parameter explanation: FORMNAME: Will delete soft form name with a maximum of 16 characters. Note: Using the “*” parameter will remove all forms from RAM or Flash memory. FR Command: Execute form Description: This command is used to retrieve and execute a stored form.
Page 19
B4. Command reference POSTEK PPLE COMMAND MANUAL p1: Horizontal start position(X) in dots. p2: Vertical start position(Y) in dots. GNAME: graphic name with a maximum of 16 characters; or variable name (variable Data: V00-V99). Example: GG100, 50, “PCXGRAPH” GI Command: Print graphic information Description: This command prints a list of all graphics stored in RAM or Flash memory.
Page 20
B4. Command reference POSTEK PPLE COMMAND MANUAL GK Command: Delete Graphic Description: This command deletes graphics currently stored in Flash memory or RAM. Syntax: GK “GNAME”<LF> GK “*”<LF> Parameter explanation: GNAME: Graphic name; up to a maximum of 16 characters Note: Using the “*”...
Page 21
B4. Command reference POSTEK PPLE COMMAND MANUAL Printout: GW Command: Print binary graphics Description: Graphics are sent row by row without compression; each bit represents a dot; a value of”0”prints a dot; a value of “1”does not print a dot.
Page 22
B4. Command reference POSTEK PPLE COMMAND MANUAL Example: I7, 5, 001 T50, 30, 0, 3, 1, 1, N, “£100” This example will use the 7-bit, Italian character set Printout: JB/JF Command: Disable/Enable back feed Description: This command is used to adjust the stop position of the label. The back feed setting is disabled as the factory default.
Page 23
B4. Command reference POSTEK PPLE COMMAND MANUAL Printout: LO Command: Line draw by OR operation Description: This command draws a line using an OR operation. Syntax: LOp1, p2, p3, p4<LF> Parameter explanation: P1: Horizontal (X) start position in dots. P2: Vertical (Y) start position in dots.
Page 24
B4. Command reference POSTEK PPLE COMMAND MANUAL Example: LS50, 30, 10, 100, 80 Printout: LW Command: Line draw white Description: This command is used to draw white lines, erasing previous information. Syntax: LWp1, p2, p3, p4<LF> Parameter explanation: P1: Horizontal (X) start position in dots.
Page 25
B4. Command reference POSTEK PPLE COMMAND MANUAL Syntax: N<LF> Note: Do not use N command within stored forms. O Command: Option select Description: This command is used to set various printer options. Options available vary by printer configuration. Syntax: O [D, P, L, C, N] <LF>...
Page 27
B4. Command reference POSTEK PPLE COMMAND MANUAL T120, 50, 0, 4, 1, 1, N, C0 Q20, 0 FR”TEST1” Printout: Q Command: Set Form and Gap Length/black line/ perforation Description: Use this command to set the form and gap length, black line thickness or perforation.
Page 28
B4. Command reference POSTEK PPLE COMMAND MANUAL p1 = 20.0 mm (160 dots at 200dpi) p2 = 3.0mm (24 dots at 200dpi) The Q command should be: Q160, 24 2. Special gap mode: p1= 12.5 mm (100 dots at 200dpi) p2 = 3.0mm (24 dots at 200dpi)
Page 29
B4. Command reference POSTEK PPLE COMMAND MANUAL p1 = 31.0 mm (248 dots at 200dpi) p2 = 7.0mm (56 dots at 200dpi) p3 = 0.5 mm (4 dots at 200dpi) The Q command should be: Q248, B56+4 4. Black line mode (perforations are not on black lines): p1 = 31.0 mm (248 dots at 200dpi)
Page 30
B4. Command reference POSTEK PPLE COMMAND MANUAL q Command: Set Label Width Description: This command used to sets the label width. Syntax: qp1<LF>. Parameter explanation: p1: the width of the label in dots. Note: If the R Command (Reference Point) is sent after this command, the image buffer will be automatically reformatted to match the width of the print head and is offset by the R command specified image buffer starting point, nullifying the q command.
Page 31
B4. Command reference POSTEK PPLE COMMAND MANUAL p2: Y coordinate distance from reference point in dots. TD Command: Set Date format Syntax: TDp1|p2|p3<LF> Parameter explanation: p1,p2,p3: Set format parameters of year, month, day, as below: State Code Descriptions Display 2-digit year (10)
Page 32
B4. Command reference POSTEK PPLE COMMAND MANUAL Example: TS03, 11, 15, 13, 20, 00 //RTC date & time is set to March 11, 2015 13:20 TS12, 31, 00, 01, 30, 00 //RTC date & time is set to December 31, 2000 1:30 Note: 1.
Page 33
B4. Command reference POSTEK PPLE COMMAND MANUAL after TT+60. A100, 400, 0, 4, 1, 2, N, “Date” TD+2 Date 2010-03-14 //The date correspond to two days after TT+60. A100, 500, 0, 4, 1, 2, N, “Time now” TT Time now 23:55PM //Print the time correspond to TT.
Page 36
B4. Command reference POSTEK PPLE COMMAND MANUAL UN/US Command: Disable/Enable Error Reporting Description: Use this command to enable the printer’s status reporting feature. The printer sends its feedback through the RS232 port. Syntax: UN<LF> US<LF> If an error occurs, the printer will send a NACK (0x15), followed by the error number, to the host. If no errors occur, the printer will echo ACK (0x6) after each P command.
Page 37
B4. Command reference POSTEK PPLE COMMAND MANUAL FS”TEST2” V0, 16, L, “Enter Title:” C0, 6, N, +1,”Enter Code:” T100, 100, 0, 4, 1, 1, N, V0 T400, 100, 0, 4, 1, 1, N, C0 Store the above commands to the printer, then send the following commands: Q100, 0 FR”TEST2”...
Page 38
B4. Command reference POSTEK PPLE COMMAND MANUAL Printout: Z Command: Set Print Direction Description: Use this command to set print orientation for all graphics, text, bar codes, lines and boxes. Syntax: Zp1<LF> Parameter explanation: p1: Orientation; Acceptable values are B or T. The default value is T.
Page 39
B4. Command reference POSTEK PPLE COMMAND MANUAL ? Command: Download Variables Description: This command is used to send variable or counter data fields to the printer. The host system can send data representing variables and/or counters to the printer after a stored form containing variables and/or counters has been retrieved.
Page 40
RF1, 0, 2, 6, 1, “313233343536” Result: Read EPC Block (Starting block number=2) 313233343536 Example 2: RF1, 1, 0, 6, 3, “POSTEK” Result: Read USER Block (Starting block number=0) 504F5354454B RZ Command: Lock/Unlock and Set password for RFID tag Syntax: RZp1, p2, “DATA”<CR><LF>...
Page 41
B4. Command reference POSTEK PPLE COMMAND MANUAL Options: 0-Unlock; 1-Lock; 2-Unlock Permanently; 3-Lock Permanently; 4- Set Password; p2: Block; Options: 0- Kill Password; 1- Access Password; 2-EPC; 3-TID; 4-USER; “DATA”: A constant string consists of 8 HEX characters. Note: All values of RZ command must be filled in, or the command will not be executed.
Page 42
B4. Command reference POSTEK PPLE COMMAND MANUAL CF command: Rename Stored Fonts Syntax: CFp1, p2, p3 Parameter explanation: p1: Where to find the font, options: “1” or “0”, meaning “Flash” or “SDRAM”. p2: Font ID you want to use in the “T” command, from “A”~”Z”.
Page 43
B500, 525, 3, 1, 6, 18, 200, B, “00234567” Y Command:RS232 Serial Port Setup Syntax: Yp1, p2, p3, p4, <LF> Note: This command is applicable for POSTEK G-2108 and G-3106 models only. Parameter explanation: p1: Baud rate setup; Transfer Rate...
Page 44
B4. Command reference POSTEK PPLE COMMAND MANUAL JG Command: Set Feed Distance Syntax: JGp1<CR> <LF> Parameter explanation: p1: Set feed distance, unit in dots. Example: JG120 JH Command: Set Back Feed Distance Syntax: JHp1<CR> <LF> Parameter explanation: p1: Set back feed distance, unit in dots.
Need help?
Do you have a question about the PPLE and is the answer not in the manual?
Questions and answers