Download Print this page

Lukhan LK-B30 Command Manual

4" desktop label printer

Advertisement

Quick Links

MODEL : LK-B10/B20/B30
4" DESKTOP LABEL PRINTER
Command Manual
This section contains a complete listing of all
commands in alphabetical order.

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Lukhan LK-B30

  • Page 1 MODEL : LK-B10/B20/B30 4” DESKTOP LABEL PRINTER Command Manual This section contains a complete listing of all commands in alphabetical order.
  • Page 3 Command Description Page ASCⅡ Text AUTOFR Automatic Form Printing Bar Code RSS-14 Bar Code Data Matrix MaxiCode PDF417 Counter Cut Immediate Density Print Soft Font Info. Delete Soft Font User Definable Error Response Store Soft Font Cut/Peel Position End Form Store Print Form Info.
  • Page 4 Command Description Page Character Substitution(Euro) 80-81 Customize Bar Code Parameters 82-83 Options Select 84-85 OEPL1 Set Line Mode Print Print Automatic Set Form Length Transmissive(Gap)Sensor 89-90 Black Line Sensor Continuous Stock Set Form Width 91-94 Set Double Buffer Mode Set Reference Point Speed Select Define Date Layout(&...
  • Page 5 A Command - ASCII Text Description Prints an ASCII text string. ,“DATA” Syntax Parameters = Hor izontal start po sition (X) in dots. = Vertical start position (Y) in dots. = Ro tation Value De scrip tion No rotation 90 degrees 180 degrees 270 degrees = Font se lection...
  • Page 6 A Command - ASCII Text The backslash (\) character designates the fol- lowing character is a literal and will encode into the data field. Refer to the following examples: To Print Enter into data field “ \” “Company” \”Company\” \code\ \\code\\ Examples: �...
  • Page 7: Counter Functions

    A Com mand - ASCII Text Variable Data and “Data” field can be replaced by or com- bined with the following com mands: Counter Functions Vnn= Prints the con tents of vari able “nn” at this po si tion where is a 2 digit num - ber from 00 to 99.
  • Page 8 A Command - ASCII TEXT Simple Expressions An ad vanced func tion of the com mand al - lows ad dition and subtraction to be performed in Data Fields on con stant and variable values in flash print ers. Syntax ,“DATA”[p …] Parameters For the...
  • Page 9 A Com mand - Sim ple Ex pressions in Data Fields Example: � FK"1"� FK"1"� FS"1"� V00,10,N,"En ter cur rent mile age"� A100,100,0,4,1,1,N,"Current mile age is “V00" miles.”� A100,200,0,4,1,1,N,"Change oil at “V00+3000" miles.”� FE� � FK"2"� FK"2"� FS"2"� V00,10,N,"En ter cur rent mile age."�...
  • Page 10 AUTOFR Command - Au to matic Form Print ing Description This spe cial form pro cess al lows you to de tach the printer from the com puter and print in a standalone mode. The LK-B10 printer reserves AUTOFR the form name...
  • Page 11 AUTOFR - Au tomatic Form Printing Fea ture AUTOFR treats any in coming data as a vari able in - tended for printing. This means if you send the printer a mem ory par tition command, the la bel will print, if you send a delete com mand - the la bel will print! So, while you are testing it is best to...
  • Page 12 B Command - Bar Code Description Use this command to print standard bar codes. ,“DATA” Syntax Parameters = Hor i zon tal start po si tion (X) in dots = Vertical start position (Y) in dots. = Ro tation Value De scrip tion No rotation 90 degrees...
  • Page 13 B Command - Bar Code Bar Codes De scrip tion Value Value Code 39 std. or extended 1-10 Code 39 with check digit 1-10 Code 93 1-10 Code 128 UCC 1-10 Serial Shipping Container Code Code 128 auto A, B, C modes 1-10 Code 128 mode A 1-10...
  • Page 14 B Com mand - Bar Code Example: � N� B10,10,0,3,3,7,200,B,"998152-001"� P1� Will Produce: The data field can be re placed by or combined Bar Codes with with the following com mands: Variables & Counters =Prints the con tents of vari able “nn” at this po sition.
  • Page 15 B Com mand - Bar Code Data with the RTC “Data” field can be replaced by or com- bined with the fol lowing vari ables: Time & Date Functions = Prints the cur rent time at this po sition in the pre defined for mat.
  • Page 16 B Com mand - Bar Code Code 128 Bar Code A sin gle FCN4 tog gles be tween stan dard and extended ASCII mode for only a single fol low- Function Characters ing data char acter. This is re ferred to as shift ing (continued) into ex tended ASCII mode or shift ing into stan - dard ASCII mode.
  • Page 17 The sub set in cludes b a sic RSS-14, RSS L im - ited, RSS S tacked and RSS T run cated. T he printer does not sup port RSS Ex tended or two di men sional com pos ite bar codes. Printer Models: LK-B10 Syntax “DATA” Parameters = Hor i zon tal start po si tion (X) in dots = Ver ti cal start position (Y) in dots.
  • Page 18 B Command - RSS-14 Bar Code = Bar code height in dots. See the ta ble above for the Min imum Height Multi- plier. The printer will au tomatically se- lect the larger of of two val ues: 1) this value and 2) the Se lected narrow bar width ( ) times the Min.
  • Page 19 B Com mand - RSS-14 Bar Code Example #1 N B100,100,0,RL,4,4,40,B,"1234567890" B100,300,0,R14,4,4,40,B,"1234567890" B100,500,0,RS,4,4,52,B,"1234567890" B100,700,0,RL,4,4,40,B,"9876543210" Will Produce...
  • Page 20 B Com mand - RSS-14 Bar Code Example #2 N B100,100,0,RL,4,4,40,B,"1234567890" B400,300,0,RT,4,4,40,B,"1234567890" B500,900,0,RS,4,4,54,B,"1234567890" B500,900,1,RS,4,4,54,B,"1234567890" B500,900,2,RS,4,4,54,B,"1234567890" B500,900,3,RS,4,4,54,B,"1234567890" B100,1350,0,RL,4,4,40,B,"9876543210" Will Produce...
  • Page 21 The scan rec ognition pat tern pro duced by the LK-B10 printer also in cludes a "quiet zone" one module wide on all outside edges of the bar code to en sure data in tegrity.
  • Page 22 b Com mand - 2D Bar Code - Data Ma trix Spe cific Options “DATA” = ASCII data or Bi nary data bytes Any com bination of data strings, time fields (TT), date fields (TD), vari ables and/or coun ters (the lat ter two within forms only) that re solve to a valid string of char acters.
  • Page 23 b Com mand - 2D Bar Code - Data Ma trix Spe cific Op tions Data Matrix Symbol Geometries Nu meric Al pha-numeric Com pressed Rows Col umns Ca pac ity Ca pac ity data size 1152 1392 1042 1632 1222 2100 1573...
  • Page 24 b Com mand - 2D Bar Code - Data Ma trix Spe cific Op tions Automatic Data The printer au tomatically tests and changes the Data Ma trix bar code ge ometry to optimize the Matrix Bar Code symbol size per the specified col umn and row Generation - the prefix and...
  • Page 25 b Com mand - 2D Bar Code - Data Ma trix Spe cific Op tions Example: b30,20,D,h8, “SEWOO TECH is the leading worldwide manufacturer of bar code labeling solutions and a leading provider of instant-issuance plastic card printers. We distribute our on-demand bar code label printer, plastic card printers, secure ID printing systems, software and related supplies under the SEWOO and brand names to users in more than 90 countries.
  • Page 26 b Command - 2D Bar Code - MaxiCode Specific Options Description Use this com mand to generate MaxiCode bar code sym bols with a single com mand. The printer will au to mat i cally in ter pret and en code data into MaxiCode sym bols for data modes 2, 3, 4, and 6.
  • Page 27 b Com mand - 2D Bar Code - MaxiCode Spe cific Op tions As so ci ated MaxiCode sym bol num ber ing where: = Sym bol Num ber of = To tal Number of As sociated Sym- bols De fault: Not used Range: 1-8 for both...
  • Page 28 b Com mand - 2D Bar Code - MaxiCode Spe cific Op tions Example: N� b20,20,M,"300,840,93065,1692,This is MaxiCode, but not MaxiCode for mat ted data"� P1� Will Produce: 3-27 980352-001 Rev.D...
  • Page 29 ), and the end of message marker ) data control strings. The hex a dec i mal (ASCII) data con trol strings are in the fol lowing ta ble. See the LK-B10 dump mode character map in Ap pendix A. Con trol String...
  • Page 30 b Command - 2D Bar Code - PDF417 Specific Options Description Use this com mand to print PDF 417 and Macro PDF bar code symbols. The printer will au to- matically change from PDF417 to Macro PDF bar code mode if the data sent to the printer ex- ceeds the maximum amount sup ported by the PDF417 symbol.
  • Page 31 b Com mand - 2D Bar Code - PDF417 Specific Op tions The fol lowing pa rameters may be omit ted and de - fault values will automatically be in serted. Each pa - rameter value (data string) must be pro ceeded by its as so ci ated com mand pre fix char ac ter.
  • Page 32 b Com mand - 2D Bar Code - PDF417 Specific Op tions Auto-En cod ing (c0) data com paction method is set by de fault, and provides the best compac- tion. If Bi nary data compaction (c1) is se lected the symbol will typically be larger.
  • Page 33 b Com mand - 2D Bar Code - PDF417 Specific Op tions = Bar code or igin point Val ues: or 1, De fault is f1- Cen ter of bar code as defined by the au to mat i cally ad justed sym bol size, i.e. width and height.
  • Page 34 b Com mand - 2D Bar Code - PDF417 Specific Op tions “DATA” = ASCII data or Bi nary data bytes Rep resents a fixed data field. The back slash (\) character des ignates the fol - lowing char acter is a lit eral and will en code into the data field.
  • Page 35 b Com mand - 2D Bar Code - PDF417 Specific Op tions PDF417 Symbol Geometry Col umns Max i mum Rows Codewords 3-34 980352-001 Rev.D...
  • Page 36 b Com mand - 2D Bar Code - PDF417 Specific Op tions Automatic PDF 417 The printer au tomatically tests and changes the PDF 417 bar code ge ometry to maximize the Bar Code Generation readability of the bar code for a given maximum height and width, spec ified by The printer tests the PDF 417 pa rameters in this order for a given data string (er ror cor rection...
  • Page 37 b Com mand - 2D Bar Code - PDF417 Specific Op tions Example: N� b80,100,P,700,600,x2,y7,l100,r100,f0,s5," \ � Fourscore and seven years ago our fa thers brought forth on this con ti- nent a new na tion, conceived in lib erty and ded icated to the prop osi- tion that all men are cre ated equal.
  • Page 38 C Command - Counter Description The coun ter (C) com mand de fines one of 10 au - to matic coun ters used in con sec u tive num ber - ing ap pli ca tions (i.e. se rial num bers). Counters must be de fined af ter vari ables.
  • Page 39 C Com mand - Counter com mand is used in forms that require se - quential num bering. When initializing coun ters, they must be de fined in or der (e.g. C0 first, C1 sec ond...). Field jus ti fi ca tion ) af fects the print ing of counter data.
  • Page 40 C Command - Cut Immediate Description: This com mand al lows the printer to ini tiate an immediate me dia cut with out a form print op er- ation. The printer must have the cut ter op tion in stalled. ✟...
  • Page 41 Command - Density Description Use this com mand to se lect the print den sity. Syntax Dp 1 = Den sity set ting. Ac cept able val ues are: Parameters The den sity com mand controls the amount of heat pro duced by the print head. More heat will produce a darker im age.
  • Page 42 dump Command - Enable Dump Mode Description This com mand al lows the ad vanced pro gram- mer to force a user di agnostic “data dump” mode. Sending the dump com mand to the printer al lows the programmer to compare ac - tual data sent to printer with the host pro gram.
  • Page 43 eR Command - User Defined Error/Status Character Description This com mand al lows the ad vanced pro gram- mer to specify the printer’s er ror/status re port character for er ror re porting via the RS-232 serial interface. Mobile print ers, such as the printer, ig nore this com mand.
  • Page 44 EI Command - Print Soft Font Information Description This com mand will cause the printer to print a list of all soft fonts that are stored in memory. Syntax EI� Soft fonts can be down loaded to and deleted from the printer from the Soft Font Downloader Util ity, CAL Tools or CAL3 software.
  • Page 45 EK Command - Delete Soft Font Description This com mand is used to de lete soft fonts from mem ory. Soft fonts can be down loaded to and deleted from the printer from the Soft Font Downloader Utility, CAL Tools or CAL3. Syntax EK {“FONTNAME”|"*"} Parameters...
  • Page 46 ES Command - Store Soft Font Description This com mand is used to down load and store soft fonts in mem ory. Soft fonts can be down loaded to and deleted from the printer from the Soft Font Downloader Util ity, CAL Tools or CAL3.
  • Page 47 ES Com mand - Store Soft Font : (1 ) Down load Char ac ter (map po si tion) Range: 00 to FF hex. : (1 ) Spacing To Next Print Character Down loaded char ac ter’s next printed character position in dots, i.e. Character tracking - the space between characters.
  • Page 48 ES Com mand - Store Soft Font For fonts with the ro tation pa rameter set for “both” = 02 hex.): Re peat the in di vid ual font char ac ter down load for each 90° rotated char acter from the start of the char acter set un til the last ro tated char acter in the set is down loaded.
  • Page 49 ES Com mand - Store Soft Font The typical soft font down load com mand Soft Fonts strings to the printer. The fol lowing ex ample Programming Code was gen erated with the CAL3 soft ware. Example 00000000 ..EK"a"..ES"a".. CR & LF CR &...
  • Page 50 ES Com mand - Store Soft Font Font Bitmap Data The black and white bitmap that represents the font must be converted into ASCII hex adecimal Format code. The 0° font format has dot con verted to data bytes read ing from left to right and the last byte in a line is pad ded with ze ros to complete the line and data byte.
  • Page 51 f Command - Cut Position Description Use this command on an in di vid ual printer to pro vide pre ci sion cut place ment to: • Compensate for small sensor to cut ter po si- tion differences on a printer by printer basis. •...
  • Page 52 FE Command - End Form Store Description This com mand is used to end a form store se- quence. Syntax Example FS"FORMNAME"� FE� The form store se quence is started with the com mand. 3-51 980352-001 Rev.D...
  • Page 53 FI Command - Print Form Information Description This com mand will cause the printer to print a list of all forms stored in mem ory. Syntax Example FI� :prints forms list Will Produce 3-52 980352-001 Rev.D...
  • Page 54 FK Command - Delete Form Description This com mand is used to de lete forms from mem ory. Syntax “FORMNAME” “*” Parameters “FORMNAME” = By en tering the name of a form, that form will be de leted from mem ory. •...
  • Page 55 FR Command - Retrieve Form Description Use this com mand to re trieve a form that was previously stored in memory. Syntax FR"FORMNAME" Parameters “FORMNAME” = This is the form name used when the form was stored. • The name may be up to 8 char ac ters long. •...
  • Page 56 FS Command - Store Form Description This com mand be gins a form store se quence. FS"FORMNAME" Syntax Parameters “FORMNAME” =This is the form name that will be used when re trieving the stored form. • The name may be up to 8 char ac ters long. •...
  • Page 57 FS Com mand - Store Form Example � FK"TESTFORM"� :delete form “TESTFORM” FS"TESTFORM"� :begins the form store sequence of :the form “TESTFORM” V00,15,N,"En ter Prod uct Name:"� B10,20,0,3,2,10,100,B,"998152.001"� A50,200,0,3,1,1,N,"Ex am ple Form"� A50,400,0,3,1,1,N,"Model Name: “V00� FE� :ends form store sequence FI�...
  • Page 58 GG Command - Print Graphics Description Use this command to print a PCX (format) graphic that has been pre viously stored in printer memory. Syntax ,{“NAME” | Vari able Data} Parameters = Hor i zon tal start po si tion (X) in dots. = Vertical start position (Y) in dots.
  • Page 59 GI Command - Print Graphics Information Description This com mand will cause the printer to print a list of all graphics stored in memory. Syntax Example GI� :prints graph ics list Will Produce 3-58 980352-001 Rev.D...
  • Page 60 GK Command - Delete Graphics Description Use this com mand to delete graph ics from mem ory. Syntax GK {“NAME”|"*"} Parameters “NAME” = By en tering the name of a graphic, that graphic will be de leted from mem ory. •...
  • Page 61 GM Command - Store Graphics Description Use this com mand to store PCX graphics files in mem ory. Syntax GM"NAME"p � “DATA” “NAME” = This is the graphic name that will Parameters be used when retrieving the stored graphic. • The name may be up to 8 char ac ters long. •...
  • Page 62 GM Com mand - Store Graphics Example GK"LOGO1"� :deletes graphic “LOGO1” - Re quired GK"LOGO1"� :second de lete graphic - Re quired GM"LOGO1"584� :Prepares printer to re ceive graphic :“LOGO1” DATA : Data string in PCX for mat If us ing a DOS sys tem, the PCX format file (bi- nary data) portion can be sent to the printer us - ing the DOS COPY com mand.
  • Page 63 GW Command - Direct Graphic Write Description Use this command to load bi nary graphic data directly into the Im age Buffer mem ory for im - mediate print ing. The printer does not store graphic data sent di rectly to the im age buffer. The graphic data is lost when the im age has fin - ished print ing, power is removed or the printer is re set.
  • Page 64 I Command - Character Set Selection Description Use this com mand to se lect the ap pro pri ate char ac ter set for print ing and dis play (KDU). Syntax Parameters = Num ber of data bits - for 8 bit data or for 7 bit data.
  • Page 65 003 Latin Am. 041 Swizerl’d 033 France 047 Nor way 044 U.K. 351 Por tu gal 001 U.S.A. The de fault set ting is I8,0,001. See Ap pendix A for LK-B10 stan dard font char acter maps. 3-64 980352-001 Rev.D...
  • Page 66 JB Command - Disable Top Of Form Backup Description This com mand disables the Top Of Form Backup fea ture when print ing mul tiple la bels. At power up, Top Of Form Backup will be en - abled. Syntax Example: JB�...
  • Page 67 JC Command - Disable Top Of Form Backup- All Cases Description This com mand disables the Top Of Form Backup fea ture for all op erations. Use this com - mand for liner-less print ing and spe cial me dia cut ting modes.
  • Page 68 JF Command - Enable Top Of Form Backup Description This com mand en ables the Top Of Form Backup fea ture and presents the last la bel of a batch print op er a tion. Upon re quest ini ti at ing the print ing of the next form (or batch), the last label backs up the Top Of Form be fore print ing the next la bel.
  • Page 69 LE Command - Line Draw Exclusive OR Description Use this command to draw lines with an “Ex clu- sive OR” function. Any area, line, im age or field that this line in tersects or overlays will have the image re versed or in verted (sometimes known as re verse video or a negative im age).
  • Page 70 LO Command - Line Draw Black Description Use this com mand to draw black lines, over writ- ing pre vi ous in for ma tion. Syntax Parameters = Hor i zon tal start po si tion (X) in dots. = Vertical start position (Y) in dots. = Hor i zon tal length in dots.
  • Page 71 LS Command - Line Draw Diagonal Description Use this command to draw di agonal black lines, over writ ing pre vi ous in for ma tion. Syntax Parameters = Hor i zon tal start po si tion (X) in dots. = Vertical start position (Y) in dots.
  • Page 72 LW Command - Line Draw White Description Use this com mand to draw white lines, ef fec- tively eras ing pre vi ous in for ma tion. Syntax Parameters = Hor i zon tal start po si tion (X) in dots. = Vertical start position (Y) in dots.
  • Page 73 M Command - Memory Allocation Description Use this command to set the size of form mem - ory. The re minder of the form stor age mem ory will be shared by soft fonts and graphics data. For leg acy printers, this com mand was origi- nally used for mem ory con fig u ra tion (par ti tion) of forms, im age buffer, graphics and soft fonts memory which was shared in leg acy SRAM and...
  • Page 74 N Command - Clear Image Buffer Description This com mand clears the im age buffer prior to building a new la bel im age. Syntax Considerations � Do not use the com mand within stored forms. � All printer con fig u ra tion com mands should be is sued prior to is suing the com mand to begin build ing the im age for printing within...
  • Page 75 o Command - Cancel Software Options Description This com mand allows the user to can cel most printer cus tom iz ation pa ram e ters set by se ries com mands. Pa ram e ters set by the fol low ing com mands are can celed and re turned to de fault op er a tion: •...
  • Page 76 oB Command - Cancel Auto Bar Code Optimization Description: This com mand al lows the ad vanced pro gram- mer to disable bar code op timization for ro tated (90° & 270°) bar codes. Syntax: Parameters: None com mand is a global printer com - mand.
  • Page 77 3-45 for more de tails on soft fonts. ✟ The LK-B10 font sets 2 & 4 can be re stored as the de fault Line Mode fonts by sending the com mand with out a pa ram e ter.
  • Page 78 oH Command - Macro PDF Offset Description Use this command to place ad dition sec ondary, associated Macro PDF sym bols for the con tinu- ation of data greater than a sin gle PDF 417 bar code can store. This com mand must precede any PDF 417 bar code commands in order to print Macro PDF (multiple bar code) sym bols from a sin gle com mand’s data...
  • Page 79 oH Com mand - Macro PDF Off set Example: N� q784� Q1215,24� R0,0� oH0,500� � N� b80,100,P,700,600,x2,y7,l100,r100,f0,s5,"\ Fourscore and seven years ago our fa thers... << the rest of Lin coln’s Get tysburg Ad dress HERE >> ... and that gov ernment of the peo ple, by the peo ple, for the peo ple shall not perish from the earth.
  • Page 80 oM Command - Disable Initial Esc Sequence Feed Description This com mand dis ables the au tomatic la bel cal - ibration rou tine ex ecuted by the printer upon receiving the first es cape com mand se quence from the Win dows printer driver. The printer normally mea sures a sin gle la bel and sets the top of form prior to print ing the first label af ter a power-up re set.
  • Page 81 oR Command - Character Substitution (Euro) Description This command allows the advanced program- mer to substitute the Euro currency character for any ASCII character in printer resident font numbers 1-4. The second function this command supports is the zero character style toggling between a plain zero character and a zero with a slash.
  • Page 82 oR Com mand - Char ac ter Sub sti tu tion (Euro) com mand is a global printer com mand. � It can not be is sued in side of a form. � It must be is sued prior to is suing a text com- mand (and print ing).
  • Page 83 oW Command - Customize Bar Code Parameters Description: This com mand al lows the ad vanced pro gram- mer to mod ify specific bar code parameters to exceed the spec ified bar code’s de sign tol er- ances, i.e. re duce the bar code size. Using the com mand may cause bar codes to be - come unreadable by some or all bar code scan ners.
  • Page 84 oW Com mand - Cus tomize Bar Code Pa rameters Reset the printer with a com mands with flash firm ware print ers or cy cle printer power to clear the com mand and return the printer to normal op eration. See page C-74 for important de tails on the ef fects of us ing the com mand.
  • Page 85 O Command - Hardware Options Description Use this com mand to se lect var ious printer op- tions. Op tions avail able vary by printer configu- ra tion. Options se lected and en abled in a printer can be ver i fied by check ing the printer con fig u ra tion printout, Dump Mode printer sta tus la bel.
  • Page 86 O Com mand - Hard ware Op tions = En able op tional Label Liner Cutter. The cut ter will cut at the end of each form as spec ified by the com mand. = Batch Print La bels and Liner Cut. = Sets the num ber of la bels to print prior to cut.
  • Page 87 Page Mode Mode op er a tion. The LK-B10 com mand is pre ceded by an ES C ape (27 dec or 1Bh) character and followed by a line feed (LF - 10 dec or 0A hex), a car riage re turn (CR - 13 dec or 0D hex) or CR/LF.
  • Page 88 Page Mode Mode op er a tion. The LK-B10 com mand is pre ceded by an ES C ape (27 dec or 1Bh) character and followed by a line feed (LF - 10 dec or 0A hex), a car riage re turn (CR - 13 dec or 0D hex) or CR/LF.
  • Page 89 PA Command - Print Automatic Description Use this com mand in a stored form se quence to automatically print the form (as soon as all vari- able data has been sup plied). Syntax Parameters = Number of la bel sets. Can be vari able data.
  • Page 90: Center Alignment

    q Command - Set Label Width Description Use this com mand to set the width of the print - able area of the me dia. Syntax Parameters = The width of the la bel mea sured in dots. com mand will cause the im age buffer to reformat and position to match the se lected la - bel width Print Head...
  • Page 91 q Com mand - Set Label Width All Printers This com mand will automatically set the left mar gin ac cord ing to the fol low ing rules: (print head width - la bel width) / 2 value affects the available print width. Min i- mizing the value will maximize the print length and print speed (dou ble buff ering).
  • Page 92 Q Command - Set Form Length Description Use this com mand to set the form and gap length or black line thick ness when us ing the transmissive (gap) sen sor, black line sen sor, or for set ting the printer into the continuous me dia print mode.
  • Page 93 AutoSense routine does not de tect black line or continuous media. All LK-B10 print ers have a transmissive (gap) sen - sor designed to de tect the top of each label or tag. It does this in one of two ways: •...
  • Page 94 Q Com mand - Set Form Length Examples: Standard Label Where: p = 20.0 mm (160 dots) p = 3.0mm (24 dots) The Q command would be: Q160,24↵ Butterfly Label Where: p = 12.5 mm (100 dots) p = 3.0mm (24 dots) p = 3.0mm (24 dots) The Q command would be: Q100,24+24↵...
  • Page 95 Q Com mand - Set Form Length Black Line On Perforation Perforation Where: Where: p = 31.0 mm (248 dots) p = 7.0mm (56 dots) p = 0.5 mm (4 dots) The Q command would be: Q248,B56+4↵ Black Line Between Perforation Perforation Where: Where:...
  • Page 96 r Command - Set Double Buffer Mode Description: Use this com mand to disable or reenable the double buffer im age (la bel) print ing. The dou - ble buffer fea ture is a au tomatically tested and set by the com mands.
  • Page 97 Use the com mands to gether for the easiest method of po sitioning form el ements in the print im- age in left aligned printers: LK-B10 Repeated printing off the edge of the la bel can cause excessive print head wear.
  • Page 98 S Command - Speed Select Description Use this com mand to se lect the print speed. Mobile print ers, such as the printer ig nore this command and au tomatically set speed to op ti- mize bat tery use. Syntax = Speed se lect value.
  • Page 99 TD Command - Date Recall & Format Layout Description Use this com mand to define the date for mat and print date data. The vari able is in serted within a Text or Bar Code com mand's DATA parameter to print the date. The vari able supports off setting day by up to 253 days (see ex am ples be low for us age).
  • Page 100 TS Command - Set Real Time Clock Description Use this com mand to set the time and date in printers equipped with the Real Time Clock op - tion. Syntax Parameters = Month Range: 01 to 12 = Day Range: 01 to 31 = Year Last two dig its of Year (e.g.
  • Page 101 TT Command - Time Recall & Format Layout Description Use this com mand to define the time for mat and print time data. The vari able is in serted within a Text or Bar Code com mand's DATA parameter to print the time. This com mand works only in print ers equipped with the Real Time Clock (RTC) time and date op tion.
  • Page 102 U Command - Print Configuration (General) Description Use this com mand to print the cur rent printer con fig u ra tion for page mode print ing. The printout is the same the Dump Mode print out initiated by the printer’s AutoSense rou tine. The printer does not en ter Dump Mode.
  • Page 103 UA Command - Enable Clear Label Counter Mode Description This com mand sets the printer to clear (empty) the print buffer if a me dia out con dition is de - tected. Syntax A power cy cle, re set, or com mand will clear this set ting.
  • Page 104 The page mode (LK-B10) printer, by de fault, will re sume print ing if the empty roll is re placed with new roll (or rib bon) and fin ish a batch print job.
  • Page 105 UE Command - External Font Information Inquiry Description This com mand will cause the printer to send in - for ma tion about ex ter nal fonts cur rently stored in the printer back to the host. Syntax The printer will send the num ber of ex ternal fonts stored and each font’s name, height and direction, to the host through the RS-232 port.
  • Page 106 UF Command - Form Information Inquiry Description This com mand will cause the printer to send in - formation about forms cur rently stored in the printer back to the host. Syntax The printer will send the num ber of forms stored and each form’s name to the host through the RS-232 port.
  • Page 107 UG Command - Graphics Information Inquiry Description This com mand will cause the printer to send in - formation about graphics cur rently stored in the printer back to the host. Syntax The printer will send the num ber of graphics stored and each graphic’s name to the host through the RS-232 port.
  • Page 108 UI Command - Host Prompts/Codepage Inquiry Description This com mand will cause the printer to en able prompts to be sent to the host and it will send the currently se lected codepage to the host through the RS-232 port. This com mand also dis ables soft ware flow con - trol (XON/XOFF).
  • Page 109 UM Command - Codepage & Memory Inquiry Description This com mand will cause the printer to send to the host the cur rently se lected codepage and memory sta tus through the RS-232 port. This com mand also dis ables soft ware flow con - trol (XON/XOFF).
  • Page 110 UN Command - Disable Error Reporting Description Can cels com mand Syntax 3-109 980352-001 Rev.D...
  • Page 111 UP Command - Codepage & Memory Inquiry/Print Description This com mand will cause the printer to print and send the cur rently se lected codepage and mem ory status to the host through the RS-232 port. This com mand also dis ables soft ware flow con - trol (XON/XOFF).
  • Page 112 UQ Command - Configuration Inquiry Description Use this com mand to send the printer con figu- ration in formation back to the host via the se rial port. Syntax The printer will send the printer con figuration, line by line, in ASCII to the host through the RS-232 port.
  • Page 113 US Command - Enable Error Reporting Description Use this com mand to en able the printer’s sta tus re port ing fea ture. • Se rial Port - If an er ror oc curs, the printer will send a NACK(0x15), fol lowed by the er- ror num ber, to the com puter.
  • Page 114 US Command - Enable Error Reporting Code Error/Status Description No Error Syntax Error Object Exceeded Label Border Bar Code Data Length Error (e.g.: EAN-13 is a 12 or 13 digit only) Insufficient Memory to Store Data Memory Configuration Error RS-232 Interface Error Paper or Ribbon Empty Duplicate Name: Form, Graphic or Soft Font Name Not Found: Form, Graphic or Soft Font...
  • Page 115 LK-B10 printers sus pend all new print ing op er a - tions, in clud ing printer to host com mu ni ca tion, un til the bat tery charge level is greater than 10%.
  • Page 116 V Command - Define Variable Description Use this com mand to de fine vari able data for the text and bar code data fields in stored forms. Variable data can be combined with fixed data or other data types (counter, date, etc..) in text or bar code data fields.
  • Page 117 V Com mand - De fine Vari able Use this com mand in forms that re quire unique data on each label. When initializing variables: • They must be de fined in or der (e.g. V00 first, V01 sec ond...) •...
  • Page 118 W Command - Windows Mode Description This com mand is used to dis able/re-enable the Win dows com mand mode. Syntax Parameters = Windows Mode En abled. Values = for en abled (default) for dis abled When en abled, the printer will ac cept Win dows mode es cape se quences to print data.
  • Page 119 xa Command - AutoSense Description This com mand is used to have the printer detect the la bel and gap length and set the sen sor lev- els. This command will not en ter into the Dump mode or print the printer con figuration la bel. Syntax xa�...
  • Page 120 X Command - Box Draw Description Use this com mand to draw a box shape. Syntax Pa ram e ters = Hor i zon tal start po si tion (X) in dots. = Vertical start position (Y) in dots. = Line thick ness in dots. = Hor i zon tal end po si tion (X) in dots.
  • Page 121 Y Command - Serial Port Setup Description Use this com mand to es tablish the se rial port com mu ni ca tion pa ram e ters. Syntax Parameters = Baud rate De scrip tion 38,400 baud (38K) 19,200 baud 9,600 baud 4,800 baud 2,400 baud...
  • Page 122 Z Command - Print Direction Description Use this com mand to se lect the print ori enta- tion. Syntax Parameters = Print ori en ta tion. = Printing from top of image buffer. = Printing from bot tom of image buffer.
  • Page 123 ? Command - Download Variables Description This com mand sig nals the printer to “fill-in” variable or counter “prompt” data field. The host sys tem can send data rep resenting variables and/or coun ters to the printer af ter a stored form con taining variables and/or coun- ters has been retrieved.
  • Page 124 ^@ Command - Reset Printer Description This com mand is used to re set the printer. Syntax ^@� :where ^is 94 dec imal This com mand em ulates Power Off and then Power On; thus reinitializing the printer. • The re set command is un available dur ing the operation of stor ing PCX graphics, soft fonts or while the printer is in dump mode.
  • Page 125 ^default Command - Set Printer to Factory Defaults Description: Use this com mand to return the printer to its de - fault con fig u ra tion. ^de fault com mand resets the den sity, speed, sen sors, im age buffer pa ram e ters, char- acter code page (in cluding re-mapped char ac- ters), op tions, feed but ton be haviors, gap mode me dia sens ing, se rial in ter face con fig u ra tion, er-...
  • Page 126 ^e e Command - Error Report - Immediate Description: Use this com mand to get printer er ror and sta tus ^e e re port im me di ately. The com mand must be sent via the RS-232 se rial in terface. Mobile print ers, such as the printer, ig nore this com mand.
  • Page 127 ; Command - Code Comment Line Description This com mand sig nals the printer to ignore the following data. All data be tween the line ini tiat- ing semi co lon char ac ter (;) and the next line feed (LF) char acter (which ter minates all com- mand lines) will be ig nored.
  • Page 128: Appendix A - Character References

    Appendix A - Character References This sec tion has char ac ter ref er ences. Resident Fonts 1-5 Page Mode sup ports 5 dif ferent font sizes, num - bered 1-5. Each font can be expanded both hor i zon tally and ver ti cally. All fonts are non-proportional, mono-spaced.
  • Page 129 Default Character Map Code Page - 437 Fonts 1-4 are rep resented by the shaded and unshaded cells and Font 5 only sup ports shaded cells. See the com mand to for more in formation on selecting avail able code pages, page 3-63. The electronic man ual ver sion on the user's CD in - cludes links to the in dividual code pages.
  • Page 130 The printer’s Dump Mode is used to trou ble- Dump Mode shoot programming. The printer will print all Character Map data as sent in Dump Mode Char acters, shown be low. Hexidecimal - Most Significant Digit 0 1 2 3 4 5 6 7 8 9 A B C D E F €...
  • Page 131: Appendix B - Cash Drawer Kicker Option

    Appendix B - Cash Drawer Kicker Option This sec tion has hard ware and pro gramming for the Cash Drawer Kicker. Introduction The cash drawer kicker is a fac tory op tion only. The printer re quires a spe cial PCBA to sup port this op tion.
  • Page 132: Cash Drawer Cable Wiring

    The fig ure be low dis plays the pin as signments Cash Drawer Cable for the printer’s re tail cash drawer in terface. Re - Wiring fer to the cash draw man ufacturer’s documen- tation for proper drawer wiring. RJ-11 PRINTER Pin No.
  • Page 133 <Esc>p Command - Generate Pulse CDK Description Generate a drawer kicker pulse. Syntax <Esc>pp = Se lect Drawer Parameters Drawer 1 (SDRV1) = 31 hex. = Pulse width in multiples of two milli- sec - onds (2 msec). Range = 00 - FF hex. = This pa rameter must be present for pars - ing the com mand but the value is ig - nored by the printer.
  • Page 134 <Esc>u Command - CDK Status Description Report the cash drawer kicker’s sta tus. Syntax <Esc>u None Parameters Status 00 hex. = Cash Drawer Open 01 hex. = Cash Drawer Closed 980352-001 Rev.D...
  • Page 135 SEWOO TECH CO.,LTD. ADDRESS Doosung Bd, 689-20, Kumjung-dong, Kunpo-si, Kyunggi-do, Korea TEL 82-31-459-8200 FAX 82-31-459-8880 URL http://www.miniprnter.com Rev. 1.0...