background image

Chapter 2 — Sending ESim Commands to the Printer

ESim for the PC4 and PF8 Printers Programmer’s Reference Manual

13

The printer automatically switches to Error mode when an error 
occurs. After recovering from an error, the indicator lamp switches to 
green and the printer returns to the mode it was in previous to the 
error.

Form Retrieve Mode

Form Retrieve mode retrieves forms previously edited in Direct mode 
and populates the form fields with data and counter values.

To enter Form Retrieve mode

In Direct mode, use the FR or ? command. The printer switches to 
Form Retrieve mode.

To exit Form Retrieve mode

The printer exits Form Retrieve mode when the number of 
received lines corresponds to the actual number of variables and 
counters in the form.

Form Edit Mode

Use Form Edit mode to permanently store label forms, plain text, bar 
codes, graphics, lines, and boxes in the printer’s memory. Form Edit 
mode allows the use of variables and counters which are not available 
from Direct mode. You can retrieve and print individual label forms 
from Direct mode. 

You can include some setup parameters in forms to adapt the printer 
for different applications. However, such setup parameters affect the 
global setup after the form has been retrieved and printed.

Pause Printing Mode

You can use the Pause Printing mode for pausing or breaking a batch 
print.

To enter Pause Printing mode

In Print mode, enter the ^A command. The current print job is 
paused and the printer switches to Pause Printing mode. For help, 
see 

“^A - Enter Pause Printing Mode” on page 33

.

Summary of Contents for EasyCoder PC4

Page 1: ...Programmer s Reference Manual ESim for the PC4 and PF8 Printers...

Page 2: ...t are subject to change without prior notice and do not represent a commitment on the part of Intermec Technologies Corporation 2005 2008 by Intermec Technologies Corporation All rights reserved The w...

Page 3: ...ersion Number Date Description of Change 003 11 2008 Updated code pages 002 6 2008 Updated available print speeds and maximum minimum print lengths Added font graphics 001 3 2008 Part number revised f...

Page 4: ...iv ESim for the PC4 and PF8 Printers Programmer s Reference Manual...

Page 5: ...d Documents ix 1 Introducing ESim 1 What is ESim Protocol 2 What s New 2 About ESim Commands 3 Commands List 3 2 Sending ESim Commands to the Printer 7 Communicating With the Printer 8 Printing a Test...

Page 6: ...Defaults 31 Reset Printer 31 Download Variables 32 A Enter Pause Printing Mode 33 Ignore Following Data 33 A Printing Text 34 B Break Batch Printing 40 B Standard Bar Codes 40 Bar Code 128 Family 44...

Page 7: ...ckup 88 j Media Feed Adjustment 89 LE Line Draw Exclusive 90 LO Line Draw Black 91 LS Line Draw Diagonal 92 LW Line Draw White 93 Memory Memory Allocation 94 N Clear Image Buffer 95 O Option Select 95...

Page 8: ...OS 437 English UK Cmd I8 0 001 136 Code Page DOS 850 Multilingual Latin 1 Cmd I8 1 001 137 Code Page DOS 852 Latin 2 Cyrillic II Slavic Cmd I8 2 001 137 Code Page DOS 860 Portuguese Cmd I8 3 001 138 C...

Page 9: ...150 Size 5 7 bit USA CMD I7 0 150 Size 5 7 bit British CMD I7 1 151 Size 5 7 bit German CMD I7 2 151 Size 5 7 bit French CMD I7 3 151 Size 5 7 bit Danish CMD I7 4 152 Size 5 7 bit Italian CMD I7 5 15...

Page 10: ...x ESim for the PC4 and PF8 Printers Programmer s Reference Manual...

Page 11: ...pecial precautions for handling optical parts Global Services and Support Warranty Information To understand the warranty for your Intermec product visit the Intermec web site at www intermec com and...

Page 12: ...call 1 800 755 5505 Outside the U S A and Canada contact your local Intermec representative To search for your local representative from the Intermec web site click About Us Contact Us Service Locati...

Page 13: ...ments and their part numbers The Intermec web site at www intermec com contains our documents as PDF files that you can download for free To download documents 1 Visit the Intermec web site at www int...

Page 14: ...Before You Begin xiv ESim for the PC4 and PF8 Printers Programmer s Reference Manual...

Page 15: ...1 1 Introducing ESim This chapter describes ESim and includes the following sections What is ESim Protocol What s New Added new content and reorganized chapters...

Page 16: ...inter functions and command structure It also assists in designing labels using the ESim protocol on both the PC4 and PF8 printers Each printer uses a different version of the ESim protocol The EasyCo...

Page 17: ...Enter The CR carriage return sent in a CR LF sequence is ignored Sending a CR alone has no effect Commands List The tables below lists all commands available for the ESim protocol for the PC4 and PF8...

