Home
Command Reference Manual
Contents
1. selected Internal edit buffer X Two page mode One page mode Direction of feed AB C D ae 2 page 1 page 1 st pag e T In two page mode In one page mode Data on next page is edited Next data is not processed While printing 1 page Until printing is completed 4 901234 567894 Changing number of prints for edited format Code 02 Ennnn Setting nnnn 4 digit numeric 0001 9999 Function Specifies changing of number of prints for formatted or formerly printed label format Example Input data below represents that after ending label format printing data ABC one sheet the number of prints is set to 3 by using this command and printing is executed with 02 G command In this case the number of prints is one plus three Input data 02 n Sets units to inch system 02 L Starts label format mode D22 Sets pixel size 190001001000050ABC Sets character data ABC with smooth font 48pt E Ends label format mode and prints 02 E0003 Sets 3 sheet printing for edited format 02 G Executes 3 sheet printing for edited format After changing number of prints to 3 A B Three sheets are printed with G Ss C Direction of feed A B 4 s A B C One sheet is printed with E EN C N 1 20 Setting edge sensor selection Code Function Caution Example 02
2. mp c joo c f c eT oc jon o ANE gt o z BEBE j jysiz iiz Ll premere PRIEST re FIERE EIE 0001 D B FERES ES RNERERERERERERE ERES DDO on s 0 J amp O v a 1 lalola J amp o 1 9515 ol joo eo om z JA A t pl ole hlolilyhiyvlel le lol moj a j ujazi foe o o Dn mofe I E uhh uo M 1 139 Appendix 3 Error Indications Item and contents Indication LED Buzzer Battery dead for clock and backup RAM Battery Lights up Long Low head temperature ColdHead Lights up Long Low PCB temperature Cold PCB Lights up Long Abnormal head resistance value Lights up Long Error contents and head information Head Err displayed repeatedly Rank Head resistance value rank Rank Average Average resistance value Ave A D reading value decimal system Maximum Max resistance value Max Minimum Min resistance value Min Communication error buffer overrun OverFlow Lights up Long Communicati
3. ef o y00o 0xf UfiN39 4 927 1 94 Font 5 Upper and lower case alphanumeric characters Character size 52 dots height x 18 dots width x 3 dots space ASHE t 0123456789 lt MABCDEFGHIJKLMNO PQRSTUVWXYZ _ abcdefghi jklmno parstuvwxyz 1 3 i 060 0005 ALOUANS 019 17 Font 6 Upper and lower case alphanumeric characters Character size 64 dots height x 32 dots width x 4 dots space HSK xt 0123456789 lt gt PQRSTUVWXYZ abcdefghi jk mno parstuvwxyz 8 C aaaac eri 11 AA EeF o uyOUoe amp x f GURN2 9 4 9314 cx p Font 7 Upper case alphabetic characters and numeric OCR A font Character size 32 dots height x 15 dots width x 5 dots space 0123456789 1 lt gt gABCDEFGHIJKLMNO PQRSTUVWXYZE DAY dabcdefghi jklmno parstuvuxyzt Ff Font 8 Upper and lower case alphabetic characters and numeric OCR B font Character size 28 dots height x 15 dots width x 5 dots space 21 7 amp 0123456789 lt gt gABCDEFGHIJKLMNO POQRSTUVUXYZEN 1 abcdefghijklmno parstuvwxyz 1 96 Font 9 Upper and lower case alphabetic characters numeric and extension font CG Triumvirate smooth font Character size is any of 6 8 10 12 14 18 24 30
4. 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 5 s 5 E 6 uz tf 1 lt 8 H o o DpDiejriv ijvia o oo a jx j2z i zje o m e K C c v fe noj of Tot e M 1 mprysje ije JTJ c EMEN o o 0 je 0 oj a 2 System font 7 OCR A cen m 0010 0011 0100 0101 0110 1000 1001 1010 1011 1100 1101 1110 1111 LIIS s A _ MEN a joo s AMO lt 5 E e a a a uoj e EMEN NENNEN MAN a a a a a a O j v ae _ 4 2 3 MENU t s 1 NN NUN gt CUN 001 N nrr NN NNNM 1 138 3 System font 8 OCR B 0000 0001 0010 0011 0100 0101 0110 O111 1000 1001 1010 1011 1100 1101 1110 1111 ele f Te sP ota e Te tT 0001 _ 5 c s gt posi tf orf sf 5
5. A10 003 Smooth font CG Triumvirate 10 pt A12 004 Smooth font CG Triumvirate 12 pt A14 005 Smooth font CG Triumvirate 14 pt A18 006 Smooth font CG Triumvirate 18 pt A24 007 Smooth font CG Triumvirate 24 pt A30 008 Smooth font CG Triumvirate 30 pt A36 009 Smooth font CG Triumvirate 36 pt A48 010 Smooth font CG Triumvirate 1 136 48 pt Bar code setting field after the print contents definition mode is turned on with STX T L 2nd digit Specified bar code upper case characters visible code lower case characters non visible code A Code 3 of 9 B UPC A C UPC E D Interleaved 2 of 5 E Code 128 F EAN 13 JAN 13 G EAN 8 JAN 8 H HIBC Modulus 43 used Code 3 of 9 CODERBAR NW 7 J Int 2 of 5 Modulus 10 used Interleaved 2 of 5 K Plessey L CASE CODE M UPC 2DIG ADD UPC 2 digit supplementary code N UPC 5DIG ADD UPC 5 digit supplementary code Code 93 p ZIP Q UCC EAN128 R UCC EAN128 for K MART S UCC EAN128 Random Weight T Telepen UPS MaxiCode FIM W Not defined X Lines Boxes Polygons and Circles Y Graphic data readout specifying command 2 PDF 417 STX Sa Reading printing contents from global register 1 137 Appendix 2 List of Font Character Codes 1 System font 0 6
6. 1 6 2 System Level Occasional Execution Commands These commands are executed as soon as they are received by the printer They begin with STX i e 02 Setting date and time 02 A Setting feedback character transmission validness 02 a Date and time transmission request 02 B Setting paper length for continuous paper 02 c Setting two page edit mode double buffer 02 d Changing number of prints for edited format 02 E Setting edge sensor selection 02 e Label one sheet feed 02 F Setting peeling cutting position 02 f Printing edited or formerly printed format 02 G Graphics data block input command 02 TrueType fonts downloading command For 400 DPI 02 i models only Pause per label printing 02 J Extension system command printer settings 02 KD Extension system command setting peeling or cutting 02 Kf position Setting Y code transmission to serial port request 02 k Specifying printing contents setting start 02 L Setting maximum label length 02 M Changing units from inch to metric system 02 m Changing units from metric to inch system 02 n Setting printing position 02 O Paper cut 02 o Setting dump mode start 02 P Pause in occasional execution 02 p Clearing all memory module contents 02 Q Clearing memory module contents 02 q Setting reflective paper sensor selection Setting paper feed speed Setting one page edit mode single buffer Printing quality test pattern Rewriting speci
7. After receiving this command printer transmits the control ROM version number and date to the computer in ASCII code Printer sends data on printer status to the computer as soon as it receives this command Therefore the computer must be ready to receive data from the printer immediately after receiving this command The OD hex code is added to the end of the transmission data 1 41 Information in memory module transmission request Code Setting Function Caution Example Input data Reception data 02 Wn F G L Transmits downloading font information Transmits graphic image file information n 5 Transmits format label printing contents information Transmits file name and memory remaining capacity in the currently installed memory module to the computer in ASCII code The OD hex is added to the end of the transmission code Reception data below represents that file name ABC DAT is set on the module A and transmitted by printer 02 WG MODULE 0D AVALIABLE BYTES IN MODULE 00042699 0D ABC DAT 0D MODULE B 0D AVALIABLE BYTES IN MODULE 00262143 0D Testing memory card flash memory Code Function Caution Reception data 02 w After receiving this command printer tests flash memory module and transmits capacity and test results GOOD or BAD The OD hex is added to the end of the transmission data Also memory card is initialized with this comm
8. Number of digits is fixed in length and data is input with 19 digit numerics Ratio depends on the value of thin bar 890 ll 1 107 Bar code R UCC EAN 128 for Number of digits is fixed in length and data is input with 18 digit numerics Ratio depends on the value of thin bar Bar code S UCC EAN 128 Random Weight Number of digits is fixed in length and data is input with at least 24 digit numerics Ratio depends on the value of thin bar 01 23456 89012345 67 890123 456 890123 1 108 Barcode T Telepen Number of digits is fixed in length Ratio depends on the value of thin bar Barcodeu UPS MaxiCode This bar code consists of alphanumeric characters and number is digits variable in length Only lower case characters are valid for setting bar code types Input data consists of the following five elements 5 digit Zip code 4 digit 4 Zip code 3 digit nationality code 3 digit class of service code 84 digit or less data character string pea Za i9 pud 1 109 Barcodev FIM This bar code consists of alphabet A B C and D and number of digits is fixed in length The width and height of bar code is specified as same as fonts Only lower case characters are valid for setting bar code types code 2 PDF 417 This is a two dimensional bar code and variable in length Only lower case characters are valid for setting bar code types Input da
9. Distance upward from origin Bar code selection No vertical upward eo e e e reversed upward 4 270 Printing angle 1 digit d 99 vertical downward UCC EAN 128 for KMART UCC EAN 128 Random Weight 120 4 5 Increasing and Decreasing Number Printing When continuously increasing and decreasing numbers like serial numbers are to be printed on labels continuous printing can be performed automatically by the counter in the printer At this time the number of steps for increasing and decreasing addition and subtraction width and number of prints of the same label can be set Command outline is as follows pi ii decimal ii value is added pii ii decimal ii value is subtracted gt pii ii base 36 system ii value from to Z is added pi ii base 36 system ii value from 0 to Z is subtracted Note p value is zero fill character nn Prints same number nn times and advances to the next counter Example 1 One addition Fig 1 Example 2 Two subtractions Fig 2 02 m 02 m 02 L 02 L D22 D22 331100003000800100 331100003000800100 01 2 Q0004 Q0004 E E Example 3 Three additions Example 4 Five additions and and two prints Fig 3 base 36 system Fig 4 02 m 02 m 02 L 02 L D22 D22 331100003000800100 331100003000800100 03 205 02 Q0004 Q0004 E E 1 121 100 100 100 100 101 98 100 105 102 96 103 10 103 94
10. FO 80 06 00 3F 80 3F co 80 06 00 OF FF FF 00 80 06 00 03 FF FC 00 80 06 00 00 7F EO 00 46 46 46 46 02 m 0D image data Next data 06 following 80 is the number of data in horizontal direction Graphics data ending code 02 M1500 0D Sets maximum label length 02 L 0D 1Y1100001000500MARK8 0D Starts label format Develops MARK praphics data to specified position ELOD SSS Starts printing 1 26 8 bit BMP format Graphics data input command is set on the black and white bit map file BMP which is prepared by Windows Paint Brush for example and transferred to printer The following is the example when file name LABEL BMP file is set on the module A in normal saving and transferred 02 IABLABEL OD Black and white PCX format file prepared with softwares such as Windows Paint File name LABEL BMP 8 bit PCX format Graphics data input command is set on the black and white PCX format file which is prepared by Windows Paint Brush for example and transferred to printer The following is the example when file name LABEL PCX file is set on the module A in normal saving and transferred 02 IAPLABEL OD Black and white PCX format file prepared with softwares such as Windows Paint File name LABEL PCX 1 27 T
11. Standard Mode AS400 Supporting Mode 0x01 SOH Ox5E 0x02 STX 0x7E Ox5E 0x40 1 150
12. When the paper position can t be detected during paper feeding by the specified length it is judged error Generally specify the length about three times the label length In case of the continuous paper specify the label length with the C command Difference between the maximum and minimum values of the sensor reading voltage is 0 8 V or more Sensor adjustment and paper characteristic verification voltage verification can be performed with the Maintenance mode continued 1 143 continued Indication Description Corrective actions RibonOut Ribbon end Check the contents and clear with the Stop key Install the ribbon Check that the ribbon winds fully Correct the faulty setting of the print mode direct thermal or thermal transfer OverHeat PCB overheat Turn off the power and reset the printer If this recurs contact our service personnel Fan stop Fan stop Check for the fan stop caused by the problems such as foreign matter entered in the air vent Automatically returned If the fan turns again If disassembling is needed to remove foreign matter or the problem can t be identified contact our Service personnel OP Err Option board Turn off the power and reset the printer If this abnormality recurs contact our service personnel Cut Err Auto cutter Check the contents and clear with the Stop key abnormality such as poor engagement If this can t be cleared turn off the power and rem
13. 2 3x 4 9 3 4 x 3 3 3 0 x 4 5 3 0 x 6 8 4 5 x4 5 4 0 x 6 8 4 0 x 10 1 6 0 x 6 8 5 3 x 9 0 5 3 x 13 5 7 9 x 9 0 5 3 x 13 0 5 3 x 19 5 7 9 13 0 9 0 x 16 0 9 0 x 24 0 13 5 x 16 0 5 0 x 8 0 5 0 x 12 0 7 5 x 8 0 Dotnumber number 5 0 x 7 0 2x2 1 5 x 1 8 5 0 x 10 5 Pixel size horizontal H x vertical V 2x3 1 5x 2 7 7 5 x 7 0 Units mm 3x2 2 3 x 1 8 2 3x 3 3 2 3x 5 0 3 4 x 3 3 1 5 2 3 3 0 x 4 6 3 0 x 6 9 4 6 x 4 6 2 0x 3 4 4 1x 6 9 4 1 x 10 3 6 1x 6 9 2 7 x 4 6 5 3 x 9 1 5 3 x 13 7 8 0 x 9 1 2 7 x 6 6 5 3x 132 5 3 x 19 8 8 0x 132 4 6 x 8 1 9 1 x 16 3 9 1 24 4 13 7 x 16 3 5 1 x 8 1 5 1 x 122 7 6 8 1 5 1 x 7 1 Note 1 represents that character rotation direction is 90 and 270 Horizontal H Vertical V 1 78 5 1 x 10 7 7 6 x 7 1 Table 2 Type of character Smooth font Triumvirate Smooth font Triumvirate Bold Downloading font TrueType Download Font Point or downloading ID Point number A03 3pt A04 4pt A05 5 A06 001 6pt A08 002 8pt A10 003 10pt A12 004 12pt A14 005 14pt A18 006 18pt A24 007 24pt A30 008 30pt A36 009 36pt A48 010 48pt C03 3pt C04 Apt C05 5pt C06 121 6pt C08 1
14. Code pii Setting p Specifies character all ASCII characters available for filling zero ii Amount of subtraction decimal Function Subtracts field data which was defined before this command Example Input data below represents that data 1000 is printed 5 sheets by using this command specifying 2 for the amount of subtraction Input data 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 1900010000000501000 Sets data 1000 with smooth font 48pt 010 Amount of subtraction 10 Q0005 Specifies 5 sheet printing E Ends label format mode and prints In case of subtraction 010 In case of subtraction 10 0960 5th sheet 960 5th sheet Direction of feed 0970 4th sheet 970 4th sheet 0980 3rd sheet 980 3rd sheet 0990 2nd sheet 990 2nd sheet 1000 1st sheet 1000 1st sheet 1 71 Setting addition of previous defined printing contents field data 2 Code gt pii Setting p Specifies character all ASCII characters available for filling zero ii Amount of addition use of ASCII characters of A Z prohibited Function Adds field data which was defined before this command by using base 36 system of 0 9 7 Example Input data below represents that data 1000 is printed 5 sheets by using this command specifying 5 for the amount of addition Input data 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 1900010000000500001
15. e Changes paper position detection sensor to transparent type Used for detecting paper gap between label papers die cut paper notch hole for tag paper etc This setting is used as default If not detected properly check the sensor position Paper gap between label papers or notch holes for tag paper in Fig below are detected 7Tag paper Label paper gap Zi m OMOP ABCLEFG m POOQ Label one sheet feed Code Function 02 F Feeds label one sheet The amount of feed is the length from the bottom of the label paper to the next bottom of the label paper When using continuous paper feeds paper the length currently set D2 cnnnn Performed in the same way as operated from the Feed key on the control panel Label paper Continuous paper N Direction of feed j j Amount of feed Paper length 02 cnnnn 1 21 Setting peeling cutting position Code Units Initialization value Setting Function Caution Figure 02 fnnn 0 01 inch Standard 220 2 20 inches 55 8 mm With Auto Cutter 340 3 40 inches 86 4 mm With Peeler 270 2 70 inches 68 6 mm With Tear Offset 290 2 90 inches 73 7 mm nnn 3 digit data Inch system 050 999 0 5 inch 9 99 inches Metric system 127 999 12 7 mm 99 9 mm With the setting above the distance between paper sensor and cutter or peeler can be specified When nnn
16. xntname n Memory module specifying parameter A Memory module A on board memory B Memory module B flash memory card C Default module t File format F Downloaded font G Graphic image L Label format S Downloaded TrueType font for 400 DPI models only Name File name up to 16 characters ending with CR Bit mapped download font ID is three digits and TrueType download font ID is two digits Clears the data in the memory module in file units The LCD equipped model shows On Line on the LCD after completing the clearance of a file Clearance by this command will make the appropriate file name in the memory module invalid and accessing the file impossible Therefore the contents of the file are kept in the memory module and the capacity of the module is not increased Issuing the memory module contents packing command 02 z deletes the contents of the file specified by this command from the memory module In system maintenance mode if model of mode item is set to Native OFF respective memory modules A and B are reversed as follows A flash memory card B on board memory MARK8 graphic image file in module B is cleared 02 xBGMARKS8 00 Sensor level issued to port Code Function Caution Example Reception data 02 Y Issues sensor level to the RS232C port in the test mode If the value of level is required to repeat SPACE 20H must be transmitted to the printer To escape from this function send ESC
17. 02 L Starts label format mode D11 Sets pixel size Q0010 Sets 10 sheets for printing same labels 1F3306000050050490123456789 Sets EAN13 bar code for data 490123456789 0002 Sets 2 sheets for number of cuts E Ends label format mode and prints Setting slash zero Code Function Caution Example Input data 2 Specifies numeric zero without slash This setting is valid for system font O to 6 This setting is valid within label format Input data below represents that data 0001 is printed by specifying non slash zero 02 n Sets units to inch 02 L Starts label format mode D22 Sets pixel size 2 Specifies non slash zero 1600010000000500001 Sets data 0001 with system font 6 E Ends label format mode and prints 1 75 Character field definition Code rotate font hexp vexp point row column d1 d2 Setting rotate Sets rotation direction for character data 1 2 3 4 1 0 2 90 3 180 4 270 Font Sets type of character see table 1 hexp Sets expansion rate in horizontal direction 1 9 A O A O corresponding to 10 24 vexp Sets expansion rate in vertical direction 1 9 O corresponding to 10 24 point Sets size of smooth font A06 A48 corresponding to 6pt 48pt Sets downloading font ID 100 999 see table 2 Setting of this item is valid only when font is set to 9 row Row address 0000 9999 Unit 0 01 inch column Column addre
18. 1BH Entering the test mode must be operated from the control panel See reception data below Thermistor ADC 0071 Reflective ADC 0000 Transmissive ADC 0178 Paper out ADC 0000 24 Volt ADC 0000 Battery level Good 0d 1 44 TrueType font symbol set selection command for 400 DPI models only Code 02 ySxx Setting S S fixed xx Symbol set selection 2 digit codes Refer to the table below Function Select symbol set for TrueType font downloaded Caution Actual symbol set availability depends on the selected TrueType font s character set Example Selection of PC 850 multilingual is made as follows Command line 02 ySPM Available Symbol set Re Romans PD DIN Code Page TN Pi erron 1 45 Printing printer status Code Function 02 Z Performs test printing for indicating printer status Packing memory module contents 200 dpi 2M byte DRAM equipped or 400 dpi model only Code Setting Function Caution Example Input data 02 zm Memory module specifying parameter Memory module A on board memory Memory module B flash memory card QW gt Default module With this command the file data specified by the file clearance command 02 z and the old file data stored with overrites will be removed from the memory module Therefore the empty capacity can be increased by the amount of data occupied by the deleted and old files Packing required time for
19. 2 kO 19 30 GND Twisted pair return ground 31 INIT Input Printer reset 32 FAULT Output Signal to indicate printer error 33 35 NC Not used 36 SELECTIN Input Invalidness ignorance 1 130 4 Timing chart min 750ns STROBE E e max Soons oL BUSY EN NENNEN SEM 2 5 u s typ ACKNLG x nnm DATA ACKNLG LOW indicates that the printer has received data The BUSY HIGH indicates that the printer is not able to receive data and the LOW indicates that the printer is able to receive data 1 131 1 2 A 4 A 5 A 6 A 7 Appendixes List of Commands 2 List of Font Character codes A 7 Error Indications 9 Error Contents and Corrective Actions A 11 Printing Edit Function A 14 Native Command Mode A 18 5400 Supporting Mode A 19 1 132 Appendix 1 List of Commands System level commands SOH Reset A Printer status transmission request 8 bytes B Pause C Stop cancel D Stop immediate execution of system level commands E Transmission of number of remaining prints F Printer status transmission request 1 byte STX A Setting date and time transmission a Feedback character transmission validness B Date and time transmission request cnnnn Setting continuous paper length d Setting 2 page edit mode double buffer Ennnn Setting number of printing
20. 36 or 48 points 6 pt ABCDEFGHIJKLMNOPQRSTUVW XYZabcdefghijkImnopqrstuvwxyz0 128456789 8 pt ABCDEFGHIJKLNNOPQRSTUVWXY ZabcdefghijklmnopqrstuvwxyzO 12345 10 pt ABCDEFGHIJKLMNOPQRSTUVWXY Zabcdefghijklmnop 12 pt ABCDEFGHIJKLMNOPQRSTUVWXY Zabcdefg 14 pt ABCDEFGHIJKLMNOPQRSTUVWXYZ 18 pt ABCDEFGHIJKLMNOPQRST 24 pt ABCDEFGHIJKLMN 30 pt ABCDEFGHIJK 36 pt ABCDEFG 48 pt ABCDE ABCDEFGHIJKLMNOPQRSTUVW XY Z0123456789abcdefghijklmnopq rstuvwxyz amp 012345 6789 lt gt eiiA ae E6600 yO o 0 x f i fi 91514 AAASC AAODEEEIIIBOO6O upp YY 3 4 1 97 2 2 Description of Bar Codes The following print sample is printed with a pixel size of 1 dot x 1 dot The dot pattern in horizontal and vertical direction is printed with 1 time Barcode A Code 3 of 9 This bar code consists of upper case alphanumeric characters Number of digits is variable in length Start stop codes are given automatically by printer Valid ASCII codes are as follows 32 36 37 43 45 47 48 57 65 90 Standard ratio ratio of thick bar to thin bar of Code 3 of 9 is 3 1 ABC123 Bar code B UPC A This bar code consists of only numeric characters and is 12 digit fixed length The 11 digit numerics are input from the computer or applications software and the 12th digit is a checksum which is calculated automatically by the printer When the 12th digit numeric is sent by the compute
21. Inch system 0050 9999 0 5 99 99 inches Metric system 0127 9999 12 7 999 9 mm Function Initialization value Caution etc Same as 02 fnnn See page 21 Setting Y code transmission to serial port request Code Function Caution 02 k After receiving this command printer issues Y 59hex code via serial port This allows printer and computer to synchronize each other OD hex code is not added to the end of the Y 59hex code Specifying printing contents setting start Code Function Example Input data 02 L With this command input printer enters the label format mode and waits for input of printing contents definition and label format commands until it receives E s or X code Input data below represents that label format command input is started data ABC is defined as printing contents label format command input is completed and label printing command E is entered 02 n Sets units to inch 02 L Starts label format mode D22 Sets pixel size 190001001000050ABC Sets character data ABC with smooth font 48pt E Ends label format mode and prints Direction of feed ABC 1 31 Setting maximum label length Code Units Setting Function Example Input data Direction of feed 02 Mnnnn 0 01 inch or 0 1 mm nnnn 4 digit data Initialization value 2000 20 00 inches Max value Inch system 9999 99 99 inches Metric system 9999 99 9 mm S
22. KorL M or N 1 8 Paper feed speed specifying character 2 0 inches 50 8 mm sec 3 0 inches 76 2 mm sec 4 0 inches 101 6 mm sec 6 0 inches 152 4 mmysec 5 0 inches 127 0 mmysec 6 8 inches 172 7 mmysec 8 0 inches 203 2 mm sec 1 0 8 0 inches in increments of 1 0 inch Speed setting higher than the specifications of each model is not available Sets paper feed speed Paper feed area ERE Printable area Unprintable area Unprintable area Paper feed area 1 Tnnninta hle area 1 38 Power is turned on Feeds atspeed of setting STX Sa of de fault value Feeds at speed of setting Sa or previous paper Sa ect Feeds at speed of setting Pa or default value Feeds at speed of setting STX Sa or previous unprintable section when no 51 Sa is set Feeds atspeed of setting Sa or previous T g P paper feed section when no Sa is set Setting one page edit mode single buffer Code Function Caution 02 s After receiving this command printer makes the internal edit buffer one page Atthis time the maximum printing length on one page is 32 inches In initialization after turning on power this mode is set 200 DPI Models Max page length 32 inches 400 DPI Models Max page length 10 inches The printer automatically judges whether the single buffer is needed or not and the mode is switched according
23. Mnnnn is set When a value beyond the default value STX Mnnnn is set specify a value of STX Mnnnn larger than that of STX Cnnnn STX Mnnnn gt STX Example of input data below represents paper length of 2 5 inch setting 02 n Sets units to inch system 02 c0250 Sets paper length to 2 5 inches for continuous paper 02 L Starts label format mode D11 Sets pixel size 1F3306000500050490123456789 Sets EAN13 bar code for data 490123456789 E Ends label format mode and prints Paper length 2 5 in c0250 4 901234 567894 Setting two page edit mode double buffer Code 02 d Function After receiving this command printer divides the internal edit buffer into 2 pages and enters the high speed edit mode In the high speed edit mode printing speed is increased by editing the next page in advance while the current page is being printed Caution The printer automatically judges whether the double buffer is needed or not and the mode is switched accordingly so this command does not need to be particularly specified e 200 DPI When the printing length is 16 inches or less one half of the maximum printing length of 32 inches the double buffer mode is selected When it is larger than 16 inches the single buffer mode is selected e 400 DPI When the printing length is 5 inches or less double buffer mode is selected When it is larger than 5 inches single buffer mode is
24. and dots inside with specified pattern Input data below represents that circle with center of row 0 50 inch column 0 50 inch and radius of 0 30 inch is drawn and inside is dotted with pattern 10 left diagonal lines 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 1X11 010 0050 0050 C 001 0001 0030 Sets circle E Ends label format mode and prints 1 90 Date and time printing definition Code Setting Function Example Input data rotate font hexp vexp point row column 02 T tdata rotate Sets rotation direction for character data 1 2 3 4 1 0 2 90 3 180 4 270 Font Sets type of character see table 1 hexp Sets expansion rate in horizontal direction 1 9 A O A O corresponding to 10 24 vexp Sets expansion rate in vertical direction 1 9 A O A O corresponding to 10 24 point Sets size of smooth font A06 A48 corresponding to 6 to 48pt Setting of this item is valid only when font is set to 9 row Row address 0000 9999 Unit 0 01 inch column Column address 0000 0410 Unit 0 01 inch 02 02 fixed T Specifies writing of time data tdata Specifies date and time printing format by using the following alphabet and spaces A 1 digit day of week 0 6 Sunday to Saturday BCD Name of day of the week Monday MON EF 2 digit month number 1 12 January to December GHI NO Name of the month January JANUARY PQ 2 digit date 15
25. auto cutter and peeling sensor are turned to ON any ejection is not performed even if ejection is turned to ON because the auto cutter and peeling sensor have priority Setting of ejection however is kept valid because it is stored in the backup memory so ejection will be performed when both auto cutter and peeling sensor are turned to OFF Examples of input data when Ejection ON and OFF are shown below 02 1B t1 When specifying Ejection ON 02 1B t A When specifying Ejection OFF 1 49 1 6 3 Label Format Commands The following commands will be valid if the label format command interpreter is turned on with STX L i e 02 L Specifying development method A Specifying development method 1B B Setting offset in direction of column C Setting number of cuts 2 digit Setting pixel size in horizontal and vertical direction D Completion of setting printing contents field preparation and printing labels Entering previous defined field character string into global table Setting print density head heat factor H Changing units from inch to metric system m Changing units from metric to inch system n Setting printable area speed P Setting backfeed speed p Specifying space between characters 1B P Setting number of prints Q Setting offset in direction of row R Calling label format r Setting unprintable area speed S Storing label format S Specifying ending code T Setting previous field to character string repl
26. be cancelled by sending 01 B three times at intervals of one second Transmission of number of remaining sheets to be issued Code Function Caution 01 E If this command is received printer will send data on the number of remaining sheets to be issued for the current printing to the computer with 4 ASCII characters The OD hex code is added to the end of the 4 digit transmission data Printer sends data on the number of remaining sheets to be issued to the computer as soon as it receives this command in a period of approx 150ms 250ms Therefore the computer must be ready to receive data from the printer immediately after receiving this command Printer status transmission request 1 byte packet Code Function Caution 01 F If this command is received printer will send 1 byte packet data on current printer status to the computer The contents of 1 byte packet data transmitting from the printer are as follows Bit Description YES NO 1 Command interpreter in action 1 0 2 1 0 3 Ribbon end 1 or 0 4 Batch processing printing 1 0 5 Printing 1 or 0 6 Pause 1 or 0 7 Waiting for peeling 1 or 0 8 Spare 0 always The OD hex code is added to the end of transmission data Printer sends data on printer status to the computer as soon as it receives this command Therefore the computer must be ready to receive data from the printer immediately after receiving this command
27. contents agrees with number of characters Prints edited format Changes 2nd field contents agrees with number of characters Changes 3rd field contents agrees with number of characters Prints edited format 1 147 Sample No 2 S A B aa command Storage of format to memory card 02 m 02 L D11 161200000000050FIX sBfdata 02 L rfdata D11 1611000000002500001 161100000800250LABEL 1 E 02 L rfdata D11 1611000000002500002 161100000800250LABEL2 E 02 L rfdata D11 1611000000002500003 161100000800250LABEL3 E Sample No 3 Sets units to mm Starts label format FIX defined to field No 01 Stores file name fdata in RAM and ends label format Starts label format Reads out file name fdata 0001 defined to field No 02 LABEL 1 defined to field No 03 Ends label format and prints Starts label format Reads out file name fdata 0002 defined to field No 02 LABEL2 defined to field No 03 Ends label format and prints Starts label format Reads out file name fdata 0003 defined to field No 02 LABEL3 defined to field No 03 Ends label format and prints G S command Storage and readout of printing contents to global register 02 m 02 L D11 1611000000000500001 G 161100000800050LABEL G 1A6207000000500 02 SA 1A6207001000500 02 SB E Sets units to mm Starts label format 0001 defined to field No 01 Stored in global register No A LABEL defined
28. day of 15 RSTU 4 digit year number 1995 year of 1995 VW 2 digit time 24 hour display XY 2 digit time 12 hour display Za 2 digit minute 50 minute of 50 bc Morning Afternoon Morning PM Afternoon def Total number of the days from January 1st Reads out and prints date and time in the calendar of the printer according to the specified format with this command Input data below represents that date and time with specified format of name of day of the week BCD name of the month GHI date PQ and year number RSTU are printed 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 190000500500050 02 TBCD GHI PQ RSTU Sets day of the week month date and year number E Ends label format mode and prints 1 91 Chapter 2 Fonts and Bar Codes 2 1 Description of Fonts 2 2 2 2 Description of Bar Codes 2 7 Fonts and bar codes for this printer are listed below Each name is expressed in numeric for fonts and in alphabetic characters for bar codes Visible or non visible code is identified with upper case or lower case alphabetic characters for the bar code name Upper case characters allow printer to print visible code bar code while lower case characters allow printer to print non visible code bar code 2 1 Description of Fonts The following print sample is printed with pixel size of 1 dot x 1 dot and the dot pattern in horizontal and vertical direction is printed with 1 time F
29. label format commands In addition the format data stored in the global register area can be read out and used After completing label formatting an ASCII E is transmitted The printer prints the labels specified by the data in the field register area and control is then returned from the label format interpreter to the system level interpreter 2 Using formatted data In this mode fixed format labels are printed While label data formatting is completed an ASCII X is transmitted instead of E The printer forms the field register area and completes formatting without printing and control is returned to the system level command processor From this point on the system level command processor allows the printer to print fixed format labels by using the format data in the field register area If ASCII STX G is transmitted to the system level command processor the labels are printed according to the contents of the specified field register In addition change of data and number of copies is provided Only data can be changed Format information such as print position and size cannot be changed 1 6 Printing with the STX command can be performed repeatedly 1 7 1 6 Control Code Specification 1 Outline This printer is connected to the the computer via a serial interface and prints characters and bar codes at the requested print position on the label It also prints graphic data by using an optional IC
30. left in the internal memory If power is turned off or reset is performed data in the internal memory will be cleared so this command will not be effective Input data below represents that after ending label format printing data ABC one sheet printing for the same data is executed again with this command 02 G 02 n Sets units to inch system 02 L Starts label format mode D22 Sets pixel size 190001001000050ABC Sets character data ABC with smooth font 48pt E Ends label format mode and prints 02 G Executes 1 sheet printing for edited format 1 23 Graphics data block input command Code Transmission data Function Caution Example 02 m a f name data m Storing memory module specification A B C A Memory module A on board memory B Memory module B flash memory card C Current memory module C a A T bit data not necessary for 8 bit data f Graphics data format F 7 bit image loading file 8 bit image format image saved in reverse i 8 bit image format image saved in normal B 8 bit BMP format saved in normal b 8 bit BMP format saved in reverse P 8 bit PCX format saved in normal p 8 bit PCX format saved in reverse Note For graphics data format refer to input data examples name File name for graphics data up to 16 characters ending with CR data Graphics data for each format Stores specified format data in the specified memory module In the 8 bit BMP format and PCX fo
31. memory module B flash memory card is about 20 seconds LCD equipped model shows On Line on the LCD as soon as the module packing is completed In system maintenance mode if model of mode item is set to Native OFF respective memory modules A and B are reversed as follows A flash memory card B on board memory Memory module B packing is executed after the MARK8 graphic file in the module B has been cleared 02 xBGMARK8 00 02 zB 1 46 Paper detection sensor selection command for 400 DPI models only Code Setting Function Caution Example Input data 02 1B pn n Oor1 Front sensor 1 Rear adjustable sensor Select and activate one of the paper detection sensors from Front sensor and Rear adjustable sensor This selection is memorized in the flash RAM and is kept activate until the other sensor is selected When first label is printed after setting this command top of page detection movement is automatically performed by the printer Command line for each setting is shown below 02 1B8 pO Front sensor 02 1B p1 Rear adjustable sensor Paper position detection sensor voltage transmission request Code Function Example Reception data Caution 02 1B S Transmits voltage of the currently selected paper position gap detection sensor to the computer in ASCII code Examples of reception data when the paper position gap or black line detection sensor is selecte
32. module A on board memory Memory module B flash memory card OU 5 Default module Clears all data in memory module Clearing of memory module B flash memory card takes about 30 seconds For models with LCD On Line appears on the LCD as soon as the module contents are cleared When 4M byte flash memory card is installed it takes approximately 15 seconds to clear all memory modules In system maintenance mode if model of mode item is set to Native OFF respective memory modules A and B are reversed as follows A flash memory card B on board memory 02 qB Sets clearance of module B flash memory card contents 1 36 Setting reflective paper sensor selection Code 02 r Function Detects label position automatically by reflective paper sensor Reflective paper sensor detects black lines which are printed on the back of the label and understands the label position In default reflective paper sensor is selected Caution When detection is not performed properly check the sensor position Example As shown in the figure below label position is detected with the black lines on the back of the label ke d Black line Label paper gap 4 Direction of feed zt J ly e E Black line ee Black line Figure above shows the back of the paper 1 37 Setting paper feed speed Code Setting Function Direction of feed 02 5 Cor D EorF G or H or J
33. position of the total printing Code Cnnnn Units 0 01 inch or 0 1 mm Setting nnnn 4 digit data Function contents Example Input data 02 n 02 L D11 C0100 190000501 150090ABC 1F3306000500050490123456789 E Normal printing starting position 4 901234 567894 Direction of feed 1 55 Shifts label printing position 1 0 inch C0100 rightward and prints Sets units to inch Starts label format mode Sets pixel size Sets column offset to 1 0 inch Sets character data ABC with smooth font 14pt Sets EAN13 bar code for data 490123456789 Ends label format mode and prints Printing starting position after setting offset Setting number of cuts 2 digit Code Setting Function Caution Example Input data Direction of feed cnn nn 00 99 Initialization value 01 After printing specified number of labels cuts paper This command is invalid unless the auto cutter is installed and it is turned to ON Since the initialization value is 01 one sheet if the auto cutter is ON each label sheet will be cut automatically When the label is cut by using the paper cut command o this must be set to 0 zero sheet Input data below represents that the same contents of the labels are printed ten sheets and cut out every two sheets 02 n Sets units to
34. to field No 02 Stored in global register No B Read out from global register No A Read out from global register No B Ends label format and prints 1 148 Appendix 6 Native Command Set Mode Commands The table below lists items that function differently between ON and OFF conditions of the Native Command Set Items Commands Native Command Native Command ON Mode Off Mode Standard value of STXO 0220 2 20 inches 0110 1 10 inches top of form Default value of top STX 0 0220 2 20 inches 0102 1 02 inches of form Top of form STX f 220 110 standard offset with STX Kf option installed Top of form default STX f Standard 220 Standard 110 offset with option STX Kf Auto cutter 340 Auto cutter 230 installed Peeler 270 Peeler 146 Tear off 290 Tear off 166 Memory module STX Module A Internal Module A Memory area STX Module B card STXq Memory card Module B Internal STX X STX x STX Zz S Label format S At the end of label At any position in storing command format command label format position command Default pixel size D 22 11 2Hx2V 1 H x 1 V Preference setting H Print darkness Print speed between Print P preferred preferred darkness and Print speed 1 149 Appendix 7 5400 Supporting Mode With AS400 supporting model SOH and STX commands are replaced with the following commands while the AS400 supporting mode is activated
35. 0 1 mm With reset units are set to metric system Example Input data below represents that data ABC is specified with units in metric system Input data 02 m Sets units to metric system 02 L Starts label format mode D22 Sets pixel size 190001001000050ABC Sets character data ABC with smooth font 48pt E Ends label format mode and prints Printing results of the same data with or without units of metric system are as follows When inch is specified When mm is specified Direction of feed 1 inch 0109 10 mm ABC ABC 0100 ERN 0 5 inch gt 5 0050 0050 Changing units from metric to inch system Code 02 n Function Changes units for all distance specified command parameters from 0 1 mm to 0 01 inch With reset units are set to inch system Example Input data below represents that data ABC is specified with units of inch Input data 02 n Sets units to inch 02 L Starts label format mode D22 Sets pixel size 190001001000050ABC Sets character data ABC with smooth font 48pt E Ends label format mode and prints Setting printing position Initialization value 0220 2 20 inches Inch system 0050 9999 0 5 inch 99 99 inches Metric system 0127 9999 12 7 mm 999 9 mm Specifies the distance between paper sensor and print head By changing this value a physical printing start position can be changed If value less than 0 5 inch 0050 is spec
36. 00000100060L150070 Sets 1 5x0 6 inch ruled line A1 Specifies XOR development 1611000001000600001 Sets character data 0001 with system font 6 1X1100000100060L150070 Sets 1 5x0 6 inch ruled line E Ends label format mode and prints Direction of feed 0001 Fe XOR development n 1 j DE OR development 2 j 1 52 The following is the characters reversed out of black Input data 02 n Sets units to inch 02 L Starts label format mode D22 Sets pixel size A5 Specifies development of the characters reversed out of black 1611000001000600001 Sets character data 0001 with system font 6 E Ends label format mode and prints Direction of feed Reversed out of black development 5 j Specifying development method Code 1B Bn 1B is hex code Setting n 0 1 Initialization value 0 Specifies XOR development and character and bar code overlaid are reversed out of black 1 Specifies OR development and character and bar code are overlaid Function Specifies development method for character and bar code This command has the same function as A command parameters 1 1 53 and 2 are specified See page 43 1 54 Setting offset in direction of column Initialization value 0000 Inch system 0000 9999 0 00 inch 99 99 inches Metric system 0000 9999 0 0 mm 99 9 mm Sets offset value for printing start position in direction of column paper left and right to adjust the
37. 103 10F 1 122 4 6 Sample Printing The print sample and printing data combining the commands above are as follows 02 m 02 M1500 02 L PK SO D11 C0000 R0000 H10 1X1100000500050B950900010010 1X1100008500060L930005 1X1100008550750L005085 1X1100005000060L930005 3a931000800085001234567890123 321100006000930SERIAL 321100006500880 SN 35110000650070001234567890123 1Y1100001200060washi E Note Data in is hex 1 123 Sets units to metric system Max label length Starts label format mode Printing speed Paper feed speed Sets pixel size Offset in direction of column vertical Offset in direction of row horizontal Printing density amount of thermal transfer Specifies box field Specifies ruled line field 1 Specifies ruled line field 2 Specifies ruled line field 3 Specifies bar code field Specifies character field Specifies character field Specifies character field Specifies graphics field Ends label format mode and prints Print sample SERIAL SN 01234567890123 1 124 Chapter 5 Interface Functions 5 1 RS 232C Serial Interface 5 2 5 2 Parallel Interface 5 6 1 125 5 1 RS 232C Serial Interface 1 Example of connection of computer and printer IBM compatible machines Communication control XON XOFF or CTS DTR IBM compatible Printer DB9P DB25P SHILED NC 1 FEND TXD 97 8 RXD RXD 2 2 TXD CTS 8 20 DTR S GND 5 7 S GND DTR 4 4 RTS DSR
38. 2 4B 38 0D 00 01 00 08 00 01 00 02 00 E 00 7F Too 24 80 06 00 00 41 04 00 00 80 06 00 00 C3 0C 00 00 80 06 00 01 86 18 00 00 80 06 00 03 0C 30 00 00 Data on header is fixed except for the last 2 bytes i e 00 24 36 lines in this example After this 8 bit image data follows Top ddata 80 is a starting code for 80 06 00 80 06 00 80 06 00 80 06 00 80 06 00 80 06 00 80 06 00 80 06 00 80 06 00 80 06 00 80 06 00 80 06 00 80 06 00 80 06 00 80 06 03 80 06 07 80 06 07 07 1C 70 00 06 18 60 00 06 18 60 00 06 18 60 00 06 18 60 00 03 0C 30 00 03 oc 30 00 01 86 18 00 01 C7 1C 00 00 C3 0C 00 00 C3 0C 00 00 C3 0C 00 30 C3 0C CO F1 86 18 FO E1 86 18 7C 83 0C 30 1E LOF 3C FO 0E 80 06 1E 79 EO 07 80 06 oc 38 61 80 03 80 06 1C 00 00 00 03 80 06 1C 00 00 00 03 80 06 0C 00 00 00 03 80 06 0E 00 00 00 07 80 06 07 00 00 00 OE 80 06 07 80 00 00 1E 80 06 03 EO 00 00 7C 80 06 01 F8 00 01 F8 80 06 00 FC 00 07
39. 22 8pt C10 123 10pt 12pt 14pt 18pt 24pt 30pt 36pt 48pt 100 999 S50 552 S50 557 590 592 550 552 590 592 50 557 590 592 1 Available only with 400 DPI models 1 79 In Binary code In Hexadecimal code For double byte characters TrueType font field definition for 400 models only Code Setting Function Example Input data rotate font hexp vexp id row column height width d1 d2 rotate Sets rotation direction for bar code 1 2 3 4 1 0 2 90 3 180 4 270 Font 9 fixed hexp Sets horizontally enlarging ratio 1 9 A O A corresponding to 10 24 vexp Sets vertically enlarging ratio 1 9 A A corresponding to 10 24 id Download font ID Refer to table 2 row Row address 0000 9999 Unit 0 01 inch column Column address 0000 0410 Unit 0 01 inch height Sets character height by a code of P 3 characters Number of dots set by unit of a dot width Sets character width by a code of P 3 characters Number of dots set by unit of a dot d1 d2 character data followed by CR code to end Downloaded TrueType font is printed in the print mode specified by this command Print the characters TrueType in TrueType font ID 54 with 24 pt height and width 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size ySUK Sets s
40. 6 5 CTS 1 126 2 XON XOFF protocol a Conditions for sending XON When communication is enabled after power is turned on When the remaining buffer capacity is 2K bytes or less and the remaining buffer capacity after sending XOFF is 4K bytes or more When the printer pause is cleared When the printer returns after sending XOFF due to error occurrence b Conditions for sending XOFF When the printer error occurs When the printer pause turns on When the remaining buffer capacity is 2K bytes or less Reception buffer 32K bytes 4K bytes Reception data XON code transmission XOFF code transmission 1 127 c Communication control flowchart The following is a reference flowchart for sending and receiving data by using printer transmission request command 01 A or 01 F In XON XOFF protocol and compatible machine ON mode Printer status request 01 or 01 Command output Reading status from printer Removing error cause Clearing pause Paper end Ribbon end Pause etc Error or pause Printing data transmission XOFF code reception Stop of printing data output 01 A or 01 F Command output Reading status from printer Removing error causes Clearing pause Paper end Ribbon end Pause etc Printer status request Error or pause XON code reception 1 128 3 DTR protocol a Conditions for making DTR signal Ready Hi
41. 7 48 57 65 90 The standard HIBC ratio ratio of thick bar to thin bar is 3 1 as same as Code of 9 123ABC Bar code l CODABAR Basically this code consists of only numeric characters and number of digits is variable in length Valid codes are 0123456789abcd Standard ratio is 3 1 This bar code needs start stop codes so either of a b c or d must be added to the transmission code a123b 1 103 code J Interleaved 2 of 5 W BARS This is a bar code of the Interleaved 2 of 5 modulus 10 checksum and even digits including checksum are variable in length Basically code must be transmitted in an odd digit The printer automatically calculates the data and adds the checksum to the end of transmission code When even digit code is transmitted the printer automatically adds 0 zero to the top of data Valid ASCII code is 48 57 Standard ratio is 5 2 12348 code K PLESSEY This bar code consists of only numeric characters and number of digits is variable in length Checksum is added to the end of digit through the modulus 10 calculation 12344 1 104 Bar code L CASE CODE This is a case code of the Interleaved 2 of 5 modulus 10 checksum and is 14 digit fixed length Valid ASCII code is 48 57 Standard ratio is 5 2 For JIS based case code refer to item of command P and Q 12 5 90123 1 Bar code M UPC 2DIG ADD This is a supplementary code of 2 digits for UPC and consists of on
42. 80 is a starting code for image data 80060001 86180000 Next data 06 following 80 is the number of data in horizontal direction 800600030 300000 8006000710700000 8006000618600000 8006000618600000 8006000618600000 8006000618600000 800600030C300000 800600030C300000 8006000186180000 8006000167160000 80060000C30C0000 80060000C30C0000 80060000C30C0000 80060030C30CC000 800600F 18618F000 800603E186187C00 800607830 301 00 8006070F 3CFOOEOO 80060E1E79E00700 8006063861 800300 80061C0000000380 80061C0000000380 80060C0000000300 80060E0000000700 8006070000000E00 8006078000001E00 800603E000007C00 800601F80001F800 800600FC0007F000 8006003F 803FC000 8006000FFFFF0000 80060003FFFC0000 800600007FE00000 FERRE eM Graphics data ending code 02 m 02 1500 Sets maximum label length 02 L Starts label format D22 1Y1100001000500MARK7 Develops MARK graphics data to specified position a ere Starts printing 1 25 8 bit image format 8 bit image data uses ASCII format data In this example 8 bit image data with the file name of MARK8 is stored in the memory card and printed out Value of inside is shown in hex format Note Data below is described in hex 01 44 oD Stops immediate execution command required only for 8 bit image data 02 49 42 69 4D 41 5
43. 90 1 99 Code 128 This bar code consists of the full ASCII set of 128 characters and number of digits is variable in length Checksum is performed through the modulus 103 calculation and added to the end of digit This printer supports code subsets A B and C When one character of either A B or C is added to the top of the transmission code the printer selects the starting order of the code subset When neither A B nor C is added to the top of the transmission code code subset B is selected Code subset A is a bar code which consists of standard upper case alphabetic characters numerics keyboard characters control characters and special characters To select code subset A data must be coded beforehand in ASCII code A 65 decimal 41 hex Code subset B is a bar code which consists of standard upper and lower case alphabetic characters numerics keyboard characters control characters and special characters To select code subset B data must be coded beforehand in ASCII code B 66 decimal 42 hex Code subset C is a bar code which consists of special characters and 2 digits from 00 to 99 The numeric digit number gets coded twice To select code subset C data must be coded beforehand in ASCII code C 67 decimal 43 hex When code subset C is selected the alphabetic characters should not be coded Special character processing Characters of code number 96 or more are special characters To i
44. CITIZEN CLP Series Bar Code Label Printers Command Reference CITIZEN WATCH CO LTD ii 10 Notices Be sure to read through the User s Manual before operating the printer After reading it keep it handy for reference The contents of this manual may be changed without prior notice Reproduction transfer or transmission of the contents of this manual without prior consent is strictly prohibited We are not liable for any damage resulting from the use of the information contained herein regardless of errors omissions or misprints We are not liable for any problems resulting from the use of optional products and consumable supplies other than the designated products contained herein Never touch disassemble or repair parts other than those specified in this manual We are not liable for damage to the printer caused by user s erroneous use of the printer and inadequate environment Basically the data cannot be saved or stored for a long period or permanently We shall not be responsible for the damage or loss of profits caused by data loss due to trouble repairs inspections Please contact us if there are any mistakes or unclear parts in this manual Obtain a new manual if there are missing or incorrectly collated pages in this manual Copyright Citizen Watch Co Ltd 1997 Chapter 1 1 1 1 2 1 3 1 4 1 5 1 6 1 6 1 1 6 2 1 6 3 Chapter 2 2 1 2 2 Chapter 3 3 1 3 2 3 3 3 4 3 5 Chapt
45. Printing Method 1 6 1 6 Control Code Specification 1 7 1 6 1 System Level Immediate Execution Commands 1 8 1 6 2 System Level Occasional Execution Commands 7 73 1 6 3 Label Format Commands 7 49 1 1 1 1 1 2 Outline Generally when labels of graphics and bar codes are printed by a line printer print data is converted into bit map data in the computer and transmitted to the printer for printing In this process the host computer has to generate the bit map data and send it to the printer this reduces throughput leading to slow printing and host computer operation This printer incorporate many functions such as a variety of fonts bar code generators and graphic commands along with high speed processing so high quality labels can be printed easily at high speeds when simple commands are transmitted from the host computer The computer processing in generating labels is reduced enabling it to undertake more processing Outline of Command System Commands for this printer consist of a string of ASCII characters and end with a CR decimal 13 hex OD Generally commands are classified into two types that is system level commands and label format commands System level commands are used in system level operations including printer output sensor selection and memory card maintenance Label format commands are used in the definition of printing contents such as character data bar code data printing speed and print d
46. Sets data 0001 with smooth font 48pt 205 Amount of addition 5 Q0005 Specifies 5 sheet printing E Ends label format mode and prints In case of addition gt 05 In case of addition gt 5 OOOL 5th sheet L 5th sheet Direction of feed 000G 4th sheet G 4th sheet 000B 3rd sheet B 3rd sheet 0006 2nd sheet 6 2nd sheet 0001 1st sheet 1 1st sheet 1 72 Setting subtraction of previous defined printing contents field data 2 Code lt pii Setting p Specifies character all ASCII characters available for filling zero ii Amount of subtraction use of ASCII characters of A Z prohibited Function Subtracts field data which was defined before this command by using base 36 system of 0 9 Z Example Input data below represents that data 1000 is printed 5 sheets by using this command while specifying 5 for the amount of subtraction Input data 02 n 02 L D11 Sets units to inch Starts label format mode Sets pixel size 1900010000000501000 Sets data 1000 with smooth font 48pt lt 05 Amount of subtraction 5 Q0005 Specifies 5 sheet printing E Ends label format mode and prints In case of subtraction lt 05 In case of subtraction lt 5 0ZZG 5th sheet 77 Sth sheet Direction of feed OZZL 4th sheet ZZL 4th sheet 0ZZQ 3rd sheet ZZQ 3rd sheet OZZV 2nd sheet 77 2nd sheet 1000 1st sheet 1000 1st sheet 1 73 Setting number of prints for sam
47. The 12 digit numerics are input from the computer or applications software and the 13th digit is a checksum automatically calculated by the printer When the 13th digit numeric is sent by the computer the printer compares the characters with the calculated checksum If they do not agree the printer prints all bar codes 0 zero If supplementary code is to be added refer to item of bar code M and N Element size is 1 1 2 2 3 3 4 4 6 6 and 8 8 9872 34278238 Bar code EAN 8 JAN 8 This bar code consists of only numeric characters and is 8 digit fixed length The 7 digit numerics are input from the computer or applications software and the 8th digit is a checksum automatically calculated by the printer When the 8th digit numeric is sent from the computer the printer compares the characters with the calculated checksum If they do not agree the printer prints all bar codes 0 zero If supplementary code is to be added refer to item of bar code M and N Element size is 1 1 2 2 3 3 4 4 6 6 and 8 8 BIS 1 102 code H HIBC This is a bar code of the Code 3 of 9 HIBC modulus 43 checksum version and consists of upper case alphanumeric characters Number of digits is variable in length Checksum is added to the end of data To specify the type of data format enter in the top of data Start stop codes are automatically added by the printer Valid ASCII codes are as follows 32 36 37 43 45 4
48. U Changes previous field to character string replacement mode field i e prepares replacement for only changing data This command is not used when label is totally reconstructed Register length is set according to the length of data for generating character string Therefore lengths of data for old and new character strings must be the same The following shows the use of character string replacement mode field 02 n Sets units to inch 02 L OD Starts label format mode D22 Sets pixel size 161100000100060ABC Sets character data ABC with system font 6 161100001100060S8UNDAY Sets character data SUNDAY with system font 6 U Sets character string replacement mode field X Ends label format mode 02 UO2MONDAY Replaces character data SUNDAY with MONDAY 02 G Completion of setting printing contents field preparation Code Function Caution X Completes printing contents setting switches command interpreter into system level interpreter and system level command is valid Printer waits for label format command input until it receives the commands such as E and X so printer cannot advance to the next operation 1 68 Setting previous field to character string replacement mode field Code Setting Function Caution Example Input data ySxx S S fixed Selecting symbol set 2 digits characters followed by CR code to end For the details refer to explanation for 02
49. a Initialization value 0000 Inch system 0000 9999 0 00 inch 99 99 inches Metric system 0000 9999 0 0 mm 99 9 mm Sets offset value for printing start position in direction of row paper top and bottom to adjust the position of the total printing contents Shifts label printing position 1 0 inch R0100 upwards and prints 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size R0100 Sets row offset to 1 0 inch 190000501150090ABC Sets character data ABC with smooth font 14pt 1F3306000500050490123456789 Sets EAN13 bar code for data 490123456789 E Ends label format mode and prints of feed ABC Printing starting position after setting 4 901234 567894 j Normal printing starting position 1 64 Calling label format Code Setting Function Caution Example Input data raa a aa a Maximum 16 characters of format name ending with CR code Calls label format stored in the memory module Storing of label format into memory module is executed with s command Priority for calling module 1 Default module B or STX Xa setting module 2 Modules other than above In system maintenance mode if model of mode item is set to Native OFF default value will designate the module A Input data below represents that label format data is stored in the RAM by using NAME and label format is ended once then put in again and file n
50. a below represents that data 0001 and ABC are set on the fields No 01 and No 02 respectively and label is printed and then with this command the data contents of the fields No 01 and No 02 are changed to 9999 and GHIJK and printed 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 1611000000000500001 Sets data 0001 on fields No 01 161100000300050ABCDE Sets data ABCDE on fields No 02 E Ends label format mode and prints 02 U019999 Changes data on fields No 01 to 9999 02 UO2GHIJK Changes data on fields No 02 to GHIJK 02 G Prints edited format C Direction of feed GHIJK 9999 Me ar ABCDE 0001 1 40 Setting memory switch contents Code Setting Function Example Input data 02 Vn n is hex data expressing switch on and off with binary Appropriate ASCII codes are used for setting Bit 0 1 2 4 5 6 7 Auto cutter 1 Peeling sensor 3 With this command memory switch contents can be changed temporarily When auto cutter is turned to ON n 1 binary 0001 i e 1 for hex so ASCII code 31hex is set When peeling sensor is turned to ON n 4 binary 0100 i e 4 for hex so ASCII code 34hex is set When auto cutter is turned to ON 02 V1 When peeling sensor is turned to ON 02 V4 Printer version number transmission request Code Function Caution 02 v
51. abel Bit map area The bit map area is a buffering area for output data The data in this area is generated by a rasterizer according to the data in the field data area and corresponds to individual dots which are generated on the label during printing The data of the bit map area is printed on the label with high quality and at high speed by means of the printer control program and exclusive thermal control circuit 1 5 1 5 Outline of Label Printing Method This printer has two label printing methods one is that all label format data received is printed and the other is that format data which has been received beforehand is printed or partially modified and printed 1 All data received method ASCII code STX L sets the printer to label format mode The printer clears the field register area and control is transferred from the system level interpreter to the label format interpreter At this time use of label format commands is enabled Printing data such as characters bar codes and graphics is transmitted Each data set has a special field structure which includes information such as print position and size The printing data received is checked by the label format interpreter stored in the field register area and generation of bit map data is then started Powerful commands such as specification of the number of copies characters strings and automatic incrementing or decrementing of bar code data are included in the
52. acement U mode field Completion of setting printing contents field preparation X TrueType font symbol setting Slash zero switching 2 Setting addition of previous defined printing contents field data 1 Setting subtraction of previous defined printing contents field data 1 1 50 Setting addition of previous defined printing contents field gt data 2 Setting subtraction of previous defined printing contents lt field data 2 Setting number of prints for same label Setting number of cuts 4 digit Character field definition Bar code field definition Ruled line definition Box definition Graphics printing definition Reading out from global register Polygon definition Circle definition Date and time printing definition 1 51 Specifying development method Code An Setting n 1 2 5 Initialization value 1 1 Specifies development and character and bar code overlaid are reversed out of black 2 Specifies OR development and characters and bar code are overlaid 5 Specifies reversed out of black development Function Specifies development method for characters and bar code Example Printing example of XOR or OR development using ruled line 1 5 x 0 6 and character data 0001 is shown below Input data 02 n Sets units to inch 02 L Starts label format mode D22 Sets pixel size A2 Specifies OR development 1611000001000600001 Sets character data 0001 with system font 6 1X11
53. ame NAME in the RAM is called and those data together with the current label format data are printed 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 190000700500050PRINTER Sets data PRINTER with smooth font 24pt SANAME Stores label format name NAME in on board RAM and ends label format mode 02 L Starts label format mode rNAME Reads out label format NAME data D11 Sets pixel size 190000700800050LABEL Sets data LABEL with smooth font 24pt E Ends label format mode and prints Readout label format data Direction of feed LABEL PRINTER 1 65 Setting unprintable area speed Code Setting Function Direction of feed Sa a One alphanumeric character C or D EorF G or H or J KorL M or N 1 8 2 0 inches 3 0 inches 4 0 inches 5 0 inches 50 8 mm sec 76 2 mm sec 101 6 mm sec 127 0 mm sec 6 0 inches 152 4 mmysec 6 8 inches 172 7 mmysec 8 0 inches 203 2 mm sec 1 0 8 0 inches in increments of 1 0 inch ee Speed setting higher than the specifications of each model is not available Sets unprintable area speed N 4 901234 567894 Unprintable area Sa Printable area Pa 4 901234 56789 E Unprintable area Sa Printable area Pa 4 901234 56789 1 66 Storing label format Code Setting Function Caution Example Input data snaa aa n A Memory module A on board
54. and If no flash memory card is installed nothing will be returned And if the write protect switch of the flash memory card is turned to ON the test results are always BAD MODULE B xxxxK Flash Tested GOOD or BAD 0D 1 42 Default module selection Code Setting Function Caution Example Input data 02 Xa a Default module selection A B A Memory module A on board memory B Memory module B flash memory card Selects default module If default is set with other command module parameter the module selected with this command is used e g 02 Imfaa 02 qn snaa a etc When installing flash memory if this command is not used other command default will be the flash memory module B If only on board memory is used this command will not be needed In system maintenance mode if model of mode item is set to Native OFF respective memory modules A and B are reversed as follows A flash memory card B on board memory Also when installing flash memory if this command is not used and default module C is specified by other command which has memory module specifying parameter this will be changed to the module A Input data below represents that default module A is selected and default module is cleared 02 Selects default module 02 qC Clears default module 1 43 Clearing memory module contents in file units Code Setting Function Caution Example Input data 02
55. ard 1Yaa000aa a Commands for reading and writing printing data such as ruled lines and character strings in the on board RAM or IC card s A B aa a raa a The user gives the required name to the data to be stored by using these commands and the data is read out with this name 1 112 3 4 Type of Graphic Image Data The data to be stored in the on board RAM or IC card with the command I A B faa a above are as follows 1 7 bit image loading file data Without header Data in ASCII codes 8 bit image format data image saved in reverse With header Data in hex codes 8 bit image format data image saved in normal With header Data in hex codes PCX format data saved in normal PCX format data saved in reverse BMP format data saved in normal BMP format data saved in reverse For details refer to 4 6 Graphic Printing in Chapter 4 Printing Command Examples 1 113 3 5 Font Downloading Commands Font downloading commands are used to transmit the user specified font bit map font to the flash memory card or on board RAM The transmission of the downloading font data is in conformity with the HP standard ESC sequence Command Function ESCc D Font ID specification ID number specified with 3 digits 000 099 reserved with on board fonts 100 999 specified among these numbers ESC s Wnn n Font structure specification number of data following this indicated n
56. card The printer has a data area of 10 000 characters This character data can be stored in up to 200 different fields Each field stores attributes such as print position rotation angle font specification and expansion factor called attribute information Machine control commands for print density or printing speed setting are used in addition to printing data control commands Basically this printer prints labels by means of bidirectional communications with the computer via the serial interface The printer not only prints data but also transmits information such as label and printer settings to the computer The computer and printer communicate so that the printer can receive correct data from the computer and perform optimum printing Also the printer has the parallel interface centronics as a standard but in this case bidirectional communications are not used so data cannot be transmitted from the printer 1 8 1 6 1 System Level Immediate Execution Commands These commands are executed as soon as they are received by the printer They begin with i e 01 Command reset 01 Printer status transmission request 01 A 8 byte packet Pause 01 B Stop cancel 01 C SOH command shutdown 01 D Transmission of number of remaining sheets to be issued 01 E Printer status transmission request 1 byte packet 01 F 1 9 Command reset Code Function Transmission data Caution 01 Init
57. cifies width of line in horizontal direction VW VVVV Specifies width of line in vertical direction Square drawing command Bhhhvvvbbbsss bhhhhvvvvbbbbssss B b Specifies box drawing B sets 3 column width and height and b sets 4 column width and height hhh hhhh Specifies width of box in horizontal direction VW VVVV Specifies width of box in vertical direction bbb bbbb Specifies width of line in horizontal direction SSS SSSS Specifies width of line in vertical direction Program examples 1X1100006000200L40008 Thick ruled line in horizontal direction 1X1100001000200L 002300 Ruled line in vertical direction 1X1100001000300B240320002002 Box printing Print sample 1 118 1 119 4 4 Bar Code Printing When bar codes are to be printed attribute data such as printing position and bar code types must be included in the command Program description 3 A 6 2 090 0200 0700 BARCODE Bar code selection number Bar code name 3 OF 9 I20F 5 HIBC CODABAR 12 OF 5 W BARS PLESSEY CASECODE UPC A UPC E CODE 128 B EAN 13 EAN 8 UPC 2 DIG ADD UPC 5 DIG ADD CODE 93 ZIP UCC EAN 128 Number Telepen UPS MaxiCode FIM DF417 N c 1opauooozzmonmourac riucxr 1 Printing character data Column address 4 digit Row address 4 digit Bar code height 3 digit Narrow bar width 1 digit Wide bar width 1 digit Distance right ward from origin
58. command Select symbol set of TrueType download font Actual symbol set availability depends on TrueType font file downloaded The following shows selection of Swedish symbol set 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size ySSW Sets Swedish symbol set for TrueType font 1911S5000500050P024P024ABC Sets character data ABC of TrueType downloaded font E Setting addition of previous defined printing contents field data 1 Code Setting Function Example Input data pii p Specifies character all ASCII characters available for filling zero ii Amount of addition decimal Adds field data which was defined before this command Input data below represents that data 0001 is printed 5 sheets by using this command specifying 2 for the amount of addition 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 1900010000000500001 Sets data 0001 with smooth font 48pt 02 Amount of addition 2 Q0005 Specifies 5 sheet printing E Ends label format mode and prints 1 69 Direction of feed In case of addition 02 0009 0007 0005 0003 0001 5th sheet 4th sheet 3rd sheet 2nd sheet 1st sheet 1 70 In case of addition 2 9 5th sheet 7 4th sheet 5 3rd sheet 2nd sheet 3 1 1st sheet Setting subtraction of previous defined printing contents field data 1
59. cters or strings are to be printed attribute data such as printing direction and printing position must be added to the top of the strings With the program example printing AB on the previous page the contents of the character printing are described below Program example 02 m 02 L D11 361100004000800AB E HN Sets units to metric system Starts label format mode Sets pixel size Character data Ends label format mode and prints Printing character data Column address 4 digit Distance rightward from origin Row address 4 digit Distance upward from origin Expansion font selection No 3 digit See font selection Vertical direction expansion rate 1 digit Horizontal direction expansion rate 1 digit Font selection No 1 digit See font selection Printing angle 1 digit 1 upward 180 reversed upward 4 270 vertical downward Font selection ANK alphabet To select the font specify a font selection number from 1 to 8 or 9 When font number 9 is selected the expansion font is selected according to the contents of the expansion font selection number 391100504000800AB 1 117 4 3 Ruled Line Printing When ruled lines are to be printed attribute data such as printing position and line types must be included in the command Ruled line drawing command Lhhhvvv Ihhhhvvvv L Specifies line drawing L sets 3 column width and sets 4 column width hhh hhhh Spe
60. d are shown below 2 00V OD Paper position gap detection sensor BL 2 00V 0D Black line detection sensor Not performed when continuous paper is selected 1 47 Print size setting command for 400 DPI models only Code Setting Function Example Input data 02 1B sn n 1 O Setting print size for 400 DPI models 1 Setting print size for 200 DPI models Setting print size for either 400 DPI or 200 DPI models When 200 DPI size is set print output size is automatically enlarged to get the same size as that of 200 DPI printers for the print data sent in 400 DPI Command line for each setting is shown below 02 1 50 400 DPI print output size 02 1B s1 200 DPI print output size Head disconnection detection Code Function Caution 02 1B T Measures resistance value per dot on head heat generation part and checks whether head heat generation part resistance value is normal If it is normal 01 is transmitted to the computer and if it is abnormal 00 is transmitted to the computer The OD hex code is not added to the end of the transmission data 1 48 Setting ejection tear off Code Setting Function Caution Example Input data 02 1B tn n 0 1 O Ejection is turned to OFF 1 Ejection is turned to ON Switches ejection ON and OFF The contents with this command are stored in the backup memory and kept valid even if the power is turned off When the
61. e label Code Setting Function Example Input data nn nn 2 digit numeric 01 99 Specifies number of prints for same label when addition and subtraction and time printing are specified Executes addition subtraction etc after printing number of sheets specified with nn Specifies addition and subtraction per field but if the number of prints for same labels is specified for one label this specification will be effective to all fields Input data below represents that data 0001 is printed 5 sheets by using this command while specifying 2 for the amount of addition and 2 sheets of prints for same printing contents 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 1900010000000500001 Sets data 0001 with smooth font 48pt 02 Amount of addition 2 02 Sets 2 sheets for same printing contents Q0005 Specifies 5 sheet printing E Ends label format mode and prints 0005 Sth sheet Direction of feed 0003 4th sheet 0003 3rd sheet 2 heet 0001 nd shee 0001 1st sheet 1 74 Setting number of cuts 4 digit Code Setting Function Caution Example Input data nnnn nnnn 0001 9999 Initialization value 0001 Cuts paper after printing same labels by specified number This command is invalid unless auto cutter is mounted and cutter is set to ON Input data below represents that same labels are printed 10 sheets and cut every 2 sheets 02 n Sets units to inch
62. ensity System level commands start with ASCII SOH 01 or ASCII STX 02 Commands which start with SOH are requested for the realtime execution When received they are executed immediately even during printing Commands which start with STX enter the buffer area and are executed in the order of data reception Label format commands follow the system level commands STX L and end with a CR For details see 1 3 Outline of Interpreter and 1 4 Outline of Label Format Data 1 2 Fig 1 Command summary System level commands Start with or STX Commands which start with Executed as soon as they are received For example printing halt output of printer status etc Commands which start with STX Executed in order after they are received into the reception buffer For example sensor switching memory card maintenance etc STX l E with printing X without printing Label format commands End with CR Print parameter control Character data definition commands Bar code definition commands Graphic commands Other commands 1 3 1 3 Outline of Interpreter Two types of interpreters are used for this printer system level and label format interpreters When power is turned on the system level interpreter is selected and the data received is processed in the system level interpreter and system leve
63. er 4 4 1 4 2 4 3 44 45 4 6 Contents Command Interpreter and Command System Outline 7 2 Outline of Command System 7 2 Outline of Interpreter 1 4 Outline of Label Format Data 1 5 Outline of Label Printing Method 1 6 Control Code Specification 7 7 System Level Immediate Execution Commands 17 8 System Level Occasional Execution Commands 7 73 Label Format Commands 1 46 Fonts and Bar Codes Description of Fonts 2 2 Description of Bar Codes 2 7 Overlay Function Outline 3 2 Type of Memory 3 2 Storage and Readout Commands 3 2 Type of Graphic Image Data 3 3 Font Downloading Commands 3 4 Printing Command Examples Printing Position Specification 4 2 Character Printing 4 3 Ruled Line Printing 4 4 Bar Code Printing 4 5 Increasing and Decreasing Number Printing 4 6 Sample Printing 4 8 Continued iii iv Chapter 5 5 1 5 2 Appendixes Appendix 1 Appendix 2 Appendix 3 Appendix 4 Appendix 5 Appendix 7 Appendix 5 Interface Functions RS 232C Serial Interface 5 2 Parallel Interface 5 6 Listof Commands 2 List of Font Character Codes 8 Error Indications A 10 Error Contents and Corrective Actions A 12 Printing Edit Function A Native Mode Specifications A 5400 Support Mode A Chapter 1 Command Interpreter and Command System 1 1 Outline 7 2 1 2 Outline of Command System 1 2 1 3 Outline of Interpreter 7 4 1 4 Outline of Label Format Data 7 5 1 5 Outline of Label
64. ets maximum label length for detecting label out If printer cannot detect the next top of the label within the maximum label length which has been set with this command M command error occurs Set value 2 5 to 3 times as large as the label length to be used In figure below if label length is 2 5 inches the value more than double 2 5 inches must be set for maximum label length But if label length is 1 1 inch or less the value more than triple must be set for maximum label length Input data below is for 3 5 inch setting 02 n Sets units to inch system 02 M0350 Sets 3 5 inches for maximum label length D11 Sets pixel size 02 L Starts label format mode 1F3306000500050490123456789 Sets EAN13 bar code for data 490123456789 E Ends label format mode and prints 4 901234 567894 Maximum label length Label length Initialization value for printer maximum label length is set to 20 inches 508 mm If longer label length is required the value larger than the length of printing must be set by using the maximum label length command If the length of printing is larger than the maximum label length set the M command as follows maximum label length 02 Mmmm gt length of printing 1 32 Changing units from inch to metric system Code 02 m Function Changes units for all distance specified command parameters from 0 01 inch to
65. fied format register contents Setting memory switch contents Printer version number transmission request Information in memory module transmission request Testing memory card flash memory Default module selection Clearing memory module contents in file units Sensor level issued to port TrueType fonts Symbol Set Seclection For 400 DPI models only Printing printer status Packing memory module contents Paper detection sensor selection Paper position detection sensor voltage transmission request Print size setting Head disconnection detection Setting ejection tear off 02 r 02 S 02 s 02 T 02 U 02 V 02 v 02 W 02 w 02 X 02 x 02 Y 02 y 02 Z 02 z 02 1B p 02 1B S 02 1B s 02 1B T 02 1B t Setting date and time Code Setting Function Example Input data 02 A w mm dd yyyy hh MM jjj Ww Sun 0 1 Tue 2 Wed 3 Thu 4 5 Sat 6 mm Month 01 12 dd Day 01 31 yyyy Year 4 digits hh Hour 24 hour display MM Minute 00 59 jjj Spare 000 fixed Sets date and time on the calendar stored in the printer Input data below represents 15 30 Saturday 1 July 1995 02 6070119951530000 Setting feedback character transmission validness Code Function Caution 02 a With this command printer transmits 30 every one label printing to the computer and on completion of one batch printing 31 is transmitted to the computer Af
66. gh The following must be required When the printer is online When the remaining buffer capacity is 2K bytes or more However when the remaining buffer capacity is 2K bytes or less and DTR turns to BUSY Low the BUSY status is retained until the remaining buffer capacity is 4K bytes or more b Conditions for making DTR signal BUSY Low When the printer error occurs When the printer pause turns on When the remaining buffer capacity is 2K bytes or less 1 129 5 2 Parallel Interface 1 Specifications Transmission system Synchronization Handshake Signal logic level 8 bits parallel Strobe pulse ACKNLG and BUSY TEL 2 Usable interface connector 36 pin amphenol type A standard parallel interface should be used The shortest distance should be used for the interface cable Printer side 3 Connector signal arrangement Pin No Signal name Input Output Function 1 STROBE Input Strobe signal to read 8 bit data 2 9 DATA1 8 Input 8 bit parallel signal 10 ACKNLG Output 8 bit data request signal 11 BUSY Output Signal to indicate printer BUSY status 12 PERROR Output Signal to indicate paper out 13 SELECT Output Signal to indicate whether printer is on line or off line 14 AUTOFD Input Invalidness ignorance 15 NC Not used 16 GND Ground 17 FGND Frame ground 18 P L H Output Peripheral Logic High Pull up of 5 V at 1
67. haracters Code Setting Function Example Input data 1b Pnn Data in is hex nn Amount of space between characters 00 99 Initialization value 00 Adds specified space between characters to all characters Input data below represents that data without specification of space between characters and data with specification of 10 to space between characters are set and printed 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 190000700500050ABC Sets character data ABC with smooth font 24pt 1b P10 Sets 10 for space between characters 190000700800050ABC Sets character data ABC with smooth font 24pt E Ends label format mode and prints Spaces pro nn 13 Spaces between characters 0 1 62 Setting number of prints Code Setting Function Example Input data Qnnnn nnnn 0001 9999 Initialization value 0001 Sets number of sheets to be printed Input data below represents that the same contents of labels are printed ten sheets 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size Q0010 Setting 10 sheets for same label printing 1F3306000500050490123456789 Sets EAN13 bar code for data 490123456789 E Ends label format mode and prints 1 63 Setting offset in direction of row Code Units Setting Function Example Input data Direction Rnnnn 0 01 inch or 0 1 mm nnnn 4 digit dat
68. he Pause key once again to resume printing If the Stop key is pressed the stored printing contents will be lost and on line will turn on Pause Pause command Same as above reception communication control continued 1 142 continued Indication Description Corrective actions OverHeat Head overheat Wait until the head temperature goes down When Cooling the temperature becomes low the remaining printing resumes Stop Stop key pressed Enters a pause after displaying the stop by the Stop key If the Pause key is pressed the printing will resume If the Stop key is pressed again the stored printing contents will be lost and on line will turn on Cancel Stop command Displays the stop by the stop command discards reception the stored printing contents and enters a pause communication control If the Pause key is pressed on line will turn on HeadOpen Mechanism head Close the mechanism head open PaperEnd Paper end no paper Install the paper left PaperErr Paper out paper Check the contents and clear with the Stop key position can t be detected Correct the faulty setting of the paper detection paper gap black line continuous paper Correct the faulty parameter for paper max length continuous paper Adjust the sensor or change for the paper that accepts the paper position detection Specify the length for the detection miss checking with the M command
69. ialized equivalent to power is turned on Buffer and on board memory contents are initialized Command setting for previous commands is initialized XOFF T XON R XON for hardware reset Since printer executes reset immediately after receiving this command it clears unprinted data in the reception buffer When using this command you are recommended to check printing completion first then send this command Printer status transmission request 8 byte packet Code Function Caution 01 A If this command is received printer will send data on current printer status to the computer with the following 8 ASCII characters 1 Command interpreter in action YorN 2 Paper end YorN 3 Ribbon end YorN 4 Batch processing printing YorN 5 Printing Y or N 6 Pause Y or N 7 Waiting for peeling Y or N 8 Spare N always After sending 8 ASCII characters code OD hex is added Y and N each is hex digit and 59 hex and 4E hex Printer sends data on printer status to the computer as soon as it receives this command in a period of approx 150ms 250ms Therefore the computer must be ready to receive data from the printer immediately after receiving this command Printer status Relationship between command interpreter batch processing and printing Print data reception Communication start Interpreter operation Batch processing start printing start Batch processing printing Processing completion Next
70. ified the initialization value will be set automatically With the initialization value set printing starts from the bottom of the label If the command is used after completing printing this command setting will not be effective to the first sheet of the label From the second sheet of the label this will be When Native Command Set is OFF the standard offset value is changed to 0110 1 10 inches and default value is changed to 0102 Code 02 Onnnn Units 0 01 inch or 0 1 mm Setting nnnn 4 digit data Function Caution effective 1 02 inches Figure Cutter Peeler Print head Reference point BA peeling Ned EY 2 20 inch initialization value j Printing area Onnnn 0080 Direction of feed lt Reference point 2 E Printing area Onnnn 0220 Printing area Onnnn 0380 1 34 Printed after feeding 0 8 inch from sensor Printed after feeding 2 20 inch from sensor Printed after feeding 3 80 inch from sensor Paper cut Code 02 o Function When mounting auto cutter if this command is received the label or paper cutting will be performed once Caution If auto cutter is not turned to ON this command will be ignored Set the cutting sheet number to 0 zero with the specified command Cnn Otherwise each label will be cut automatically Setting dump mode start Code 02 P Function By receiving this command pri
71. in metric system Changing units from metric to inch system Code n Function Changes units for all distance specified command parameters from 0 1 mm to 0 01 inch Operation is same as 02 n command With reset units are set to inch system 1 59 Setting printable area speed Code Setting Function Direction of feed EorF G or H or J KorL M or N 1 8 One alphanumeric character 2 0 inches 50 8 mm sec 3 0 inches 76 2 mm sec 4 0 inches 101 6 mm sec 5 0 inches 127 0 mmysec 6 0 inches 152 4 mmysec 6 8 inches 172 7 mmysec 8 0 inches 203 2 mm sec 1 0 8 0 inches in increments of 1 0 inch Speed setting higher than the specifications of each model is not available Sets printable area speed 4 901234 567894 M y Unprintable area Sa Printable area Pa 4 901234 56789 V P Pa Unprintable area Sa Printable area Pa 4 901234 56789 1 60 Setting backfeed speed Code pa Setting a One alphanumeric character Cor D 2 0 inches 50 8 mm sec EorF 3 0 inches 76 2 mm sec G or H 4 0 inches 101 6 mm sec lorJ 5 0 inches 127 0 mm sec KorL 6 0 inches 152 4 mmysec M or N 6 8 inches 172 7 mmysec 8 0 inches 203 2 mmysec 1 8 1 0 8 0 inches in increments of 1 0 inch ee oe ee eae Speed setting higher than the specifications of each model is not available Function Sets backfeed speed 1 61 Specifying space between c
72. inch 02 L Starts label format mode D22 Sets pixel size Q0010 Sets 10 sheets for same label printing 190000700500050ABC Sets character data ABC with smooth font 24pt c02 Sets 2 sheets for cutting E Ends label format mode and prints Cut 5th sheet 10th sheet S Cut 4th sheet 9th sheet 3rd sheet 8th sheet Cut 2nd sheet 7th sheet Cut 1st sheet 6th sheet L J 1 56 Setting pixel size in horizontal and vertical direction Code Units Setting Function Example Input data Dhv One dot 0 127 mm or 0 005 inch h Dot size in horizontal direction 1 2 Initialization value 2 v Dotsize in vertical direction 1 2 3 Initialization value 2 Specifies pixel size dot formation units in the range of 1 dot x 1 dot to 2 dots x 3 dots If dot size in vertical direction is doubled or tripled the maximum printing length printing range will be doubled or tripled The following is that dot size in horizontal direction is set to 1 and dot size in vertical direction is set to 1 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 1F3306000500050490123456789 Sets EAN13 bar code for data 490123456789 E Ends label format mode and prints Pixel size 2 x 2 h 2 Pixel size 1 x 1 h 1 v 1 1 57 Completion of setting printing contents field preparation and printing labels Code E Function Completes printing contents setti
73. is small the amount of feed is small so printed label will be cut When nnn is appropriate the label is fed the required amount then cut at the paper gap When nnn is large the amount of feed is large so the next printing label will be cut If value less than Min Value 0 5 inch is specified the Min Value will be set automatically If optional functions such as cutter peeler and ejection are turned on from the control panel their initialization values will be set automatically These initialization values however vary depending on the specifications of each option For details see the instruction manuals of each option Once this command was set auto setting function is stopped due to priority for user s specification Do not set this command if not necessary When 02 fnnn gt 02 fOnnn backfeed is performed only when printing stops a few seconds when mounting no options When Native command set is OFF default values change as follows Standard 110 Auto Cutter 230 Peeler 146 Tear Offset 166 Cutter Printhead Reference poin Peeler peeling L EU i IE fnnn 68 7mm fnnn 88 8mm 1 22 Printing edited or formerly printed format Code Function Caution Example Input data 02 G Prints label data for former printing or formatting Printing once cancelled halfway can resume This command is effective only when label data for former printing or formatting is
74. l commands are executed Changing to the label format interpreter to start generating label data is executed with system level commands When the system level interpreter receives the system level command STX L it changes to the label format interpreter The commands after this are regarded as label format commands and label format starts The label format interpreter does not need headers such as SOH and STX The data for printing data format is delimited by a CR and then transmitted Changing to the system level interpreter from the label format interpreter is executed by the label format command E or X When label format ends with E defined data is printed and the system level interpreter is started When label format ends with X the system level interpreter is started without printing 1 4 Outline of Label Format Data This printer prints label format data by using memory space of the following size e Reception buffer area 32K bytes e Field register data area 10K bytes e Global register area 2K bytes e Bit map area 200 DPI Models 676K bytes 400 DPI Models 850K bytes Reception buffer area The reception buffer area is a ring data buffer area software FIFO under software control Basically all commands and data transmitted from the host computer are buffered once into this area and then executed in the order of buffering to complete communications from the host computer in the shortest possib
75. le time However some system level commands such as those starting with SOH for print halt which require realtime execution are executed immediately after being received Field register area A string of character data and bar code data is regarded as one field which includes information such as type print position and size The field register area is an area which encloses the label format field The label format interpreter analyzes the format data received stores it once and then generates a bit map If there are any problems in the data received the data which is being analyzed is discarded without being stored in the field register area The field data is given a control number for every field 1 2 200 when the data is stored This printer has a field register area of 10 000 characters and can print a maximum of 200 different types of field data per label Global register area The global register area is an area which stores field data that is repeatedly used A part of the data character string and bar code data in the field register is stored in the global register area and used as requested The data stored in the global register area is given a control number starting with A A B P The data set in the global register is stored while formatting for one label is performed until the label format interpreter returns control to the system level interpreter so it can be reused for data definition within the same l
76. ly so this command does not need to be particularly specified e 200 DPI When the printing length is 16 inches or more one half of the maximum printing length of 32 inches the single buffer mode is selected When it is less than 16 inches the double buffer mode is selected e 400 DPI When the printing length is 5 inches or less double buffer mode is selected When it is larger than 5 inches single buffer mode is selected Internal edit buffer Two page mode One page mode Max printing Max printing length length 32 inches Max printing length Printing quality test pattern Code Function Example 02 T After receiving this command printer prints out the quality test pattern to check whether printer is in good condition and not involved in troubles such as head disconnection This test pattern is the same as the print pattern by the self test 1 39 Rewriting specified format register contents Code Setting Function Example Input data 02 Unnaa nn 2 digit format register numbers 01 99 Printer sets format register numbers in sequence when label format is executed aa Input character string data ending with CR code oDh instead of old data Basically the number of characters must be the same as the old data But if it is small rewriting can be executed Changes some part of the formerly printed label format or formatted label contents and prints it again Input dat
77. ly numeric characters and is 3 digit fixed length The 2 digit numerics are input from the computer or applications software and the 3rd digit is a checksum automatically calculated by the printer When the 3rd digit numeric is sent from the computer the printer compares the characters with the calculated checksum If they do not agree the printer prints all bar codes 0 zero 1 105 Bar code N UPC 5DIG ADD This is a supplementary code of 5 digits for UPC and consists of only numeric characters and is 6 digit fixed length The 5 digit numerics are input from the computer or applications software and the 6th digit is checksum automatically calculated by the printer If the 6th digit numeric is sent from the computer the printer compares the characters with the calculated checksum If they do not agree the printer prints all bar codes 0 zero Bar code O Code 93 This bar code consists of alphanumeric characters and number of digits is variable in length Valid ASCII codes are amp JABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789abcdefghijklmnopqrstuvwxyz Element size is 1 1 2 2 3 3 4 4 6 6 8 8 123ABC 1 106 Barcodep ZIP This bar code consists of only numeric characters and number of digits is variable in length Checksum is added to the end of data The width and height of bar code is specified as same as fonts Only lower case characters are valid for setting bar code types Bar code Q UCC EAN 128
78. memory B Memory module B flash memory card C Default module aa a Maximum 16 characters of format name ending with CR code Stores label format into memory module and ends label format In system maintenance mode if model of mode item is set to Native OFF respective memory modules A and B are reversed as follows A flash memory card B on board memory Input data below represents that label format data is stored in the on board memory by using format name NAME 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 190000700500050PRINTER Sets data PRINTER with smooth font 24pt Stores label format name NAME in on board RAM and ends label format mode SANAME Specifying ending code Code Setting Function Example Input data Tnn nn Two characters of hex ASCII code Initialization value CR OD Specifies ending code which is valid for field immediately after this command and after that field ending returns to default CR OD The following shows that ending code uses NULL 00 02 n Sets units to inch 02 L OD Starts label format mode D22 Sets pixel size TOO OD Sets ending code to NULL 00 190000500800120ABC 00 Sets character data ABC with smooth font 14pt Q0002 0D Sets 2 sheet printing E Ends label format mode and prints 1 67 Setting previous field to character string replacement mode field Code Function Caution Example Input data
79. mory module contents ESC pn Selecting paper detection sensor ESC S Paper detection sensor voltage transmission request ESC sn Setting print output size ESC T Head disconnection detection ESC t Setting ejection tear off Commands after the print contents definition mode is turned on with STX L 5 Resetting label format parameter excluding m An Specifying development method ESC Bn Specifying development method Cnnnn Setting column offset cnn Setting number of cuts 2 digit Dhv Setting horizontal and vertical pixel sizes E Completion of setting printing contents and printing labels G Entering previous character column into global register Hnn Setting print density heat factor m Changing units from inch system to metric system n Changing units from metric system to inch system Pa Setting printing speed printable area pa Setting backfeed speed ESC Pnn Specifying space between characters Qnnnn Setting number of prints 1 134 Commands after the print contents definition mode is turned on with STX L Continued Setting row offset Calling label format Specifying paper feed speed Label format storage s A B aa a Specifying ending code Setting previous field to character string replacement mode field Completion of setting printing contents field preparation Selecting symbol set for TrueT
80. n n font structure data font header definition ESCc E ESC s Wnn n Character code specification ASCII character number specified Downloading font data number of data following this indicated nn n actual bit map data 1 114 Chapter 4 Printing Command Examples 4 1 Printing Position Specification 4 2 4 2 Character Printing 4 3 4 3 Ruled Line Printing 4 4 4 4 Bar Code Printing 4 5 4 5 Increasing and Decreasing Number Printing 4 6 4 6 Sample Printing 4 8 1 115 This chapter describes the procedure for program preparation and actual program examples for printing data 4 1 Printing Position Specification The origin for positioning bar codes or characters to be printed on labels is at the bottom left of label and with the distance from that point the printing position is designated The distance upward from the point is called the row address while the distance rightward from the point is called the column address Units of 0 01 inch or 0 1 mm are used Changing units is provided with the m command In this explanation the address is specified in 0 1 mm units Relevant command m After receiving this command all length specification commands are in 0 1 mm units Row address B Origin Column address The origin for row address is 2 mm from the top of the paper Note Data is hex 1 116 4 2 Character Printing When chara
81. ng and prints labels On completion of printing command interpreter is switched to system level interpreter and system level commands are valid Caution Printer waits for label format command input until it receives the commands such as E and X so printer cannot advance to the next operation Entering previous defined field character string into global table Code G Function Enters a previous defined label format character string into global table allocating one character in alphabetical order from A to P Reading of character string stored in the global table is executed with command S Example Input data below represents that data of character string ABC is stored in the global table with font 9 and fonts 9 and 5 are printed Input data 02 n Sets units to inch 02 L Starts label format mode D22 Sets pixel size 190000500800120ABC Sets character data ABC with smooth font 14pt G Stores character string ABC in global table 1500005028001 20 02 SA E Ends label format mode and prints Setting print density head heat factor Code Hnn Setting nn 00 30 Initialization value 10 Function Sets print density heat energy is applied to print head 1 58 Changing units from inch to metric system Code m Function Changes units for all distance specified command parameters from 0 01 inch to 0 1 mm With reset units are set to metric system Example Input data below represents that data ABC is specified with units
82. nput these characters the 2 character input reference table is shown below Code 2 characters Code subset A Code subset B Code subset C 96 amp A FNC3 FNC3 NA 97 amp B FNC2 FNC2 NA 98 amp C SHIFT SHIFT 99 amp D CODEC CODEC 100 amp E CODEB FNC4 CODEB 101 amp F FNC4 CODEA CODEA 102 amp G FNC1 FNC1 FNC1 As an example of special character processing code subset selection is provided Code subset selection First select Switch in midway 2 character entry such as amp D amp F 1 100 Either 1 character entry of A B or C Example The TEST bar code is first printed with code subset B and then 123 bar code with code subset A Data is transmitted in the order of B TEST 2 character amp F and 123 BTEST amp F123 Input code Bar code data CODEB TEST CODEA 123 Control code Control characters are coded into code subset A See the character input reference table below Control Input Control Input Control Input code character code character code character NUL VT k SYN V SOH a FF ETB w STX b CR m CAN x ETX C SO n EM y EOT d SI SUB 2 DLE p ESC f DC1 q FS BEL g DC2 r GS BS h DC3 S RS HT i DC4 t US DEL LF j NAK 1234 1 101 Bar code F EAN 13 JAN 13 This bar code consists of only numeric characters and is 13 digit fixed length
83. nsion system command printer settings Code 02 KDabc Printer setting parameter a notation for the following bit settings bit 0 2 baud rate 0 9600 12600 272400 324800 5 300 671200 7 9600 test mode bit3 character length 0 8 bits 1 7 bits bit 4 5 not used always 0 bit 6 fixed always 1 bit7 X fixed always 0 b notation for the following bit settings bit 0 printing method O thermal 1 thermal transfer bit 1 peeling sensor 1 ON bit 2 not used always 0 bit 3 auto cutter 1 ON bit 4 5 not used always 0 bit 6 fixed always 1 bit7 fixed always 0 c notation for the following bit settings bit 0 1 type of paper O transparent 1 reflective 2 continuous 3 inches bit 2 5 not used always 0 bit 6 fixed always 1 bit7 X fixed always 0 factory setting Function Provides various printer settings Caution This setting is stored even when the power is turned off When it is returned to the factory setting hold down the pause feed and stop keys for five seconds simultaneously when the power is turned on A 38400 baud model can only perform 38400 switching from the control panel Example 02 KD A 0D 9600 baud 8 bit length no parity A thermal no peeling sensor no auto cutter transparent paper 1 30 Extension system command setting of peeling or cutting position Code 02 Kfnnnn Units 0 01 inch or 0 1 mm Setting nnnn 4 digit data
84. nter enters the dump mode After that all data transmitted from the computer are printed out with hex code To escape from the dump mode turn on and off the power Example Input data below represents that label format command input is started data ABC is defined as printing contents label format command input is completed and label printing command E is entered Input data 02 P Sets dump mode 02 L Starts label format mode 190001001000050ABC Sets character data ABC with smooth font 48pt E Ends label format mode and prints DUMP LIST Direction of feed 0D024C0D4431310D3139313130313030 L D11 19110100 313030303035304142430D450D 1000050ABC E 1 35 Pause in occasional execution Code Function Caution 02 p Executes pause occasionally Pause on and off cannot be performed with this command Cancelling pause must be operated from the Pause key on the control panel Clearing all memory module contents Code Function Caution 02 Q Clears all data in flash and on board memory modules Clearing of all memory module contents takes about 30 seconds For models with an LCD On Line appears on the LCD as soon as the module contents are cleared When 4M byte flash memory card is installed it takes approximately 15 seconds to clear all memory modules Clearing memory module contents Code Setting Function Caution Input data 02 qn Memory module specification parameter A B C Memory
85. o 3 Strings are stored in or read out from the global register It is useful for printing string contents to be printed on the bar code When changing printing contents it is enough to give one place correction 1 145 Reception buffer FIFO 32K bytes Bit map printing data 200 DPI 676K bytes Priniting area 32 inches Unnaa Rewrites paticular pi pi 400 DPI 850K bytes contents Priniting area 10 inches increment decrement Field register stores printing contents 10K bytes drive A raa Reads out format Virtual memory card on board memory card G A Sa s A B C aa 512Kbytes storage V Pick up Stores format Global register temporarily Stores printing contents 2K bytes drive B Option memory card flash memory Transmission buffer 1M bytes FIFO 512K 4M bytes available with S supporting models only 1 146 Sample No 1 Unnaa command Specified register contents rewriting 02 m 02 L D11 161200000000050FIX 1611000000002500001 161100000800250ABCDEF E 02 U020002 02 UO3GHIJKL 02 G 02 U020003 02 UO3MNOPQR 02 G Sets units to mm Starts label format FIX defined to field No 01 0001 defined to field No 02 ABCDEF defined to field No 03 Ends label format and prints Changes 2nd field contents agrees with number of characters Changes 3rd field
86. on error parity framing S I Err Lights up Pause key pressed Pause Pause command reception remote control Pause On board rewinder full P Full Lights up Short 3 times Head overheated OverHeat Blinks Short 3 times Cooling Stop key pressed during printing Stop Lights up Short 3 times Stop command received remote control Stop Lights up Mechanism head open HeadOpen Lights up Short 3 times Paper end no paper left PaperEnd Lights up Short 3 times Paper out paper position cannot be PaperErr Lights up Short 3 times detected Error contents and sensor information displayed repeatedly M command Sets detection miss M CMND checking length with system command M Maximum sensor reading Max V voltage value Minimum Min sensor reading Min V voltage value Ribbon end RibonOut Lights up Short 3 times PCB overheated OverHeat Lights up Short 3 times PCB or sensor abnormality Option board problem OP Err Lights up Short 3 times Auto cutter problem Cut Err Lights up Short 3 times such as poor engagement 1 140 continued continued Item and contents Indication LED Buzzer ROM checksum error ROM Err Lights up Long RAM checksum error RAM Err Lights up Long System error timer or CPU out of order After providing system protection perform reset 1 141 Appendix 4 Error Contents and Corrective Actions Indica
87. ont 0 Upper and lower case alphanumeric characters Character size 7 dots height x 5 dots width x 1 dot space OXE o 0128456789 lt gt BABEDEFCHIJKLMNO PORSTUVWXYZ IN abcdetehi ik Imno Paretuvwxvz CR Font 1 Upper and lower case alphanumeric characters Character size 13 dots height x 7 dots width x 2 dots space 18858 Qi 0123456789 lt gt ABCDEFGHIJKLMNO PORSTUVWXYZ _ abcdefghijkImno parstuvwxyz 1 E Q aa c 8eTTilAA a 6056 uyOU0e Oxf 2 8 61 gt Font 2 Upper and lower case alphanumeric characters Character size 18 dots height x 10 dots width x 2 dots space LESYA Ott 0123456789 lt gt QABCDEFGHIJKLMNO PQRSTUVWXYZ _ abcdefghi jkImno parstuvwxyz 13 C a c 8eTilA ef o d yOUo 0xf ex p 1 93 Font 3 Upper and lower case alphanumeric characters Character size 27 dots height x 14 dots width x 2 dots space I 2958 O xt 0123456789 lt gt ABCDEF GHI JKLMNO POQRSTUVWXYZ N abcdefghi jk Imno parstuvwxyz 1 8 C c eTi1A aF o 0 uy00o amp x f Af OunN 259554 cx B Font 4 Upper and lower case alphanumeric characters Character size 36 dots height x 18 dots width x 3 dots space 2958 0123456789 lt gt ABCDEF GHI JKLMNO PORSTUVWXYZ N abcdef ghi jk mno parstuvwxyz 1
88. ove foreign matter from the auto cutter If this recurs contact our service personnel ROM Err ROM checksum error Turn off the power and reset the printer If this recurs contact our service personnel RAM Err RAM checksum error Turn off the power and reset the printer If this recurs contact our service personnel System error such as timer or CPU malfunction First protect the system then reset the printer 1 144 Appendix 5 Printing Edit Function 1 Unnaa particular printing contents are changed see sample No 1 can be used with VO 4 or later Printing contents are stored in the field register in order from number 1 The Unnaa command replaces the data of nn in the field register with aa The transmission data is applied for the changing part and the bit map is regenerated only for the changing part so printing speed is high S r label format storage and readout see sample No 2 Fixed form printing contents are stored in the memory card When printing the fixed form printing contents are read out from the memory card and printing contents can be added so fixed form printing contents do not need to be transmitted each time they are requested gt pi incrementing and decrementing specified Any printing contents can be specified The bit map is generated only for the specified part so printing speed is high G Sa printing string storage and readout see sample N
89. ow 1 81 Table 3 Font Bar code name Bar ratio thick narrow No of valid data A Code 3 of 9 3 1 Variable length B UPC A 1 1 2 2 3 3 4 4 6 6 8 8 12 C UPC E 1 1 2 2 3 3 4 4 6 6 8 8 8 D Interleaved 2 of 5 5 2 Even digit variable length E Code 128 Variable length F EAN 13 JAN 13 1 1 2 2 3 3 4 4 6 6 8 8 13 G EAN 8 JAN 8 1 1 2 2 3 3 4 4 6 6 8 8 8 H HIBC 3 1 Variable length Modulus 43 used Code 3 of 9 CODERBAR NW 7 3 1 Variable length J Int 2 of 5 5 2 Odd digit Modulus 10 used Interleaved 2 of 5 variable length K Plessey Variable length CASE CODE 5 2 14 UPC 2DIG ADD 3 UPC 2 digit supplementary code N UPC 5DIG ADD 6 UPC 5 digit supplementary code Code 93 1 1 2 2 3 3 4 4 6 6 8 8 Variable length p ZIP Variable length Q UCC EAN128 1 1 2 2 3 3 4 4 6 6 8 8 19 R UCC EAN128 for K MART 1 1 2 2 3 3 4 4 6 6 8 8 18 S UCC EAN128 Random Weight 1 1 2 2 3 3 4 4 6 6 8 8 34 or more T Telepen Variable length u UPS MaxiCode 84 or less FIM 1 2 PDF417 Variable length The number of valid data marked with asterisk is only used for input data length 1 82 Ruled line definition Code 1X11 000 row column Lhhhvvv or 1hhhhvvvv Setting 1X11 1X11 fixed 000 000 fixed row row address 0000 9999 column column address 0000 0398 L Specifies line 3 digit hhh Specifies horizontal width Specifies
90. print data reception j Batch processing start printing start Normal label printing puts the printer in the above status The printer however operates with a double buffer so if the next printing data is received during batch processing both interpreter operation and batch processing printing may be performed simultaneously Difference between batch processing and printing As shown in the diagram E printing start and stop may be repeated within a single cycle of batch processing Therefore use the operations Printing start properly peeling auto cutter etc as needed processing start Printing stop Batch processing start Pause Code Function Stop cancel Code Function 01 B Printing temporarily stops and resumes Toggles printer pause on and off Pause on and off by using this command is performed in the same way as operated from the control panel Pause on from the control panel can change to pause off with this command 01 C Printing stops Performed in the same way as operated from the Stop key on the control panel With this command printer stops temporarily and if this command is transmitted again the printer will clear data in the reception buffer SOH command shutdown Code Function 01 D After receiving this command printer ignores immediate execution commands starting with control code 01 even if those commands are received The setting can
91. r the printer compares the characters with the calculated checksum If they do not agree the printer prints all bar codes 0 zero If supplementary code is to be added refer to item of bar code M and N Element size is 1 1 2 2 3 3 4 4 6 6 and 8 8 BUNS PS sl4 a7 1 98 Bar code UPC E This bar code consists of only numeric characters and is 8 digit fixed length The first digit numbering system character is O fixed so it is not transmitted The 6th or 7th digit numeric excluding numbering system character is sent by the computer or applications software Transmit UPC A shortening code The printer automatically calculates the checksum at the end of digit 8th When the 8th digit numeric is transmitted by the computer the printer compares the characters with the calculated checksum If they do not agree the printer prints all bar codes O If supplementary code is to be added refer to item of bar code M and N Element size is 1 1 2 2 3 3 4 4 6 6 and 8 8 BarcodeD Interleaved 2 of 5 This bar code consists of only numeric characters and even digits are variable in length When an odd digit code is transmitted the printer automatically adds one digit with O to the top of the transmission code to convert the number of digits to an even number When even digit code is transmitted the checksum is not added Valid ASCII code is 48 57 Standard ratio ratio of thick bar to thin bar is 5 2 B 232 12345678
92. rmat data in colors other than black and white two colors cannot be used Color or gray scale data must be converted to black and white before use If the same file name as that of the current file is used for storing its data in the memory module the contents of the current file will be kept in the memory module and the amount of data additionally stored will consume an amount of memory Therefore if overwrite is repeated the data will not be stored due to lack of memory capacity In this case packing the data with command 02 z may store the data in the memory module In system maintenance mode if model of mode item is set to Native OFF respective memory modules A and B are reversed as follows A flash memory card B on board memory Depending on the available memory card size of the printer graphics image size is limited as follows Models supporting up to 1M byte card Max 256K bytes Models supporting up to 4M bytes card Up to memory capacity of the installed card Each example of input graphics data is described in the following pages 1 24 7 bit image loading file format 7 bit image data uses ASCII format data In this example 7 bit image data with the file name of MARKT is stored in the memory card and printed out Value of inside is shown in hex format 02 IBFMARK7 Graphics data input command 8006000041040000 After this 7 bit image data follows 80060000C30C0000 Top data
93. row column 02 S a Sets rotation direction for character data 1 2 3 4 1 0 2 90 3 180 4 270 Sets type of character see table 1 Sets expansion rate in horizontal direction 1 9 A A O corresponding to 10 24 Sets expansion rate in vertical direction 1 9 A O A O corresponding to 10 24 Sets size of smooth font CG Triumvirate A06 A48 corresponding to 10 types of 6 to 48pt Setting of this item is valid only when font is set to 9 Row address 0000 9999 Unit 0 01 inch Column address 0000 0410 Unit 0 01 inch 02 hex fixed Specifies reading out of global register Specifies global register No Alphabet from A to P Reads out data stored in global register with G command See sample No 3 in Appendix 5 1 86 Polygon definition Code Setting Units Function Dot pattern 1X11 ppp row column P ppp bbbb row column row column 1X11 1X11 fixed ppp Dot pattern 000 011 row 1st point row address 0000 9999 column 1st point column address 0000 0398 P Specifies polygon ppp 001 fixed bbbb 0001 fixed row 2nd point row address 0000 9999 column 2nd point column address 0000 0398 row 3rd point row address 0000 9999 column 3rd point column address 0000 0398 After this repeats row and column 0 01 inch Draws polygon with specified point and dots inside with specified pattern 12 dot patterns from 0 11 are sho
94. rueType font download command for 400 DPI models only Code Transmission data Function Caution Example Command Line 02 i m T nn name CR data m Storing memory module specification A B C A Memory module A on board memory B Memory module B flash memory card C Current memory module C T T fixed TrueType nn Two digit font ID Valid values 50 59 5A 5Z 57 60 69 6Z 6z 90 99 9A 9Z 9a 9z name Font name Max 16 characters followed by CR code to end XXXXXXXX TrueType font data size number of bytes assigned by 8 digits hexadecimal characters data TrueType font data Stores TrueType scaleable font file TTF in the specified memory module When Native Command Set is OFF the memory model symbol to store the TrueType font is altered as follows A Flash memory card B On board memory The following command line shows the command to download 34754 bytes of TrueType font file named Tree Frog with the font ID 52 into the memory module B 02 iBT52Tree Frog lt CR gt 000087C2 data 1 28 Pause per label printing Code 02 J Function Performs pause each time label is printed one sheet Used when label peeling detection sensor is not mounted on the printer incorporating peeling function Pause is cancelled by pressing Pause key on the control panel Caution To clear this function reset the printer 1 29 Exte
95. sheets for edited format e Selecting edge sensor for paper position detection F Label one sheet feed fnnn Setting paper position setting when cutting and peeling G Printing edited format Imfaa Writing graphic data ImTnnaa Downloading TrueType fonts J Setting pause per each label printing K Extension system command k Y code transmission request L Starting printing contents setting label format Mnnnn Setting max label length detection miss checking m Changing units from inch system to metric system n Changing units from metric system to inch system Onnnn Setting printing position form offset Setting dump mode on p Pause in occasional execution Q Clearing all memory modules q Clearing memory module contents q A B r Selecting reflective black line sensor for paper position detection Sa Setting paper feed speed 1 133 System level commands Continued STX S Setting one page edit mode single buffer T Printing quality test pattern Unnaa Rewriting specified format register contents Vn Setting memory switch contents V Version number transmission request W Information in memory module transmission request Ww Testing memory card flash memory Xa Selecting default module A B x Clearing memory module contents in file units Y Sensor output to port ySnn Selecting Symbol set for TrueType font Z Test print for printer status 2 Packing me
96. ss 0000 0410 Unit 0 01 inch d1 d2 Printing character data Character data ending with CR By setting 02 Sn n is a calling character string parameter specifying A P character string data stored in the global register is picked out and printed Function Prints characters for contents data entered with items such as rotation vertical and horizontal expansion rate type of font and printing position Example Input data below represents that data 123 is printed with system font 6 vertical and horizontal expansion rate 1 and row and column address 0 5 inch and data is printed with smooth font 30pt and vertical and horizontal expansion rate row address 1 0 inch and column address 0 5 inch Input data 02 n 02 L D22 Sets units to inch Starts label format mode Sets pixel size 16 11 000 0050 0050 123 Sets data 123 with system font 6 19 11 A30 0100 0050 ABC Sets data ABC with smooth font 30pt E Ends label format mode and prints Column address column Direction of feed m AB lt Rotation 0 smooth font 30 pt 1 23 s Rotation O and vertical and horizontal 0 expansion rate 1 system font 6 Row address row 1 76 1 77 Table 1 200 DPI Models Type of Font Space character System font Dot number 0 8 x 0 9 1 5 x 1 8 Pixel size horizontal H x vertical V 1 5 x 2 6 Units mm 2 3 x 1 8 2 3x 3 3
97. ta consists of the following six elements 1 digit Truncate flag T omission type or F standard type 1 digit Security level 0 8 2 digit Ratio numerator 1st digit and denominator 2nd digit in fraction 00 99 Default 00 ratio of 1 3 2 digit Height 03 90 Default 00 2 digit Width 01 30 Default 00 Variable in length Data character string diga 1 110 Chapter 3 Overlay Function 3 1 Outline 3 2 3 2 Type of Memory 3 2 3 3 Storage and Readout Commands 3 2 3 4 Type of Graphic Image Data 3 3 3 5 Font Downloading Commands 3 4 1 111 3 1 3 2 3 3 Outline This printer once stores the required images ruled lines and character strings in the on board RAM or optional IC card then overlays the data onto the printing data Type of Memory Two types of memory are available for this printer 1 On board RAM standard 512 K bytes volatile storage memory 2 Memory card PCMCIA TYPE option 1 M bytes non volatile memory 4 M bytes non volatile memory Available only with those models that support Storage and Readout Commands Two commands are available for storage and readout 1 System level commands occasional execution commands starting with 02H Graphic image writing commands for on board RAM or IC card faa a 2 Label format commands occasional execution commands without control codes Graphic data reading commands for on board RAM or IC c
98. ter one label printing 30 On completion of one batch printing 31 When receiving invalid label format command 07 The OD hex code is not added to the end of the transmission data Date and time transmission request Code Data format Function Example Reception data 02 B w mm dd yyy hh MM j j j Ww Sun 0 1 Tue 2 Wed 3 Thu 4 Fri 5 Sat 6 mm Month 01 12 dd Day 01 31 yyyy Year 4 digits hh Hour 24 hour display MM Minute 00 59 jjj Total number of days from the 1st of January Data on the contents of the calendar date and time stored in the printer is transmitted to the computer Data format transmitted from the printer is described below The OD hex code is added to the end of the transmission data Reception data below represents Saturday 1 July 1995 which is transmitted from the printer 6070119951530182 0D Setting paper length for continuous paper Code Unit Setting Function Caution Example Input data Direction of feed 02 cnnnn 0 01 inch nnnn 4 digit data Initialization value 0000 Inch system 0001 9999 0 01 inch 99 99 inches Metric system 0001 9999 0 1 mm 99 9 mm Sets label length for continuous paper Length of label format is specified with this command Label is cut in the length with this setting when using auto cutter When using label paper 0000 must be set This command is ignored when a value beyond the range STX
99. tion Description Corrective actions Battery Battery dead Automatically returned after displaying the error for a certain time Change the lithium battery CR2032 If the battery runs down the realtime clock will stop and the contents of memory switch will be lost ColdHead Low head Automatically returned after displaying the error for temperature a certain time Raise the temperature around the printer Print density becomes low and print quality becomes inferior when the head temperature is low Cold PCB Low PCB temperature Automatically returned after displaying the error for a certain time Raise the temperature around the printer Print density becomes low and print quality becomes inferior when the head temperature is low Head Err Abnormal head Check the contents and clear with the Stop key resistance value Replace the print head Print quality is affected in the section with abnormal head resistance value OverFlow Communication error Check the contents and clear with the Stop key recening butar Correct the communication control system or faulty overrun re communication cable S I Err Communication error Check the contents and clear with the Stop key parity framing Correct the communication parameter or faulty communication cable HostBusy Communication error Automatically returned if the computer receives T D Full transmitting buffer data and the buffer becomes empty overflow Pause Pause key pressed Press t
100. vertical width 1 Specifies line 4 digit hhhh Specifies horizontal width VVVV Specifies vertical width Units 0 01 inch Function Prints ruled line with specified width hhhh vvvv designates horizontal line hhhh vvvv designates vertical line Example Input data below represents that ruled line with horizontal width of hhh 10 and vertical width of vvv 150 and ruled line with horizontal width of hhh 200 and vertical width of vvv 10 are printed Input data 02 n Sets units to inch 02 L Starts label format mode 1X1100000500050L010150 Sets ruled line with 0 1 x 1 5 inch 1X1100000500100L200010 Sets ruled line with 2 0 x 0 1 inch E Ends label format mode and prints hhhh lt vvvv hhhh vvvv Direction of feed 1 83 Box definition Code Setting Units Function Example Input data sss 003 1X11 000 row column Bhhhvvvbbbsss or bhhhhvvvvbbbbssss 1X11 1X11 fixed 000 000 fixed row row address 0000 9999 column column address 0000 0410 B Specifies box 3 digit hhh Specifies horizontal width of box VVV Specifies vertical width of box bbb Specifies top and bottom line width SSS Specifies left and right line width b Specifies box 4 digit hhhh Specifies horizontal width of box VVVV Specifies vertical width of box bbbb Specifies top and bottom line width SSSS Specifies left and right line width 0 01 inch 0 1 mm Prints box with specified dimension Input data below represents that box
101. with horizontal width of hhh 200 vertical width of vvv 100 upper and lower ruled line width of bbb 10 and both side line width of sss 3 is printed 02 n Sets units to inch 02 L Starts label format mode 1X1100000500050B200100010003 Sets box with 2 0 horizontal x 1 0 vertical inch E Ends label format mode and prints hhh 200 bbb 010 1 84 Graphics printing definition Code rotate Y hexp vexp 000 row column graphic Setting rotate Sets graphic data rotation direction to 1 fixed Y Y fixed hexp Sets expansion rate in horizontal direction 1 9 A O A O corresponding to 10 24 vexp Sets expansion rate in vertical direction 1 9 A O O corresponding to 10 24 000 000 fixed row Row address 0000 9999 column Column address 0000 0398 graphic Specifies graphic file name to be printed Function Picks out file name from the memory module and prints Caution Graphic file to be printed with this command must be stored in the memory module Example Input data below represents that file name IMAGE in the memory module is printed Input data 02 n Sets units to inch 02 L Starts label format mode 1Y1100000500050IMAGE Sets graphic file name IMAGE E Ends label format mode and prints 1 85 Reading out from global register Code Setting Function Example rotate font hexp vexp point row column 02 S a rotate Font hexp vexp point
102. wn below 000 006 001 007 002 008 003 009 004 010 005 011 1 87 Input data Example Input data Input data below represents that triangle with three points row 0 20 inch column 0 10 inch row 0 60 inch column 0 30 inch and row 0 20 inch column 0 50 inch is drawn and inside is dotted with pattern 6 5096 black 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 1X11 006 0020 0010 P 001 0001 0060 0030 0020 0050 Sets polygon E Ends label format mode and prints Input data below represents that rectangle with four points row 0 20 inch column 0 20 inch row 0 40 inch column 0 20 inch row 0 40 inch column 1 00 inch and row 0 20 inch column 1 00 inch is drawn and inside is dotted with pattern 8 little circle 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 1X11 008 0020 0020 P 001 0001 0040 0020 0040 0100 0020 0100 Sets polygon 1 88 Ends label format mode and prints 1 89 Circle definition Code Setting Units Function Example Input data 1X11 ppp row column C ppp bbbb radius 1X11 1X11 fixed ppp Dot pattern 000 011 row Circle center row address 0000 9999 column Circle center column address 0000 0398 C Specifies circle ppp 001 fixed bbbb 0001 fixed radius Radius 0000 0398 0 01 inch Draws circle with specified center and radius
103. ymbol set for UK 19 11 S54 0100 0100 P024 P024 TrueType E Ends label format mode and prints 1 80 Bar code field definition Code rotate font thick narrow height row column d1 d2 Setting rotate Sets rotation direction for bar code 1 2 3 4 1 0 2 90 3 180 4 270 Font Sets type of bar code see table 3 thick Sets thick bar width in 1 dot units 0 005 inch 1 9 A corresponding to 10 24 narrow Sets narrow bar width in 1 dot units 0 005 inch 1 9 A A corresponding to 10 24 height Sets height of bar code data by using 3 digit numeric 001 999 Unit 0 01 inch row Row address 0000 9999 Unit 0 01 inch column Column address 0000 0410 Unit 0 01 inch d1 d2 Bar code data See table Function Encodes contents data specified with items such as rotation size of bar code data and printing position into bar code and prints Example Input data below is prepared with the following setting and printed font EAN 13 bar ratio thick narrow 3 3 height 0 6 inch row column 0 5 inch 0 5 inch d1 d2 490123456789 Input data 02 n Sets units to inch 02 L Starts label format mode D11 Sets pixel size 1F3306000500050490123456789 Sets EAN13 bar code for data 490123456789 E Ends label format mode and prints I Column up d ar code type font Direction of feed column ee code height height y 901234 Row address r
104. ype font Specifying previous data increment Specifying previous data decrement Specifying previous data increment 0 9 A Z Specifying previous data decrement 0 9 A Z Specifying number of label prints for same contents Specifying number of cuts 4 digit Using slash zero Rotation angle 0 degree Rotation angle 90 degrees Rotation angle 180 degrees Rotation angle 270 degrees Definition of character strings bar codes ruled lines and graphics Each data is a defined form structure including position and other information Font downloading commands CHHED ID assignment JSsWnn n Descriptor writing CHE Character code writing S Wnn n Character data downloading 1 135 Font setting field after the print contents definition mode is turned on with STX L 2nd digit eo 5th 6th 7th digit 000 000 000 000 000 000 000 000 000 Specified font System font 0 System font 1 System font 2 System font 3 System font 4 System font 5 System font 6 System font 7 OCR A System font 8 OCR B 33 83 cpi 22 56 cpi 16 92 cpi 12 69 cpi 9 67 cpi 9 67 cpi 5 64 cpi 10 15 cpi 10 15 cpi A A06 001 Smooth font CG Triumvirate 6 pt 08 002 Smooth font CG Triumvirate 8 pt
Download Pdf Manuals
Related Search
Related Contents
Traçador d`impressió i cort AD/BELL 212/29 - Civil Aviation Safety Authority DV 550S User Manual Mode d`emploi D GB F NL I E e notre envoyé spécial en Arabie saouditeJean-Paul Mari 取扱説明書(PDF) TECHCONNECT TC2 USBTP2 MANUAL DO UTILIZADOR Samsung APH503QG دليل المستخدم Copyright © All rights reserved.
Failed to retrieve file