background image

Base Reference Point 

 

Command Structure

 <ESC>A3H-aaaaVbbbb 

 

    - 

 

 

This 

character 

is 

optional. When present, it specifies that the 

horizontal offset is the negative direction. If it is left out the 

offset direction is positive. 

 

aaaa  = 

Horizontal Print Offset (-832 to 0832) 

bbbb  = 

Vertical Print Offset (1 to 9999) 

 

    Example: 

<ESC>A3H100V50 

 

    Placement: 

Preceding 

all 

images 

that are based on the new base reference 

point. 

 

 

 

 

 

Default: 

Current V and H offset settings in the printer configuration. 

 

Command Function

  To establish a new reference point for the current label. The base reference 

point is the top left corner or “origin” from where all print position commands 

are based. 

 

This command may be very helpful when using labels less than four inch wide   

 

 

 

 

to place images on the printable label surface. It may also be used to move   

    images 

past 

preprinted 

fields 

on 

label. 

 

Input to Printer   

<ESC>A<ESC>L0101 

<ESC>H25<ESC>V25<ESC>WB0NORMAL REFERENCE POINT 
<ESC>A3H300V75 
<ESC>H25<ESC>V50<ESC>WB0NEW REFERENCE POINT 
<ESC>Q1<ESC>Z 

 

Printer Output 

 

 

 

 

 

 

20

Содержание OKIPOS X400

Страница 1: ...Barcodes 12 Barcodes Expansion 17 Barcodes Variable Ratio 18 Base Reference Point 20 Characters Custom Designed 22 Character Expansion 24 Character Fixed Spacing 26 Character Pitch 27 Continuous Forms...

Страница 2: ...Store 73 Graphics Custom Recall 75 Graphics PCX Store 76 Graphics PCX Recall 77 Initialize 78 Area Select 79 Status 80 Two Dimensional Symbols 81 Maxicode 82 PDF 417 84 Configuration Commands 86 Back...

Страница 3: ...eferred to as SATO Command Codes contain non printable ASCII characters such as STX ETX ESC and printable characters These commands must be assembled into an organized block of code to be sent as one...

Страница 4: ...n application where non printable ASCII characters cannot be sent from the host The manual uses Standard Protocol Control Codes for all of the examples The Protocol Control codes must be downloaded fr...

Страница 5: ...may want to minimize keystrokes and program size by assigning the ESC character to a string variable since this character is used quite often The following two examples in BASIC show a typical example...

Страница 6: ...e WL font Instructs the printer to print one label Tells the printer that the last command has been sent The printer can now create and print the job THE PRINT AREA The maximum print area is 50 inches...

Страница 7: ...follows 1 Send the Base Reference Point command as part of your data to the printer to set a new base reference point for your label Calculate the distance in dots from the normal base reference poin...

Страница 8: ...printed information would appear on a five inch wide label see illustration If you want to test the sample label outputs and are using labels less than 5 inches in width you will have to adjust the po...

Страница 9: ...V0001 ESC H0050 ESC V0100 ESC L0303 ESC MOKI ESC H0050 ESC V0200 ESC B103100 OKI ESC H0070 ESC V0310 ESC L0101 ESC UOKI ESC Q1 ESC Z the left facing the printer to make it print on a 2 wide label Orig...

Страница 10: ...the field ESC A ESC 1 ESC V800 ESC H200 ESC L0202 ESC WB1E ESC Q1 ESC Z The following data stream will rotate both the field and the base reference point for that field ESC A ESC R ESC 1 ESC V800 ESC...

Страница 11: ...at can be configured are Sensor Calibration Protocol Codes Print Darkness Range Sensor Type RS232 Parameters Label Tear Off Position Backfeed Enable Disable Because there are no DIP switches to indica...

Страница 12: ...ation procedure The resulting calibration values are stored in the printer and used until the unit is recalibrated A separated value is stored for direct thermal or thermal transfer modes because the...

