Home

1394308827-Impressora de Etiquetas_LB

image

Contents

1. ose 117 ETRIM OS a 118 E 119 dec tah 120 HO 121 e Di de ei ooo ora 122 EE eS Ip 123 Device Reconfiguration 55 255 125 MEE diee c M ERN 125 SET CUTTER eth geo SP aaea an E Plat oat ub GR e s 126 SET PARTIAL aieo abide 127 SETBACK eem cR 129 SEEKEYT SETKEY2 SET KEYS cs irre 130 SEDLEEDT SEDEED2 uet 132 a 134 SET TEAR amp SET STRIPER a 135 scr c M 136 SELLER Ae c 138 SET RIBBON iie tee ead ee Gee edito ut qucd 139 es deca ced deduce ocelot folate as 140 tu
2. 64 EE 65 M 66 Al MM cae wasted et tase 67 68 Ml E s 69 p HO 70 Message Translation iat ote en 71 d 1 71 5 for Windows s sanie cott 72 o p eR 72 Hace ae cone ea PCT 73 a 74 File Ettore M 75 4 DOWNLOAD ce ear a nT ee 75 ze ats De 78 79 os eos 80 Sarees emcees Sere encore MC LL tub tL 82 AT RUN cnc 83 BASIC Commands and FUlCHOFIS citt eene aem etas dence 84 VM lp NS 84 up T 85 IDEM EE 86
3. ot SR AI UP tS 141 143 144 DEDS dott deat ts os 145 2 ET 146 Printer Global Variables cis haved et etate eet te tdeo den dee e e ibd 147 E i 147 YEAR m 148 lt 149 DATE cece tase en tara 150 151 HOUR qum Ce 152 spec m 153 SECOND aite m bo a e m Lais 154 E bp LL E Eb Es 155 156 s i cte 157 pi 158 O HOUR EMPTORE 159 160 About the manual This manual provides instructions on how to program Bematech s LB 1000 Label Printer Who should read this manual This manual was developed either for technical and common users in order to provide instructions on how to program the equ
4. 24 25 SODND PA tsi oe M 26 27 tim attt men nt OM Artur ua 28 8 tene e i oh t ee Ee Gita wri dhe we ile 29 Label Formatting Commsll S sce dale i etras 30 ZEB 30 31 BMAP iret e tt eta tt tae 36 BOX PEE 38 eae M 39 ntt eae euis E 40 E c Eee os E eee 41 MAXI GOD T 42 PDREATA HON E ML M NUR 44 uu CELER MN 48 auth tated te eth bated Qa re bah e ee dent 50 PUT POX doe 51 ORCODE ase e edenda aed e ade ie 52 D a E 56 REVERSE S oct tte tN atte t aid D M 59 Status Polling Commands 62 VT MM Std Al E 62 Pedal 63
5. Example C gt COPY CON LPT1 lt ENTER gt RUN DEMO BAS lt ENTER gt lt CTRL gt lt Z gt lt ENTER gt C gt Note lt ENTER gt stands for PC keyboard ENTER key lt CTRL gt lt Z gt means to hold PC keyboard CTRL key then press the PC keyboard lt Z gt key See Also DOWNLOAD EOP BASIC Commands and Functions ABS Description This function returns the absolute value of an integer floating point or variable Syntax ABS VARIABLE Example DOWNLOAD TEST BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS A ABS 100 B ABS 50 98 C 99 99 TEXT 100 100 3 0 1 1 STR A TEXT 100 150 3 0 1 1 STR B TEXT 100 200 3 0 1 1 STR ABS C PRINT 1 EOP See Also DOWNLOAD EOP ASC Description This function returns the ASCII code of the character Syntax ASC A Example DOWNLOAD TEST BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS CODE1 ASC A TEXT 100 100 3 0 1 1 STR CODE1 PRINT 1 EOP See Also DOWNLOAD EOP STR CHRS Description This function returns the character with the specified ASCII code Syntax CHR n Parameter Description n The ASCII code Example DOWNLOAD TEST BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS A 65 WORD CHR A TEXT 100 100 3 0 1 1 WORD PRINT
6. CUT Description This command activates the cutter to immediately cut the labels without back feeding the label Syntax CUT Parameter Description None N A Example SIZE 3 3 GAP 0 mm 0 CLS DIRECTION 0 REFERENCE 0 0 OFFSET 0 00 mm SET CUTTER OFF SET TEAR OFF BOX 0 0 866 866 5 TEXT 100 100 5 0 1 1 FEED amp CUT TEXT 100 200 5 0 1 1 300 DPI PRINT 1 1 FEED 260 CUT See Also SET CUTTER SET BACK SET PARTITAL CUTTER LIMITFEED Description If the gap sensor is not set to a suitable sensitivity while feeding labels the printer will not be able to locate the correct position of the gap This command stops label feeding and makes the red LED flash if the printer does not locate gap after feeding the length of one label plus one preset value Syntax LIMITFEED n inch the English system LIMITFEED n mm the metric system Parameter Description n The maximum length for sensor detecting Note The setting will remain resident in memory The default value is 10 inches when printer initializes For metric system there must be a space between parameter n and mm SELFTEST Description At this command the printer will print out the printer information Syntax SELFTEST Model Support LB 1000 X Example SELFTEST Label Formatting Commands BAR Description This command draws a bar on the label format Syntax BAR x y width height Parameter Description X The upper left cor
7. 87 a oe 88 eal CR et 88 dds eae 91 cv 92 d t EL 94 ache 95 96 97 IF THEN ELSE ENDIF 98 OSB cat lS 102 GOTO e 103 ronde uS Ld 104 INPUT 105 REM MX 106 acta ene D 107 108 109 ee PR IE 110 H2 px 111 itte DOLOR e Per HOO RAD OL RIDE CUR ERO Wotan OUR 112 M 113 SIR 114
8. Example DOWNLOAD INPUT1 BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF START INPUT CODE 39 C398 INPUT 13 12 E138 CLS TEXT 20 50 3 0 1 1 INPUT and 200 Test BARCODE 20 100 39 48 1 0 2 5 C398 BARCODE 20 200 EAN13 48 1 0 4 4 E13 PRINT 1 GOTO START EOP See Also DOWNLOAD EOP END GOTO REM Description Comment Prefix is REM which will be ignored by the printer Syntax REM Example REM kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk REM This is a demonstration program REM kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk DOWNLOAD REMARK BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 4 DIRECTION 1 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 50 50 3 0 1 1 REMARK DEMO PROGRAM REM TEXT 50 100 3 0 1 1 REMARK DEMO PROGRAM PRINT 1 1 EOP See Also DOWNLOAD EOP END OUT Description This command sends data through the printer serial port Syntax OUT prompt variable Parameter Description prompt Prompt which is shown on LCD screen variable The output message Example DOWNLOAD DEMO BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS PRICE 123456 OUT PRICE PRICE EOP See Also DOWNLOAD EOP END amp GETKEY Description This command is used to get the status of the PAUSE and FEED keys This command waits until either
9. TSC BMP B LPT1i 1 file lt s gt copied iC BMP PC amp gt COPY CON LPT1 SIZE 4 2 5 166 166 TSC BMP 1 1 file lt s gt copied See Also DOWNLOAD BITMAP PUTPCX PUTPCX Description This command prints PCX format images TSPL language supports 2 color PCX format graphics TSPL2 language supports 256 color PCX format graphics Syntax PUTPCX X Y filename Parameter Description X The x coordinate of the PCX image Y The y coordinate of the PCX image filename The downloaded PCX filename Case sensitive Support Model 2 color PCX 256 color PCX LB 1000 X X Example IC BMP PCX gt DIR Volume in drive is WIN 8 Volume Serial Number is 4146 4735 Directory of C BMP PCK 1 83 2885 206 PM lt DIR gt 1 83 2685 96 PM lt DIR gt 1 03 2685 52 PM 12 438 TSC bmp 1 83 2085 1 PM 1 181 TSC pcx 2 File lt s gt 13 611 bytes 2 Dir lt s gt 8 882 189 312 bytes free gt CON LPT1 DOWNLOAD 8 1181 27 1 file lt s gt copied TSC PCK B LPT1i 1 file lt s gt copied IC BMP PCR gt COPY CON LPT1 SIZE 4 2 5 0 0 TSC PCX 1 files copied IC BMP PCX gt See Also DOWNLOAD BITMAP PUTPCX QRCODE Description This command prints QR code Syntax QRCODE X Y ECC Level cell width mode rotation model mask Data string Parameter Description X The u
10. DOWNLOAD TEST BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 4 DIRECTION 1 CLS FOR 1 TO 10 STEP 1 TEXT 100 10 30 I 1 3 0 1 1 STR I NEXT FOR 1 TO 1000 STEP 100 TEXT 200 10 I 1 10 3 3 0 1 1 STR I NEXT FOR 110 TO 10 STEP 10 TEXT 300 10 ABS I 110 3 3 0 1 1 STR NEXT FOR 1 TO 5 STEP 0 5 IF I INT I 0 THEN Y210460 I 1 ELSE Y Y 30 TEXT 400 Y 0 1 1 STR See Also DOWNLOAD EOP IF THEN ELSE ENDIF LOOP Description Use IF THEN block to execute one or more statements conditionally Either a single line syntax or multiple line block syntax can be used MODEL Support single line form multiple line form LB 1000 X X Syntax IF condition THEN statement Note the single line form of IF THEN does not use an ENDIF statement Or IF condition THEN Statements ENDIF Or IF condition THEN Statements ELSE Statements ENDIF Or IF condition 1 THEN Statement block 1 ELSEIF condition 2 THEN Statement block 2 ELSEIF condition n THEN Statement block n ENDIF TSPL2 printers only TSPL2 printers only TSPL2 printers only The syntax of IF THEN ELSE requires that the command be typed in one single less than 255 characters Parameter condition statement Example Description Available relational operator lt gt lt gt Only one statement is available in DOWNLOAD DEMO BA
11. e bematech Programming Manual Label Printer Foto Meramente llustrativa Programming Manual LB 1000 Part number 501012560 Revision 1 0 August 2012 Copyright Bematech S A All rights reserved No part of this publication may be copied reproduced adapted or translated without the prior written permission of Bematech S A except when allowed by patent rights Information in this publication is purely informative subjected to change without notice and no liability is assumed with respect to its use However as product improvements become available Bematech S A will make every effort to provide updated information for the products described in this publication The latest version of this manual can be obtained through Bematech S A website www bematech com Notwithstanding the other exceptions contained in this Manual the consequences and responsibility are assumed by the Purchaser of this product or third parties as a result of a intentional use for any improper unintended or unauthorized applications of this product including any particular purpose b unauthorized modifications repairs or alterations to this product c use of the product without complying with Bematech S A operating and maintenance instructions d use of the product as component in systems or other applications in which the failure of this could create a situation where personal injury or material damages may occur In the events descri
12. BARCODE 100 100 39 48 1 0 2 5 CODE 39 PRINT 1 SETCOM1 Description This setting defines communication parameters for printer serial port Syntax SET COM1 baud parity data stop Parameter Description baud Baud rate available baud rates are as listed 24 2400 bps 48 4800 bps 96 9600 bps 19 19200 bps 38 38400 bps 57 57600 bps 115 115200 bps parity Parity check N No parity check E Even parity check O Odd parity check Data Data bit 8 8 bits data T 7 bits data stop Stop bit 1 1 stop bit 2 2 stop bits Example The parallel port is used to setup the printer serial port in this example via MS DOS mode C gt COPY CON LPT1 lt ENTER gt SET COM1 19 N 8 1 lt ENTER gt lt CTRL gt lt Z gt lt ENTER gt C Note ENTER stands for PC keyboard ENTER key lt CTRL gt lt Z gt means to hold PC keyboard CTRL key then press the PC keyboard Z key SET PRINTKEY Description This command will print one label and feed label gap to tear bar position for tearing away Press FEED button to print the next label or batch of labels If label content includes serial text or barcode it will change the serial number accordingly This setting will be saved in printer memory Syntax SET PRINTEKY OFF ON AUTO lt num gt Parameter Description OFF Disable this function ON Enable this function AUTO Enable this function lt num gt This command is only available for TSPL2 printers Number
13. GAP 3 0 Continuous label TON GAP 0 0 Special gap English system inch GAP 0 30 0 10 Metric system mm GAP 7 62 mm 2 54 mm See Also SIZE BLINE GAPDETECT Description This command feeds the paper through the gap sensor in an effort to determine the paper and gap sizes respectively This command references the user s approximate measurements If the measurements conflict with the actual size the GAPDETECT command will not work properly This calibration method can be applied to the labels with pre printed logos or texts Syntax GAPDETECT x Parameter Description X Paper length in dots y Gap length in dots Note If the x y parameters are ignored then the printer will calibrate and determine the paper length and gap size automatically See Also GAP SIZE BLINEDETECT AUTODETECT BLINEDETECT Description This command feeds the paper through the black mark sensor in an effort to determine the paper and black mark sizes respectively This command references the user s approximate measurements If the measurements conflict with the actual size the BLINEDETECT command will not work properly This calibration method can be applied to the labels with pre printed logos or texts Syntax BLINEDETECT x y Parameter Description X Paper length in dots y Gap length in dots Note If the x y parameters are ignored then the printer will calibrate and determ
14. Parameter Description N A N A See Also lt ESC gt 710 Description This command inquires the mileage of the printer The integer part of mileage is returned the decimal part of mileage is not return to the PC in ASCII characters The ending character of mileage is OxOD Syntax 0 Parameter Description None N A Example 1 e IA Description This command inquires the free memory of the printer The number of bytes of free memory is returned in decimal digits with OxOd as ending code of PC Syntax IA Parameter Description None N A Example IA See Also FILES e IC Description This command inquires the presence of Real Time Clock One byte is return from the printer indicating whether or not the RTC is installed This command is only for the firmware before V6 xx Syntax Parameter Description None N A Return value Description 0 RTC is not installed 1 RTC is installed Example See Also YEAR MONTH DATE WEEK HOUR MINUTE SECOND YEAR MONTH DATE DAY HOUR MINUTE SECOND D Description This command enters the printer into DUMP mode In DUMP mode the printer outputs code directly without interpretation Syntax 0 Description None N A Example ID e IF Description This command inquires all about files resident in the printer memory and fonts installed in the memory module The filename are returned in ASCII c
15. This variable reads writes the minute data via the Real Time Clock RTC The two digits 00 59 minute format is supported by RTC MINUTE global variable can be accessed directly without using BASIC language functions Syntax Write attribute MINUTE 12 Read attribute MINUTE Range 00 59 Model Support LB 1000 X Example REM Set MINUTE MINUTE 59 REM FREES ppp SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 10 10 5 0 1 1 MINUTE TEXT 310 10 5 0 1 1 MINUTE PRINT 1 See Also IC YEAR MONTH DATE DAY HOUR SECOND SECOND Description This variable reads writes the second data via the Real Time Clock RTC The Two digit 00 59 second format is supported by RTC SECOND global variable can be accessed directly without using BASIC language functions Syntax Write attribute SECOND 12 Read attribute SECOND Range 00 59 Model Support LB 1000 X Example REM Set SECOND SECOND 59 REM ripe SIZE 3 3 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 10 10 5 0 1 1 SECOND TEXT 310 10 5 0 1 1 SECOND PRINT 1 See Also IC YEAR MONTH DATE DAY HOUR MINUTE Programming Manual Label Printer LB 1000 bematech bematech com
16. UPCE 2 UPC E with 2 digits add on UPCE 5 UPC E with 5 digits add on CPOST China post code MSI MSI code MSIC MSI with check digit PLESSEY PLESSEY code ITF14 ITF 14 code EAN14 EAN 14 code 11 Code 11 height Bar code height in dots human readable0 not readable 1 human readable rotation 0 No rotation 90 Rotate 90 degrees clockwise 180 Rotate 180 degrees clockwise 270 Rotate 270 degrees clockwise narrow Width of narrow element in dots wide Width of wide element in dots AN128 13 AN13 2 AN13 5 AN 8 2 AN 8 5 PCA 2 PCA 5 PCE 2 PCE 5 POST D gt m gt A3 55 narrow wide narrow wide narrow wide narrow wide narrow wide 1 1 1 2 1 3 2 5 3 7 10x 10 10x 10x 5x 10x 10x 5x 10x 10x 5X 10x 10x 5X 10x 8x 8x 8x 8x 8x 8x 10x 10x 5x 1x 8 8 8 8 8 8 1 10 10 10 TF 10x 1 1 1 10 code number the maximum number of digits of bar code content Barcode type Maximum bar code length 128 128 25 25C 39 39C 93 EAN13 12 EAN13 2 14 EAN13 5 17 EAN 8 7 EAN 8 2 9 EAN 8 5 12 CODA 5 5 9 11 11 UPCA 2 13 UPCA 5 16 UPCE 6 UPCE 2 8 UPCE 5 11 CPOST MSI MSIC PLESSY ITF14 13 14 13 CODE 11 BARCODE 100 100 39 96 1 0 2 4 1000 BARCODE 10 10 128M 48 1 0 2 2 104 096ABCD 01 EFGH The above example of
17. code Parameter X Y code type 128 128M EAN128 25 25C 39 39C 395 93 13 Description Specify the x coordinate of the bar code on the label Specify the y coordinate of the bar code on the label Code 128 switching code subset A B C automatically Code 128 switching code subset A B C manually Control code A 096 FNC3 NONE 097 FNC2 NONE 098 SHIFT NONE 099 CODE C NONE 100 CODE CODE B 101 FNC4 CODE 102 FNC1 FNC1 103 Start CODE A 104 Start CODE B 105 Start CODE C Use as a starting character for the control code followed by three control codes If the start subset is not set the default starting subset is Code 128 switching code subset A B C automatically Interleaved 2 of 5 Interleaved 2 of 5 with check digits Code 39 full ASCII for TSPL2 printers Code 39 standard for TSPL printers Auto switch full ASCII and standard code 39 for PLUS models Code 39 full ASCII with check digit for TSPL2 printers Code 39 standard with check digit for TSPL printers Auto switch full ASCII and standard code 39 for PLUS models Code 39 standard for TSPL2 printers Code 93 EAN 13 EAN13 2 EAN 13 with 2 digits add on EAN13 5 EAN 13 with 5 digits add on EAN8 EAN8 2 EAN8 5 CODA POST UPCA UPCA 2 UPCA 5 EAN 8 EAN 8 with 2 digits add on EAN 8 with 5 digits add on Codabar Postnet UPC A UPC A with 2 digits add on UPC A with 5 digits add on UPCE UPC E
18. 0 K El 72 AABC B001 4abc123 1234 abcd PRINT 1 1 EOP A Data string including double quote character please use instead of SIZE 4 2 5 CAP 0 12 0 CLS QRCODE 10 10 H 4 M 0 AABC BO005 Jabc IN123 QRCODE 160 160 H 4 M 0 N123 B0001 AABC B0004 Jabc QRCODE 310 310 H 4 M 0 B0001V IK E J 224 B0010 JABCabc123 PRINT 1 1 RSS Description This command is used to draw a RSS bar code on the label format Syntax RSS x y sym rotate pixMult sepHt content RSS x y RSSEXP rotate pixMult sepHt segWidth content RSS x y UCC128CCA rotate pixMult sepHt linHeight content RSS x y UCC128CCC rotate pixMult sepHt linHeight content Parameter X y sym Rotate pixMult sepHt segWidth linHeight content Description X coordinate Y coordinate Symbology type RSS14 RSS14 RSS14T RSS14 Truncated 55146 5514 Stacked 551450 5514 Stacked Omnidirectional RSSLIM RSS Limited RSSEXP RSS Expanded UPCA UPC A UPCE UPC E EAN13 EAN 13 8 EAN 8 UCC128CCA UCC EAN 128 amp CC A B UCC128CCC UCC EAN 128 amp CC C Rotation 0 90 180 and 270 valid Module width in dot 1 to 10 valid The following barcode height is calculated by printer RSS14 33 x pixMult RSS14T 13 x pixMult RSS14S 13 x pixMult 551450 33 x pixMult RSSLIM 13 x pixMult RSSEXP 33 x pixMult EANS 60 x pixMult EAN13 74 x pixMult UPCA 74 x pi
19. 0 0 A BARCODE PRINTER DEMO PRINTING C LEFT A 10 CLS TEXT 10 10 3 0 1 1 A TEXT 10 100 3 0 1 1 10 LEFT 10 CHARS C PRINT 1 EOP See Also DOWNLOAD EOP END RIGHT MID LEN STR LEN Description This function returns the length of a string Syntax LEN string Parameter Description string The string whose length is to be measured Example DOWNLOAD DEMO BAS SIZE 3 00 3 00 GAP 0 08 0 00 SPEED 4 0 DENSITY 8 SET CUTTER OFF DIRECTION 0 REFERENCE 0 0 A TSC Auto ID Technology Co Ltd B LEN A CLS TEXT 10 10 3 0 1 1 A TEXT 10 50 3 0 1 1 STRING LENGTH STR B PRINT 1 EOP See Also DOWNLOAD EOP END LEFT LEN RIGHT MID STR VAL MIDS Description This function retrieves the specified number of characters down from the mth character of a string Syntax MID string m n Parameter Description string The string to be processed m The beginning of characters in the string 1 lt m lt string length n The number of characters to return Example DOWNLOAD DEMO BAS SIZE 3 00 3 00 GAP 0 08 0 00 SPEED 4 0 DENSITY 8 SET CUTTER OFF DIRECTION 0 REFERENCE 0 0 A TSC Auto ID Technology Co Ltd E MID A 11 10 CLS TEXT 10 10 3 0 1 1 A TEXT 10 200 3 0 1 1 10 MIDDLE CHARS E PRINT 1 EOP See Also DOWNLOAD EOP END LEFT LEN RIGHT STR VAL RIGHTS Description This function retu
20. 0 1 1 MINUTE1 MINUTE TEXT 10 110 5 0 1 1 MINUTE2 STR MIN TEXT 10 210 5 0 1 1 MINUTE3 STR MINUTE PRINT 1 EOP DEMO See Also C MONTH DATE DAY HOUR MINUTE SECOND Two digits 00 59 minute SECOND Description This variable reads writes the second data via the Real Time Clock RTC Two digits 00 59 second format is supported by RTC Syntax Write attribute SECOND 12 Read attribute A SECOND Range 00 59 Example DOWNLOAD SetSecond BAS REM Set Second Parameter to RTC SECOND 59 EOP SetSecond DOWNLOAD DEMO BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS REM Read Second parameter form RTC SECOND STR SECOND SEC SECOND REM 10 10 5 0 1 1 SECOND1 SECOND TEXT 10 110 5 0 1 1 SECOND2 STR SEC TEXT 10 210 5 0 1 1 SECOND3 STR SECOND PRINT 1 EOP DEMO See Also C MONTH DATE DAY HOUR MINUTE SECOND YEAR Description This variable reads writes the year data via the Real Time Clock RTC Two digit year formats are supported by RTC YEAR global variable can be accessed directly without using BASIC language functions Syntax Write attribute YEAR 01 Read attribute YEAR Range 00 99 Model Support LB 1000 X Example REM Set YEAR YEAR 05 REM BEES Dri SIZE 3 3 GAP 0 08 0 DENSITY 8
21. 4 3 GAP 0 0 CLS RSS 10 10 UPCE 0 1 1 001200000456IABCDEFG RSS 210 10 UPCE 0 2 1 001210000456IABCDEFG RSS 410 10 UPCE 0 3 1 001220000456IABCDEFG PRINT 1 REVERSE Description This command reverses a region in image buffer Syntax REVERSE X_start Y_start X_width Y_height Parameter Description X_start The x coordinate of the starting point in dots Y_start The y coordinate of the starting point in dots X_width X axis region width in dots Y_height Y axis region height in dots Note 200 DPI 1 mm 8 dots 300 DPI 1 mm 12 dots Recommended max height of reversed black area is 12mm at 4 width Height of reversed area that is larger than 12 mm may damage the power supply and affect the print quality Max print ratio is different for each printer model Desktop and industrial printer print ratio is limited to 20 and 30 respectively Example SIZE 4 2 5 GAP 0 0 SPEED 6 DENSITY 8 REVERSE DIRECTION 0 CLS TEXT 100 100 3 0 1 1 REVERSE REVERSE 90 90 128 40 PRINT 1 1 TEXT Description This command prints text on label Syntax TEXT X Y font rotation x multiplication y multiplication content Parameter Description X The x coordinate of the text The y coordinate of the text font Font name 0 Monotye CG Triumvirate Bold Condensed font width and height is stretchable 1 8 x 12 fixed pitch dot font 2 12 x 20 fixed pitch dot font 3 16 x 24 fixed pitch dot font 4 24 x 32 fix
22. 5 0 1 1 WEEK2 STR W TEXT 10 210 5 0 1 1 WEEK3 STR WEEK PRINT 1 EOP DEMO See Also C MONTH DATE DAY HOUR MINUTE SECOND HOUR Description This variable reads writes the hour data via the Real Time Clock RTC The 24 hour day system 00 23 is supported by RTC Syntax Write attribute HOUR 12 Read attribute A HOUR Range 00 23 Example DOWNLOAD SetHour BAS REM Set Hour Parameter to RTC HOUR 11 EOP SetHour DOWNLOAD DEMO BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS REM Read Hour parameter form RTC HOUR STR HOUR H HOUR REM ree TEXT 10 10 5 0 1 1 HOUR1 HOUR TEXT 10 110 5 0 1 1 HOUR2 STR H TEXT 10 210 5 0 1 1 HOUR3 STR HOUR PRINT 1 EOP DEMO See Also C MONTH DATE DAY HOUR MINUTE SECOND MINUTE Description This variable reads writes the minute data via the Real Time Clock RTC format is supported by RTC Syntax Write attribute MINUTE 12 Read attribute A MINUTE Range 00 59 Example DOWNLOAD SetMinute BAS REM Set Minute Parameter to RTC MINUTE 59 EOP SetMinute DOWNLOAD DEMO BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS REM Read Minute parameter form RTC MINUTE STR MINUTE MIN MINUTE REM 10 10 5
23. RTRIM data2 a TEXT 50 175 2 0 1 1 LTRIM data3 lt gt TEXT 50 200 2 0 1 1 TRIM data3 lt gt TEXT 50 225 2 0 1 1 ATRIMS data3 lt gt PRINT 1 EOP DEMO See Also TRIM RTRIM RTRIMS Description Removes trailing blank space from a string Syntax RTRIM str list Parameter Description str The string that will be trimmed list Optional The characters that will be removed Example DOWNLOAD DEMO BAS data1 1234567 data2 a1234567a data3 lt 12345 gt SIZE 4 1 5 GAP 0 0 CLS TEXT 50 025 2 0 1 1 LTRIM data1 TEXT 50 050 2 0 1 1 TRIM data1 TEXT 50 075 2 0 1 1 RTRIM data1 TEXT 50 100 2 0 1 1 LTRIM data2 a TEXT 50 125 2 0 1 1 TRIM data2 a TEXT 50 150 2 0 1 1 RTRIM data2 a TEXT 50 175 2 0 1 1 LTRIM data3 lt gt TEXT 50 200 2 0 1 1 TRIM data3 lt gt TEXT 50 225 2 0 1 1 ATRIMS data3 lt gt PRINT 1 EOP DEMO See Also TRIM LTRIM VAL Description This function converts numeric characters into corresponding integer or floating point number Syntax VAL numeric character Parameter Description numeric character 0 9 Example DOWNLOAD DEMO BAS SIZE 3 00 3 00 GAP 0 00 0 00 SPEED 4 0 DENSITY 8 SET CUTTER OFF DIRECTION 0 REFERENCE 0 0 A TSC Auto ID Technology Co Ltd F 100 G 500 CLS H VAL F VAL G I STR H TEXT 10 10 3 0 1 1 A
24. See Also OFFSET PRINT SET PARTIAL_CUTTER SET PARTIAL_CUTTER Description This setting activates or deactivates the cutter and defines how many printed labels is to be cut at one time This setting will be saved in printer memory after turning off the power This function prevents label back feeding after a cut Syntax SET PARTIAL_CUTTER OFF BATCH pieces Parameter Description OFF Disable cutter function BATCH Set printer to cut label at the end of printing job Pieces Set number of printing labels per cut 0 lt pieces lt 65535 Model Support LB 1000 X Example REM SET PARTIAL CUTTER FUNCTION OFF EXAMPLE PROGRAM SIZE 3 1 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET PARTIAL_CUTTER OFF CLS 50 50 3 0 1 1 SET PARTIAL CUTTER OFF PRINT 3 REM This program cuts once at the batch SET PARTIAL CUTTER BATCH CLS TEXT 50 50 3 0 1 1 SET PARTIAL CUTTER BATCH PRINT 3 2 REM This program cuts every label SET PARTIAL_CUTTER 1 CLS TEXT 50 50 3 0 1 1 SET PARTIAL_CUTTER 1 PRINT 3 2 REM This program cuts 2 label SET PARTIAL_CUTTER 2 CLS TEXT 50 50 3 0 1 1 SET PARTIAL_CUTTER 2 PRINT 3 2 See Also OFFSET PRINT SET CUTTER SET BACK Description This setting is used after SET CUTTER function This function prevents label backfeeding after a cut Syntax SET BACK OFF ON Model Support LB 1000 X Parameter Descript
25. TEXT 10 60 3 0 1 1 F F TEXT 10 110 3 0 1 1 G G TEXT 10 160 3 0 1 1 F G I PRINT 1 EOP DEMO See Also DOWNLOAD EOP END LEFT LEN RIGHT MID STR BEEP Description This command issues a beep sound on portable keyboard Printer sends the string 0x07 to KP 200 portable keyboard Syntax BEEP Parameter Description None N A Example DOWNLOAD DEMO BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF BEEP INPUT Text1 TEXT1 CLS TEXT 100 100 3 0 1 1 TEXT1 PRINT 1 EOP NOWS Description Returns the current date and time according to the setting of your printer Syntax NOWS Parameter Description None N A Note It is supported in firmware V6 81EZ or later Example DOWNLOAD DEMO BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 100 100 3 0 1 1 Now is NOW PRINT 1 EOP FORMATS Description Returns the current date and time according to the setting of your printer Syntax FORMATS expression style Parameter Description expression Required Any valid expression style Optional A valid named or user defined format string expression Predefined date time format Description General Date Shows date and time
26. code 128M encoded with CODE start character The next character will be the code 128 function character FNC3 which is then followed by the ABCD characters EFGH characters encoded as CODE A subset X X X X X X X x x x X X X X 0001 61 elo z x N ed epooreg BITMAP Description This command draws bitmap images as opposed to BMP graphic files Syntax BITMAP Y width height mode bitmap data Parameter Description X Specify the x coordinate Y Specify the y coordinate width Image width in bytes height Image height in dots mode Graphic modes listed below 0 OVERWRITE 1 OR 2 XOR bitmap data Bitmap data Example X Size 16 Dot 1 1 1 N 111101111111 11111111 ROW L Byte R Byte Y axis Binary Hexadecimal Binary Hexadecimal 0 00000000 00 00000000 00 1 00000000 00 00000000 00 2 00000000 00 00000000 00 3 00000111 07 11111111 FF 4 00000011 03 11111111 FF 5 00010001 11 11111111 FF 6 00011000 18 11111111 FF 7 00011100 1 01111111 8 00011110 1 00111111 9 00011111 1 00011111 1 00011111 1 10001111 8F B 00011111 1F 11000111 C7 00011111 1 11100011 D 00011111 1F 11110111 F7 E 00011111 1F 11111111 FF F 00011111 1F 11111111 FF SIZE 4 2 GAP 0 0 CLS BITMAP 200 200 2 16 0 og 222 P
27. key is pressed whereupon 0 is returned if PAUSE key is pressed and 1 is returned if FEED key is pressed Syntax GETKEY Model PAUSE FEED LB 1000 0 1 DOWNLOAD DEMO4 BAS SIZE 4 4 GAP 0 0 CLS START A GETKEY IF 0 THEN GOTO PAUSEB IF A 1 THEN GOTO FEEDB PAUSEB CLS TEXT 50 10 4 0 1 1 PAUSE key is pressed PRINT 1 GOTO START FEEDB CLS TEXT 50 10 4 0 1 1 FEED key is pressed PRINT 1 EOP See Also DOWNLOAD EOP END GOTO e INT Description This function truncates a floating point number Syntax INT n Parameter Description n positive or negative integer floating point number or mathematical expression Example DOWNLOAD DEMO BAS SIZE 4 2 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF INPUT Number Num CLS REM To round up or down N INT Num 0 5 IF N gt Num THEN TEXT 50 100 3 0 1 1 To round up STR N ELSE TEXT 50 100 3 0 1 1 To round down STR N ENDIF PRINT 1 EOP See Also DOWNLOAD EOP END ABS ASC STR LEFTS Description This function returns the specified number of characters down from the initial character of a string Syntax LEFT X n Parameter Description X The string to be processed n The number of characters to be returned Example DOWNLOAD STR1 BAS SIZE 3 00 3 00 GAP 0 08 0 00 SPEED 4 0 DENSITY 8 SET CUTTER OFF DIRECTION 0 REFERENCE
28. line Feed Direction Leading edge Black line OVP gag te J Note For metric system there must be a space between parameter and mm When the sensor type is changed from GAP to Black Mark please send the BLINE command to the printer first Ex In DOS mode gt copy con 1 1 Enter BLINE 2 mm 0 Enter Ctrl Z Enter Example English system inch BLINE 0 20 0 50 Metric system mm BLINE 5 08 mm 12 7 mm See Also SIZE GAP OFFSET Description This command defines the selective extra label feeding length each form feed takes which especially in peel off mode and cutter mode is used to adjust label stop position so as for label to register at proper places for the intended purposes The printer back tracks the extra feeding length before the next run of printing Syntax English system inch OFFSET m Metric system mm OFFSET mmm Parameter Description m The offset distance inch or mm 1 m lt 1 inch Feed Direction Leading edge CAUTION Impropriety offset value may cause paper jam Example English system inch OFFSET 0 5 Metric system mm OFFSET 12 7 mm See Also SIZE GAP SET PEEL SET CUTTER SPEED Description This command defines the print speed Syntax SPEED n Parameter Description n printing speed in inch per second Model IPS 1115 2 25 3 LB 1000 X X Exa
29. 1 EOP See Also DOWNLOAD EOP STR ASC END Description This command states the end of program Syntax END Example DOWNLOAD DEMO BAS SIZE 4 2 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 200 60 4 0 1 1 END COMMAND TEST X 300 Y 200 X1 500 Y1 400 GOSUB DR_LINE PRINT 1 END LINE FOR 1 TO 100 STEP 10 BOX X I Y 1 X1 1 1 1 5 NEXT RETURN EOP DEMO See Also DOWNLOAD EOP e Description This function is used to detect an opened download file to see whether it has reached the end of file Syntax EOF File Handle Parameter Description File handle Either 0 or 1 Return value Description None zero End of file 0 Not end of file Example DOWNLOAD DATA 16 COMPUTER 2000 DOWNLOAD DEMO BAS SIZE 3 3 GAP 0 0 0 DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS OPEN DATA 0 SEEK 0 0 Y 110 TEXT 10 10 3 0 1 1 EOF TEST A READ 0 ITEM P TEXT 10 Y 2 0 1 1 ITEM STR P EOF 0 STR EOF 0 BARCODE 10 Y 25 39 40 1 0 2 4 PRICE STR P Y Y 100 IF EOF 0 0 THEN GOTOA PRINT 1 EOP DEMO See Also DOWNLOAD EOP OPEN READ SEEK OPEN Description This command opens a downloaded file and establishes the file handle Up to two file handles are supported thus only up to two files can be opened simultaneously The file to be opened should be downl
30. 140 3 0 1 1 DATA1 IS STR J Bytes TEXT 10 200 3 0 1 1 DATA2 IS STR K Bytes PRINT 1 EOP LofTest See Also DOWNLOAD EOP OPEN READ EOF SEEK FREAD FREADS Description This function reads a specified number of bytes of data from a file Syntax FREADS file handle byte Parameter Description file handle Either 0 or 1 byte Number of bytes to be read Example DOWNLOAD DATA1 10 1234567890 DOWNLOAD DATA2 15 ABCDEFGHIJKLMNO DOWNLOAD OPEN2 BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS OPEN DATA1 0 OPEN 2 1 SEEK 0 0 SEEK 1 0 Y FREAD 0 6 Z FREADS 1 6 TEXT 10 260 3 0 1 1 FREAD 0 6 IS Y TEXT 10 320 3 0 1 1 F READ 1 6 IS Z PRINT 1 EOP See Also DOWNLOAD EOP OPEN READ EOF LOF SEEK FOR NEXT LOOP Description Loop is used to execute one or more lines of program repetitively loop counter value specifies the number of executions Nested loops are allowed up to 39 nested loops in this printer Jumping out in the middle of the FOR NEXT loop is prohibited Syntax FOR variable start TO end STEP increment statement start end NEXT Parameter Description variable The variable name is up to 8 characters start Integer or floating point numbers end Integer of floating point numbers increment Integer or floating point positive or negative Example
31. 210 5 0 1 1 MONTH3 STR MONTH PRINT 1 EOP DEMO See Also C MONTH DATE DAY HOUR MINUTE SECOND DATE Description This variable reads writes the date data via the Real Time Clock RTC Two digit 01 31 date formats are supported by RTC Syntax Write attribute DATE 12 Read attribute A DATE Range 01 31 Example DOWNLOAD SetDate BAS REM Set Date Parameter to RTC DATE 30 EOP SetDate DOWNLOAD DEMO BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS REM Read Date parameter form RTC DATE STR DATE D DATE REM KEES TEXT 10 10 5 0 1 1 DATE1 DATE TEXT 10 110 5 0 1 1 DATE2 STR D TEXT 10 210 5 0 1 1 DATE3 STR DATE PRINT 1 EOP DEMO See Also C MONTH DATE DAY HOUR MINUTE SECOND WEEK Description This variable reads writes the day of the week data via the Real Time Clock RTC which is represented by one single digit 1 7 Syntax Write attribute WEEK 3 Read attribute A WEEK Range 1 Sunday 7 Saturday Example DOWNLOAD SetWeek BAS REM Set Week Parameter to RTC WEEK 6 EOP SetWeek DOWNLOAD DEMO BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS REM Read Week parameter form RTC WEEK STR WEEK W WEEK REM Pee TEXT 10 10 5 0 1 1 WEEK1 WEEK TEXT 10 110
32. 80 2 2 25 1234567890IABCDEFG RSS 300 300 UCC128CCC 270 2 2 25 1234567890IABCDEFG PRINT 1 1 Example of UPCE mode SIZE 4 1 CLS REM UPCE Rule 1 00abc0000hij abhijc where c 0 2 RSS 10 10 UPCE 0 2 2 001200000456IABCDEFG RSS 210 10 UPCE 0 2 2 001210000456 ABCDEFG RSS 410 10 UPCE 0 2 2 001220000456IABCDEFG PRINT 1 SIZE 4 1 CLS REM UPCE Rule 2 00abc00000ij abcij3 RSS 10 10 UPCE 0 2 2 001230000045IABCDEFG PRINT 1 SIZE 4 1 CLS REM UPCE Rule 3 00abcd00000j abcdj4 RSS 10 10 UPCE 0 2 2 001234000005IABCDEFG PRINT 1 SIZE 4 1 CLS REM UPCE Rule 4 00abcde0000j abcdej where j 5 9 RSS 10 10 UPCE 0 2 2 001234500005IABCDEFG RSS 160 10 UPCE 0 2 2 001234500006lABCDEFG RSS 310 10 UPCE 0 2 2 001234500007IABCDEFG RSS 460 10 UPCE 0 2 2 001234500008lABCDEFG RSS 610 10 UPCE 0 2 2 001234500009IABCDEFG PRINT 1 Example of barcode height of EAN8 EAN13 UPCA and UPCE SIZE 44 GAP 0 0 CLS RSS 10 10 EAN8 0 1 1 1234567IABCDEFG RSS 210 10 EAN8 0 2 1 1234567IABCDEFG RSS 410 10 EAN8 0 3 1 1234567IABCDEFG PRINT 1 SIZE 4 3 GAP 0 0 CLS RSS 10 10 EAN13 0 1 1 123456789012IABCDEFG RSS 210 10 EAN13 0 2 1 123456789012IABCDEFG RSS 410 10 EAN13 0 3 1 123456789012IABCDEFG PRINT 1 SIZE 4 3 GAP 0 0 CLS RSS 10 10 UPCA 0 1 1 12345678901 ABCDEFG RSS 210 10 UPCA 0 2 1 12345678901 ABCDEFG RSS 410 10 UPCA 0 3 1 123456789011ABCDEFG PRINT 1 SIZE
33. DE 10 Y 25 39 40 1 0 2 4 PRICE STR Q STR P Q Y Y 100 PRINT 1 Y 100 IF 1 lt 1 THEN IF EOF I 21 THEN l 1 1 GOTO Start ELSE GOTO Start ENDIF ELSE See Also DOWNLOAD EOP OPEN EOF LOF SEEK FREAD SEEK Description This command shifts the specified file pointer to a certain position Syntax SEEK file handle offset Parameter Description file handle 0 or 1 offset the offset characters which are shifted to a new position Example DOWNLOAD 12 1234567890 DOWNLOAD TEST BAS SIZE 3 1 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 1 REFERENCE 0 0 CLS OPEN 0 SEEK 0 4 READ 0 Num TEXT 100 10 3 0 1 1 SEEK COMMAND TEST BAR 100 40 300 4 TEXT 100 60 3 0 1 1 SHIFT 4 CHARACTERS TEXT 100 110 3 0 1 1 Num BAR 100 140 300 4 SEEK 0 0 READ 0 Num TEXT 100 160 3 0 1 1 SHIFT 0 CHARACTERS TEXT 100 210 3 0 1 1 Num PRINT 1 EOP TEST See Also DOWNLOAD EOP OPEN READ EOF LOF FREADS LOF Description This function returns the size of the specified file Syntax LOF FILENAME Parameter Description FILENAME The file downloaded in the printer memory Example DOWNLOAD DATA1 10 1234567890 DOWNLOAD DATA2 15 ABCDEFGHIJKLMNO DOWNLOAD LofTest BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS OPEN DATA1 0 OPEN DATA2 1 TEXT 10 20 4 0 1 1 LOF FUNCTION TEST J LOF DATA1 K LOF DATA2 TEXT 10
34. EXT 10 1010 3 0 1 1 q FORMATS NOWS q TEXT 10 1060 3 0 1 1 y FORMAT NOWS y TEXT 10 1110 3 0 1 1 yy FORMAT NOWS TEXT 10 1160 3 0 1 1 yyyy FORMAT NOWS yyyy TEXT 10 1210 3 0 1 1 h FORMAT NOWS h TEXT 10 1260 3 0 1 1 hh FORMATS NOW hh TEXT 10 1310 3 0 1 1 n FORMAT NOWS TEXT 10 1360 3 0 1 1 nn FORMATS NOW nn TEXT 10 1410 3 0 1 1 s FORMATS NOW s TEXT 10 1460 3 0 1 1 ss FORMAT NOWS ss TEXT 10 1510 3 0 1 1 ttttt FORMAT NOWS ttttt TEXT 10 1560 3 0 1 1 AM PM FORMAT NOWS TEXT 10 1610 3 0 1 1 am pm FORMAT NOWS am pm TEXT 10 1660 3 0 1 1 A P FORMAT NOWS A P TEXT 10 1710 3 0 1 1 a p FORMAT NOWS TEXT 10 1760 3 0 1 1 AMPM FORMAT NOWS TEXT 10 1810 3 0 1 1 FORMAT NOW To daly is ddddd TEXT 10 1860 3 0 1 1 string FORMAT NOW Today i s ddddd PRINT 1 Device Reconfiguration Commands SET COUNTER Description Counters can be a real counter or a variable This setting sets the counter number in the program and its increments There are three different types of counters digit 0 9 0 lower case letter a z a or upper case letter A Z A Syntax SET COUNTER Qn step Qn Expression Parameter Description Qn n counter number There are 51 counters available 0 50 in th
35. Finnish Example COUNTRY 001 See Also CODEPAGE l CODEPAGE Description This command defines the code page of international character set Syntax CODEPAGE n Parameter n Description Name or number of code page which can be divided into 7 bit code page and 8 bit code page 7 bit code page name USA USA BRI British GER German FRE French DAN Danish ITA Italian SPA Spanish SWE Swedish SWI Swiss 8 bit code page number 437 United States 850 Multilingual 852 Slavic 860 Portuguese 863 Canadian French 865 Nordic 857 Turkish TSPL2 printers only Windows code page 1250 Central Europe TSPL2 printers only 1252 Latin TSPL2 printers only 1253 Greek TSPL2 printers only 1254 Turkish TSPL2 printers only Note DATA LENGTH determines 7 bit or 8 bit communications parameter Model T bit Codepage 8 bit Codepage Windows Codepage USA BRI GER FRE DAN ITA SPA SWE SWI 437 850 852 860 863 865 857 1250 1252 1253 1254 LB 1000 X X X X X X X X X X X X X X X X X X X X Example CODEPAGE 437 See Also COUNTRY SET COMI l CLS Description This command clears the image buffer Syntax CLS Parameter Description None N A Note This command must be placed after SIZE command Example CLS See Also SIZE GAP BLINE FEED Description This command f
36. ICODE TEXT 100 520 3 0 2 2 Mode 2 For USA PRINT 1 1 REM Mode 3 For Canada CLS MAXICODE 110 100 3 300 863 107317 DEMO 3 FOR CANADA MAXICODE TEXT 100 520 3 0 2 2 Mode 3 For CANADA PRINT 1 1 REM MIODE4 CLS MAXICODE 110 100 4 DEMO 4 FOR MAXICODE MAXICODE 600 100 4 19 DEMO 4 FOR MAXICODE TEXT 100 520 3 0 2 2 Mode 4 FOR MAXICODE PRINT 1 1 REM MIODE pre CLS MAXICODE 110 100 5 DEMO 5 FOR MAXICODE MAXICODE 600 100 5 19 DEMO 5 FOR MAXICODE TEXT 100 520 3 0 2 2 DEMO 5 FOR MAXICODE PRINT 1 PDF417 Description This command defines a PDF417 2D barcode Syntax PDF417 x y width height rotate option expression Parameter X y width height rotate expression option P m Hovis Description X coordinate of starting point in dots Y coordinate of starting point in dots Expected width in dots Expected height in dots Rotation counterclockwise 0 No rotation 90 90 degrees 180 180 degrees 270 270 degrees Barcode text or string expression to be printed Data compression method 0 Auto encoding 1 Binary mode Error correction level Range 0 8 Center pattern in barcode area 0 The pattern will print upper left justified the area 1 The pattern is printed middle of area Human readable x Human readable characters in the specified x coordinate y Human readable characters in the specified y coordinate c
37. KILL PCX KILL Hx HI KILL F FILENAME KILL E PCX command Example Users can use printer SELFTEST utility to list printer configurations and files saved the printer memory or use the FILES command to print the downloaded file list in Delete the specify file in DRAM Delete all PCX files in DRAM Delete all files in DRAM Delete the specify file in FLASH Delete all PCX file in extension memory card 3 For TSPL printers please send MOVE command to printer after sending KILL below to delete files in the printer memory via parallel port connection C gt COPY CON ENTER FILES lt ENTER gt lt CTRL gt lt Z gt lt ENTER gt C gt COPY CON LPT1 lt ENTER gt KILL DEMO BAS ENTER lt CTRL gt lt Z gt lt ENTER gt C gt COPY CON LPT1 lt ENTER gt FILES lt ENTER gt lt CTRL gt lt Z gt lt ENTER gt printer Follow the steps Note lt ENTER gt stands for PC keyboard ENTER key lt CTRL gt lt Z gt means to hold PC keyboard CTRL key then press the PC keyboard lt Z gt key See Also IF FILES MOVE Description This command moves downloaded files from DRAM to FLASH memory Syntax MOVE Parameter Description N A N A See Also DOWNLOAD EOP RUN Description This command executes a program resident in the printer memory This command is available for TSPL2 language printers only Syntax RUN FILENAME BAS Model Support LB 1000 X
38. LOAD EOP INPUT FILES Description This command prints out the total memory size available memory size and files lists or lists the files through RS 232 in the printer memory both FLASH memory and DRAM Syntax FILES Example Follow the steps below to print out or list through RS 232 files saved in printer memory using the DOS environment through serial port or parallel port connection C gt MODE COM1 96 N 8 1 ENTER C gt COPY CON COM1 lt ENTER gt FILES lt ENTER gt lt CTRL gt lt Z gt lt ENTER gt C Or C gt COPY CON LPT1 lt ENTER gt FILES lt ENTER gt lt CTRL gt lt Z gt lt ENTER gt Note lt ENTER gt stands for PC keyboard ENTER key lt CTRL gt lt Z gt means to hold PC keyboard CTRL key then press the PC keyboard lt Z gt key See Also IF KILL e KILL Description This command deletes a file in the printer memory The wild card will delete all files resident in specified DRAM or FLASH memory Support Model KILL KILL MOVE KILL F KILL E LB 1000 X X Syntax KILL n FILENAME Parameter Description n Specify the memory location that files will be deleted n is ignored Kill files saved in DRAM F Kill files from main board flash memory E Kill files from expansion memory module Note 1 If optional parameter n is not specified firmware will delete the file in DRAM 2 Syntax example KILL FILENAME
39. Long Date Uses the Long Date format Medium Date Uses the dd mmm yy format Short Date Uses the Short Date format Long Time Shows the hour minute second or using the h mm ss format Medium Time Shows the hour minute and AM or PM using the hh mm AM PM format Short Time Shows the hour and minute using the hh mm format User defined date time formats Description Display the date as ddddd and display the time as in that order d Display the day as a number without a leading zero 1 31 dd Display the day as a number with a leading zero 01 31 ddd Display the day as an abbreviation Sun Sat dddd Display the day as a full name Sunday Saturday ddddd Display a date serial number as a complete date including day month and year formatted according to your system s short date format setting The default short date format is m d yyyy dddddd Display the date as a complete date including day month and year formatted according to the long date setting recognized by your system The default long date format is dddd mmmm dd yyyy w Display the day of the week as a number 1 for Sunday through 7 for Saturday ww Display the week of the year as a number 1 53 m Display the month as a number without a leading zero 1 12 If m immediately follows h or hh the minute rather than the month is displayed mm Display the month as a number with a leading zero 01 12 If mm
40. Maximum characters of human readable character per line Module width in dot Range 2 9 Bar height in dot Range 4 99 Maximum number of rows Maximum number of columns Truncation 0 Not truncated 1 Truncated Lm Expression length without double quote 1 lt m lt 2048 Example SIZE 3 3 GAP 0 12 0 CLS SPEED 6 DENSITY 8 DIRECTION 1 REFERENCE 0 0 REM WITHOUR OPTIONS CLS PDF417 50 50 400 200 0 Without Options PRINT 1 1 REM OPTION E4 CLS PDF417 50 50 400 200 0 E4 Error correction level 4 PRINT 1 1 REM OPTION E4 W4 CLS PDF417 50 50 600 600 0 E4 W4 Error correction level 4 module width 4 dots PRINT 1 1 REM OPTION E4 W4 H4 CLS PDF417 50 50 600 600 0 E4 W4 H4 Error correction level 4 module width 4 dots bar height 4 dots PRINT 1 1 REM OPTION E4 W4 H4 R25 CLS PDF417 50 50 600 600 0 E4 W4 H4 R25 Error correction level 4 Module Width 4 dots Bar Height 4 dots Maximum Number of Rows 25 Rows PRINT 1 1 REM OPTION E4 W4 H4 R40 C3 CLS PDF417 50 50 600 600 0 E4 W4 H4 R40 C3 Error correction level 4 Module Width 4 dots Bar Height 4 dots Maximum Number of Rows 40 Rows Maximum number of columns 3 Cols PRINT 1 1 REM OPTION E4 W4 H4 R40 C4 TO CLS PDF417 50 50 600 600 0 E4 W4 H4 R40 C4 TO Error correction level 4 Module Width 4 dots Bar Height 4 dots Maximum Number of Rows 40 Rows Maximum number of c
41. OAD EXAMPLE BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 100 100 3 0 1 1 EXAMPLE PROGRAM PRINT 1 EOP Note When writing a download program DOWNLOAD header must be placed in the beginning of file and EOP must be placed at the end of program To run the program call the main filename without BAS extension or use RUN command to start the download program Example Call the main filename C gt COPY CON LPT1 lt ENTER gt EXAMPLE lt ENTER gt lt CTRL gt lt Z gt C gt Use Run command to start the program C gt COPY CON LPT1 lt ENTER gt RUN EXAMPLE BAS lt ENTER gt lt CTRL gt lt Z gt C gt Below is an example of downloading data file DOWNLOAD DATA 20 COMPUTER lt Enter gt 2001 lt Enter gt 21 lt Enter gt Note ENTER stands for keyboard ENTER In the above example please press ENTER key instead of typing lt ENTER gt See Also EOP RUN PUTBMP PUTPCX INPUT EOP Description End of program To declare the start and end of BASIC language commands used in a program DOWNLOAD FILENAME BAS must be added in the first line of the program and EOP statement at the last line of program Syntax EOP Example DOWNLOAD DEMO BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 100 100 3 0 1 1 DEMO PROGRAM PRINT 1 EOP See Also DOWN
42. Optional Specifies the type of string comparison 0 Binary comparison Default 1 Textual comparison The comparison is case insensitive Condition Return value str1 sorts ahead of str2 1 str1 is equal to 54729 0 str1 sorts after str2 1 Example DOWNLOAD TEST BAS STR1 ABCD STR2 abcd SIZE 4 1 GAP 0 0 CLS TEXT 100 10 3 0 1 1 STR result2 STR1 sorts before STR2 TEXT 100 60 3 0 1 1 STR result1 STR1 and STR2 sort equally TEXT 100 110 3 0 1 1 STR result3 STR2 sorts after STR1 PRINT 1 EOP TEST See Also INSTR INSTR Description Returns an integer specifying the start position of the first occurrence of one string within another Syntax INSTR start str1 str2 Parameter Description start Optional Numeric expression that sets the starting position for each search If omitted search begins at the first character position The stat index is 1 based str1 Required String expression being searched str2 Required String expression sought Example DOWNLOAD DEMO BAS string ABC123ABC123 searchfor 123 starpos 8 temp1 INSTR string searchfor temp2 INSTR starpos string searchfor str1 searchfor in string is STR temp1 str2 searchfor in string after STR starpos 16 STR temp2 SIZE 4 1 GAP 0 0 CLS TEXT 10 10 3 0 1 1 st
43. RINT 1 1 Hexadecimal ASCII 53 49 45 20 34 2C 32 00 0A 47 41 50 20 SIZE 4 2 30 2C 30 0D 43 4C 53 OD 42 49 54 4D GAP 0 0 41 50 20 32 30 30 2C 32 30 30 2C 32 2C 31 15 36 2C 30 2C 00 00 00 00 00 00 07 FF 03 200 200 2 16 0 olgj 11 FF 18 FF 1C 7F 1E 1F 1F 1F 8F 1F C7 7 1F FF FF 00 50 52 49 4E PRINT 1 1 54 20 31 2C 31 0D 0A See Also PUTBMP PUTPCX BOX Description This command draws rectangles on the label Syntax BOX X start Y start X end Y end line thickness Parameter Description X start Specify x coordinate of upper left corner in dots Y start Specify y coordinate of upper left corner in dots X end Specify x coordinate of lower right corner in dots Y end Specify y coordinate of lower right corner in dots line thickness Line thickness in dots Note 200 DPI 1 mm 8 dots 300 DPI 1 mm 12 dots Recommended max thickness of box is 12mm at 4 width Thickness of box larger than 12 mm may damage the power supply and affect the print quality Max print ratio is different for each printer model Desktop and industrial printer print ratio is limited to 20 and 30 respectively Example SIZE 4 2 5 100 100 GAP 0 0 SPEED 6 DENSITY 8 DIRECTION 0 CLS BOX 100 100 200 200 5 PRINT 1 1 200 200 See Also BAR CIRCLE Description This command draws a circle on the label Syntax CIRCLE X_start Y_start diamet
44. RINT 1 1 SET KEY1 ON SET KEY2 ON SET KEY3 ON END ENDIF GOTO START EOP DEMO See Also OFFEST PRINT SET LED1 SET LED2 SET LEDS Description This setting is used to control LED on off function Syntax SET LED1 ON OFF SET LED2 ON OFF SET LED3 ON OFF LED no Default Function LDE1 Power on off LED2 Printer on line off line LED3 Erroe normal Parameter Description ON Enable LEDn function OFF Disable LEDn function The default function of LED1 LED2 and LEDS id as listed below Model LED1 LED2 LED3 LED2 amp LED3 LB 1000 GREEN GREEN RED ORANGE Example DOWNLOAD DEMO4 BAS SET LED1 OFF SET LED2 OFF SET LED3 OFF FOR 1 TO 100 LED1 0 LED2 0 LED3 0 IF I INT I 2 220 THEN LED1 1 ELSEIF I INT I 3 3 0 THEN LED2 1 LED3 0 SET LED1 ON SET LED2 ON SET LED3 ON EOP 4 SET PEEL Description This setting is used to enable disable the self peeling function The default setting for this function is off When this function is set on the printer stops after each label printing and does not print the next label until the peeled label is taken away This setting will be saved in printer memory when turning off the power Syntax SET PEEL ON OFF Parameter Description ON Enable the self peeling function OFF Disable the self peeing function Example REM SELF PEELING FUNCTION ON SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL ON CLS TEX
45. S SIZE 3 3 GAP 0 12 0 SPEED 4 DENSITY 8 DIRECTION 1 REFERENCE 0 0 OFFSET 0 00 SET CUTTER OFF SET PEEL OFF CLS gt dw mwiui mu r Hog FOR 1 1 100 IF I INT I 1 120 THEN IF I INT I 2 221 THEN ELSE IF I INT I 3 320 THEN D D I ENDIF IF I INT I 5 520 THEN ELSE ENDIF IF I INT I 7 720 THEN G G l ELSEIF I INT 17 1720 THEN ELSEIF I INT I 27 2720 THEN J J l ELSEIF I INT I 37 37 0 THEN ELSE ENDIF NEXT TEXT 100 110 3 0 1 1 TEXT 100 160 3 0 1 1 TEXT 100 210 3 0 1 1 TEXT 100 260 3 0 1 1 1 142 3 4100 STRS A 2 1 3 5 99 STR B 8 2 4 6 100 STR C 4 3 6 9 99 STR D TEXT 100 310 3 0 1 1 5 5 10 15 100 STRS E TEXT 100 360 3 0 1 1 1 5 STR F TEXT 100 410 3 0 1 1 6 7414421 98 STR G TEXT 100 460 3 0 1 1 7 17434451 485 STR H TEXT 100 510 3 0 1 1 8 27 54 81 STR J TEXT 100 560 3 0 1 1 9 37 74 STR K TEXT 100 610 3 0 1 1 1 6 7 8 9 STR L PRINT 1 1 EOP DOWNLOAD IFTHEN BAS SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS A 50 B 5 C D 11 IF gt 100 THEN GOTO L1 ELSE A A 10 C STR A IS SMALLER THAN 100 TEXT 100 10 4 0 1 1 C PRINT 1 END 12 D STR A IS LARGER
46. SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 10 10 5 0 1 1 YEAR TEXT 310 10 5 0 1 1 YEAR PRINT 1 See Also IC DATE DAY HOUR MINUTE SECOND MONTH Description This variable reads writes the month data via the Real Time Clock RTC Two digits 01 12 month formats are supported by RTC MONTH global variable can be accessed directly without using BASIC language functions Syntax Write attribute MONTH 01 Read attribute 9 MONTH Range 01 12 Model Support LB 1000 X Example REM Set MONTH MONTH 12 REM Drmpeeee SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 10 10 5 0 1 1 8 MONTH TEXT 310 10 5 0 1 1 MONTH PRINT 1 See Also IC Q9 YEAR DAY HOUR G MINUTE SECOND DATE Description This variable reads writes the date data via the Real Time Clock RTC Two digits 01 31 date formats are supported by RTC DATE global variable can be accessed directly without using BASIC language functions Syntax Write attribute DATE 12 Read attribute DATE Range 01 31 Model Support LB 1000 X Example REM Set DATE DATE 31 REM SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 10 10 5 0 1 1 DATE
47. T 50 100 3 0 1 1 SELF PEELING FUNCTION TEST PRINT 5 See Also OFFEST PRINT SETTEAR amp SET STRIPER Description This command is used to enable disable feeding of labels to gap black mark position for tearing off This setting will be saved in printer memory when turning off the power Syntax SET TEAR ON OFF TSPL2 language printers only SET STRIPER ON OFF TSPL language printers only Parameter Description ON The label gap will stop at the tear off position after print OFF The label gap will NOT stop at the tear off position after print The beginning of label will be aligned to print head SUPPORT MODEL SET TEAR SET STRIPER LB 1000 X X Example REM TEAR FUNCTION ON SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF SET TEAR ON CLS TEXT 50 100 3 0 1 1 TEAR FUNCTION TEST PRINT 1 See Also SET PEEL SET CUTTER SET Description This setting sets the gap sensor emission sensitivity The printer initiates automatic gap sensor calibration when the PAUSE key is held down while powering up This function may cease to work if the thickness of the backing paper and that of label with backing paper are not of appreciable difference to the sensor or when there are pre printed marks or patterns on the label In such case users must calibrate the gap sensor manually by this command through trial and error method to attain the proper setti
48. TEXT 100 100 5 0 1 1 JDEMO FOR TEXT TEXT 100 200 ROMAN TTF 0 1 20 True Type Font Test Print PRINT 1 1 Status Polling Commands RS 232 lt ESC gt Description This command obtains the printer status at any time even in the event of printer error An inquiry request is solicited by sending an lt ESC gt ASCII 27 escape character as the beginning control character to the printer A one byte character is returned flagging the printer status A 0 signifies the printer is ready to print labels Syntax lt ESC gt Parameter Description N A N A Bit return value Status 0 Head opened 1 Paper jam 2 Out of paper 3 Out of ribbon 4 Pause 5 Printing 6 Cover opened option Hex Receive Printer Status 00 Normal 01 Head opened 02 Paper Jam 03 Paper Jam and head opened 04 Out of paper 05 Out of paper and head opened 08 Out of ribbon 09 Out of ribbon and head opened 0A Out of ribbon and paper jam 0B Out of ribbon paper jam and head opened 0 Out of ribbon and out of paper 0D Out of ribbon out of paper and head opened 10 Pause 20 Printing 80 Other error See Also lt ESC gt R e lt 5 gt Description This command resets the printer The beginning of the command is an ESCAPE character ASCII 27 The files downloaded in memory will be deleted This command cannot be sent in dump mode Syntax lt ESC gt R
49. TEXT 310 10 5 0 1 1 DATE PRINT 1 See Also IC YEAR MONTH DAY HOUR MINUTE SECOND DAY Description This variable reads writes the day of the week data via the Real Time Clock RTC which is represented by one single digit 1 7 DAY global variable can be accessed directly without using BASIC language functions Syntax Write attribute DAY 3 Read attribute DAY Range 1 Sunday 7 Saturday Model Support LB 1000 X Example REM DAY DAY 5 REM BEES Dri SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 10 10 5 0 1 1 DAY TEXT 310 10 5 0 1 1 DAY PRINT 1 See Also IC YEAR MONTH DATE HOUR MINUTE SECOND HOUR Description This variable reads writes the hour data via the Real Time Clock RTC The 24 hour day system 00 23 is supported by RTC HOUR global variable can be accessed directly without using BASIC language functions Syntax Write attribute HOUR 12 Read attribute 9 HOUR Range 00 23 Model Support LB 1000 X Example REM Set HOUR HOUR 23 REM SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 10 10 5 0 1 1 HOUR TEXT 310 10 5 0 1 1 HOUR PRINT 1 See Also IC YEAR MONTH DATE DAY MINUTE SECOND MINUTE Description
50. THAN 100 TEXT 100 100 4 0 1 1 D PRINT 1 GOTO L1 EOP Note If the result of the expression is nonzero the statement following THEN willbe executed If the result of the expression is zero and the statement following the ELSE is present it will be executed Otherwise the next line of statement is executed If there are block of statements in IF THEN ELSE ENDIF must be used at the end of the IF THEN ELSE statement Limitations The total numbers of nested IF THEN ELSE statement a program cannot exceed 40 The total numbers of nested IF THEN ELSE FOR NEXT GOSUB RETURN in program cannot exceed 40 loops See Also DOWNLOAD EOP GOSUB RETURN Description This command will branch to a subroutine executing statements until RETURN is reached Syntax GOSUB LABEL statement END LABEL statement RETURN Parameter Description LABEL Beginning of the subroutine The maximum length of the label is 8 characters Example DOWNLOAD GOSUB1 BAS SIZE 3 3 GAP 0 0 DENSITY 8 SPEED 4 DIRECTION 0 CLS TEXT 10 10 3 0 1 1 GOSUB amp RETURN COMMAND TEST GOSUB DR_BOX PRINT 1 END DR_BOX FOR 21 TO 81 STEP 10 BOX 80 1 80 1 80 300 1 80 300 1 5 NEXT RETURN EOP GOSUB1 See Also DOWNLOAD EOP END GOTO GOTO Description This command is used to branch to a specified label The label cannot exceed 8 characters in length Syntax GOTO LABEL LABEL Parameter Desc
51. VAL A lt 1000 ENDIF PRINT 1 1 EOP YEAR Description This variable reads writes the year data via the Real Time Clock RTC Four digit year formats are supported by RTC Syntax Write attribute YEAR 02 Read attribute A YEAR Range 00 50 2000 2050 51 99 1951 1999 Example DOWNLOAD SetYear BAS REM Set Year Parameter to RTC YEAR 05 EOP SetYear DOWNLOAD DEMO BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS REM Read YEAR parameter form RTC YEAR STR YEAR Y YEAR REM 10 10 5 0 1 1 YEAR1 YEAR TEXT 10 110 5 0 1 1 YEAR2 STR Y TEXT 10 210 5 0 1 1 YEAR3 STR YEAR PRINT 1 EOP DEMO See Also C MONTH DATE DAY HOUR MINUTE SECOND MONTH Description This variable reads writes the month data via the Real Time Clock RTC Two digit 01 12 month formats are supported by RTC Syntax Write attribute MONTH 01 Read attribute A MONTH Range 01 12 Example DOWNLOAD SetMonth BAS REM Set Month Parameter to RTC MONTH 05 EOP SetMonth DOWNLOAD DEMO BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS REM Read Month parameter form RTC MONTH STR MONTH M MONTH REM Drimpeeee TEXT 10 10 5 0 1 1 MONTH1 MONTH TEXT 10 110 5 0 1 1 MONTH2 4 STR M TEXT 10
52. Y5 KEY6 LB 1000 PAUSE FEED Syntax KEYm n Key Return Value KEY1 MENU 0 released 1 pressed KEY2 PAUDE 0 released 1 pressed KEYS FEED 0 released 1 pressed Example DOWNLOAD DEMO BAS SIZE 3 1 GAP 0 0 SPEED 4 DENSITY 8 DIRECTION 1 REFERENCE 0 0 SET LED1 OFF SET KEY1 OFF LED1 0 START IF KEY1 1 THEN LED1 1 CLS TEXT 100 10 3 0 1 1 KEY FUNCTION TEST PRINT 1 1 ELSE LED1 0 ENDIF GOTO START EOP DEMO Printer Global Variables LABEL Description This variable counts how many pieces of labels have been printed This attribute cannot be initialized if the printer is reset but will be retained if the printer power is turned off Syntax Write attribute LABEL n or LABEL n Read attribute AZLABEL or A STR LABEL Parameter Description n Number of labels printed 0 lt n lt 999999999 Example DOWNLOAD DEMO BAS SIZE 4 2 5 GAP 2 mm 0 SPEED 6 DENSITY 12 CLS TEXT 10 50 3 0 1 1 LABEL TEXT 10 100 3 0 1 1 LABEL STR LABEL TEXT 10 150 3 0 1 1 Statement 1 IF LABEL gt 1000 THEN TEXT 10 200 3 0 1 1 LABEL gt 1000 ELSE TEXT 10 200 3 0 1 1 LABEL lt 1000 ENDIF TEXT 10 250 3 0 1 1 Statement 1 A LABEL IF A gt 1000 THEN TEXT 10 300 3 0 1 1 A gt 1000 ELSE TEXT 10 300 3 0 1 1 A lt 1000 ENDIF TEXT 10 350 3 0 1 1 Statement 3 A STR LABEL IF VAL A gt 1000 THEN TEXT 10 400 3 0 1 1 VAL A gt 1000 ELSE TEXT 10 400 3 0 1 1
53. ax English system inch SIZE m n Metric system mm SIZE mmm n mm Dot measurement SIZE m dot n dot This command is only supported in v6 27 and later firmware Parameter Description m Label width inch or mm n Label length inch or mm Note 200 DPI 1 mm 8 dots 300 DPI 1mm 12 dots For metric and dot systems there must be a space between parameter and mm or dot Max width 72mm 104mm 106mm 108mm 219 5mm LB 1000 X Example 1 English system inch SIZE 3 5 3 00 2 Metric system mm SIZE 100 mm 100 mm m 2 GA LABEL P m Label Width Label Height See Also GAP BLINE GAP Description This command sets the distance between two labels Syntax English system inch GAP m n Metric system mm GAP mmm n mm Parameter Description m The gap distance between two labels 0 m x1 inch 0 m lt 25 4 mm n The offset distance of the gap n lt label length inch or mm 0 0 Continuous label T A Note For metric system there must be a space between parameter and mm When the sensor type is changed from Black Mark to GAP please send the GAP command to the printer first Ex In DOS mode C gt copy Ipti Enter GAP 2 mm 0 lt Enter gt m lt Ctrl gt lt Z gt Enter E Example m ut Normal gap English system inch GAP 0 12 0 m Metric system mm
54. bed above Bematech S A and its officers administrators employees subsidiaries affiliates and dealers shall not be held responsible or respond by any claim costs damages losses expenses and any other direct or indirect injury as well as claims which alleges that Bematech S A was negligent regarding the design or manufacture of the product Bematech S A shall not be liable against any damages or problems arising from the use of any options or any consumable products other than those designated as original Bematech S A products or approved products by Bematech S A Any product names or its logotypes mentioned in this publication may be trademarks of its respective owners and shall be here recognized Product warranties are only the ones expressly mentioned in the User s Manual Bematech S A disclaims any and all implied warranties for the product including but not limited to implied warranties of merchantability or fitness for a particular purpose In addition Bematech S A shall not be responsible or liable for a special incidental or consequential damages or lost profits or savings arising from the use of the product by the Purchaser the User or third parties Index About th Tr iantual e o hee V Who should read this manual essen enne nennen teta ta ta tata tans V Other Publications Related c c cccccccscsssssssssessssssssssscscec
55. bel s vertical position A positive value moves the label further from the printing direction a negative value moves the label towards the printing direction For a visual representation see next page Syntax SHIFT n Parameter Description n The maximum value is 1 inch For 200 dpi printers the range is 203 to 203 for 300 dpi printers the range is 300 to 300 The unit is dot Model Support LB 1000 X Example O LAIHS O NOILOAYIC 9 14 5 0 9 LAIHS O LJIHS NOLLO3MIG 0 NOLLOMIG DIRECTION 1 SHIFT O DIRECTION 1 SHIFT 36 DIRECTION 1 DIRECTION 1 SHIFT 36 SHIFT O JJ mmm uonoou Buu mmm SIZE 4 2 5 GAP 2 0 DIRECTION 0 SHIFT 30 OFFSET 0 CLS TEXT 400 200 3 0 1 1 DIRECTION 0 TEXT 400 250 3 0 1 1 SHIFT 30 BOX 10 0 780 490 8 PRINT 3 1 See Also OFFSET REFERENCE COUNTRY Description This command orients the keyboard for use in different countries via defining special characters on the KP 200 series portable LCD keyboard option Syntax COUNTRY n Parameter Description n 001 USA 002 Canadian French 003 Spanish Latin America 031 Dutch 032 Belgian 033 French France 034 Spanish Spain 036 Hungarian 038 Yugoslavian 039 Italian 041 Switzerland 042 Slovak 044 United Kingdom 045 Danish 046 Swedish 047 Norwegian 048 Polish 049 German 055 Brazil 061 English International 351 Portuguese 358
56. character in the data string then the following 4 digits after B is used to specify numbers of data After the 4 digits is the number of bytes of binary data to be encoded is the first character in the data string then the following data after K is Kanji data is in the data string and follows by N K then it will be switched to specified encodable character set Model QR Code LB 1000 X Example Manual mode example QRCODE 100 10 L 7 M 0 M1 S1 ATHE FIRMWARE HAS BEEN UPDATED Where A Alphanumeric data QRCODE 100 10 M 7 M 0 M1 S2 N123456 Where N Numeric data QRCODE 100 10 Q 7 M 0 M1 S3 N123456 ATHE FIRMWARE HAS BEEN UPDATED Where Numeric data Transfer char A Alphanumeric data QRCODE 100 10 H 7 M 0 M1 S3 B0012Product name where B Binary data 0012 12 bytes QRCODE 100 10 M 7 M 0 M1 S3 K Where K Kanji data Auto mode example QRCODE 100 10 M 7 A 0 THE FIRMWARE HAS BEEN UPDATED 1 Auto mode example a General data string SIZE 4 2 5 GAP 0 12 0 CLS QRCODE 10 10 H 4 A 0 ABCabc123 QRCODE 160 160 H 4 A 0 123ABCabc QRCODE 310 310 H 4 A 0 EJ ABCabc123 PRINT 1 1 b Data string including Enter character 0Ah SIZE 4 2 5 GAP 0 12 0 CLS QRCODE 10 10 H 4 A 0 ABC lt Enter gt abc lt Enter gt 123 QRCODE 160 160 H 4 A 0 123 lt Enter gt ABC lt Enter gt abc QRCODE 310 310 4 0 EJ zc Enter ABC lt Enter
57. e printer step The increment of the counter can be positive or negative 999999999 lt step lt 999999999 If the counter is used as a fixed variable please set the increment to 0 Expression Initial string String length is 101 bytes Example SIZE 3 3 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET COUNTER 1 1 1 00001 SET COUNTER 25 2 AB000001 CLS TEXT 50 50 3 0 1 1 1 BARCODE 50 100 39 48 1 0 2 4 2 PRINT 2 1 See Also PRINT TEXT BARCODE SET CUTTER Description This setting activates or deactivates the cutter and defines how many printed labels is to be cut at one time This setting will be saved in printer memory after turning off the power Syntax SET CUTTER OFF BATCH pieces Parameter Description OFF Disable cutter function BATCH Set printer to cut label at the end of printing job Pieces Set number of printing labels per cut 0 lt pieces lt 65535 Example REM SET CUTTER FUNCTION OFF EXAMPLE PROGRAM SIZE 3 3 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS TEXT 50 50 3 0 1 1 SET CUTTER OFF PRINT 3 REM This program cuts once at the batch SET CUTTER BATCH CLS TEXT 50 50 3 0 1 1 SET CUTTER BATCH PRINT 3 2 REM This program cuts every label SET CUTTER 1 CLS 50 50 3 0 1 1 SET CUTTER 1 PRINT 3 2 REM This program cuts 2 label SET CUTTER 2 CLS TEXT 50 50 3 0 1 1 SET CUTTER 2 PRINT 3 2
58. ection in dots Y height The region height in y axis direction in dots Example SIZE 4 2 5 0 0 SPEED 6 150 150 DENSITY 8 DIRECTION 0 CLS BAR 100 100 300 300 ERASE 150 150 200 200 PRINT 1 1 See Also CLS MAXICODE Description This command defines a 2D Maxicode Syntax MAXICODE x y mode class country post Lm message For mode 2 or 3 MAXICODE x y mode class country postal code low priority message If country is 840 the postal code is in 99999 9999 format For other countries the code is up to 6 alphanumeric characters For mode 4 5 6 MAXICODE x y mode Lm message AIM special format is supported see page 23 in the spec Note Mode 6 is not supported in TSPL2 printers firmware Parameter Description X X coordinate of the starting point in dot y Y coordinate of the starting point in dot mode 2 3 4 5 class Class of service 3 digit number for mode 2 3 country Country code 3 digit number for mode 2 3 post Post code for mode 2 3 Mode 2 USA 5 digit 4 digit number Mode3 Canada 6 alphanumeric post code included by double quotes Lm Expression length double quote is ignored 1 lt m lt 138 this parameter is just for mode 4 and 5 message Barcode content Example SIZE 4 2 GAP 0 0 CLS SPEED 4 DENSITY 8 OFFSET 0 00 REFERENCE 0 0 SET CUTTER OFF SET TEAR ON REM Mode 2 For USA MAXICODE 110 100 2 300 840 06810 7317 DEMO 2 FOR USA MAX
59. ed pitch dot font 5 32 x 48 dot fixed pitch font 6 14 x 19 dot fixed pitch font OCR B T 21 x 27 dot fixed pitch font OCR B 8 14 x25 dot fixed pitch font OCR A ROMAN TTF Monotye CG Triumvirate Bold Condensed font width and height proportion is fixed rotation The rotation angle of text 0 Norotation 90 degrees in clockwise direction 180 degrees in clockwise direction 270 degrees in clockwise direction x multiplication Horizontal multiplication up to 10x Available factors 1 10 For ROMAN TTF true type font this parameter is ignored For font 0 this parameter is used to specify the width point of true type font 1 point 1 72 inch y multiplication Vertical multiplication up to 10x Available factors 1 10 For true type font this parameter is used to specify the height point of true type font 1 point 1 72 inch Note 1 The internal font font 1 5 pitch between TSPL and TSPL2 is different 2 Font 0 and ROMAN TTF internal True Type Fonts are available in TSPL2 language printers but not TSPL language printers 3 If there is any double quote within the text please change it to 4 If font 0 is used the font width and font height is stretchable by x multiplication and y multiplication parameter It is expressed by pt point 1 pointz1 72inch Font Type MODEL BEARIN ROMAN TTF LB 1000 x X X X X Xx X Example SIZE 3 2 GAP 0 0 CLS
60. eeds label with the specified length The length is specified by dot Syntax FEED n Parameter Description n unit dot 1 lt n lt 9999 Note 200 DPI 1 mm 8 dots 300 DPI 1 mm 12 dots Example FEED 40 See Also BACKFEED SIZE GAP BLINE HOME FORMFEED BACKFEED amp BACKUP Description This command feeds the label in reverse The length is specified by dot Syntax BACKUP n BACKFEED n Parameter n TSPL printers only TSPL2 printers only Description unit dot 1 lt n lt 9999 Note 200DPI 1 mm 8 dots 300 DPI 1 mm 12 dots Model Support BACKUP BACKFEED LB 1000 X X CAUTION Impropriety back feed value may cause paper jam or wrinkle Example BACKUP 40 BACKFEED 40 See Also FEED SIZE GAP BLINE HOME FORMFEED FORMFEED Description This command feeds label to the beginning of next label Syntax FORMFEED Parameter Description None N A Example SIZE 4 2 5 GAP 0 mm 0 SPEED 4 DENSITY 7 DIRECTION 0 OFFSET 0 00 REFERENCE 0 0 SET PEEL OFF SET CUTTER OFF SET COUNTER 00 41 0 000001 FORMFEED CLS BOX 1 1 360 65 12 TEXT 25 25 3 0 1 1 FORMFEED COMMAND TEST TEXT 25 80 3 0 1 1 0 PRINT 3 1 See Also FEED SIZE GAP BLINE HOME BACKFEED HOME Description This command will feed label until the internal sensor has determined the origin Size and gap of the label should be defined before using this command Syn
61. efault is 0 content Barcode content Example SIZE 3 3 GAP 0 0 SPEED 4 DENSITY 8 DIRECTION 0 REFERENCE 0 0 OFFSET 0 00 SET CUTTER OFF SET TEAR ON CLS AZTEC 200 10 0 ABCDEFGHIJKLMNOPQRSTUVWXYZ01 23456789 PRINT 1 CLS AZTEC 200 10 0 4 ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 PRINT 1 CLS AZTEC 200 10 0 4 1 ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 PRINT 1 CLS AZTEC 200 10 0 4 1 0 ABCDEFGHIJKLMNOPQRSTUVWXY Z0123456789 PRINT 1 CLS AZTEC 200 10 0 4 1 0 0 ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 PRINT 1 CLS AZTEC 200 10 0 4 1 0 0 1 ABCDEFGHIJKLMNOPQRSTUVWXY Z0123456789 PRINT 1 CLS AZTEC 200 10 0 4 1 0 0 1 1 ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 PRINT 1 PUTBMP Description This command prints BMP format images Syntax PUTBMP Y filename Parameter Description X The x coordinate of the BMP format image Y The y coordinate of the BMP format image filename The downloaded BMP filename Model PUTBMP Command Supported LB 1000 X Example iC gt DIR Volume in drive is WIN98 Volume Serial Number is 4146 4735 Directory of 01 03 2005 01 06 lt DIR gt 01 03 2005 61 66 lt DIR gt ae 61 63 2665 61 52 PM 12 436 TSC bmp 01 03 2005 61 16 1 181 TSC pcx 2 Files 13 611 bytes 2 Dir lt s gt 8 882 189 312 bytes free iC BMP PCX gt COPY CON LPT1 DOWNLOAD TSC BMP 12430 Z 1 1 lt 5 gt copied
62. er circle thickness Parameter Description X_start Specify x coordinate of upper left corner in dots Y_start Specify y coordinate of upper left corner in dots diameter Specify the diameter of the circle in dots thickness Thickness of the circle in dots Example SIZE 80 mm 30 mm GAP 0 0 DIRECTION 1 CLS BAR 250 20 100 1 BAR 250 20 1 100 CIRCLE 250 20 100 1 PRINT 1 DMATRIX Description This command is used to define the DataMatrix 2D bar code Currently only ECC200 error correction is supported Syntax DMATRIX x y width height xm row col expression Parameter Description X Horizontal start position in dots y Vertical start position in dots width The expected width of barcode area in dots height The expected height of barcode area in dots xm Module size in dots row Symbol size of row 10 to 144 col Symbol size of col 10 to 144 Example SIZE 3 3 GAP 0 0 SPEED 4 DENSITY 8 DIRECTION 0 REFERENCE 0 0 OFFSET 0 00 SET CUTTER OFF SET TEAR ON CLS DMATRIX 10 110 400 400 DMATRIX EXAMPLE 1 DMATRIX 310 110 400 400 x6 DMATRIX EXAMPLE 2 DMATRIX 10 310 400 400 x8 18 18 DMATRIX EXAMPLE 3 PRINT 1 1 ERASE Description This command clears a specified region in the image buffer Syntax ERASE X start Y start X width Y height Parameter Description X start The x coordinate of the starting point in dots Y start The y coordinate of the starting point in dots X width The region width in x axis dir
63. gt abc lt Enter gt 123 PRINT 1 1 c Data string concatenation Must be used with DOWNLOAD EOP command DOWNLOAD DEMO BAS SIZE 4 2 5 CAP 0 12 0 CLS QRCODE 10 10 H 4 A 0 ABCabc123 STR 1234 QRCODE 160 160 H 4 A 0 123ABCabc 1234 QRCODE 310 310 4 0 122 ABCabc123 1234 abcd PRINT 1 1 EOP DEMO d Data string including double quote character please use instead of SIZE 4 2 5 CAP 0 12 0 CLS QRCODE 10 10 H 4 A 0 ABC Jabe 123 QRCODE 160 160 H 4 A 0 123 JABC Jabc QRCODE 310 310 H 4 A 0 EHE FA JABCabc 123 PRINT 1 1 3 Manual mode a General data string SIZE 4 2 5 CAP 0 12 0 CLS QRCODE 10 10 H 4 M 0 AABC BO003abc N123 QRCODE 160 160 H 4 M 0 N123 AABC BO0003abc QRCODE 310 310 H 4 M 0 K amp 000 123 PRINT 1 1 b Data string including lt Enter gt character lt Enter gt is an 8 bit byte data SIZE 4 2 5 CAP 0 12 0 CLS QRCODE 10 10 H 4 M 0 AABC B0007 lt Enter gt abc lt Enter gt IN123 QRCODE 160 160 H 4 M 0 N123 B0002 lt Enter gt AABC B0005 lt Enter gt abc QRCODE 310 310 H 4 M 0 K 0002 lt gt AABC B0010 lt Enter gt abc lt Enter gt 123 PRINT 1 1 Data string concatenation Must be used with DOWNLOAD EOP command DOWNLOAD A BAS SIZE 4 2 5 CAP 0 12 0 CLS QRCODE 10 10 H 4 M 0 AABC B0006abc123 N STR 1234 QRCODE 160 160 H 4 M 0 N123 AABC B0007abc 1234 QRCODE 310 310 H 4 M
64. haracters Each file name ends with OxOD The ending character is Ox1A Entering this command multiple times will cycle through the files resident on memory Syntax Parameter Description None N A Example JF See Also FILES Description The command inquires the code page and country setting of the printer Syntax ll Parameter Description None N A The returned information is given in the following format code page country code ex 8 bit 437 001 7 bit USA 001 Regarding the code pages and country codes supported by the printer please refer to the CODEPAGE and COUNTRY command respectively Example ll See Also COUNTRY CODEPAGE Description This command inquires the model name and number of the printer This information is returned in ASCII characters Syntax Parameter Description None N A Printer Type Returned String LB 1000 LB 1000 Example See Also Il IF Message Translation Protocols Description The beginning identifier of the prompt message is sent from the printer to the KP 200 portable keyboard The ending identifier is amp 0 following the ending identifier amp is used to instruct keyboard to display the prompt in the first line of LCD display 1 following the ending identifier amp is used to instruct keyboard to display the prompt in the first line of LCD display If 0 or 01 are not present p
65. immediately follows h or hh the minute rather than the month is displayed mmm Display the month as an abbreviation Jan Dec mmmm Display the month as a full month name January December q Display the quarter of the year as a number 1 4 y Display the day of the year as a number 1 366 yy Display the year as a 2 digit number 00 99 yyyy Display the year as a 4 digit number 100 9999 h Display the hour as a number without leading zeros 0 23 hh Display the hour as a number with leading zeros 00 23 n Display the minute as a number without leading zeros 0 59 nn Display the minute as a number with leading zeros 00 59 5 Display the second as a number without leading zeros 0 59 ss Display the second as a number with leading zeros 00 59 Display a time as a complete time including hour minute and second The default time format is h mm ss AM PM Display an uppercase with any hour before noon display an uppercase PM with any hour between noon and AMPM 11 59 P M Display a lowercase AM with any hour before noon display a lowercase PM with any hour between noon and amm 44 59 P M AP Pad T uppercase A with any hour before noon display an uppercase P with any hour between noon and 59 P M alp a lowercase with any hour before noon display a lowercase P with any hour between noon and 11 59 AMPM can be either uppercase or lowercase but the case of the
66. ine the paper length and gap size automatically See Also GAP SIZE GAPDETECT AUTODETECT AUTODETECT Description This command feeds the paper through the gap black mark sensor in an effort to determine the paper and gap black mark sizes respectively This command references the user s approximate measurements If the measurements conflict with the actual size the AUTODETECT command will not work properly This calibration method can be applied to the labels with pre printed logos or texts Syntax AUTODETECT Parameter Description X Paper length in dots y Gap length in dots Note 1 If the x y parameters are ignored then the printer will calibrate and determine the paper length and gap black mark size automatically 2 When using this command the printer will detect the label by the proper sensor type so please don t set the command GAP or BLINE in your program 3 It is supported in firmware V6 86EZ or later See Also GAP SIZE GAPDETECT BLINEDETECT BLINE Description This command sets the height of the black line and the user defined extra label feeding length each form feed takes Syntax English system inch BLINE m n Metric system mm BLINE m mm n mm Parameter Description m The height of black line either in inch or mm 0 lt lt 1 inch 0 m lt 25 4 mm n The extra label feeding length 0 lt n lt label length 0 0 Continuous label Leading edge m V Black
67. ion OFF Disable back function ON Enable back function Example REM SET BACK FUNCTION OFF EXAMPLE PROGRAM SIZE 3 1 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 1 REFERENCE 0 0 SET CUTTER 1 SET BACK OFF CLS TEXT 50 50 3 0 1 1 SET BACK OFF PRINT 3 CLS SET CUTTER 1 SET BACK ON TEXT 50 50 3 0 1 1 SET BACK ON PRINT 3 See Also OFFSET PRINT SET CUTTER SET 1 SET KEY2 SET KEY3 Description This setting is used to enable disable the KEY1 KEY2 KEY3 function The default function of KEY1 is MENU key KEY2 is PAUSE key and KEY3 is FEED key Before setting KEY1 KEY2 KEY3 function please disable KEY1 KEY2 KEY3 first The setting will remain resident in the printer even when the printer is powered off Syntax SET KEY1 ON OFF SET KEY2 ON OFF SET KEY3 ON OFF Parameter Description ON Enable KEY n function OFF Disable KEY n function Model 0 2 KEY4 KEY5 KEY6 LB 1000 PAUSE FEED Example DOWNLOAD DEMO BAS SIZE 3 1 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET KEY1 OFF SET KEY2 OFF SET KEY3 OFF KEY 1 0 KEY2 0 KEY3 0 START IF KEY1 1 THEN CLS TEXT 100 10 3 0 1 1 KEY1 MENU key is pressed PRINT 1 1 ELSEIF KEY2 1 THEN CLS TEXT 100 10 3 0 1 1 KEY2 PAUSE key is pressed PRINT 1 1 ELSEIF KEY3 1 THEN CLS TEXT 100 10 3 0 1 1 KEY3 FEED key is pressed TEXT 100 60 3 0 1 1 End of test P
68. ipment Other Publications Related User Manual Service Manual exclusive for Technical Assistance Where to Find More Information http www bematech com br http www bematech com Document Conventions This manual uses the following typographic conventions Convention Description expression list Items inside square brackets are optional expression maximum length 21024 bytes lt ESC gt ESCAPE ASCII 27 control code of status polling command returns the printer status immediately ASCII 126 control code of status polling command returns the printer status only when the printer is ready Space ASCII 32 characters will be ignored in the command line ASCII 34 beginning and ending of expression CR LF ASCII 13 ASCII 10 denotes end of command line NULL ASCII 0 supported in the expression except the 2D bar code commands Note 203 DPI 1 mm 8 dots Arial font in bold and italic type is used for note Object Position Calculation DIRECTION 0 Label origin 0 0 Paper feed direction DIRECTION 0 TEXT 56 24 3 0 1 1 ABC 203 DPI 1mm 8 dots 300 DPI 1mm 12 dots Label origin 0 0 DIRECTION 1 Paper feed direction DIRECTION 1 TEXT 56 24 3 0 1 1 ABC Printer Models List Series Models LB 1000 1 BASIC 2 ADVANCED Setup and System Commands e SIZE Description This command defines the label width and length Synt
69. mple SPEED 10 See Also DENSITY DENSITY Description This command sets the printing darkness Syntax DENSITY n Parameter Description n 0 15 0 specifies the lightest level 15 specifies the darkest level Note Default DENSITY setting is 8 Example DENSITY 7 See Also DENSITY DIRECTION and Mirror Image Description This command defines the printout direction and mirror image This will be stored in the printer memory Syntax DIRECTION n m Parameter Description n 0 or 1 Please refer to the illustrations below m 0 Print normal image 1 Print mirror image DIRECTION 0 0 DIRECTION 1 0 Feed Direction TEST PRINT Feed Direction 1 1 1 1541 DIRECTION 0 1 DIRECTION 1 1 Feed Direction Feed Direction 4 lE l bBIM L Support Model DIRECTION MIRROR LB 1000 X X Example DIRECTION 0 DIRECTION 0 1 See Also REFERENCE REFERENCE Description This command defines the reference point of the label The reference origin point varies with the print direction as shown Syntax REFERENCE x y Parameter Description X Horizontal coordinate in dots y Vertical coordinate in dots Direction Reference Reference Feed directo Direction 0 Note 200 DPI 1 mm 8 dots 300 DPI 1 mm 12 dots Example REFERENCE 10 10 See Also DIRECTION SHIFT Description This command moves the la
70. mum number of columns 4 Cols C4 Truncation 0 TO Expression length 283 L283 PRINT 1 1 REM OPTION P1 E4 M1 U100 500 10 W4 H4 R60 C4 T1 L297 CLS PDF417 50 50 900 600 0 P1 E4 M1 U100 500 10 W6 H6 R60 C4 T1 L297 Data compression method P1 Error correction level E4 Center pattern in barcode area M1 Human Readable Yes U100 300 10 Module Width 6 dots W6 Bar Height 6 dots H6 Maximum Number of Rows 60 Rows R60 Maximum number of columns 4 Cols C4 Truncation 1 T1 Expression length 297 L297 PRINT 1 1 AZTEC Description This command is used to define the AZTEC 2D bar code Supported by V6 60EZ Syntax AZTEC x y rotate size ecp flg menu rev content Parameter Description X Horizontal start position in dots y Vertical start position in dots rotate Rotation 0 No rotation 90 90 degrees 180 180 degrees 270 270 degrees size Element module size 1 to 20 default is 6 ecp Error control amp symbol size type parameter 0 default error correction level 1 to 99 minimum error correction percentage 101 to 104 1 to 4 layer Compact symbol 201 to 232 1 to 32 layer Full Range symbol 300 a simple Aztec Rune flg 0 input message is straight bytes 1 input uses Esc n for FLG n lt Esc gt lt Esc gt for lt Esc gt menu Menu symbol 0 no 1 yes default is 0 multi Number of symbols 1 to 26 default is 6 rev Output to be reversed 0 no 1 yes d
71. ner x coordinate in dots y The upper left corner y coordinate in dots width Bar width in dots height Bar height in dots Note 200 DPI 1 mm 8 dots 300 DPI 1 mm 12 dots Recommended max bar height is 12 dots at 4 width Bar height over 12 dots may damage the power supply and affect the print quality Max print ratio is different for each printer model Desktop and industrial printer print ratio is limited to 20 and 30 respectively Example GAP 0 0 E SPEED 6 200 DENSITY 8 DIRECTION 0 a CLS 300 4 BAR 100 100 300 200 PRINT 1 1 See Also BOX BARCODE Description This command prints 1D barcodes The available bar codes are listed below Code 128 switching code subset automatically Code 128M switching code subset manually 128 switching code subset automatically Interleaved 2 of 5 Interleaved 2 of 5 with check digit Code 39 standard 1 Code 39 ASCII 1 Code 39 full ASCII with check digit Code 93 EAN 13 13 with 2 digits add on 13 with 5 digits add on EAN 8 8 with 2 digits add on 8 with 5 digits add on Codabar 1 Postnet UPC A with 2 digits add on with 5 digits add on UPC E UPC E with 2 digits add on UPC E with 5 digits add on 5 PLESSEY China POST TF14 EAN14 CODE 11 Syntax BARCODE X Y code type height human readable rotation narrow wide
72. ng This setting will be saved in printer memory when turning off the power Syntax SET GAP n AUTO OFF 0 REVERSE OBVERSE Parameter Description N Gap sensor light emission strength Available range is listed as below 0 is the lowest sensitivity AUTO The printer will feed 2 or 3 labels to calibrate the gap If the label is continuous the printer will feed label to limit 10 20 inches to confirm if the label is continuous OFF Disable the SET GAP AUTO function 0 Automatically calibrate the gap size REVERSE This function is used when the Black Mark is the separation in the front of the label and which can t be detected by the Black Mark sensor The parts of the media which can be passed through by GAP sensor are defined to be the printable area otherwise it will be defined to the GAP of the media OBVERSE Disable the SET GAP REVERSE function Note When in SET HEAD OFF mode the function SET GAP AUTO doesn t work even the printer head is opened and closed but it can work when power on the printer Example The example below is operated in DOS environment via the parallel port connection to setup the label size gap distance and sensor sensitivity C gt COPY CON LPT1 lt ENTER gt SIZE 4 2 5 lt ENTER gt GAP 0 12 0 lt ENTER gt SET GAP 1 lt ENTER gt lt CTRL gt lt Z gt lt ENTER gt C gt Note lt ENTER gt stands for keyboard ENTER key In the above example please press ENTER key instead of ty
73. oaded prior to using this command When opening a file the firmware will search automatically to see if the file exists in the on board flash memory or extended memory card If the file does not exist then the printer will create this file Syntax OPEN Filename File handle Parameter Description Filename The file downloaded in the printer memory File handle Either 0 or 1 Example If a file by the name of DATA is to be downloaded The file format contains DOWNLOAD DATA1 56 COMPUTER 2000 12 MOUSE 500 13 KEYBOARD 300 100 DOWNLOAD DATA2 56 Computer 3000 32 Mouse 900 93 Keyboard 700 700 Save the above contents of data under the file name of DATA Follow the steps below to download data to the printer C gt COPY DATA B LPT1 If a file by the name of DEMO BAS is to be downloaded the file format contains DOWNLOAD DEMO BAS SIZE 3 1 GAP 0 0 DENSITY 8 SPEED 4 DIRECTION 0 1 100 GOSUB OpenData Start CLS TEXT 10 10 3 0 1 1 OPEN COMMAND TEST ITEM READ 0 ITEM P Q TEXT 10 Y 2 0 1 1 TEM STR P EOF 0 STR EOF 0 BARCODE 10 Y 25 39 40 1 0 2 4 PRICE STR Q STR P Q Y Y 100 PRINT 1 Y 100 IF EOF 0 1 THEN GOSUB OpenData IF EOF 0 0 THEN GOTO Start END OpenData IF 1 1 THEN OPEN 1 0 IF 1 2 THEN OPEN DATA2 0 SEEK 0 0 IF 1 gt 2 THEN END 1 1 1 RETURN EOP DEMO Saving the above contents of data unde
74. olumns 4 Cols Truncation 0 PRINT 1 1 REM OPTION E4 W4 H4 R40 C4 1 CLS PDF417 50 50 900 900 0 E4 W4 H4 R40 C4 T1 Error correction level 4 Module Width 4 dots Bar Height 4 dots Maximum Number of Rows 5 Rows Maximum number of columns 90 Cols Truncation 1 PRINT 1 1 REM OPTION E4 W4 H4 R40 C4 TO L169 CLS PDF417 50 50 900 900 0 E4 W4 H4 R40 C4 T0 L169 Error correction level 4 Module Width 4 dots Bar Height 4 dots Maximum Number of Rows 40 Rows Maximum number of columns 4 Cols Truncation 0 Expression length 167 PRINT 1 1 REM OPTION E4 W4 H4 R40 C4 T1 L169 CLS PDF417 50 50 900 900 0 E4 W4 H4 R40 C4 T1 L169 Error correction level 4 Module Width 4 dots Bar Height 4 dots Maximum Number of Rows 40 Rows Maximum number of columns 4 Cols Truncation 1 Expression length 169 PRINT 1 1 REM OPTION PO E4 W4 H4 R40 C4 T1 L169 CLS PDF417 50 50 900 900 0 P0 E4 W4 H4 R40 C4 T1 L169 Error correction level 4 Module Width 4 dots Bar Height 4 dots Maximum Number of Rows 40 Rows Maximum number of columns 4 Cols Truncation 1 Expression length 169 PRINT 1 1 REM OPTION PO E4 MO W6 H6 R60 C4 TO L283 CLS PDF417 50 50 900 600 0 P0 E4 M0 W6 H6 R60 C4 T0 L283 Data compression method Error correction level E4 Center pattern in barcode area MO Human Readable No Module Width 6 dots W6 Bar Height 6 dots H6 Maximum Number of Rows 60 Rows R60 Maxi
75. ping ENTER in the above example lt CTRL gt stands for keyboard Ctrl key Troubleshooting Press the FEED key to test Does printer stop at the same position on each label without the error light blinking If not adjust the setting to a larger number When adjusting this setting begin from 0 and then on to higher values incrementally See Also SIZE GAP BLINE SET HEAD Description This setting is used to enable disable head open sensor If the head open sensor is turned off an open printer head will not return an error message This setting will be saved in printer memory This command is only available for BPL2 printers Syntax SET HEAD ON OFF Parameter Description ON Turn on the HEAD OPEN sensor OFF Turn off the HEAD OPEN sensor Model Support LB 1000 X Example SET HEAD ON SET HEAD OFF SET RIBBON Description This setting is used to enable disable ribbon sensor detection Thermal Transfer Printing Thermal Direct Printing Printer will detect the presence of a ribbon to determine using either direct thermal or thermal transfer printing upon printer startup This setting will NOT be saved in printer memory Syntax SET RIBBON ON OFF Parameter Description ON Thermal transfer printing OFF Thermal direct printing Example REM Direct printing SIZE 4 4 GAP 0 0 DENSITY 8 SPEED 6 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF SET RIBBON OFF CLS
76. pper left corner x coordinate of the QR code Y The upper left corner y coordinate of the QR code ECC level Error correction recovery level L 7 M 15 Q 25 H 30 cell width 1 10 mode Auto manual encode A Auto M Manual rotation 0 0degree 90 90 degree 180 180 degree 270 270 degree model M1 default original version M2 enhanced version mask 50 58 default is 57 Data string The encodable character set is described as below Encodable character set 1 Numeric data digits 0 9 2 Alphanumeric data Digits 0 9 Upper case letters A Z Nine other characters space 3 8 bit byte data JIS 8 bit character set Latin and Kana in accordance with JIS X 0201 4 Kanji characters Shift JIS values 8140 E040uex EAA4 Hex These are values shifted from those of JIS X 0208 Refer to JIS X 0208 Annex 1 Shift Coded Representation for detail Data characters per symbol for maximum symbol size Model 1 Version 14 L Model 2 Version 40 L 1 Numeric data 1 167 characters 7 089 characters 2 Alphanumeric data 707 characters 4 296 characters 3 8 bit byte data 486 characters 2 953 characters 4 Kanji data 299 characters 1 817 characters f A is the first character in the data string then the following data after A is Alphanumeric data f N is the first character in the data string then the following data after is numeric data f B is the first
77. r the file name of DEMO Follow the steps below to download data to the printer lt under MS DOS mode gt C gt COPY DEMO B LPT1 Execute DEMO BAS in printer C gt COPY CON LPT1 DEMO lt Ctrl gt lt Z gt The above example instructs the printer to open the file DATA1 and DATA2 with same file handle of 0 and read items from the file See Also DOWNLOAD EOP READ EOF LOF SEEK FREAD WRITE Description This command writes data to a downloaded data file Two files can be open simultaneously by virtue of printer support for two file handles Syntax WRITE file handle variables Parameter Description file handle 0 or 1 variables string integer or float point variable See Also READ DOWNLOAD EOP OPEN EOF LOF SEEK FREAD READ Description This command reads data from downloaded data file Syntax READ file handle variables Parameter Description file handle 0 or 1 variables string integer or float point variable Example DOWNLOAD DATA1 20 COMPUTER 2000 12 DOWNLOAD DATA2 16 Mouse 900 93 DOWNLOAD DEMO BAS SIZE 3 1 GAP 0 0 DENSITY 8 SPEED 4 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF 0 100 OPEN DATA1 0 OPEN DATA2 1 SEEK 0 0 SEEK 1 0 Start CLS 10 10 3 0 1 1 READ COMMAND TEST TEXT 10 50 3 0 1 1 OPEN READ DATA STR I 1 ITEM READ I ITEM P Q TEXT 10 Y 2 0 1 1 ITEM STR P BARCO
78. r1 TEXT 10 60 3 0 1 1 str2 PRINT 1 EOP DEMO See Also STRCOMP TRIMS Description Removes both leading and trailing blank spaces or specific characters from a string Syntax TRIMS str list Parameter Description str The string that will be trimmed list Optional The characters that will be removed Example DOWNLOAD DEMO BAS data1 1234567 data2 a1234567a data3 lt 12345 gt SIZE 4 1 5 GAP 0 0 CLS TEXT 50 025 2 0 1 1 LTRIM data1 TEXT 50 050 2 0 1 1 TRIM data1 TEXT 50 075 2 0 1 1 RTRIM data1 TEXT 50 100 2 0 1 1 LTRIM data2 a TEXT 50 125 2 0 1 1 TRIM data2 a TEXT 50 150 2 0 1 1 RTRIM data2 a TEXT 50 175 2 0 1 1 LTRIM data3 lt gt TEXT 50 200 2 0 1 1 TRIM data3 lt gt TEXT 50 225 2 0 1 1 ATRIMS data3 lt gt PRINT 1 EOP DEMO See Also LTRIM RTRIM LTRIMS Description Removes leading blank space from a string Syntax LTRIMS str list Parameter Description str The string that will be trimmed list Optional The characters that will be removed Example DOWNLOAD DEMO BAS data1 1234567 data2 a1234567a data3 lt 12345 gt SIZE 4 1 5 GAP 0 0 CLS TEXT 50 025 2 0 1 1 LTRIM data1 TEXT 50 050 2 0 1 1 TRIM data1 TEXT 50 075 2 0 1 1 RTRIM data1 TEXT 50 100 2 0 1 1 LTRIM data2 a TEXT 50 125 2 0 1 1 TRIM data2 a TEXT 50 150 2 0 1 1
79. re case sensitive 2 File extensions must be BAS 3 Filenames must be in 8 3 format 4 It should use with EOP command 5 If memory is not specified all files will be downloaded to DRAM No Battery is used to back up files in DRAM which will be lost in the event printer power is lost 2 Download a data file DOWNLOAD n FILENAME DATA SIZE DATA CONTENT Parameter Description n Specify the memory location to save downloaded files is ignored Download files to DRAM only If you would like to save the files from DRAM to Flash memory before turning off power issue the MOVE command to printer F Download files to main board flash memory E Download files to expansion memory module FILENAME The name of data file that will remain resident in the printer memory case sensitive DATA SIZE The actual size in bytes of the data file without header DATA CONTENT The data which will be downloaded into printer Note 1 For text data files CR carriage return 0x0D and LF Line Feed 0x0A is the separator of data 2 If memory is not specified all files will be downloaded to DRAM No Battery is used to back up files in DRAM which will be lost in the event printer power is lost Support Model DOWNLOAD DOWNLOAD DOWNLOAD LF MOVE LF filename filename E filename LB 1000 X X X X Example The example program listed below will download to printer SDRAM DOWNL
80. ription LABEL Beginning of the point The maximum length of the label is 8 characters Example DOWNLOAD GOTO1 BAS SIZE 3 3 GAP 0 08 0 DENSITY 8 SPEED 4 DIRECTION 1 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS A 0 TOTAL 0 START IF A lt 100 THEN GOTO PRTOUT ENDIF SUM A A 1 TOTAL TOTAL A GOTO START PRTOUT B THE SUMMATION OF 1 100 IS STR TOTAL TEXT 10 100 3 0 1 1 B PRINT 1 END EOP See Also DOWNLOAD EOP END GOSUB RETURN INPS Description One byte is received from a serial port through this function Syntax INP n Parameter Description n 1 com1 port in printer Example DOWNLOAD DEMO BAS SIZE 3 3 GAP 0 0 DENSITY 8 SPEED 3 DIRECTION 0 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF CLS T FOR I 1 TO 5 T T INP 1 NEXT TEXT 100 100 4 0 1 1 INP 1 T PRINT 1 EOP DEMO 12345 See Also DOWNLOAD EOP END INPUT GOSUB RETURN GOTO INPUT Description This command receives data through serial port This command is used with portable keyboard KP 200 Syntax INPUT Prompt string number of digits variables The comma also can be replaced by semicolon such as INPUT Prompt string number of digits variables Parameter Description Prompt string The prompt string is shown on keyboard LCD screen The maximum length of prompt string is 20 characters Number of digits Maximum number of characters is 255 Variables The variable to receive input data
81. rns a specified number of characters up from the end of a string Syntax RIGHTS X n Parameter Description X The string to be processed n The number of characters to be returned from the right side end of the string Example DOWNLOAD DEMO BAS SIZE 3 00 3 00 GAP 0 08 0 00 SPEED 4 0 DENSITY 8 SET CUTTER OFF DIRECTION 0 REFERENCE 0 0 A TSC Auto ID Technology Co Ltd D RIGHT A 10 CLS TEXT 10 10 3 0 1 1 A TEXT 10 150 3 0 1 1 10 RIGHT CHARS D PRINT 1 EOP See Also DOWNLOAD EOP END LEFT LEN MID STR VAL STRS Description This function converts a specified value or expression into corresponding string of characters Syntax STR Parameter Description n An integer floating point number or mathematical expression Example DOWNLOAD DEMO BAS SIZE 3 00 3 00 GAP 0 0 00 SPEED 4 0 DENSITY 8 SET CUTTER OFF DIRECTION 0 REFERENCE 0 0 A TSC Auto ID Technology Co Ltd F 100 G 500 H STR F G CLS TEXT 10 10 3 0 1 1 A TEXT 10 60 3 0 1 1 F STR F TEXT 10 110 3 0 1 1 G STR G TEXT 10 160 3 0 1 1 F G H PRINT 1 EOP DEMO See Also DOWNLOAD EOP END LEFT LEN RIGHT MID VAL STRCOMP Description Returns 1 0 or 1 based on the result of a string comparison Syntax STRCOMP str1 str2 comp Parameter Description str1 Required Any valid string expression str2 Required Any valid string expression comp
82. rompt string will be displayed first line of LCD and input data will be displayed in second line of LCD Syntax itPrompt amp Q 0 Prompt amp 1 Parameter Description None N A Example DOWNLOAD A BAS OUT KP 200 amp Q 0 OUT Testing amp 1 EOP A See Also INPUT OUT Commands for Windows Driver Description This command stores bitmap image data in the memory Behind the nnn is the bitmap data Syntax Parameter Description nnn The number of bytes of image data sent from PC to printer expressed in 3 decimal digits Example 100 See Also BITMAP e J Description This command prints bitmap data at the specified position in y direction Syntax IUnnnn Parameter Description nnnn Print image at the specified position in y direction The position is expressed in 4 decimal digits Example 1J0100 See Also FEED Description This command prints a specified number of labels Syntax INnnn Parameter Description nnn Specifies the number of copies to be printed Example 001 File Management Commands DOWNLOAD Description DOWNLOAD is a header of the file that is to be saved in the printer s memory The downloaded files can be divided into two categories program files and data files including text data files PCX graphic files and bitmap font files The detailed descriptions regarding the download syntax for different files are as follows Maximum number
83. s of file saved in DRAM 50 files for LB 1000 language printers Maximum numbers of file saved in Flash memory 256 files for LB 1000 language desktop printers Model Maximum numbers of file saved in 926 DRAM FLASH Ext FLASH LB 1000 Depends on SD ii 2 card capacity If AUTO BAS exists in the printer memory it will be automatically executed upon printer startup To disable the auto execution function please follow the procedures below For LB 1000 series Hold the FEED key and power on the switch The LED color will be changed as following pattern Orange gt red 5 blinks gt orange 5 blinks gt green 5 blinks gt solid green for firmware version before V3 37 Orange gt red 5 blinks gt orange 5 blinks gt green 5 blinks gt green and orange 5 blinks gt red and orange 5 blinks gt solid green V3 37 Release the FEED key while LED becomes solid green to prevent the printer from running 5 Syntax 1 Download a program file DOWNLOAD n FILENAME BAS Parameter Description n Specify memory used to save downloaded files nis ignored Download files to DRAM only If you would like to save the files from DRAM to Flash memory before turning off power issue the MOVE command to printer F Download files to main board flash memory E Download files to expansion memory module FILENAME BAS The filename resident in printer memory Note 1 Filenames a
84. s of labels will be printed if FEED button is pressed Model Support LB 1000 X Example Execute SIZE 4 2 5 GAP 0 12 0 SET PRINTKEY ON SET COUNTER Q0 1 0 0001 CLS TEXT 10 10 5 0 1 1 0 PRINT 1 Execute Syntax Receive PRINT m Print Out SET PRINTKEY ON or 1 PRINT 2 Label 1 2 SET PRINTKEY AUTO 2 Press FEED key Label 3 4 Syntax Receive PRINT m n Print Out SET PRINTKEY ON or 1 PRINT 1 2 Label 1 Label 1 SET PRINTKEY AUTO 2 Press FEED key Label 2 Label 2 Syntax Receive PRINT 1 n Print Out SET PRINTKEY ON or 1 PRINT 1 2 Label 1 Label 1 SET PRINTKEY AUTO 2 Press FEED key Label 1 Label 1 Syntax Receive PRINT m Print Out 1 PRINT 2 Label 1 2 SEL TRIKE 2 Press FEED key Label 3 7 Syntax Receive PRINT m n Print Out 1 PRINT 1 2 Label 1 Label 1 PERE RINIKEN 2 Press FEED key Label 2 6 Syntax Receive PRINT 1 Print Out 1 PRINT 1 2 Label 1 Label 1 SET PRINTKEY 5 2 Press FEED key Label 1 Label 1 SET REPRINT Description This command will disable enable a reprinting attempt subsequent to a no paper carriage open error Syntax SET REPRINT OFF ON Parameter Description OFF Disable this function ON Enable this function Model Support LB 1000 X Example SET REPRINT ON I J no ribbon or PEEL Descrip
85. sssssssesescscsesssssssssssssesesesesessscacscsssuaseseseasssececeseesseeeeaeess V Document Conventions x A tit e eae tlic VI Object Position Calculation m VII Pr nterModels Elst aii imet tee met Gh teat es wield ede A De ec i E D ee Rs IX Setup and Syster Commands eso bo eel a tetto arnt teens pd habc it n B in e 1 eS ah cee tes ELM 1 3 E eibi ene eni ed 5 RR RUE SS 6 B De e e dice a RA 7 BUN p 8 OFFSET inco to het am ma ete oon atin E DOC RUN 9 iz 10 DENSITY tc Amer t tan Aretio Et I cart 11 DIRECTION AND MIRROR IMAGE eererennennnnnnnnnnnnte tnter nnnntn nana 12 REFERENCE em retta stp E 14 SHIE T otn etf eet KA Ue SNR E E MR 15 COUNTRY iS tet mE Enna adn metus 17 CODEPAGES Siete eon ete a Oe oe i eri m 18 iiis ettet od te das 20 FEED mien tt RT dtm eta Rs dme e CO er t i ee ana fe t 21 BACKFEED amp BACKUP dee et cete ete er e tfi ette ous eei cot 22 FORMEBED i tnnt entree 23
86. string displayed matches the string as defined by your system settings Display the next character in the format string string Display the string inside the double quotation marks Note It is supported in firmware V6 81EZ or later Example SIZE 800 dot 1900 dot GAP 0 0 CLS TEXT 10 10 3 0 1 1 General Date FORMAT NOW General Date TEXT 10 60 3 0 1 1 Long Date FORMAT NOW Long Date TEXT 10 110 3 0 1 1 Medium Date FORMAT NOW Medium Date TEXT 10 160 3 0 1 1 Short Date FORMAT NOW Short Date TEXT 10 210 3 0 1 1 Long FORMAT NOW Long Time TEXT 10 260 3 0 1 1 Medium Time FORMAT NOW Medium Time TEXT 10 310 3 0 1 1 Short Time FORMAT NOW Short Time TEXT 10 360 3 0 1 1 c FORMAT NOWS TEXT 10 410 3 0 1 1 d FORMAT NOWS d TEXT 10 460 3 0 1 1 dd FORMAT NOW dd TEXT 10 510 3 0 1 1 ddd FORMAT NOW ddd TEXT 10 560 3 0 1 1 dddd FORMAT NOWS dddd TEXT 10 610 3 0 1 1 ddddd FORMAT NOW ddddd TEXT 10 660 3 0 1 1 dddddd FORMAT NOW dddddd TEXT 10 710 3 0 1 1 w FORMAT NOW w TEXT 10 760 3 0 1 1 ww FORMAT NOWS ww TEXT 10 810 3 0 1 1 m FORMAT NOW m TEXT 10 860 3 0 1 1 mm FORMAT NOW mm TEXT 10 910 3 0 1 1 mmm FORMAT NOWS mmm TEXT 10 960 3 0 1 1 mmmm FORMAT NOWS nmmm T
87. tax HOME Parameter Description None N A Model HOME Back Label Feed Label LB 1000 X Example SIZE 4 2 5 GAP 2 mm 0 SPEED 4 DENSITY 7 DIRECTION 0 OFFSET 0 00 REFERENCE 0 0 SET PEEL OFF SET CUTTER OFF SET COUNTER 0 1 0 000001 HOME CLS BOX 1 1 360 65 12 TEXT 25 25 3 0 1 1 HOME COMMAND TEST TEXT 25 80 3 0 1 1 0 PRINT 3 1 See Also FEED SIZE GAP BLINE FORMFEED PRINT Description This command prints the label format currently stored in the image buffer Syntax PRINT m n Parameter Description m Specifies how many sets of labels will be printed 1 lt m lt 999999999 If m 1 printer will print the last label content for n copies n Specifies how many copies should be printed for each particular label set 1 lt 999999999 Example eee a SIZE 60 mm 20 mm SET COUNTER 1 1 1 0001 CLS TEXT 10 10 3 0 1 1 1 PRINT 3 2 PRINT 1 2 See Also SET COUNTER INPUT DOWNLOAD 1 Set 2 Copies SOUND Description This command controls the sound frequency of the beeper There are 10 levels of sounds The timing control can be set by the interval parameter Syntax SOUND level interval Parameter Description level Sound level 0 9 interval Sound interval 1 4095 Example SOUND 5 200 SOUND 3 200 SOUND 3 200 SOUND 4 200 SOUND 2 200 SOUND 2 200 SOUND 1 200 SOUND 2 200 SOUND 3 200 SOUND 4 200 SOUND 5 200
88. tion This command obtains the status of the peel off sensor This attribute is read only Syntax PEEL Return Value Description 0 Paper is not on top of peel sensor 1 Paper is on top of peel sensor Example DOWNLOAD DEMO BAS SIZE 4 1 GAP 0 0 SPEED 4 DENSITY 8 SET PEEL OFF SET KEY1 OFF SET LED1 OFF SET LED3 OFF START LED1 0 LED3 0 IF KEY1 1 THEN GOTOA GOTO START A LED1 1 CLS TEXT 10 10 3 0 1 1 PEEL Function Test PRINT 1 1 LED1 0 IF PEEL 1 THEN LED3 1 GOTO B ELSE CLS TEXT 10 10 3 0 1 1 The label is removed from the PEEL sensor PRINT 1 1 GOTO START ENDIF EOP DEMO LED1 LED2 LED3 Description This command is used to control LED on off This attribute is write only Specify 1 to light on LED and 0 to turn off LED Before using this command be sure to cancel the default LED functions Please refer to the SET LED command Syntax LEDm n Parameter Description m m 1 LED1 m 2 LED2 m 3 LED3 n 0 turn off LED 1 light on LED Model LED1 LED2 LED3 LED2 amp LED3 LB 1000 GREEN GREEN RED ORANGE Example DOWNLOAD DEMO BAS SIZE 3 3 GAP 0 12 0 SPEED 4 DENSITY 8 DIRECTION 1 REFERENCE 0 0 SET CUTTER OFF SET PEEL OFF SET LED1 OFF SET LED2 OFF SET LED3 OFF LED1 0 LED2 1 LED3 0 EOP KEY1 KEY2 KEY3 Description This command reads the status of KEY1 2 and KEY3 Model KEYO KEY1 KEY2 KEY3 4 KE
89. xMult UPCE 74 x pixMult Separator row height 1 and 2 valid pixMult times sepHt is the real separator row height It is calculated by printer Segment width of RSS expanded even 2 to 22 valid UCC EAN 128 height in dot 1 to 500 valid Barcode content or string expression Content of UPCE must be 00abc0000hij abhijc where c 0 2 00abc00000ij abcij3 00abcd00000j abcdj4 00abcde0000j abcdej where 5 9 Note 200 DPI 1 mm 8 dots 300 DPI 1 mm 12 dots Recommended max height of reversed black area is 12mm at 4 width Height of reversed area that is larger than 12 mm may damage the power supply and affect the print quality Max print ratio is different for each printer model Desktop and industrial printer print ratio is limited to 20 and 30 respectively Example SIZE 100 mm 100 mm GAP 0 0 CLS RSS 300 300 RSS14 0 2 2 1234567890IABCDEFG RSS 300 300 RSS14T 90 2 2 1234567890IABCDEFG RSS 300 300 RSS14S 180 2 2 1234567890 ABCDEFG RSS 300 300 RSS14S0 270 2 2 1234567890IABCDEFG PRINT 1 1 SIZE 100 mm 100 mm GAP 0 0 CLS RSS 300 300 RSSLIM 0 2 2 1234567890IABCDEFG RSS 300 300 RSSEXP 90 2 2 22 1234567890IABCDEFG RSS 300 300 UPCA 180 2 2 1234567890IABCDEFG RSS 300 300 UPCE 270 2 2 000IABCDEFG PRINT 1 1 SIZE 100 mm 100 mm GAP 0 0 CLS RSS 300 300 EAN13 0 2 2 123456789012 ABCDEFG RSS 300 300 EAN8 90 2 2 1234567IABCDEFG RSS 300 300 0 128 1

Download Pdf Manuals

image

Related Search

Related Contents

  superhummel  Massive Ceiling light 30067/43/10  Car Kit Easy (de)  MC68302 Emulator Terminal Interface  prevention - CDG Loire  LF2-RT 取扱説明書  Motion Computing CL920 User's Guide  

Copyright © All rights reserved.
Failed to retrieve file