Page 18: ...ect Q Set form length q Set label width R Set reference point r Set relative reference point S Speed select SA Setup adjust SPC Setup print copy Z Print direction Error Setup Commands Command Descript...

Page 19: ...ds Command Description C Counter FE End form store FK Delete form FR Retrieve form FS Form store PA Print automatic V Define variable Download variables Render Commands Command Description A Print tex...

Page 20: ...ft fonts FI Print form information GI Print graphics information U Print configuration UDC Memory cartridge information UE Soft fonts information inquiry UF Form information inquiry UG Graphics inform...

Page 21: ...his chapter includes instructions for sending ESim commands to the printer It includes the following sections Communicating With the Printer Printing a Test Label Switching Between Printer Operation M...

Page 22: ...application Start All programs Accessories Communications HyperTerminal 3 Select a name and icon for your connection Click OK The Connect To window appears 4 Select Connect Using COM1 5 Click OK The C...

Page 23: ...r s Guide P N 934 011 xxx To print a test label 1 Load media in the printer 2 Press and hold the Feed button while turning the Power switch to the On position The status LED blinks green for 2 seconds...

Page 24: ...send ESim commands to the printer make sure you have placed the printer in the correct operating mode to interpret those commands You can put the printer the in following eight modes Autosensing Mode...

Page 25: ...he printer switches to Dump mode To exit Autosensing mode Press the Feed button for more than 1 second while autosensing is progress The printer exits to Direct mode Dump Mode In Dump mode the printer...

Page 26: ...r it is turned on Exiting other modes may also return the printer to Direct mode Print Mode Use print mode to print labels feed out blank media and control the optional cutter To enter Print mode From...

Page 27: ...d lines corresponds to the actual number of variables and counters in the form Form Edit Mode Use Form Edit mode to permanently store label forms plain text bar codes graphics lines and boxes in the p...

Page 28: ...r more than 3 seconds Start the ESim Config Tool and click Restore Factory Defaults on the Setup tab Send the default command to the printer Default Setup This table lists the default settings on the...

Page 29: ...mands Reference point R000 000 X 000 Y 000 Print speed S3 76 mm sec 3 inches sec Reply character UC0 None Error handling UN Error reporting disabled Windows mode WN Disabled Serial port Y96 N 8 1 9600...

Page 30: ...Chapter 2 Sending ESim Commands to the Printer 16 ESim for the PC4 and PF8 Printers Programmer s Reference Manual ON 8 Disable label taken sensor Command Explanation...

Page 31: ...esigning Bar Code Labels This chapter includes instructions on how to design bar code labels It includes the following sections Introduction to Label Forms Creating a Sample Label Form Complex Label D...

Page 32: ...elds A bar code label format is composed of several different fields that hold different types of data The data in the fields may specify the start position rotation magnification and more of a label...

Page 33: ...left corner of each field relative to a specified reference point Text and bar code fields can be rotated around their insertion points Lines boxes and graphics cannot be rotated The entire print ima...

Page 34: ...er guide For example if you are using a PF8 printer see PF8d PF8t Printers User s Guide P N 934 001 xxx 2 Set the printer up to communicate with ESim For help see Communicating With the Printer on pag...

Page 35: ...ne each field in the format Each type of field is defined by several parameters For more information see ESim Commands on page 29 To create command strings for the label form 1 Open a text editor or w...

Page 36: ...2 4 Disable label taken sensor A40 400 1 1 1 1 N Made in Sweden Write a 90 text line of fixed data A24 160 0 5 1 1 R EASYCODER Write a text line of fixed data 24 250 0 4 1 1 N MODEL 501SA Write a text...

Page 37: ...example also includes counters and variables To create the command string 1 Open a text editor or word processor application 2 Open HyperTerminal 3 Enter Form Edit mode by X 4 Copy and paste the follo...

Page 38: ...on CR LF to start command structure FK TEST Delete any existing form named TEST FS TEST Start store form named TEST V00 15 N Enter Product name Define first variable V01 10 L Enter Model number Define...

Page 39: ...d in the previous chapter B280 440 0 1 2 3 96 B S C0 Bar code with fixed data and first counter HH24 12 LOGO Write graphic from graphics memory FE Closing command to store form Values for the Sample L...

Page 40: ...a use the serial interface for communication between printer and host and send a UI command after each power up as shown Printer Prompt Command Explanation CR LF to start command structure UI Enables...

Page 41: ...hich means it is lost when the printer loses power If prompts are enabled existing data and counter values are displayed on the screen after the related prompt Any input data can be overwritten at wil...

Page 42: ...Chapter 3 Designing Bar Code Labels 28 ESim for the PC4 and PF8 Printers Programmer s Reference Manual...

Page 43: ...29 4 ESim Commands This chapter contains a comprehensive list of ESim commands...

Page 44: ...s parameters which are listed separately below the command syntax Square brackets indicate optional parameters or data Vertical lines indicate alternatives Name indicates you need to enter the name of...

Page 45: ...s command returns the printer to its default setup when necessary for example prior to updating firmware See Resetting to Factory Default Settings on page 14 for the default value of setup parameters...

Page 46: ...ull 8000 bytes Download Variables Purpose Use this command to signal to the printer that the data following are variable or counter values Syntax Remarks This command is used by the host system to sen...

Page 47: ...e command C or press the Feed button To cancel the remainder of the print job use the B command This command can only be sent via the RS 232 or USB ports Example This example renders a box and orders...

Page 48: ...meter Descriptions Parameter Description p1 Horizontal start position x in dots p2 Vertical start position y in dots p3 Rotation 0 No rotation left to right 1 90 rotation left to right 2 180 rotation...

Page 49: ...Chinese GB GB 24 Chinese BIG 5 Big5 24 Japanese Japanese 24 Latin PC4 only 300 dpi 11 81 dots mm 25 cpi 4 points 12 x 20 dots 8 75 cpi 6 points 16 x 28 dots 15 cpi 8 points 20 x 36 dots 12 5 cpi 10 p...

Page 50: ...P1 Cosecutive Example p5 Horizontal multiplier 1 2 3 4 5 6 7 8 p6 Vertical multiplier 1 2 3 4 5 6 7 8 9 p7 N Normal image R Reverse image DATA Represents a fixed data field When using Asian double by...

Page 51: ...ter command FK TEST2 FS TEST2 C0 5 L 3 Counter 0 A180 50 0 3 1 1 N C0 A380 50 0 3 1 1 N C0 1 A580 50 0 3 1 1 N C0 2 FE Note Font size 5 only supports uppercase characters see example 5 in the label ab...

Page 52: ...Combination of several options can be used in a single text field A50 300 0 3 2 2 R Deluxe V01C1 Combo This example writes the text Deluxe the contents of variable 01 the contents of counter 2 the te...

Page 53: ...nt character strings running from top to bottom p3 4 7 as well as left to right p3 0 3 The characters are printed in the sequence that they are entered into the data field of the A command White dots...

Page 54: ...command This command can only be sent via RS 232 or USB ports Example This example renders a box and orders the printer to print 4 copies At command B the printing is stopped and cancelled X0 0 10 20...

Page 55: ...Interleaved 2 of 5 with human readable check digit Postnet 5 6 8 and 11 digit Planet UCC EAN 128 UPC A UPC A 2 digit add on UPC A 5 digit add on UPC E UPC E 2 digit add on UPC E 5 digit add on UPC SCC...

Page 56: ...ombined with the commands below DATA Field Command Descriptions Command Description Variable Vnn Prints the contents of the variable nn at this position where nn is a 2 digit number from 00 99 Consecu...

Page 57: ...t the Form Step Value p4 to 3 for the counter Cn used in our example see the C command line and refer to the C Counter command FK TEST3 FS TEST3 C0 6 L 3 Counter 0 B120 50 0 2 3 6 100 B C0 B320 50 0 2...

Page 58: ...subsets A B and C The choice of data character subset depends on the start character representing code A B or C The code subset can be redefined within the symbol by code set control characters A B or...

Page 59: ...ol as described in the next table String Invocation Rules Command Type Text Print Bar Code Manual Selection C128 Bar Code C128 Auto UCC EAN128 Command A B B B B b5 Parameter p4 1A 1B 1C 1 IE4 1EC5 Sta...

Page 60: ...posite Code Data 1 b Two Dimensional Bar Codes General Part Purpose Use this command to print complex bar codes such as DataMatrix PDF417 MaxiCode and QR Code The command consists of a leading set of...

Page 61: ...by the italicized characters see b Two Dimensional Bar Codes General Part on page 46 for more information Presently only EAN UCC 128 with CC C is supported Syntax bp1 p2 p3 p4 o x y s 1 B P F M Data1...

Page 62: ...same rules as to the single bar code Font selection depends on the bar code type It is similar to B command parameter p8 see B Standard Bar Codes on page 40 Default is no B flag px y m Human readable...

Page 63: ...pe character Separator between data of linear and two dimensional composite part Use this parameter only in exceptional case Limit is any printable character Default is M Data1 Data2 The data area rep...

Page 64: ...the general part of the two dimensional code command indicated by the italicized characters see b Two Dimensional Bar Codes General Part on page 46 for more information Syntax bp1 p2 p3 P4 DATA Exampl...

Page 65: ...Maximum print width in dots 3 digits hhh Maximum print height in dots 3 digits s Sets error correction level Legal values are 0 8 If level is not specified a level that generates about 1 8 as many ECC...

Page 66: ...ple N b40 40 P 400 300 p40 340 20 f1 x3 y10 r60 l5 AB CDEFGHIJK1234567890abcdefghijk P1 d Print code words 0 Values of code words not printed default 1 Values of code words printed x Module width Lega...

Page 67: ...Enhanced Symbol size in cell increment of 4 cells 21 21 to 73 73 1 21 to 177 177 1 Numeric data modes Digits 0 9 Maximum is 1167 characters Maximum is 7089 characters 2 Alphanumeric data mode Digits 0...

Page 68: ...o b approximated to 1 1 whilst minimizing the occurrence of arrangements of close modules which would prevent efficient decoding The QR bar code specific options should append the general part of the...

Page 69: ...JIS 0201 4 Kanji data mode JIS 0208 5 Mixing mode any of mode c1 c4 model type 2 Model 1 default Most optimal alternative of c1 to c4 Model 2 default c5 Internally during rendering the QR Code the mo...

Page 70: ...1234ABCDEFGHIJKLMNOPQ RSTUVWHYZ1234 P1 o Rotation 0 0 rotation clockwise Default 1 90 rotation clockwise 2 180 rotation clockwise 3 270 rotation clockwise s Set correction level L 7 default M 15 defau...

Page 71: ...s serial numbers Counters can only be used in the Form Edit mode and not in the Direct mode Syntax Cp1 p2 p3 p4 p5 PROMPT C Counter Parameter Descriptions Parameter Description p1 Counter number 0 9 p...

Page 72: ...spaces and uppercase alpha characters in DATA causes error 03 Wrap around 0 g 9 gA g Z g0 9 goes to A Z goes back to 0 A single leading minus sign in the prompt field causes the prompt to be sent one...

Page 73: ...is printed left right or center justified in an area with a width defined by p2 number of digits If no justification is selected p3 N the field is truncated from the right side so as to not exceed the...

Page 74: ...1 N Start value N CNT 1 C2 5 C 1 A Start value A CNT 2 C3 5 N 1 B Start value B CNT 3 A50 050 0 3 1 1 N Cnt Default left justified C0 A50 100 0 3 1 1 N Cnt Numerical right justified C1 A50 150 0 3 1 1...

Page 75: ...other number that should not be repeated or changed If one 1 minus sign is the first character of the prompt the prompt appears only once after the form is retrieved Example 1 C0 10 L 1 Enter Serial N...

Page 76: ...ediate cannot be used inside a form or in connection with a the Keyboard display unit To perform self cleaning of the cutter blade issue five consecutive C commands without any media loaded Example To...

Page 77: ...ffect the actual darkness of the printout Direct thermal printing or thermal transfer printing Print speed Different brands of direct thermal media Different combination between transfer ribbons and r...

Page 78: ...nding on print speed bar code density orientation and ambient temperature humidity conditions Recommended Density Settings For Direct Thermal Printing Label Tag Type Recommended Density at Speed S 2 M...

Page 79: ...ran II Tag Premium D6 S2 Kimdura Premium D6 S3 Matte Polyester Premium D6 S3 Gloss Polyester Super premium D7 S3 TTR Uncoated GP02 D1 S2 TTR Matte Coated HP05 D6 S3 TTR Premium HP05 D4 S3 TTR Premium...

Page 80: ...ose Use this command to print a list of all soft fonts that are stored in memory Syntax FE Remarks This command is related to ES Store Soft Fonts and EK Delete Soft Fonts Example To print a soft font...

Page 81: ...d using hexadecimal coding Range 00 FF hex 1 256 characters per soft font set p2 Character rotation using hexadecimal coding 00 hex 0 and 180 01 hex 90 and 270 clockwise 02 hex All four directions 2 p...

Page 82: ...a b c and data for each character until all characters in the set have been downloaded For fonts with the rotation parameter p2 set to 02 hex all directions repeat the individual font character downl...

Page 83: ...sented by 0 and a black dot by 1 Each byte 8 dots forms a binary number that is converted to hexadecimal code The last byte in a line is padded with zeros to complete the line and data byte The data i...

Page 84: ...Line 1 00000000 01111100 00000000 00 7C 00 Line 2 00000000 01111100 00000000 00 7C 00 Line 3 00000000 01111100 00000000 00 7C 00 Line 4 00000000 11111110 00000000 00 7E 00 Line 1 01 10000000 00000000...

Page 85: ...a serial port in one of the following formats 1 If no error code is available normal case 00 CR LF 00 Status code OK 2 If only one error code is available XX CR LF XX Error or status code 3 If more er...

Page 86: ...rror reporting AA Command sent with syntax error 01 Open cover NAK 11 XOFF Manual action to generate error 11 Printer enters error waiting recovering state UV Queues command to print product ID ee 01...

Page 87: ...ecovery XON p2 1 Mode of Reply only with character defined by p1 Output at error action p1 CRLF Output at error recovery p3 CRLF p2 2 Mode of Reply with character p1 and error number NN Output at erro...

Page 88: ...position along the y axis in relation to the media according to other characteristics of individual printers and batches of media Syntax fp1 Command Manual Action Reply Comments US 8 ACK Enables error...

Page 89: ...rom operating properly If the cut occurs in the already printed label increase the cut position index value If the cut occurs in the next label decrease the cut index value Example To increase the cut...

Page 90: ...R Retrieve Form Purpose Use this command is to retrieve a form that was previously stored in memory Syntax FR name Remarks To print a list of forms currently stored in memory use the FI command FK Com...

Page 91: ...old form is retained When updating a form use the FK command to delete the old version before storing the new version To print a list of the forms currently stored in memory use the FI command Global...

Page 92: ...shines orange there is no communication and the memory must be erased by pressing the Feed button for more than 3 seconds in Dump mode GG Print Graphics Purpose Use this command to print a graphic th...

Page 93: ...o make sure the storing was successful and to check the amount of free graphic memory GK Delete Graphics Purpose Use this command to delete a specified graphic or all graphics from memory Syntax GK na...

Page 94: ...same directory as the pcx file GM LOGO 1421 To store the image in the default printer at the the DOS prompt type COPY STOREIT TXT PRN COPY LOGO PCX PRN b To store the image in the printer connected t...

Page 95: ...52 41 4D 22 32 39 34 0D 0A 0A 02 01 01 00 00 00 00 1F 00 1F 00 0E 00 0E 00 00 00 00 FF FF FF 00 00 1D 04 00 00 00 00 00 00 38 42 13 00 EC E9 12 00 03 00 00 00 90 41 13 00 FF FF FF FF 00 00 00 00 FF FF...

Page 96: ...ameters p1 p4 above and the format of this data by p5 Example GRP20 10 4 32 h The command above replies in hexadecimal format like the example shown below GRP Command Parameter Descriptions Parameter...

Page 97: ...F FE 77 FF FF FE 7B FF FF FE 7D FF FF FE 7E FF FF FE FF 7F FF FF FF BF FF FF FF DF FF FF FF EF FF FF FF F7 FF FF FF FB FF FF FF FD FF FF FF FE FF FF FF FF 7F FF FF FF BF FF FF FF DF FF FF FF EF FF FF...

Page 98: ...30 2C 34 2C 33 32 2C 00 FF FF 00 3F FF FF FE 5F FF FF FE 6F FF FF FE 77 FF FF FE 7B FF FF FE 7D FF FF FE 7E FF FF FE FF 7F FF FF FF BF FF FF FF DF FF FF FF EF FF FF FF F7 FF FF FF FB FF FF FF FD FF F...

Page 99: ...p1 8 P2 Code Page Language 0 DOS 417 English UK 1 DOS 850 Multilingual Latin 1 2 DOS 852 Latin 2 Cyrillic II Slavic 3 DOS 860 Portuguese 4 DOS 863 Canadian French 5 DOS 865 Norwegian 6 DOS 857 Turkis...

Page 100: ...Bits p1 8 continued P2 Code Page Language Note If the code pages DOS 437 DOS863 or DOS 865 cannot produce the desired characters use code page DOS 850 Multilingual KDU Country Code p3 Code Country 00...

Page 101: ...se this command to place an adjustable inter character space between Asian font characters The inter character spacing gets multiplied with the text string by the horizontal and vertical multiplier va...

Page 102: ...hough it is stored in memory and can be enabled again using a JF command JF Enable Top of Form Backup Purpose Use this command to enable automatic top of form backup of the media Syntax JF Remarks Top...

Page 103: ...s or gap between labels is aligned with the tear bar The extra media feed set by the j command can be enabled or disabled using JF and JB Top of Form Backup commands By default Top of Form Backup is e...

Page 104: ...se Use this command to draw black lines where the line needs to be white when intersecting a black area or object or black when intersecting a white object or area Syntax LEp1 p2 p3 p4 Example This ex...

Page 105: ...o overwrite previous information Syntax LOp1 p2 p3 p4 Example This example draws two lines A and B intersecting one another using the commands below N LE50 200 400 20 LE200 50 20 400 Line A Line B LO...

Page 106: ...l black lines to overwrite previous information Syntax LSp1 p2 p3 p4 p5 Example This example draws a diagonal line N LS10 10 20 200 200 Line A Line B LS Command Parameter Descriptions Parameter Descri...

Page 107: ...ing previous information Syntax LWp1 p2 p3 p4 Example This example draws one white line D intersecting three black lines A C see commands below N LO50 100 400 20 LO50 200 400 20 LO50 300 400 20 LW200...

Page 108: ...the printer for data storage Syntax Mp1 Example MO Line A Line B Line C Line D the dotted lines will not be printed Note This command only works with the PF8t or a printer that has ESim version 7 00 o...

Page 109: ...new image It also clears any error list that has not been presented Syntax N Remarks The N command is essential when printing labels in Direct mode It is not necessary to use the N command before prin...

Page 110: ...if a cutter kit is fitted on the printer use ON to disable the sensor D Ribbon End Sensor Disable The ribbon end sensor thermal transfer models only detects reflections from the trailing silvery part...

Page 111: ...command allows the advanced programmer to substitute the Euro currency character for any ASCII character in printer resident fonts 1 5 The original character can be restored by sending the oR command...

Page 112: ...of the image buffer Syntax Pp1 p2 Remarks You cannot use the P command inside a stored form sequence For automatic printing of stored forms use the PA command Example This example prints two label se...

Page 113: ...form as soon as all variable data has been supplied Syntax PAp1 p2 Remarks Refer to the P command for explanations on how to print multiple labels with counters The PA command follows the same princip...

Page 114: ...4 1 1 N V00 PA1 FE FR TEST6 This is variable text PF Feed Media Purpose Use this command to feed the media forward or backward a given length Syntax PFp1 p2 p3 The PA command can only be used with fo...

Page 115: ...rpose Use this command to set the form and gap length when using the label gap sensor or the amount of media feed after the print image in case of continuous stock Syntax Qp1 p2 p3 PF Command Paramete...

Page 116: ...of the size and location of detection slots Q Command Parameter Descriptions Parameter Description p1 Form length measured in dots 203 2 dpi 8 dots mm Default is 1200 dots Maximum without memory cartr...

Page 117: ...information on Dump Mode see Dump Mode on page 11 Continuous Stock In case of continuous stock parameter p1 decides the amount of media feed performed after the actual print image has been printed Con...

Page 118: ...this command to switch from label gap sensor to the black mark sensor and to specify the location and height of the black marks on the back of the media Syntax Qp1 Bp2 p3 p p p PRINT DIRECTION 1 2 3 Q...

Page 119: ...er of the media path as seen from the front of the printer Refer to your printer user s manual for specifications of the size and location of black marks Example 1 On this tag the black marks are prin...

Page 120: ...rinting in Between Perforations The Q command would be Q248 B56 136 q Set Label Width Purpose Use this command to set the label width when using less than full width labels Syntax qp1 p3 p2 p1 Perfora...

Page 121: ...s command to move the reference point for the X and Y axis All horizontal and vertical measurements in other commands use the setting for R as the origin for measurements Syntax Rp1 p2 Note If an R co...

Page 122: ...could be substituted by q and r commands which have the benefit of making better use of a limited image buffer Any R command after a q command resets the width to the maximum print width as a q832 com...

Page 123: ...e point command is used to establish the top and left margins relative to the label width For narrow labels the r command can be used after a q command which has the benefit of making better use of a...

Page 124: ...d a 100 dot top margin from the label edge set by q command r50 100 S Speed Select Purpose Use this command to select the print speed Syntax Sp1 S Command Parameter Descriptions Parameter Description...

Page 125: ...r speed selection which might cause the speed to be reduced at high density settings Example This example shows how to set the print speed to 500 mm sec 2 in sec S2 2 50 mm sec 2 in sec Available for...

Page 126: ...The current SA value is stored in Flash memory and printed on the test label Example This example shows how to ignore all setup commands within a form SA2 SA Command Parameter Descriptions Parameter...

Page 127: ...printed on the test label Example This example shows how to activate Print Copy see command below SPC1 TD Define Date Format Purpose Use this command to define the date format when printing Syntax TDp...

Page 128: ...he printer prints JAN 15 2004 TD Command Parameter Descriptions Parameter Description p1 p3 The parameters describe the format of the date display At least one parameter must be supplied Each paramete...

Page 129: ...Configuration General Purpose Use this command to print the current printer configuration on a label without having to enter Dump mode Syntax U Example This example shows a typical label printed when...

Page 130: ...knowledge characters which the printer returns on the RS 232 or USB channel to the host after each command execution with no error reply before proceeding with the next command Syntax UCp1 UC Command...

Page 131: ...Cartridge Information PC4 only Purpose Use this command to check an inserted memory cartridge and to return information on the cartridge s contents on the RS 232 or USB channel Syntax UDC Remarks This...

Page 132: ...d the name height and direction of each soft font through the RS 232 or USB port The UE command is executed directly without appending a Linefeed Example UE UF Form Information Inquiry Purpose Use thi...

Page 133: ...rompts to be sent to the host and to send the currently selected code page to the host through the RS 232 or USB port Syntax UI The printer sends information on the currently selected code page back t...

Page 134: ...arameter Descriptions Parameter Description p1 Image buffer size in kilobytes p2 Total user Flash memory size for Form Graphic External font Asian font in kilobytes including decimals p3 Form memory u...

Page 135: ...UP Code Page and Memory Inquiry Print Purpose Use this command to print and send the currently selected code page and memory status to the host through the RS 232 or USB port Syntax UP The printer se...

Page 136: ...emory p6 External font memory allocation size in kilobytes p7 External font memory free in kilobytes p8 Number of data bits p9 Code page p10 Country code UP Command Parameter Descriptions continued Pa...

Page 137: ...red in the memory cartridge Syntax UV Remarks The first line returned after the UV command is base software appended by a CR LF the next is one line with information on the font appended by CR LF V De...

Page 138: ...arameter Descriptions Parameter Description p1 Variable reference number 00 99 A maximum total of 1500 bytes of data for all variables is allowed p2 Maximum number of digits for the variable 1 99 A ma...

Page 139: ...mple shows how the field justification works in variable fields FK TEST7 FS TEST7 V00 10 L Variable 00 V01 10 R Variable 01 V02 10 C Variable 02 V03 10 N Variable 03 A50 50 0 3 1 1 N TEXT V00 Left jus...

Page 140: ...orking with a mainframe or other non Windows host this mode can be disabled to prevent erratic operation X Draw Box Purpose Use this command to draw a box shape Syntax Xp1 p2 p3 p4 p5 Example This exa...

Page 141: ...Y Serial Port Setup Purpose Use this command to establish the communication parameters of the serial RS 232 port Syntax Yp1 p2 p3 p4 Box A Box B Y Command Parameter Descriptions Parameter Description...

Page 142: ...tup is not known it can be checked by printing a test label see Autosensing Mode on page 10 for more information on how to print a test label Example In this example we are setting a 19 200 baud rate...

Page 143: ...ocation f the reference point see R Set Reference Point on page 107 A label printed using the command ZT A label printed using the command ZB Example This example makes the printer print from the bott...

Page 144: ...Chapter 4 ESim Commands 130 ESim for the PC4 and PF8 Printers Programmer s Reference Manual...

Page 145: ...131 5 ESim Fonts This chapter lists the printer resident fonts and illustrates the various font sizes...

Page 146: ...value of the different characters is determined by the I command setting For more help see I Character Selection on page 84 203 2 dpi 8 dots mm Illustrated in Chapter 8 and 9 Font Size dots Size point...

Page 147: ...inters Programmer s Reference Manual 133 Font Sizes 1 5 Illustrated below are the various font sizes in actual size printed using an 8 dots mm 203 2 dpi and an 11 81 dots mm 300 dpi printhead 8 dots m...

Page 148: ...Chapter 5 ESim Fonts 134 ESim for the PC4 and PF8 Printers Programmer s Reference Manual...

Page 149: ...135 6 Code Pages This section contains tables of the characters available in the various code pages for the printer resident fonts...

Page 150: ...onts please refer to your printer user s manual Characters available when font size 5 is selected are indicated by a gray background in the tables For more help see A Printing Text on page 34 Code Pag...

Page 151: ...Code Page DOS 850 Multilingual Latin 1 Cmd I8 1 001 Code Page DOS 852 Latin 2 Cyrillic II Slavic Cmd I8 2 001 x i 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ e D R c d w...

Page 152: ...nual Code Page DOS 860 Portuguese Cmd I8 3 001 Code Page DOS 863 Canada French Cmd I8 4 001 x i 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ d e D R c w t r x i 0 1 2 3 4...

Page 153: ...139 Code Page DOS 865 Norway Cmd I8 5 001 Code Page DOS 857 Turkish Cmd I8 6 001 x i 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ e D R c w t r x i 0 1 2 3 4 5 6 7 8 9 A...

Page 154: ...ence Manual Code Page DOS 861 Icelandic Cmd I8 7 001 Code Page DOS 862 Hebrew Cmd I8 8 001 x i J 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ e c w t r x i 0 1 2 3 4 5 6 7...

Page 155: ...1 Code Page DOS 855 Cyrillic Cmd I8 9 001 Code Page DOS 866 Cyrillic Cmd I8 10 001 x i J 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ V 6 L M D H f 2 0 S 3 F 7 x i 0 1 2 3...

Page 156: ...ence Manual Code Page DOS 737 Greek Cmd I8 11 001 Code Page DOS 841 Greek 1 Cmd I8 12 001 x i 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ 0 1 2 3 7 w t r x i 0 1 2 3 4 5...

Page 157: ...and PF8 Printers Programmer s Reference Manual 143 Code Page DOS 869 Greek 2 Cmd I8 13 001 Code Page Windows 1252 Latin 1 Cmd I8 A 001 x i 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U...

Page 158: ...Pages 144 ESim for the PC4 and PF8 Printers Programmer s Reference Manual IN Code Page Windows 1250 Latin 2 Cmd I8 B 001 x i 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ f...

Page 159: ...s 1251 Cyrillic Cmd I8 C 001 Code Page Windows 1253 Greek Cmd I8 D 001 x i 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ f _ i k p r L w x M 6 V 0 2 3 7 D H S F x i 0 1 2 3...

Page 160: ...Page Windows 1254 Turkish Cmd I8 E 001 Code Page Windows 1255 Hebrew Cmd I8 F001 x i 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ c d e f g _ i k D p r t u w x R x i 0 1...

Page 161: ...he PC4 and PF8 Printers Programmer s Reference Manual 147 Code Page In Dump Mode Size 1 4 7 bit USA CMD I7 0 x i 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ a e D R p n c...

Page 162: ...Chapter 6 Code Pages 148 ESim for the PC4 and PF8 Printers Programmer s Reference Manual Size 1 4 7 bit British CMD I7 1 Size 1 4 7 bit German CMD I7 2 Size 1 4 7 bit French CMD I7 3...

Page 163: ...Chapter 6 Code Pages ESim for the PC4 and PF8 Printers Programmer s Reference Manual 149 Size 1 4 7 bit Danish CMD I7 4 Size 1 4 7 bit Italian CMD I7 5 Size 1 4 7 bit Spanish CMD I7 6...

Page 164: ...Chapter 6 Code Pages 150 ESim for the PC4 and PF8 Printers Programmer s Reference Manual Size 1 4 7 bit Swedish CMD I7 7 Size 1 4 7 bit Swiss CMD I7 8 Size 5 7 bit USA CMD I7 0...

Page 165: ...Chapter 6 Code Pages ESim for the PC4 and PF8 Printers Programmer s Reference Manual 151 Size 5 7 bit British CMD I7 1 Size 5 7 bit German CMD I7 2 Size 5 7 bit French CMD I7 3...

Page 166: ...Chapter 6 Code Pages 152 ESim for the PC4 and PF8 Printers Programmer s Reference Manual Size 5 7 bit Danish CMD I7 4 Size 5 7 bit Italian CMD I7 5 Size 5 7 bit Spanish CMD I7 6...

Page 167: ...Chapter 6 Code Pages ESim for the PC4 and PF8 Printers Programmer s Reference Manual 153 Size 5 7 bit Swedish CMD I7 7 Size 5 7 bit Swiss CMD I7 8...

Page 168: ...Chapter 6 Code Pages 154 ESim for the PC4 and PF8 Printers Programmer s Reference Manual...

Page 169: ...nciples of error handling and lists the various error types that may occur the error replies that the printer can return to the host via an RS 232 or USB channel how the status LED changes to various...

Page 170: ...g Errors Printing errors such as Out of media cover opened and cutting not completed occur when printing cannot be correctly performed or completed This source generates errors of type B C and D C Sta...

Page 171: ...loop and waits for the operator to handle the error During this Error Waiting Loop only the commands ee and can be executed The error recovery is often performed by pressing the Feed button This rele...

Page 172: ...eporting command US Feed button or command Reset See also command USA At no Error reporting command UN No recovery necessary already done B Print stopping error LED orange or red Feed button or comman...

Page 173: ...hort friendly explanation Error response Response depending on error reporting flag controlled by US and UN commands LED Color of LED indicator Green GRN Red RED Blinking red BLNK RED Orange ORA Seria...

Page 174: ...01 A Syntax error RED NAK 01 XOFF 01 CRLF 02 B Object exceeds image buffer border ORA NAK 02 XOFF 02 CRLF 03 A Data length error RED NAK 03 XOFF 03 CRLF 04 A Insufficient memory to store data RED NAK...

Page 175: ...NAK 62 XOFF 62 CRLF 71 F Wait after default setup GRN 71 CRLF 72 F Flashing not completed RED NAK 72 XOFF 72 CRLF 73 F Download error RED NAK 73 XOFF 73 CRLF 81 B Cutter jammed or not installed BLNK R...

Page 176: ...RLF 07 C Out of media marked with Pnnn Number of remaining labels RED XOFF 07 CRLF 08 A Form or image name duplicate GRN 08 CRLF 09 A Form or image not found GRN 09 CRLF 11 D Printhead up cover open R...

Page 177: ...81 CRLF 89 G Dump mode after auto detection GRN 89 CRLF 92 H Pause printing mode BLNK GRN ORA 92 CRLF 94 G Autosensing mode BLACK XOFF 94 CRLF 98 G Download mode not public use 99 Other errors XOFF 9...

Page 178: ...Chapter A Error Handling 164 ESim for the PC4 and PF8 Printers Programmer s Reference Manual...

Page 179: ......

Page 180: ...e West Everett Washington 98203 U S A tel 425 348 2600 fax 425 355 9551 www intermec com 2008 Intermec Technologies Corporation All rights reserved ESim for the PC4 and PF8 Printer Programmer s Refere...

Reviews:

Related manuals for EasyCoder PC4