Страница 13: ...se alpha character If the command requires additional variable information it is represented by a group of lower case alpha characters immediately following the command character For example if an aaa...

Страница 14: ...G Code 128 I UCC 128 bb Number of dots 01 12 for narrow bar and narrow space ccc Bar height in dots 001 999 d UCC 128 only Not used for other bar code types 0 No human readable text 1 Human readable...

Страница 15: ...03100123456 ESC H500 ESC V600 ESC OB0 ESC H533 ESC V655 ESC OB123456 ESC H350 ESC V725 ESC D30315009827721123 ESC L0101 ESC H320 ESC V800 ESC OB0 ESC H378 ESC V878 ESC OB98277 ESC H498 ESC V878 ESC OB...

Страница 16: ...Printer Output 14...

Страница 17: ...UCC 128 Without Incrementing ESC A ESC H100 ESC V200 ESC BI04150101234567000000001 ESC Q2 ESC Z With Incrementing ESC A ESC H100 ESC V200 ESC F001 001 ESC BI04150101234567000000001 ESC Q2 ESC Z 15...

Страница 18: ...mation regarding individual bar code symbols 5 Because of their unique characteristics two dimensional symbols are covered separately 6 For UCC128 the FNC1 code is automatically inserted and the Mod 1...

Страница 19: ...zero Command Function This command works together with the ESC BT command to specify an expansion factor and the bar code height for the particular symbol being printed Input to Printer ESC A ESC H50...

Страница 20: ...t Following print position commands and preceding the ESC BW command Default Current setting Command Function To print a bar code with a ratio rather than those specified through the standard bar code...

Страница 21: ...ely follow by the ESC BW Bar Code Exp ansion command 2 You may use only one variable ratio bar code per label 3 If the data specified in this command is incorrect the command is ignored and the ratio...

Страница 22: ...Current V and H offset settings in the printer configuration Command Function To establish a new reference point for the current label The base reference point is the top left corner or origin from wh...

Страница 23: ...t s say the current base reference point is H 1 V 1 and you wish to move all the fields on your label downward vertically by 150 dots You could either 1 add the Base Reference Point command or 2 chang...

Страница 24: ...Example ESC T1H3F ESC K1H903F See Appendix C for a more detailed explanation Placement The Store command is typically sent in its own data stream to the printer between the Start Stop commands The Rec...

Страница 25: ...affected by the following commands Character Expansion Character Pitch Line Feed Rotate Fixed Base Reference Point Rotate Moving Base Reference Point 2 The characters are stored in volatile memory and...

Страница 26: ...acters independently in both the horizontal and vertical directions The command allows you to enlarge the base size of each font except the vector font up to 12 times in either direction Expanded char...

Страница 27: ...m Designed 3 The Character Expansion value is in effect for the current print job until a new expansion command is specified 4 The Line and Box command if used within the data stream may return all su...

Страница 28: ...fonts Command Function To reset proportional spacing and place the printer to fixed spacing Input to Printer ESC A ESC H100 ESC V50 ESC PS ESC L0101 ESC XMPROPORTIONAL SPACING ESC H100 ESC V180 ESC P...

Страница 29: ...and Function To designate the amount of spacing in dots between characters This com mand provides a means of altering character spacing for label constraints or enhances readability Input to Printer E...

Страница 30: ...ESC P03 Pitch 03 x 03 9 dots 2 To avoid confusion you may want to include the ESC L Character Expan sion command and this command together in your program 3 This command affects fonts U S M XU XS XM O...

Страница 31: ...sensors should be disabled when printing continuous forms by sending the ESC CI0 command to disable the sensor See page 96 If you will be using continuous labels or tags the printer must be told to s...

Страница 32: ...mand Function To specify the printing of proportional or fixed spacing for proportionally spaced fonts Input to Printer ESC A ESC H100 ESC V50 ESC PS ESC L0202 ESC XMPROPORTIONAL SPACING ESC H100 ESC...

