background image

POSTEK PPLE COMMAND MANUAL 

 

20 

B4. Command reference 

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 “*” parameter will remove all graphics from RAM and Flash memory. 

 

GM Command: Download graphics to printer 

Description: This command is used to download and store graphics information to the Flash memory or RAM. 

 

Syntax: 

 

    GM “GNAME”p1<LF> 

 

    PCX file 

 

Parameter explanation: 

GNAME: Defines graphic name to be stored, up to a maximum of 16 characters. 

p1: PCX graphics file size (decimal) in bytes 

PCX file: a PCX format graphic 

 

Example: 

GK “PCXA” 

GM “PCXA”3858 
… [PCX file for PCXA graphics]… 

T30, 30, 0, 4, 1, 1, R, “PCXA...”   

GG30, 100, “PCXA” 

W1 

GK “*” 

 

 

 

 

 

 

 

 

Summary of Contents for PPLE

Page 1: ...POSTEK PPLE COMMAND MANUAL 1 Introduction Barcode label printer POSTEK PPLE Command Manual V3 04 Postek Electronics Co Ltd 2015 ...

Page 2: ...h a fixed number of parameters Syntax Description Xp1 p2 p3 pn LF or Xp1 p2 p3 pn CR LF Command with a single leading alpha character XXp1 p2 p3 pn LF or XXp1 p2 p3 pn CR LF Command with two leading alpha characters Format 3 Commands with optional parameters X p1 p2 p3 pn LF 2 String In command sets we can use data strings with the following characteristics Name for graphics soft fonts and forms D...

Page 3: ...of Soft Fonts Saves memory space graphics occupy more memory space Better performance may be called repeatedly May carry out the automatic Increase Decrease function Similar to internal fonts they can be scaled rotated or reversed May be saved into either RAM or Flash memory permanent storage May be deleted when no longer required or the storage capacity is insufficient Soft fonts may be downloade...

Page 4: ...WA Print automatic H Print darkness setting Q Set label and media gap length EI Print soft font name q Set label width EK Delete soft font R Set reference point ES Download soft font S Set printing speed FE End form store TD Set date format FI Print form name TS Set RTC date time FK Delete form TT Set time format FR Execute form U Print Configuration FS Store form UN Disable error reporting GG Pri...

Page 5: ...mple 1 inch 25 4mm or 1000mil 203 DPI Printers 1 dot 25 4mm 203 0 125mm 1dot 1000mil 203 5mil 300 DPI printers 1 dot 25 4mm 300 0 085mm 1dot 1000mil 300 3mil T command Print a text string counter and variable Description Prints a text string variable or counter Syntax Tp1 p2 p3 p4 p5 p6 p7 DATA LF Tp1 p2 p3 p4 p5 p6 p7 Cn LF Tp1 p2 p3 p4 p5 p6 p7 Vn LF Tp1 p2 p3 p4 p5 p6 p7 DATA Cn LF Tp1 p2 p3 p4...

Page 6: ...ormal 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 Cn Defines a counter value Please refer to the C order Vn A string of variable characters please refer to V order Combo A combined string of characters using DATA Cn and or Vn parameters Example data1 CnVn data2 A combined string cannot surpass a ...

Page 7: ... Code 128 UCC shipping container code 1 Code 128 AUTO 1A Code 128 subset A 1B Code 128 subset B 1C Code 128 subset C 1E UCC EAN 2 Interleaved 2 of 5 2C Interleaved 2 of 5 with check sum digit 2D Interleaved 2 of 5 with human readable check digit 2G German Postcode 2M Matrix 2 of 5 2U UPC Interleaved 2 of 5 3 Code 3 of 9 3C Code 3 of 9 with check sum digit 3E Extended Code 3 of 9 3F Extended Code 3...

Page 8: ...o V order Combo A combined string using DATA Cn and or Vn parameters Example data1 CnVn data2 A combined string cannot surpass a length of 100 characters Note Use the syntax below when using a counter value and variable strings Vn st len Cn st len Note n is the ID of counter value or variable string st indicates the starting position Usually it is 0 Len indicates the length of the sub string Examp...

Page 9: ...in formats other than UPS Cl 3 digit numeric Co 3 digit numeric Po Suppose the current mode is 3 PostalCode should be Alphanumeric within 6 characters A Z or 0 9 If the current mode is 2 then PostalCode should be numeric with 9 digits Note The control character RS is used for detaching the data stream formats denoted by _IE GS is used for separating the data fields denoted by _1D EOT indicates the...

Page 10: ...umber Example N b10 10 M 4 0 1Z000A7 dajc_iaj 3 5 fe s fk LAKFalkdgjoiu12815 w35 dfoi38 W1 Printout PDTF 417 w v s c p x y r l t o Data w Maximum printing width in dots v Maximum printing height in dots s Error correction scope 0 8 c Data compression scope 0 or 1 Default is 0 x Module width 2 9 in dots y Module height 4 99 in dots r Maximum row count l Maximum column count t Intercept symbol 0 no ...

Page 11: ... enlarge 2 times 3 enlarge 3 times Example N b20 220 DX 0 0 o0 m5 Data Matrix W1 Printout QR w v o r m g s data w Maximum printing width in dots v Maximum printing height in dots o Rotation 0 0 1 90 2 180 3 270 r Magnification in dots Range 1 9 1 enlarge 1 time 2 enlarge 2 times 3 enlarge 3 times m Data Encodation Range 0 4 0 Numeric mode 1 Alphanumeric mode 2 Byte mode 0 256 3 Chinese characters ...

Page 12: ...ounter Description This command defines a counter variable Syntax Cp1 p2 p3 p4 MSG LF Parameter explanation p1 Counter ID Range 0 9 p2 Maximum number of digits for the counter Range 1 40 p3 Field justification L left R right C center N none p4 This is the step value of counter or sign followed by a single digit of 1 9 then followed by a change symbol i e D decimal base B binary system O octonary n...

Page 13: ...ttern Example In user defined rule TE2DOKLU046MNY37 the starting value is T062 followed by T062 T06K T060 MSG Displays a text string on the printers LCD display or KDU Display Example N FK TEST FS TEST C0 6 N 1 Enter Code T100 100 0 4 1 1 N Label T300 100 0 4 1 1 N C0 FE The above command will store a form named TEST to the printer If the following command is sent to printer it will printout FR TE...

Page 14: ...scription This command will cause the printer to print a list of all soft fonts that are stored in memory Syntax EI LF Example EI Printout If the printer has not stored any soft fonts it will print SOFT FONT INFORMATION NO SOFT FONT STORED If the printer has stored soft fonts with ID C D E F G respectively with C and D stored in RAM and E F and G stored in Flash memory it will print SOFT FONT INFO...

Page 15: ...l soft fonts from RAM or Flash memory ES Command Download soft fonts to printers RAM or Flash memory Description This command is used to download soft fonts to the printers RAM or Flash memory Syntax ES ID p1 p2 font format 0 font data 0 font format N 1 font data N 1 Parameter explanation ID One upper case letter from A to Z p1 Number of characters to be downloaded p2 Font height Basic soft font f...

Page 16: ...h equal to the character actual width character gap Value 0x00 0xFF pixels Byte 3 Character actual width Value 0x00 0xFF in bytes Font data N Nth character data format Byte 0 Character image data The length is byte 3 p2 Example Parameter Data Hexadecimal Byte 2 16 10 Byte 3 14 0E p2 16 10 FE Command Ends form store Description This command is used to end a form store sequence started by the FS com...

Page 17: ...r has not stored any forms it will print FORM INFORMATION NO FORM STORED If the printer has stored forms with names FORMA FORMB and FORMC FORMA is stored in RAM and FORMB and FORMC are stored in Flash memory It will print FORM INFORMATION 3 SOFT FONT STORED RAM FORMA FLASH FORMB FORMC FK Command Delete form Description This command causes the printer to deletes forms currently stored in the printe...

Page 18: ... FRMA downloads new form FRMA T50 30 0 4 1 1 N THIS IS FRMA FE concludes a form download FR FRMA retrieves form W1 FS Command Download form to printer Description This command begins a form download until the FE command is received If the ZS command is used the form will be downloaded to Flash memory If the ZN command is used the form will be downloaded to RAM Syntax FS FORMNAME LF Parameter expla...

Page 19: ...rint graphic information Description This command prints a list of all graphics stored in RAM or Flash memory Syntax GI LF Example GI Printout If the printer has not stored any graphics it will print GRAPHICS INFORMATION NO GRAPHICS STORED If the printer has stored graphics with name GRAPHA and GRAPHB and GRAPHA is stored in RAM and GRAPHB is stored in Flash memory the following will be displayed ...

Page 20: ... remove all graphics from RAM and Flash memory GM Command Download graphics to printer Description This command is used to download and store graphics information to the Flash memory or RAM Syntax GM GNAME p1 LF PCX file Parameter explanation GNAME Defines graphic name to be stored up to a maximum of 16 characters p1 PCX graphics file size decimal in bytes PCX file a PCX format graphic Example GK ...

Page 21: ...4 Height of graphic in dots P5 raster data Binary graphic data data size p3 X p4 Bytes I Command Character set selection Description This command is used to select the character set the default character set is Code page 437 English Syntax Ip1 p2 p3 LF Parameter explanation P1 number of data bits 8 for 8 bit data and 7 for 7 bit data P2 Character set P3 KDU country code 8 bit data p1 8 Character s...

Page 22: ...back feed setting is disabled as the factory default Syntax JB LF JF p1 LF Parameter explanation p1 Feed distance using dots Example JF14 LE Command Line draw by exclusive OR operation Description This command draws a line using an exclusive OR operation Syntax LEp1 p2 p3 p4 LF Parameter explanation P1 Horizontal X start position in dots P2 Vertical Y start position in dots P3 Horizontal length in...

Page 23: ...ion in dots P3 Horizontal length in dots P4 Vertical height in dots Example N LO50 30 100 10 LO100 20 5 110 W1 Printout LS Command Line draw diagonal Description This command is used to draw diagonal black lines overwriting previous information Syntax LSp1 p2 p3 p4 p5 LF Parameter explanation P1 Horizontal X start position in dots P2 Vertical Y start position in dots P3 Line thickness in dots P4 H...

Page 24: ...ation Syntax LWp1 p2 p3 p4 LF Parameter explanation P1 Horizontal X start position in dots P2 Vertical Y start position in dots P3 Horizontal length in dots P4 Vertical height in dots Example N LE50 30 100 10 LE50 60 100 10 LE50 90 100 10 LE50 120 100 10 LW100 20 5 110 W1 Printout N Command Clear image buffer Description Use this command to clear image buffer prior to building new label image ...

Page 25: ...lled C Enable Cutting mode Only with cutter kit installed N Enable Peeler mode Only with peeler kit installed Example O LF thermal transfer without cutter and peeler OD LF direct thermal without cutter and peeler OC LF direct thermal with cutter installed Note 1 Cutter and peeler cannot be installed at the same time 2 If the printing mode is incorrectly selected the LED at the front panel will beg...

Page 26: ...WA Command Print Automatic only used in form Description Use this command in a stored form sequence to automatically print the form as soon as all variable data has been supplied Syntax WAp1 p2 LF Parameter explanation p1 Number of label sets Range 1 65535 p2 Number of copies of the same label Range 1 65535 Example FK TEST1 FS TEST1 C0 6 N 1 Enter Start No T20 50 0 4 1 1 N Label ...

Page 27: ...gth measured in dots Value range o to 65535 Default length of media set by AutoSense p2 Gap length or thickness of black line perforation in dots Value range 16 to 240 The value of p2 is directly related to the mode being used Gap mode By default set p2 to the gap length In special cases perforations are used in Gap Mode Black Line Mode Set p2 to the black line thickness in dots Continuous Media M...

Page 28: ...60 dots at 200dpi p2 3 0mm 24 dots at 200dpi The Q command should be Q160 24 2 Special gap mode If p1 12 5 mm 100 dots at 200dpi p2 3 0mm 24 dots at 200dpi p3 3 0mm 24 dots at 200dpi The Q command should be Q100 24 24 3 Black line mode perforations are on black lines ...

Page 29: ...t 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 If p1 31 0 mm 248 dots at 200dpi p2 7 0mm 56 dots at 200dpi p3 17 mm 136 dots at 200dpi The Q command should be Q248 B56 136 ...

Page 30: ... 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 Example N q250 T20 30 0 2 1 1 N q command T20 60 0 2 1 1 N Label width 250 dots W1 R Command Set Reference Point Description This function is used to set or change the coordinate origin point Syntax Rp1 p2 LF Paramete...

Page 31: ... TDdd mn y4 Use the format 11 03 2015 TDdd me y4 Set the print format A100 200 0 4 1 2 N Date of manufacture TD Date of manufacture 11 Mar 2015 A100 400 0 4 1 2 N Next Week TD 7 Next Week 18 Mar 2015 TD Use default printing format A100 400 0 4 1 2 N Data of expiration TD 30 Data of expiration 2015 04 12 Note 1 Only applicable to models with RTC function inbuilt 2 When printing realtime with this c...

Page 32: ... clock with AM or PM as a postfix Default printing format h m s Example Suppose it is March 11 2010 22 50 30 by now TT Use the default time format 22 50 30 TTh m s Use the format 22 50 30 TTh m Use the format 22 50 TTh m s Use the format 10 50 30PM TTh m s Set the format to 10 50 30PM A100 200 0 4 1 2 N Now is TT Now is 10 50 30PM A100 400 0 4 1 2 N Time after an hour is TT 60 Time after an hour i...

Page 33: ... 1 ips 25 mmps 2 2 ips 50 mmps 3 3 ips 75 mmps 4 4 ips 100 mmps 5 5 ips 125 mmps 6 6 ips 150 mmps 7 7 ips 175 mmps 8 8 ips 200 mmps 9 9 ips 225 mmps 10 10 ips 250 mmps p1 Value Speed 10 1 0 ips 25 mm s 15 1 5 ips 37 mm s 20 2 0 ips 50 mm s 25 2 5 ips 63 mm s 30 3 0 ips 75 mm s 35 3 5 ips 83 mm s 40 4 0 ips 100 mm s 50 5 0 ips 125 mm s 60 6 0 ips 150 mm s 70 7 0 ips 175 mm s 80 8 0 ips 200 mm s 90 ...

Page 34: ...POSTEK PPLE COMMAND MANUAL 34 B4 Command reference Mode Syntax U LF Printout 1 English display ...

Page 35: ...1 并口协议及接口规范 Centronics 工作方式 热转印 纸张探测方式 穿透 碳带探测器 有效 撕纸模式 关闭 切纸模式 关闭 手动剥纸 关闭 当前打印黑度 10 本机MAC地址 00 1B E7 00 76 DB 本机IP地址 199 9 9 196 本机子网掩码 255 255 255 0 本机网关 0 0 0 0 TCP端口号 9100 245 936 900 36 311 内部字体 I2 The Font 1 ASCII AaBbCc0123456789 The Font 2 ASCII AaBbCc0123456789 The Font 3 ASCII AaBbCc0123456789 中文宋体 The Font 4 ASCII AaBbCc0123456789 The Font 5 ASCII ABC The Font 6 AaBbCc0123456789 ...

Page 36: ...r or Ribbon Empty 0x07 Duplicate Name Form Graphic or Soft Font 0x08 Name Not Found Form Graphic or Soft Font 0x09 Not in Data Entry Mode 0x0a Print Head Up Open 0x0b Pause Mode or Paused in Peel mode 0x0c Does not fit in area specified 0x0d Data length to long 0x0c PDF 417 coded data to large to fit in bar code 0x0d 0x0e V Command Define Variable Description Use this command to define variable da...

Page 37: ...mands Q100 0 FR TEST2 Part Number 1234 W1 2 Printout X Command Box Draw Description This command is used to draw a box Syntax Xp1 p2 p3 p4 p5 LF Parameter explanation P1 Horizontal start position X in dots P2 Vertical start position Y in dots P3 Line thickness in dots P4 Horizontal stop position X in dots P5 Vertical stop position Y in dots Example N T50 30 0 4 1 1 R BOXES X50 120 5 250 150 X120 1...

Page 38: ...table values are B or T The default value is T B Print from bottom right corner T Print from top left corner Example N ZT T50 30 0 4 1 1 R ZT W1 ZN ZS Command Disable Enable Flash Memory Description Use this command to enable disable Flash memory Syntax ZN LF ZS LF Example ZS FK TEST3 FS TEST3 T100 100 0 4 1 1 N Test Flash FE The above command will be stored to the flash memory of printer The foll...

Page 39: ...00 T50 400 0 3 1 1 N Quantity V01 FE ends form store sequence FR form1 execute form1 ready to accept variables input Screws first variable V00 is set to String Screws 235 second variable V01 is set to String 235 W1 print one label Command Reset the Printer Description This command emulates Power Off and then Power On thus reinitializing the printer Syntax LF The reset command is not available duri...

Page 40: ...p3 Starting block number p4 Byte size of RFID data p5 Write in Block 0 Reserved 1 EPC 2 TID 3 USER DATA A string Format determined by p2 Note All values of RF command must be filled in or the command will not be executed Example 1 N RF1 0 2 6 1 313233343536 W1 Result Example 2 N RF1 1 0 6 3 POSTEK W1 Result RZ Command Lock Unlock and Set password for RFID tag Syntax RZp1 p2 DATA CR LF Parameter ex...

Page 41: ...Sp1 p2 p3 p4 p5 CR LF Parameter explanation p1 Reserved Default value 0 p2 Distance between top of label and the optimal RFID chip writing position Range 0 999 Default value 0 Unit mm p3 Reserved Default value 0 p4 Maximum number of retries if exceed the printer will stop and report a RFID error Range 0 9 Default value 2 p5 Reserved Default value 0 Example RS0 0 0 2 0 Result This example sets the ...

Page 42: ...n dots Note Each BF command corresponds to only one B command and it should be placed right before the B command g command Designate the Spacing Between Neighboring Characters Syntax gp1 Parameter explanation p1 Length of the spacing unit in dots Note Each g command corresponds to only one T command and it should be placed right before the T command Fonts usually have initial spacing value set aft...

Page 43: ... 200 B 00234567 BF A 48 48 B500 525 3 1 6 18 200 B 00234567 W1 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 p1 Transfer Rate 57 57 600 38 38 400 19 19 200 96 9 600 p2 Parity bits setup Options O Odd E Even N None Note O is a letter not a number P3 Data bits setup Options 7 ...

Page 44: ...ence 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 Example JH120 ...

Reviews: