Page 3
• USR - Read Serial Number • TD - Define Data Format • TS - Set Real Time Clock 1-960629-03 5/2007 Revised to include the PF8 Printer. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 4
ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
The code is provided “as is with all faults.” All warranties are expressly disclaimed, including the implied warranties of merchantability and fitness for a particular purpose. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Web Support Visit the Intermec web site at www.intermec.com to download our current manuals (in PDF). To order printed versions of the Intermec manuals, contact your local Intermec representative or distributor. Visit the Intermec technical knowledge base (Knowledge Central) at www.intermec.com and click Support >...
This document provides you with information about the features of the ESIM protocol and how to use it to generate bar code labels. Related Documents This table contains a list of related Intermec documents and their part numbers. Document Title...
Page 14
Before You Begin ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Introducing ESim This chapter describes ESim and includes the following sections: • What is ESim Protocol • What’s New Added new content and reorganized chapters •...
This manual has been organized to provide you with an understanding of printer 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: •...
PC4 and PF8 printers. General Setup Commands Command Description Note Character set selection Asian character spacing Character substitution Command reply accept character control Windows mode PC4 only Serial port setup ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 18
User-defined error/status character control Disable error reporting Enable error reporting Store and Clean Commands Command Description Delete soft font Store soft font Delete graphics Store graphics in memory Memory allocation ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 19
Print two-dimensional bar codes Print graphics Reply graphics from print buffer Store graphics in image buffer Line draw exclusive Line draw black Line draw diagonal Line draw white Clear image buffer ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 20
Soft fonts information inquiry Form information inquiry Graphics information inquiry Enables prompts and code page inquiry Code page and memory inquiry Code page and memory inquiry printing Product identity and Asian font types ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Sending ESim Commands to the Printer This 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 Modes • Resetting to Factory Default Settings...
9 Select the Settings tab. 10 Click ASCII Setup. The ASCII Setup window appears. 11 Check the following check boxes: • Send line ends with line feed • Echo typed characters locally ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
If you are using peel-off media, remove the labels as they are fed out. After a short delay, a test label will print and the printer will enter Dump mode. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
(backing paper). • The Black Mark sensor detects black marks printed on the bottom side of the media. To enter Autosensing mode 1 Turn off power to the printer. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
3 A printout is created containing all characters between ASCII 000 decimal and ASCII 255 decimal. To exit Dump mode • Press the Feed button. A label with the message “out of DUMP” is printed. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
For help, see “^D - Remaining Labels” on page Error Mode Use error mode to report and correct various types of errors. For more information see “Error Handling” on page 155. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
In Print mode, enter the ^A command. The current print job is paused and the printer switches to Pause Printing mode. For help, “^A - Enter Pause Printing Mode” on page ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
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 PC4 or PF8 printers. Default Printer Settings Parameter Command Default Setting...
Label taken sensor from enabled to disabled Enter the following commands: Command Explanation CR/LF to start command structure. D8 8 Set density. j110 8 Set media feed adjustment for peel-off operation. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 30
Chapter 2 — Sending ESim Commands to the Printer Command Explanation ON 8 Disable label taken sensor. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Designing 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 Design...
Chapter 3 — Designing Bar Code Labels Introduction to Label Forms To print a label on the PC4 or PF8 printer, you must create a label form, send the form to the printer, send data to fill in the fields in the format, and then print the label.
(ZT). Counter C1 Rotated text Variable text V00 Rotated text Line Fixed text Counter C0 Graphic Y axis X axis Feed direction Sample Label: Field Positioning ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
In this example you will create a label in direct mode and print it. Sample Label: Illustration of the finished label. Note: The Intermec logo is not included in the software package. For this example, use any graphic with approximately the same size. You can also omit the GG command from the example until you are more familiar with it.
A472,312,0,4,1,1,N,“Checked by: Dan” A24,312,0,4,1,1,N,“SERIAL#: 000001” B280,440,0,1,2,3,96,B,“S00000” GG24,12,“LOGO” Note: Make sure to delete any extraneous formatting marks. If necessary, substitute the curly quotation marks (“) with straight quotation marks ( “) ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 36
Write a text line of fixed data. B280,440,0,1,2,3,96,B,“S00000” Write a text line of fixed data. GG24,12,“LOGO” Write a graphic from graphics memory. Print command to image buffer, and prints 1 copy. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
FK“TEST” FS”TEST” V00,15,N,“Enter Product name:” V01,10,L,“Enter Model number:” V02,8,N,“Checked by”:” C0,6,L,+1,”Enter Serial Number:” X0,0,4,752,584 LO0,144,752,4 LO440,232,4,160 A40,400,1,1,1,1,N,“Made in Sweden” A24,160,0,5,1,1,R,V00 A24,250,0,4,1,1,N,“MODEL:”V01 A472,312,0,4,1,1,N,”Checked by:“V02 A24,312,0,4,1,1,N,“SERIAL#:“C0” B280,440,0,1,2,3,96,B,“S”C0 HH24,12,“LOGO” ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 38
Write a text line, first variable. A24,250,0,4,1,1,N,“MODEL:”V01 Write a text line, second variable. A472,312,0,4,1,1,N,”Checked by:“V02 Write a text line, third variable. A24,312,0,4,1,1,N,“SERIAL#:“C0” Write a text line with fixed data and first counter. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Print 2 copies of a single label P1,2 Note: It is critical to the syntax to send exactly the same number of variable lines as defined for the label form. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 40
Ignore Enter P and quantity of labels Copies of each Prompt label Enter number of copies Note: The optional Keyboard Display Unit automatically sends the UI command at power-up. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 41
CR/LF to use existing data in V00 CR/LF to use existing data in V01 Substitute data in variable V02 200000 Substitute counter start value P1,1 Print 1 copy of 1 label ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 42
Chapter 3 — Designing Bar Code Labels ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
The backslash character \ (ASCII 92 decimal) serves that purpose. Examples are shown in the table below. Printing Examples Print Enter “ “\”” “ABC” “\”ABC\”” ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
^@ - Reset Printer Purpose: This command resets the printer. Syntax: ^@ Remarks: The ^@ command resets the printer in the same way as a power off followed by a power on. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Note: If the ? command is omitted, no variables or counter values are printed. Example: FR"TEST7" 12345 abcde • ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Remarks: When you enter this command with the “;” characters, nothing is printed. However, when you enter this command without the “;” characters, the printer prints a box, a barcode, and text. Example: ;X20,20,5,800,580 ;A50,50,0,2,2,2,N,"UPC-E" ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
5 = 90° rotation. Top to bottom. Asian fonts (p4=8) only. 6 = 180° rotation. Top to bottom. Asian fonts (p4=8) only. 7 = 270° rotation. Top to bottom. Asian fonts (p4=8) only. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 49
Japanese, Japanese.24 (24 x 24 dots in a double- Latin (PC4 only) byte) (24 x 24 dots in a single-byte, included in all .24 fonts) (dot size controlled by ES command.) ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 50
ASCII 127 decimal (ASCII 7F hex), or below ASCII 127 (ASCII 7F hex) decimal to specify a Latin character. Example: A50,0,0,1,1,1,N,“Example 1” A50,50,0,2,1,1,N,“Example 2” A50,100,0,3,1,1,N,“Example 3” A50,150,0,4,1,1,N,“Example 4” A50,200,0,5,1,1,N,“EXAMPLE 5” A50,300,0,3,2,2,R,“Example 6” Cosecutive Example ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 51
Set 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”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 ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 52
Latin characters include a single dot border space around each character. To create inter-character spacing for Asian fonts, use the i command. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 53
= 4–7), as well as left to right (p = 0–3). The characters are printed in the sequence that they are entered into the data field of the A command. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Vertical start position (y) in dots. Rotation: 0 = No rotation 1 = 90° rotation clockwise 2 = 180° rotation clockwise 3 = 270° rotation clockwise Bar code select. See the next example for reference. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 55
Bar code height in dots. B = Human readables ON N = Human readables OFF. “DATA” Represents a fixed data field. If empty, no part of the bar code is generated. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 56
“x”. n and x are 1 digit numbers from 0-9. Enter + to increase the value or - to decrease the value. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 57
This example illustrates how fixed text, variable text, and counters can be used in text fields in the Form Edit mode: FK“TEST4” FS“TEST4” V00,25,l,“Product name” C0,4,L,+1,“Start serial No” B50,50,0,3,2,6,100,B,“TEXT” B50,200,0,3,2,6,100,B,V00 B50,350,0,3,2,6,100,B,C0 ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Code 128 With Auto Selection of Subset and UCC/EAN Code 128 and EAN128 use automatic subset selection of Subset A, B, or C, both at the start and within the bar code. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
D = Selects DataMatrix M = Selects MaxiCode P = Selects PDF417 Q = Selects QR Code [Code specific options] For help, see “b - EAN/ UCC Composite-Code” on page ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Module width of pixel size in dots, magnification of both linear and 2D composite component. Limit is 1-10 Default is 2. Bar height on linear part in dots. Limit is 2-999. Default is 100. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 62
CR, LF in data causes the rest of the text to wrap around to the next line. Similar design as b-command parameter p on PDF417. Limits are x and y position limitations. Default is no p. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 63
=> error 01 (syntax error). • data is too long or out of range => error 03 (at length error). • data does not fit in area specified => error 50. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Syntax: bp ,“DATA”] b DataMatrix Command Parameter Descriptions Parameter Description Narrow bar from 1-15 “DATA” Represents a fixed data field, maximum 125 characters long Example: b40,80,D,5,”123456789012345678901234567890123456 7890123456789012345678901234567890 ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
0 = The pattern prints upper left justified in the area defined by the w and h values. 1 = The pattern is printed in the middle of the area defined by the w and h values (default). ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 66
Also, if parameter hhh (maximum print height) gives less space than required by the sum of parameters y- (set bar height) and r- (maximum row count), error condition 50 occurs. Example: b40,40,P,400,300,p40,340,20,f1,x3,y10,r60,l5,“AB CDEFGHIJK1234567890abcdefghijk” ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Kana) in accordance with JIS X 0201 4. Kanji data mode: Shift JIS Maximum is 299 Maximum is X 0208 characters. 1817 characters. 5. Mixing mode: Mix of Applicable mode 1-4 above ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
The QR bar code specific options should append the general part of the two-dimensional bar code command (indicated by the italicized characters, see “b - Two-Dimensional Bar Codes, General Part” on page 46 for more information. Syntax: bp ,[cn,mn,on,sn,xn,ynn],“DATA” ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 69
By using parameter cn, the data mode character set is fixed. Model type is defined and unchanged within one QR Code. 1 = Original version 2 = Enhanced version (recommended). Default. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 70
If data is too long or out of range, Error 03 (data length error) occurs. If data does not fit in area specified, Error 50 occurs. Example b40,40,Q,sM,x1,“ABCDEFGHIJKLMNOPQRSTUVWHYZ123456 789012345678901234ABCDEFGHIJKLMNOPQ RSTUVWHYZ1234” ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
L = Left justification. R = Right justification. C = Center justification. N = No justification. Step value. Plus or minus sign followed by a single digit (1-9): + Increase. - Decrease. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 72
Keyboard display unit or host via the serial interface each time a form containing this command is retrieved. It usually requests the operator to enter the starting value for the counter. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 73
A Cn±x command must also be used when designing the actual form. See the A and B commands. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 74
C0,5,L,+1,“Start value CNT 0” C1,5,R,+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,N,“Cnt Alpha, center justified :“C2”:” ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
To access the protected counter 1 Enter the following when the Keyboard display is showing: 2 (Optional) Press the Exit key to display the above. 3 Press the F1 key. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
<XON> (can be changed using eR command). No reply at UN command. Another way to resume printing a batch is to press the Feed button. This command can only be sent via the RS-232 or USB ports. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
The printed information may also require the density to be adjusted. Typically, this applies to different bar code orientations and densities. Refer to the tables in the pages that follow for recommended initial settings. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 78
Thermal Top High Speed Duratherm Lightning Recommended Density Settings For Thermal Transfer Printing Recommended Density at Speed S Maximum Label/Tag Type Ribbon Type Speed Duratran II Standard Duratran II Tag Standard ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Remarks: The reply at command US is by default Pnnnn<CR><LF>, where nnnn is the number of remaining labels. This command can only be sent via the RS-232 or USB ports. Example: ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Remarks: Soft fonts are stored using the ES command and listed using the EI command. You can also delete soft fonts from the printer using a program such as Intermec LabelShop or Intermec InterDriver. Example: ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Spacing to next print character in dots using hexadecimal coding.Range 00-FF hex. Must be greater than or equal to the character width specified by parameter c. Width of character in dots using hexadecimal coding. Range 00-FF hex. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 82
The number of individual character maps downloaded is double the characters in the font set (p ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 83
The data is the sent to the printer as a continuous string of hexadecimal byte representations in line order. You can also download soft fonts to the printer using Intermec LabelShop or Intermec InterDriver. You can list soft fonts using the EI command.
Page 84
Line 3: 01 11111100 00000000 00000000 = 01 FC 00 00 Line 4: 00 11111111 00000000 00000000 = 01 FF 00 00 ..Illustration of a Character in 0° and 90° Rotation is Downloaded to the Printer ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
(> 8000 bytes). At position error-waiting-recovering, the command ^ee must be sent into the printer via the RS-232 or USB interface to get an error report. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Syntax: eRp ,[,p eR Command Parameter Descriptions Parameter Description Reply error action single character when error occurs: Value of p is one single ASCII character, except hex 00. Default is 0. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 87
07 with Pnnn or Rnnn, where nnn = number of remaining labels: Output at error media action (mode 0): <NAK>07Pnnn<XOFF> Output at error ribbon action (mode 0): <NAK>07Rnnn<XOFF> Output at error recovery: <XON> ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Remarks: The FI command is executed directly without appending a Linefeed. Issue a FI command after storing a form to make sure the storing was successful and to check the amount of free form memory. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
This is the form name used when the form was stored. The printer is case-sensitive. Remarks: To print a list of forms currently stored in memory, use the FI command. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
UE, UF, UG, UI, UM,UP, UN, US, Y, W, ?, or ^@ should not be used in a form store sequence. Example: This example begins the form store sequence of TEST1 and the ends FS“TEST1” ..ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
There are no means of magnification or rotation of an individual graphic. However, the entire print image including all text, bar codes, graphics, lines, and boxes can be rotated 180° using the Z command. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
To delete the graphic named “LOGO”: GK“LOGO” Example 2: To delete all graphics: GK“*” GM - Store Graphics In Memory Purpose: Use this command to store .pcx graphic files in Flash memory. Syntax: GM“name”p “DATA” ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 94
COPY STOREIT.TXT PRN COPY LOGO.PCX PRN .b To store the image in the printer connected to port LPT1, at the DOS prompt type: COPY STOREIT.TXT LPT1: COPY LOGO.PCX LPT1: /b ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 95
Now the image is stored on FLASH and can be used anywhere and several times on the printout, as this example below: GG0,0,“PYRAM” GG50,50,“PYRAM” The result is the printout shown below: ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Note: There is no flow control or handshaking when sending this data to the host, so use this command only for small areas. Example: GRP20,10,4,32,h The command above replies in hexadecimal format like the example shown below. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Printer code page (1 digit, see table on next page). Default is 0. KDU country code (3 digits, see table on next page. Default is 001 (only if p = 8). ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 99
Cyrillic CIS 1 DOS 737 Greek DOS 851 Greek 1 DOS 869 Greek 2 Windows 1252 Latin 1 Windows 1250 Latin 2 Windows 1251 Cyrillic Windows 1253 Greek Windows 1254 Turkish ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 100
Latin America South Africa Netherlands Belgium France Spain Italy Switzerland United Kingdom Denmark Sweden Norway Germany Portugal Finland For additional code page examples, refer to “Code Pages” on page 135. Example: ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Text” on page Syntax: ip Example: To select 8 dot spacing between Asian characters, use the command below: iCommand: Parameter p set to 0 (default) iCommand: Parameter p set to 8 (dots) ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
O command. However, the j command is kept stored in memory and can be enabled again using a JF command. Activating the cutter using an OC command has the same effect as issuing a JF command. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
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 enabled. Example 1: ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Horizontal start position (X) in dots. Vertical start position (Y) in dots. Horizontal length in dots Vertical length in dots Example: This example draws two lines (A and B) intersecting one another. LE50,200,400,20 LE200,50,20,400 ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Vertical start position (Y) in dots. Horizontal length in dots Vertical length in dots Example: This example draws two lines (A and B) intersecting one another, using the commands below: LE50,200,400,20 LE200,50,20,400 ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Vertical start position (Y) in dots. Line thickness in dots. Horizontal end position (X) in dots. Vertical end position (Y) in dots. Example: This example draws a diagonal line. LS10,10,20,200,200 ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Vertical start position (Y) in dots. Horizontal length in dots. Vertical length in dots. Example: This example draws one white line (D) intersecting three black lines (A-C), see commands below: LO50,100,400,20 LO50,200,400,20 LO50,300,400,20 LW200,50,20,400 ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
O - Option Select Purpose: Use this command to enable or disable various sensors and the cutter. Syntax: O[Sp,N[,D[,Cnnn|Cb]]] O Command Parameter Descriptions Parameter Description Enable reverse gap sensing. Disable label taken sensor. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
If the ribbon end sensor is enabled, an error occurs if no reflection is detected. The density settings are interpreted via a table that gives an optimized printout for thermal transfer printing. For help with density settings, see “D - Density” on page ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Purpose: This 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. Syntax: oR[p ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
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 sets of one label each, see the command below: P2,1 ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Remarks: Refer to the P command for explanations on how to print multiple labels with counters. The PA command follows the same principles. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
FK“TEST6” FS“TEST6” V00,59,N,“Enter text” A24,24,0,4,1,1,N,V00 FR“TEST6” This is variable text PF - Feed Media Purpose: Use this command to feed the media forward or backward a given length. Syntax: PFp ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Purpose: 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] ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 116
The sensor is located slightly to the right in relation to the center 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 detection slots. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
= 20.0 mm (160 dots) = 3.0 mm (24 dots) Example 1: Rectangular Label The Q command would be: Q160,24 Example 2: Butterfly label (293.2 dpi = 8 dots/mm printhead): ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Distance between black marks measured in dots. Disables label gap sensor and enables the black mark sensor. Height of black mark measured in dots. ±p Optional offset length measured in dots. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 119
Example 1: Printing on Perforations The Q command would be: Q248,B56+4 Example 2: On the tag below, the black marks are printed between the perforations. The printer has a 203.2 dpi (8 dots/mm) printhead. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Purpose: Use this command to set the label width when using less than full width labels. Syntax: qp q Command Parameter Descriptions Parameter Description Width of label measured in dots. Default: 832 at 203.dpi (8 dots/mm) 1208 at 300 dpi (11.81 dots/mm) ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
R as the origin for measurements. Syntax: Rp R Command Parameter Descriptions Parameter Description Horizontal (left) margin measured in dots. Default is 000. Vertical (top) margin measured in dots. Default is 000. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 122
R command (or r, whichever was last executed) are printed on the test label. The print direction commands ZB, and ZT affect the location of the reference point, as illustrated below. Reference Point Example ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
The values for the latest r command (or R, whichever was last executed) are printed on the test label. The print direction commands ZB and ZT affect the location of the relative reference point as illustrated. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
0 = 30 mm/sec (1.2 in/ Available for 300 dpi sec). (11.81 dots/mm) printheads only. 1 = 40 mm/sec (1.6 in/ Available for 300 dpi sec). (11.81 dots/mm) printheads only. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 125
Example: This example shows how to set the print speed to 500 mm/sec (2 in/sec). ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Q, S, Z, and SPC. 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. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
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: ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 128
Example 2: If the current date is January 15, 2004: TDdd-me-y4 The printer prints 15-JAN-2004. Example 3: If the current date is January 15, 2004: TDme/dd/y4 The printer prints JAN/15/2004. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
This example shows a typical label printed when using the U command with the following setup: • Memory cartridge loaded • Media with black marks • Two forms, two graphics, and five soft fonts loaded ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Specifies the desired reply character by its ASCII decimal value (0-255). If p is anything other than numerical characters or the value is 0, there is no Command Reply Accept character (default). ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Memory Cartridge Commands and Explanations Command Explanation NA 8 Cartridge not detected. 000 8 Cartridge detected, but no relevant information is found. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Remarks: The printer sends the number of forms stored and the name of each form to the host through the RS-232 or USB port. The UF command is executed directly without appending a Linefeed. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Also see “I - Character Selection” on page 84 “U- Print Configuration (General)” on page 115. Example: This example enables prompts from the host and returns the current code page. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Asian font file flag and used memory in kilobytes, where nnn = memory used in kilobytes for Asian font. Annn= Chinese traditional Bnnn = Chinese simplified Cnnn = Japanese Dnnn = Korean ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
UP Command Parameter Descriptions Parameter Description Image buffer size in kilobytes. Form memory allocation size in kilobytes. Form memory free in kilobytes. Graphic memory allocation size in kilobytes. Graphic memory free in kilobytes ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Remarks: Any or all parameters can be activated at the same time. Refer to Appendix A for information on error types. Parameters are saved in Flash memory. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
CR/LF, the next is one line with information on the font appended by CR/LF. V - Define Variable Purpose: Use this command to define variable data fields for use in stored forms. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 138
If the number of digits in the counter value is less than the number of digits defined by p , the area is padded with space characters. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Purpose: Use this command to enable/disable the Windows command mode (special applications only). Syntax: Wp W Command Parameter Descriptions Parameter Description Windows mode enable/disable: Y = Enables Windows mode. N = Disables Windows mode (default). ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Line thickness in dots. Horizontal end position (X) in dots. Vertical end position (X) in dots. Example: This example draws two boxes (A and B) on a label, see commands below: X50,200,5,400,20 X200,50,10,20,400 ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Syntax: Zp Z Command Parameter Descriptions Parameter Description Print orientation: T = Start printing from the top of image buffer (default). B = Start printing from the bottom of image buffer. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 143
A label printed using the command ZT EASYCODER PC4 Feed Direction A label printed using the command ZB Example: This example makes the printer print from the bottom of the image, see command below. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 144
Chapter 4 — ESim Commands ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
300 dpi (8 dots/mm) (Not Illustrated) Font Size (dots) Size (points) Characters/inch 12 x 20 16 x 28 18.75 20 x 36 24 x 44 12.5 48 x 80 6.25 ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
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/mm (203.2 dpi) printhead 11.81 mm (300 dpi) printhead ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 148
Chapter 5 — ESim Fonts ESim for the PC4 and PF8 Printers Programmer’s Reference 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 Code Page DOS 437 English (UK); Cmd I8,0,001 ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Error Handling This appendix explains the principles 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 colors to notify the operator of an error condition.
“ERR01” for example. The control LED changes to orange or red. Serial Port (RS-232 or USB) • Output on the serial line when an error occurs is dependent on the setup commands. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Error-Handling Commands This table lists and describes the error-handling commands. Error-Handling Commands Command Description US[A][B][E] Optional error reporting. No error reporting. User defined error/status character control. Error report - immediate Reset ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Power Off/ON or command Error. reset ^@. Dump mode. LED: green Feed button or command reset ^@ Pause mode. LED: blinks green and Feed button or command orange. ^B or ^C. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Flag for waiting on error recovery. Default value is <XOFF> = 0x13, but can be substituted with command eRp ,6,p where p is replacement of <XOFF> and where p is a replacement of <XON>. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Form or image not <NAK>09[XOFF 09<CRLF> found Printhead up (cover <NAK>11[XOFF 11<CRLF> open) LTS detection <NAK>13[XOFF 13<CRLF> waiting, peel pause. No form was retrieved <NAK>16[XOFF 16<CRLF> before “?<CRLF>” was entered. ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 175
BLNK <NAK>81[XOFF 81<CRLF> installed. Dump mode (after <NAK>89[XOFF 89<CRLF> auto-detection). Pause printing mode BLNK <NAK>92[XOFF 92<CRLF> GRN/ORA Autosensing mode <NAK>94[XOFF 94<CRLF> Download mode (not public use) Other errors <NAK>99[XOFF 99<CRLF> ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 176
Data length too long 51<CRLF> High motor temperature BLNK [XOFF] 61<CRLF> High printhead temperature BLNK [XOFF] 62<CRLF> Wait after default setup. [XOFF] 71<CRLF> Flashing not completed [XOFF] 72<CRLF> Download error [XOFF] 73<CRLF> ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 177
Cutter jammed or not installed. BLNK [XOFF] 81<CRLF> Dump mode (after auto- 89<CRLF> detection). Pause printing mode BLNK 92<CRLF> GRN/ORA Autosensing mode BLACK [XOFF] 94<CRLF> Download mode (not public use) Other errors [XOFF] 99<CRLF> ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...
Page 178
Chapter A — Error Handling ESim for the PC4 and PF8 Printers Programmer’s Reference Manual...