Страница 33: ...vidual memory or buffer areas of the printer Input to Printer ESC A ESC ESC Z Printer Output There is no printer output as a result of this command The current print job in the buffer will be terminat...

Страница 34: ...0001 to 1424 Example ESC WDH100V50X600Y400 Placement Anywhere within the data stream after specifying the location of the duplicate image Default None Command Function To copy an image from one locat...

Страница 35: ...e new area for the dup licate image 2 Position of the new target area must not be inside the original image 3 If you use the Rotate command V H X and Y axis will be reversed 4 If the reference area of...

Страница 36: ...To control the cutting of labels when using a OKI cutter unit with the printer Input to Printer ESC A ESC H20 ESC V20 ESC WB1TEST LABEL ESC Q3 ESC CK1 ESC Z Special Notes 1 You must have the optional...

Страница 37: ...the cutting of labels when using Peeler unit with the printer Input to Printer ESC A ESC H20 ESC V20 ESC WB1TEST LABEL ESC Q3 ESC CL1 ESC Z Special Notes 1 You must have the optional printer Peeler i...

Страница 38: ...5W x 9H dot matrix XU 5W x 9H dot matrix S 8W x 15H dot matrix XS 17W x 17H dot matrix M 13W x 20H dot matrix XM 24W x 24H dot matrix OA OCR A font 15W x 22H OB OCR B font 20W x 24H 1 These fonts will...

Страница 39: ...efault is 2 dots between characters It is recom mended to use a spacing of 5 dots for OCR A and 1 dot for OCR B 3 You may also create characters or fonts See the ESC T Custom Designed Characters comma...

Страница 40: ...ailable on the printer NON PROPORTIONAL PORPORTIONAL 1 WB 18W x 30H dot matrix XB 48W x 48H dot matrix WL 28W x 52H dot matrix XL 48W x 48H dot matrix 1 These fonts will be printed with proportional s...

Страница 41: ...2 Character spacing may be altered through the use of the Character Pitch com mand see page 27 3 A font must be defined for each field to be printed There is no default font 4 The proportionally spac...

Страница 42: ...open shadow 2 7 Standard mirror image 8 Italic 9 Italic open shadow Example ESC A 100 200 0 ESC 123456 Placement Immediately preceding data to be printed Default None Command Function To specify prin...

Страница 43: ...nt size designation is out of the specified range a default value of 50 is used 3 The font width and height values include asenders desenders and other space 4 A font must be defined for each field to...

Страница 44: ...ESC Z Example See above Placement Separate data stream sent to printer Default None Command Function To feed a blank tag or label which is the equivalent of a form feed Input to Printer ESC A space ES...

Страница 45: ...his command recalls a stored image from the overlay memory Additional or different data can be printed with the recalled image Input to Printer ESC A ESC H100 ESC V125 ESC STHIS IS THE STORED IMAGE WI...

Страница 46: ...V125 ESC STHIS IS THE STORED IMAGE WITH A BAR CODE ESC H100 ESC V165 ESC B103100 12345 ESC ESC Z Printer Output There is no output from this command It stores the label image in the overlay buffer Spe...

Страница 47: ...nted label stock Using a dot addressable matrix design the graphic image in 8 dot by 8 dot blocks then send it in a binary format to the printer Input to Printer ESC A ESC H100 ESC V100 ESC GH006006 F...

Страница 48: ...raphic data or the actual image will not be printed as specified 2 A custom graphic cannot be enlarged by the ESC L Character Expansion command page 24 3 A custom graphic is not affected by either of...

Страница 49: ...tailed example ESC A ESC H100 ESC V150 ESC GP03800 data ESC Q1 ESC Z Printer Output Special Notes 1 The maximum number of bytes that can be downloaded is 32K compressed The number specified by this co...

