SEWOO LK-P20II Technical Manual

SEWOO LK-P20II Technical Manual

2-inch label
Hide thumbs Also See for LK-P20II:

Advertisement

2-inch Label
Mobile Printer
Mobile Printer
Mobile Printer
Mobile Printer
Technical Manual
Technical Manual
Technical Manual
Technical Manual
SEWOO TECH CO., LTD
SEWOO TECH
SEWOO TECH
SEWOO TECH
CO., LTD
CO., LTD
CO., LTD
www.miniprinter.com
www.miniprinter.com
www.miniprinter.com
www.miniprinter.com
Rev 1.0
2008.07.24

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LK-P20II and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for SEWOO LK-P20II

  • Page 1 2-inch Label Mobile Printer Mobile Printer Mobile Printer Mobile Printer Technical Manual Technical Manual Technical Manual Technical Manual SEWOO TECH SEWOO TECH CO., LTD SEWOO TECH SEWOO TECH CO., LTD CO., LTD CO., LTD www.miniprinter.com www.miniprinter.com www.miniprinter.com www.miniprinter.com Rev 1.0...
  • Page 2: Table Of Contents

    2-inch Label Technical Manual TABLE OF CONTENTS 1. Programming Introduction 2. Printer Commands A. Printer Commands B. PRINT Command C. FORM Command D. JOURNAL Command E. UNITS Command F. Using Commend 3. TEXT A. TEXT Command B. FONT-GROUP(FG) Command C. TEXT CONCATENATION Command D.
  • Page 3 2-inch Label Technical Manual 7. Advanced Commands A. CONTRAST Command B. TONE Command C. JUSTIFICATION Commands D. PAGE-WIDTH Command E. PACE Command F. NO-PACE Command G. WAIT Command H. SPEED Command SETSP Command J. ON-OUT-OF-PAPER Command K. ON-FEED Command L. PREFEED Command M.
  • Page 4 2-inch Label Technical Manual 9. Advanced Utilities A. VERSION Utility B. CHECKSUM Utility C. DEL Utility D. DIR Utility E. DEFINE-FILE(DF) Utility F. TYPE Utility G. BAUD Utility H. TIMEOUT Utility ON-LOW-BATTERY Command J. LT Command K. SET-TIME Utility L. GET-TIME Utility M.
  • Page 5: Programming Introduction

    2-inch Label Technical Manual 1. Programming introduction This manual details the various commands in the CPCL language which allow the programmer to utilize the built in text, graphics, bar code printing and communications capabilities. The following notation conventions are used throughout this manual. Required item Optional item Abbreviated command...
  • Page 6: Printer Commands

    2-inch Label Technical Manual 2. Printer commands A label file always begins with the “!” character followed by an “x” offset parameter, “x” and “y” axis resolutions, a label length and finally a quantity of labels to print. The line containing these parameters is referred to as the Command Start Line.
  • Page 7: Print Command

    2-inch Label Technical Manual B. Print command The print command terminates and prints the file. This must always be the last command (except when in Line Pint Mode). Upon execution of the Print command, the printer will exit from a control session.
  • Page 8: Units Command

    2-inch Label Technical Manual E. UNITS Command The Units commands are used to specify a measurement system for all subsequent command fields in a control session. Coordinates, widths, and heights for all control commands can be entered with precision for four decimal places. The printer measurement system will default to dots until a units command is issued.
  • Page 9: Using Commend

    2-inch Label Technical Manual F. Using Comments Comments can be added between the first line of a command start line and the print command. A comment is placed in the file by starting a line with the ‘;’ character in the first column. Any remaining text to the end of the line will be ignored.
  • Page 10: Text

    2-inch Label Technical Manual 3. TEXT A. TEXT Commands The TEXT command is used to place text on a label. This command and its variants control the specific font number and size used, the location of the text on the label. {command} {font} {size} {x} {y} {data} Format Command &...
  • Page 11: Font-Group(Fg) Command

    2-inch Label Technical Manual B. FONT-GROUP(FG) Command The FG command gives a user the ability to group up to 10 pre-scaled font files into a single group. A user can later specify the font group in a TEXT command. If a font group is used in a text command, the printer will use the largest font specified in the font group that will produce the required text data and still remain within the available width of the label the text.
  • Page 12: Text Concatenation Command

    2-inch Label Technical Manual C. TEXT CONCATENATION Command Text concatenation allows you to assign different character styles to strings, printing them with uniform spacing on the same text line. This command should be used in combination with CONCAT Command and ENDCONCAT Command. {command} {x} {y} Format {font} {size} {offset} {data}...
  • Page 13: Multiline(Ml) Command

    2-inch Label Technical Manual D. MULTILINE(ML) Command MULTILINE (ML) allow you to print multiple lines of text using the same number of font and line-height. {command} {height} Format {text} {font} {size} {x} {y} {data} ……… {data} <ENDMULTILINE> Command & option {command} MULTILINE (or ML) MULTILINE Prints multiple lines of text.
  • Page 14: Count Command

    2-inch Label Technical Manual E. COUNT Command The COUNT command is used for printing multiple labels where a numeric text field or numeric data encoded in a bar code is to be incremented or decremented for each label. The TEXT/BACODE command string must contain this numeric data as the last characters of the string.
  • Page 15: Linear Bar Codes

    2-inch Label Technical Manual 4. Linear Bar Codes A. BARCODE Command The BARCODE command prints bar codes in both vertical and horizontal orientations at specified widths and heights. Standard Bar Codes {command} {type} {width} {ratio} {height} {x} {y} {data} ormat Command &...
  • Page 16: Barcode-Text Command

    2-inch Label Technical Manual B. BARCODE-TEXT Command The BARCODE-TEXT command is used to label bar codes with the same data used to create the bar code. The command eliminates the need to annotate the bar code using separate text commands. Use BARCODE-TEXT OFF (or BT OFF) to terminate.
  • Page 17: Two-Dimensional Bar Codes

    2-inch Label Technical Manual 5. Two-Dimensional Bar Codes A. PDF417 (PORTABLE DATA FILE) The following commands are used for the creation and formatting of two-dimensional bar codes. {command} {type} {x} {y} [XD n] [YD n] [C n] [S n] Format {data} <ENDPDF>...
  • Page 18: Maxicode

    2-inch Label Technical Manual B. MAXICODE This revision supports only Mode 2 bar codes. Format {command} {type} {x} {y} {tag} {options} … {tag} {options} <ENDMAXICODE> Command & option {command} BARCODE or B Prints bar code {type} MAXICODE Horizontal starting position Vertical starting position {tag} Tags not supplied will be filled with default values.
  • Page 19 2-inch Label Technical Manual HEAD Transportation data format 01[GS]98 header Tracking Number [GS] SCAC Standard Carrier Alpha Code UPSN SHIPPER UPS Shipper Number [GS] PICKDAY Julian day of pickup [GS] SHIPID Shipment ID Number [GS] Package N of X (n/x) [GS] WEIGH Package weight...
  • Page 20: Graphics

    2-inch Label Technical Manual 6. Graphics A. BOX Command The BOX command provides the user with the ability to produce rectangular shapes of specified line thickness. {command} {x0} {y0} {x1} {y1} {width} Format Command & option {command} {x0} X-coordinate of the top left corner {y0} Y-coordinate of the top left corner {x1}...
  • Page 21: Inverse-Line Commands

    2-inch Label Technical Manual C. INVERSE-LINE Commands The INVERSE-LINE Command has the same syntax as the LINE command. Previously created objects that lie within the area defined by the INVERSE-LINE command will have their black areas re-drawn white, and white areas re-drawn black. D.
  • Page 22: Graphics Commands

    2-inch Label Technical Manual E. GRAPHICS Commands Bit- mapped graphics can be printed by using graphics commands. ASCii HEX is used for expanded graphics data. Data size can be reduced to one-half by utilizing the COMPRESSED GRAPHICS commands with the equivalent binary character(s) of the hex data. {command} {width} {height} {x} {y} {data} Format Command &...
  • Page 23: Pcx Commands

    2-inch Label Technical Manual F. PCX Commands The PCX command gives a user the ability to send “.PCX” graphics formatted images to the printer. The .PCX image MUST be encoded as a black and white image. {command} {x} {y} {data} Format Command &...
  • Page 24: Advanced Commands

    2-inch Label Technical Manual 7. Advanced Commands A. CONTRAST Command The contrast command is used to specify the print darkness for the entire label. The lightest printout is at contrast level 0. The darkest contrast level is 3. The printer defaults to contrast level 0 on power up. Contrast level must be specified for each label file.
  • Page 25: Page-Width Command

    2-inch Label Technical Manual D. PAGE-WIDTH Command The command specifies the page width {command} {width} Format Command & option {command} PAGE-WIDTH (or PW) {width} Unit –width of the page...
  • Page 26: Pace Command

    2-inch Label Technical Manual E. PACE Command When PACE is activated, the user must depress the printer’s ‘FEED’ key to print additional labels until the bath quantity is exhausted. {command} Format Command & option {command} PACE F. NO-PACE Command This command cancels the PACE and AUTO-PACE mode G.
  • Page 27: Speed Command

    2-inch Label Technical Manual H. SPEED Command This SPEED command selects a speed level within a range of 0 to 5, with 0the slowest speed. Format {command} {speed level} Command & option {command} SPEED {speed level} A number between 0 and 5, 0 being the slowest speed. I.
  • Page 28: On-Feed Command

    2-inch Label Technical Manual K. ON-FEED Command Your printer can be configured to ignore, form-feed, or reprint the last label when the feed key is pressed or when it receives a form-feed character. {command} {action} Format Command & option {command} ON-FEED {action} IGNORE: Do not take any action when the feed key is pressed or when the...
  • Page 29: Postfeed Command

    2-inch Label Technical Manual M. POSTFEED Command The POSTFEED command instructs the printer to advance the media a specified amount after printing. Format {command} {length} Command & option {command} POSTFEED {length} Unit length the printer advances media after printing. N. COUNTRY/CODE PAGE Command The COUNTRY control command substitutes the appropriate character set for the specified country, Format {command} {name}...
  • Page 30: Using Format Files

    2-inch Label Technical Manual O. USING FORMAT FILES When you used the same form repeatedly, you can print the label only sending variable date to the printer by using a pre-loaded format. In order to save a specified form, use “! DE” and to recall the saved format, use “! UF”. P.
  • Page 31: Line Print Mode

    2-inch Label Technical Manual 8. Line Print Mode The “! UTILITIES” command, or “! U” for short, must be ended by the terminator “PRINT” followed by a CR/LF to end the utility session. Also, the “! U1” command can be placed anywhere in a text line o execute the command.
  • Page 32: Moving With X And Y Coordinates

    2-inch Label Technical Manual C. Moving With X and Y Coordinates Even though the printer is in a line print mode, it can still move down and across the paper using X and Y values. ! U1 X {unit value} Format ! U1 Y {unit value} ! U1 XY {x unit value} {y unit value}...
  • Page 33: Page-Width Command

    2-inch Label Technical Manual G. PAGE-WIDTH Command This command let you control the width. Format ! U1 {unit width} {unit width} Printing width for unit H. PAGE-HEIGHT Command This command let you control the height. ! U1 {unit height} Format {unit height} Print height I.
  • Page 34: Set-Tof Command

    2-inch Label Technical Manual K. SET-TOF Command This command is used to program the distance between the top-of-form and the end of the next or previous eye-sense mark or gap. ! U1 {command} {d} Format Command & option {command} SET-TOF The distance between the top of form and the end of the next or previous eye- sense mark or gap.
  • Page 35: Advanced Utilities

    2-inch Label Technical Manual 9. Advanced Utilities A. VERSION Utility This command reports the firmware version as a four character null-terminated ASCII string. <!> <UTILITIES> Format {command} <PRINT> Command & option {command} VERSION B. CHECKSUM Utility This command reports the application checksum as a four character null-terminated ASCII string. C.
  • Page 36: Define-File(Df) Utility

    2-inch Label Technical Manual E. DEFINE-FILE(DF) Utility The DF command defiles a file name for a file to be loaded into the printer. If a file with the same name already exists in the printer. it will be overwritten with the new file. <!>...
  • Page 37: Timeout Utility

    2-inch Label Technical Manual H. TIMEOUT Utility If no data is received after the specified timeout, the printer will turn itself off to save energy and preserve battery life. You can disable the timeout feature by setting the timeout value to 0. <!>...
  • Page 38: Set-Time Utility

    2-inch Label Technical Manual K. SET-TIME Utility This command sets the time in the real time clock module. Format <!> <UTILITIES> {command} {time-stamp} <PRINT> Command & option {command} SET-TIME {time-stamp} hh:mm:ss hh = hours (00 – 23) mm = minutes (00 – 59) ss = seconds (00 –...
  • Page 39: Get-Date Utility

    2-inch Label Technical Manual N. GET-DATE Utility This command reports the current date. Format <!> <UTILITIES> {command} <PRINT> Command & option {command} GET-DATE Printer output mm:dd:yyyy\0 mm = month (01 – 12) dd = day (01 – 31) yy = year (1990 – 2089) null terminator (00H) O.
  • Page 40: Paper-Jam Utility

    2-inch Label Technical Manual Q. PAPER-JAM Utility This command establishes the parameters that allow the printer to report a paper jam. Format <!> <UTILITIES> {command} {method} {bar distance} {alert “message”} <PRINT> Command & option {command} PAPER-JAM {method} PRESENTATION This parameter establishes which sensor will be used to detect a paper jam. {bar-distance} Maximum distance within which index mark of next label is expected {alert “message”}...
  • Page 41: Printer Escape Commands

    2-inch Label Technical Manual 10. Printer Escape Commands A. SET AND READ CODE Command Printer command sessions normally start with the ‘!’ character. When the printer is used in Generic Text Mode (or Line-Print Mode) and if the user expects to print the ‘!” character in that mode, then the CCL code must be changed.
  • Page 42: Power Off Command

    2-inch Label Technical Manual Get Printer Information ESC (0x1b) ‘s’(0x73) This command instruct the printer to return a null-terminated string containing its model number, firmware revision and serial number. Get User Label Count ESC (0x1b) ‘L’(0x73) ‘R’(0x52) ‘U’(0x55) ‘C’(0x43) This command requests the current user label count from the printer. This count represents the total number of labels printed since the last time the count was reset to zero.
  • Page 43: Configuration/Control Commands

    2-inch Label Technical Manual 11. Configuration/Control Commands The following section covers a set of commands to configure and query printer parameters and perform various printer control functions. For example, this set of commands include querying printer’s baud rate or setting the specified value of baud rate. This set of commands is referred to as the set/get/do command.
  • Page 44 2-inch Label Technical Manual characters “setpin”. This parameter is not used when the “bluetooth.authentication” parameter is set to “default” or “off”. See “bluetooth.authentication”. bluetooth.date getvar This parameter is the release date of the Bluetooth module. bluetooth.discoverable getvar This parameter sets the Bluetooth discoverable mode setvar “on”...
  • Page 45 2-inch Label Technical Manual printer files. file.rename This command can be used to rename printer files. file.run This command can be used to execute a batch file or label file stored in the printer’s file system. file.type This command can be used to retrieve contents of a file.
  • Page 46 2-inch Label Technical Manual “journal” default “label” Memory Parameters memory.flash_size getvar This parameter refers to the total amount of Flash memory. memory.flash_free getvar This parameter refers to the amount of available Flash memory. memory.ram_size getvar This parameter refers to the total amount of Random Access Memory.
  • Page 47 2-inch Label Technical Manual setvar “0” the printer reaches the low battery state this timeout will become active. The printer will shut down after the “65535” specified low battery time out A value of “0” disables inactivity timeout default “60” power.low_battery_shutdown getvar This parameter refers to the low battery shutdown...

This manual is also suitable for:

Lk-p20

Table of Contents