Страница 50: ...lish a base reference point of H2 V2 The character pitch is 2 dots and the line gap is 16 dots Simply issue an ASCII CR at the end of each text line Input to Printer ESC A ESC JWITH THE JOURNAL FEATUR...

Страница 51: ...al side in dots 00 1424 dddd Length of horizontal side in dots 01 0832 Example ESC FW02H0200 Placement Following the necessary position commands Default None Command Function To print horizontal lines...

Страница 52: ...ESC E2 ESC Z Printer Output There is no printer output for this command Special Note 1 This becomes the new setting in the printer configuration for all subsequent print jobs unless changed This sett...

Страница 53: ...maximum print length in feed direction for a label Input to Printer ESC A ESC AX ESC AZ ESC A ESC H50 ESC V100 ESC WB1EXPAND TO ESC H50 ESC V2700 ESC WB114 INCHES ESC Q1 ESC Z Printer Output Special N...

Страница 54: ...line Then send an ASCII CR at the end of each line of text The printer automatically identifies the size of the last character moves down the number of dots specified and begins printing the next line...

Страница 55: ...feed The print position will be determined from the value specified and the H value set in the printer If you specify several H values after this command the print position will be determined by the H...

Страница 56: ...o printer output resulting from this command It is used to auto matically adjust the offset values for the size of label being used Special Notes 1 The Base Reference point is always on the right look...

Страница 57: ...ing the data stream to be encoded Default None Command Function To print Postnet bar codes Input to Printer ESC A ESC H100 ESC V120 ESC BP94089 ESC H100 ESC V160 ESC BP123456 ESC H100 ESC V200 ESC BP1...

Страница 58: ...field description of lines boxes fonts bar codes or graphics Default ESC H0001 ESC V0001 Command Function The Horizontal and Vertical commands specify the top left corner of a field or label using the...

Страница 59: ...If any part of an image is placed past maximum allowable dots across the label that part of the image will be lost 3 If you attempt to print where there is no paper you may damage the print head 4 Fo...

Страница 60: ...A ESC H100 ESC V100 ESC WB1OKI ESC Q3 ESC Z Printer Output Three labels containing the data OKI will be printed Special Notes 1 To cancel a print job you must turn off the printer 2 When used with ES...

Страница 61: ...ular label This allows flexibility in finding the best performance and quality for the particular label format media and ribbon All subsequent labels will print at this speed unless the speed is chang...

Страница 62: ...n its own data stream Default None Command Function To print duplicate of the last label printed Input to Printer ESC A ESC C ESC Z Printer Output A duplicate of the previous label will be printed Spe...

Страница 63: ...area of the previous label with new data This command will cause the previous label to print along with any changes specified within the current data stream Input to Printer ESC A ESC H25 ESC V20 ESC...

Страница 64: ...his will ensure that the new data will exactly replace the old image If the replace ment data contains fewer characters than the old data then the characters not replaced will still be printed 2 This...

Страница 65: ...n commands ESC H and ESC V to locate the top left corner of the Reverse image data Input to Printer ESC A ESC H50 ESC V120 ESC L0202 ESC WB1REVERSE ESC H250 ESC V300 ESC L0202 ESC WB1HALF ESC H40 ESC...

Страница 66: ...this command the V and H parameters are reversed 4 If the height and width to be reversed contain other than alphanumeric data the area is not printed 5 If the values specified exceed the maximum rang...

Страница 67: ...ate the print direction in 90o increments without changing the loca tion of the base reference point The diagram below illustrates the use of the ESC Rotate command Note that the entire print area is...

Страница 68: ...this command and the ESC R rotate command in the same data stream 2 The specified values are valid until another Rotate ESC command is received 3 Receipt of a Stop Print ESC Z command will reset the s...

Страница 69: ...0o counterclockwise each time it is used It also moves the base reference point to a different corner of the print area The ESC N command returns to the original base reference point and returns print...

Страница 70: ...rotate command see page 65 in the same data stream 3 A custom graphic is not affected by this command Therefore always design and locate your graphic image to print in the appropriate orientation 4 Se...

Страница 71: ...osition If these digits are left out the default is 0 Example ESC F001 001 4 3 Decrementing 004321321 Free from Decrementing In this example the right most least significant three digits would not dec...

Страница 72: ...parate labels we need 50 total labels The commands should be as follows ESC A ESC H100 ESC V100 ESC F002 001 ESC XM1001 ESC Q50 ESC Z 2 It is necessary to specify the print position for each sequentia...

Страница 73: ...data and the Stop com mand must follow The print job will not run properly if these are not in place Input to Printer ESC A ESC H1 ESC V100 ESC WB1OKI ESC H130 ESC V200 ESC B103150 OKI ESC H170 ESC V...

Страница 74: ...Expanded Memory Option Commands These commands require the Expanded Memory Option There are two types of Expanded Memory cards 2MB and 4MB respectively 72...

Страница 75: ...ide similar functionality to the ESC G Custom Graphic command see page 44 but allows for the graphic image to be stored in Expanded Memory Use the Store command to send the graphic data to the printer...

Страница 76: ...A ESC GIHaaabbb001 DATA ESC Z ESC A ESC GIHaaabbb002 DATA ESC Z Example of incorrect data stream ESC A ESC GIHaaabbb001 DATA ESC GIHaaabbb002 DATA ESC Z 4 Do not use ASCII CR or LF characters carriage...

Страница 77: ...want to print a graphic image on a label along with other printed data Input to Printer ESC A ESC CC1 ESC H80 ESC V100 ESC L0505 ESC GR001 ESC 1 ESC H250 ESC V180 ESC L0505 ESC GR001 ESC 2 ESC H500 E...

Страница 78: ...CX file to Expanded Memory first 2MB or 4MB installed OPEN WIZARD GRAPHICS LION PCX FOR INPUT AS 2 DA INPUT 3800 2 C CHR 27 WIDTH LPT1 255 LPRINT C A C CC1 LPRINT C PI011 03800 DA LPRINT C Z CLOSE 2 P...

Страница 79: ...nd Function To recall for printing a graphic file previously stored in a PCX format in the memory card Input to Printer ESC A ESC CC1 ESC H1 ESC V100 ESC PY011 ESC 1 ESC H176 ESC V330 ESC PY011 ESC 2...

Страница 80: ...r ESC A ESC CC1 ESC BJFOKI ESC Z Printer Output There is no printer output as a result of this command Special Notes 1 You must have the optional Expanded Memory to use this command Call your local Ok...

Страница 81: ...owing commad Input to Printer ESC A ESC CC1 commands ESC Z Printer Output There is no printer output as a result of this command Special Notes 1 This command requires the Expanded Memory option Call y...

Страница 82: ...t None Command Function Causes the printer to print the card status Input to Printer ESC A ESC CC2 ESC BJS ESC Z Printer Output MYCARD 2097152 Bytes PCX GRAPHIC 0 1234 CUSTOM GRAPHIC 1 5678 2090240 By...

Страница 83: ...Two Dimensional Symbols The following commands are used to create the two dimensional symbologies supported by the printers 81...

Страница 84: ...onal UPS shipments 4 Standard symbol 5 Not currently supported 7 Reader programming dd dd 9 digit numeric Postal Code eee 3 digit numeric Country Code fff 3 digit Service Class gg g Data terminated by...

Страница 85: ...I S S UPS version 3 1 symbol 3 The following modes are supported MODE POSTAL CODE COUNTRY CODE SERVICE CLASS MESSAGE LENGTH 2 9 digits max numeric only 3 digits max numeric only 3 digits max numeric...

Страница 86: ...for both dd and ee the printer automatically optimizes the number of rows per symbol ee Rows per symbol 00 or 03 40 If 00 is specified for both dd and ee then the printer automatically optimizes the...

Страница 87: ...the security level is increased 4 The maximum data length is 2700 characters but may be less depending upon the minimum module dimension aa the security level specified by c the number of data charact...

Страница 88: ...parameters of the OKIPOS X400 printers The settings currently active in the printer can be determined by printing a Test Label either by using the ESC CT Print Test Label command or by pressing the F...

Страница 89: ...C A ESC CE1 ESC Z Printer Output There is no printer output as a result of this command Special Notes 1 When Backfeed is enabled the printer will feed the last label of a print job forward to the disp...

Страница 90: ...2 ESC CA ESC Z Printer Output There is no printer output for of this command It will cause the printer to feed about 6 inches while the characteristics of the label backing or eye mark are measured Sp...

Страница 91: ...or hex format Example ESC LD 0 0 Placement Immediately following the ESC A Start command and in an Independent data stream Default Standard Protocol command Codes Command Function Allows the user to...

Страница 92: ...tream 3 If more or less than nine commas are included in the command the entire command sequence will be ignored The command must contain exactly nine commas 4 If two characters are specified for a pa...

Страница 93: ...sted after the receipt of this command Special Notes 1 The effects of this command are cumulative i e If an ESC CB 06 command is followed by an ESC CB 02 the resulting change in position is 4mm 2 The...

Страница 94: ...sent in a separate data stream Default There is no default for this command Command Function To print a test label Input to Printer ESC A ESC CT ESC Z Printer Output Special Note This mode is used fo...

Страница 95: ...3300 ESC Z Printer Output There is no printer output as a result of this command Special Notes 1 This command covers the complete range of heat settings 2 In general the Media Adjust Setting is ignore...

Страница 96: ...9600 N 8 1 Command Function To select the desired RS232 communication settings Input to Printer ESC A ESC CR9600 N 8 1 ESC Z Printer Output There is no printer output as a result of this command Spec...

Страница 97: ...fault 1 for OKIPOS X400 model Command Function To optimize the print head heat management algorithms Input to Printer ESC A ESC CP0 ESC Z Printer Output There is no printer output as a result of this...

Страница 98: ...a separate data stream Default ESC CI2 Transmissive Sensing Command Function To select the top of label sensing method Input to Printer ESC A ESC CI2 ESC Z Printer Output There is no printer output as...

Страница 99: ...rent label Units of measurement are dots a Shifts horizontal reference point in negative direction Shifts horizontal reference point in positive direction bbbb Amount of horizontal shift in dots 0832...

Страница 100: ...BKaabbc PDF417 Prints PDF417 2 D symbols Page 84 ddeeffffnn n aa Minimum module dimension 03 09 dots Will not print if values of 01 02 or greater than 10 are specified bb Minimum module pitch dimensio...

Страница 101: ...uctured append format 1 8 b Total number of Maxicode symbols in the set when used in a structured format 1 8 c 2 For Mode 2 Structured Carrier Message For Domestic US UPS shipments 3 For Mode 3 Struct...

Страница 102: ...new print darkness setting Page 93 aaa Print Darkness Adjust 0 to 400 bbb Media Adjustment 0 to 6000 CEa Backfeed Control Page 87 a 0 Disables Backfeed 1 Enables Backfeed CIa Media Sensor Selection Se...

Страница 103: ...2 character size without specifying a new print position for each line aaa Number of dots 1 999 between the bottom of the characters on one line to the top of characters on the next line EX0 Print Len...

Страница 104: ...are Page 49 dots cc Width of vertical line 1 99 dddd Length of vertical line 1 4800 Gabbbccc data Custom Graphics Allows the creation and printing of graphic image Page 45 using a dot addressable matr...

Страница 105: ...Page 48 spacing between lines and characters Kab90cc Recall Custom Designed Characters Recalls for printing a custom Page 22 character stored by the Tabcc data command a 1 16x16 matrix 2 24x24 matrix...

Страница 106: ...n Page 76 memory aaa Storage area number bbbbb Size of PCX file in bytes data Data PR Fixed Character Spacing Returns the printer to fixed character Page 26 spacing mode PS Proportional character Spac...

Страница 107: ...ta to describe the character image either in Hex or Binary format U Font Type Specifies the 5Wx9H dot matrix font including Page 36 descenders Vbbbb Vertical Position Specifies a field s vertical loca...

Страница 108: ...matrix font including Page 36 descenders XU Font Type Specifies the 5Wx9H dot matrix font including Page 36 descenders Z Stop Code Ends all print jobs Page 71 a Rotation Fixed Base Reference Point Ro...

Страница 109: ...0 to 832 bbbb Vertical height in dots of reverse image area 0 to 1424 Store Form Overlay Stores a specified label image in the printer s Page 44 volatile form overlay memory Recall Form Overlay Recal...

Страница 110: ...ation on the printing of bar codes on the OKIPOS X400 printers Information on printing the following bar code symbologies is provided Codabar Code 39 Interleaved 2 of 5 UPC A EAN 13 EAN 8 Industrial 2...

Страница 111: ...r code data alphanumeric Character Set 0 9 A B C D Start Stop characters Density Table Narrow Wide Ratio Value of bb X Dimension mils Density char inch 1 3 01 5 0 16 9 1 3 02 10 0 8 5 2 5 01 10 0 9 2...

Страница 112: ...ode data alphanumeric Character Set 0 9 A Z Space Start Stop character Density Table Narrow Wide Ratio Value of bb X Dimension mils Density char inch 1 3 01 5 0 12 7 1 3 02 10 0 6 4 2 5 01 10 0 7 0 1...

Страница 113: ...the printer will add a leading zero start and stop codes are provided by the printer Character Set 0 9 numeric only Density Table Narrow Wide Ratio Value of bb X Dimension mils Density char inch 1 3...

Страница 114: ...ck digit Character Set 0 9 numeric only Density Table Value of bb Narrow Bar Width mils Magnification Factor 02 10 0 75 03 15 0 112 04 20 0 150 Example ESC H100 ESC V100 ESC BD30212001234567890 Notes...

Страница 115: ...3 i e 20 x 3 60 3 Add up all the numbers in the EVEN positions i e 1 3 5 7 9 25 4 Add the result of step 2 to that of step 3 i e 60 25 85 5 Subtract the result of step 4 from the next highest increme...

Страница 116: ...digits Character Set 0 9 numeric only Density Table Value of bb Narrow Bar Width mils Magnification Factor 02 10 0 75 03 15 0 112 04 20 0 150 Example ESC H100 ESC V100 ESC BD4031001234567 Notes 1 D4...

Страница 117: ...ts 01 12 ccc Bar height in dots 001 999 data Bar code data numeric must be an even number of digits or else the printer will add a leading zero Character Set 0 9 numeric only Example ESC H100 ESC V100...

Страница 118: ...01 12 ccc Bar height in dots 001 999 data Bar code data numeric must be an even number of digits or else the printer will add a leading zero Character Set 0 9 numeric only Example ESC H100 ESC V100 E...

Страница 119: ...ed to change the subset type within the bar code data Shift codes E Subset A Shift code D Subset B Shift code C Subset C Shift code Character Set All 128 codes Density Table Density char inch Narrow W...

Страница 120: ...f data the first column contains the desired output and the second column contains the actual characters to be entered For example look at value 99 in the table If you are currently using Subset A or...

Страница 121: ...O O 47 12 12 48 P P 48 13 13 49 Q Q 49 14 14 50 R R 50 15 15 51 S S 51 16 0 0 16 52 T T 52 17 1 1 17 53 U U 53 18 2 2 18 54 V V 54 19 3 3 19 55 W W 55 20 4 4 20 56 X X 56 21 5 5 21 57 Y Y 57 22 6 6 2...

Страница 122: ...95 79 SI o 79 96 FNC3 FNC3 96 80 DLE p 80 97 FNC2 FNC2 97 81 DC1 q 81 98 SHIFT SHIFT 98 82 DC2 r 82 99 Subset C Subset C 99 83 DC3 s 83 100 Subset B FNC4 Subset B 84 DC4 t 84 101 FNC4 Subset A Subset...

Страница 123: ...1 2 ratio ESC DAbbccc data d bb Width of narrow element in dots 01 12 ccc Bar height in dots 001 999 data Bar code data numeric maximum of 15 digits d Required check digit Character Set 0 9 numeric o...

Страница 124: ...s 00 99 data Bar code data alphanumeric length must match value of parameter dd check digit is supplied by the printer Character Set 0 9 A Z Space Density Table Narrow Wide Ratio Value of bb X Dimensi...

Страница 125: ...ic must be exactly 6 digits Character Set 0 9 numeric only Density Table Value of bb Narrow Bar Width mils Magnification Factor 02 10 0 75 03 15 0 112 04 20 0 150 Example ESC H100 ESC V100 ESC DE03100...

Страница 126: ...t be exactly 2 or 5 digits Character Set 0 9 numeric only Density Table Value of bb Narrow Bar Width mils Magnification Factor 02 10 0 75 03 15 0 112 04 20 0 150 Example ESC H325 ESC V125 ESC D3031500...

Страница 127: ...r and added automatically 2 The internal Modulo 10 check character will be automatically created and added by the printer The overall Code 128 symbol check character will be automatically created by t...

Страница 128: ...e bar code to allow for any automatically created human readable text Example Without incrementing ESC A ESC H100 ESC V200 ESC BI04150101234567000000001 ESC Q2 ESC Z With incrementing ESC A ESC H100 E...

Страница 129: ...ar code width and height are fixed and cannot be changed 3 If the number of digits sent to the printer as data does not match one of the formats specified above i e 5 6 9 or 11 the command is ignored...

Страница 130: ...gned Characters command It demonstrates the design and printing of an arrow in a 16x16 matrix 1 Determine which matrix size to use 16 dot x 16 dots 24 dot x 24 dots 2 Lay out a grid and draw the image...

Страница 131: ...0111 1100 0000 07 C0 15 0000 0111 1100 0000 07 C0 16 0000 0111 1100 0000 07 C0 4 To store the custom designed character in memory using a hexadecimal data stream the command should be ESC A ESC T1H3F0...

Страница 132: ...t This is because we can send the binary equivalent of 11111111 represented above in its hexadecimal value of FFH for example using one eight bit word while it takes two eight bit words to transmit th...

Страница 133: ...1000000 00000000 10000000 00000000 00000000 00000011 C0 00 80 00 00 13 11000000 00000000 10000000 00000000 00000000 00000011 C0 00 80 00 00 13 11000000 00000000 10011111 11111111 11111111 00010011 C0...

Страница 134: ...000011 C0 00 03 C0 00 03 11000000 00000000 00000011 11000000 00000000 00000011 C0 00 03 C0 00 03 11000000 00000000 00000001 10000000 00000000 00000011 C0 00 01 80 00 03 11000000 00000000 00000000 0000...

Страница 135: ...tting it to the printer Using the BASIC programming language for example this is done by notation CHR HC0 which sends the hexadecimal value of C0 as binary data 11000000 The BASIC program listing for...

Страница 136: ...NT 1 CHR HC0 CHR H00 CHR H03 CHR HC0 CHR H00 CHR H03 PRINT 1 CHR HC0 CHR H00 CHR H03 CHR HC0 CHR H00 CHR H03 PRINT 1 CHR HC0 CHR H00 CHR H03 CHR HC0 CHR H00 CHR H03 PRINT 1 CHR HC0 CHR H00 CHR H03 CHR...

Страница 137: ...PRINT 1 E Q1 E Z CLOSE 1 The printer output for both hexadecimal and binary format examples is 135...

Отзывы: