Intermec EasyCoder PC4 Programmer's Reference Manual

Intermec EasyCoder PC4 Programmer's Reference Manual

Esim
Hide thumbs Also See for EasyCoder PC4:
Table of Contents

Advertisement

Programmer's
Reference Manual
ESim for the PC4
and PF8 Printer

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EasyCoder PC4 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Intermec EasyCoder PC4

  • Page 1 Programmer’s Reference Manual ESim for the PC4 and PF8 Printer...
  • Page 2 Programmer’s Reference Manual ESim for the PC4 and PF8 Printer...
  • Page 3 Intermec Technologies Corporation. Information and specifications contained in this document 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.
  • Page 4 This page records changes to this document. The document was originally released as P/N 1-960629-00. Version Number 1-960629-03 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Date Description of Change 5/2007 Revised to include the PF8 Printer. 3/2008...
  • Page 5 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 6: Table Of Contents

    Commands ............12 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual .
  • Page 7 - Two-Dimensional Bar Codes, General Part ..... 48 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual ........17 .
  • Page 8 PF - Feed Media ..........97 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 9 ^@ - Reset Printer ........
  • Page 10 Error Response Tables ..........152 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 11 Contents ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 12: Before You Begin

    Global Services and Support Warranty Information To understand the warranty for your Intermec product, visit the Intermec web site at Returns and Repairs > Warranty. Disclaimer of warranties: The sample code included in this document is presented for reference only.
  • Page 13: Telephone Support

    Technical Support Service Service contracts • Ask about an existing 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 Location Support For the most current listing of service locations, click Support >...
  • Page 14: Who Should Read This Manual

    ESIM protocol and how to use it to generate bar code labels. Related Documents Document Title EasyCoder PC4 Bar Code Label Printer User’s Guide 1-960636-xx EasyCoder PF8d/PF8t Bar Code Label Printer User’s Guide The Intermec web site at documents (as PDF files) that you can download for free.
  • Page 15 Before You Begin To order printed versions of the Intermec manuals, contact your local Intermec representative or distributor. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 16: Introducing Esim

    Introducing ESim This chapter introduces the ESim protocol and explains the basic functions and modes of the ESim protocol. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 17: Understanding The Esim Protocol

    Chapter 1 — Introducing ESim Understanding the ESim Protocol ESim is a built-in protocol for use with Intermec bar code label printers. ESim enables any computer, terminal, scanner, or keyboard that can produce ASCII characters to control the printer. ESim is an alternative to Intermec InterDriver, which requires the Microsoft Windows operating system.
  • Page 18: Entering A Mode

    • Form Retrieve mode • Form Edit mode • Pause Printing mode When power is first applied to the printer, the printer looks for a startup form named AUTOFR, see page 74. If an AUTOFR form is found, it is executed in a loop. If no AUTOFR is found, the printer switches to Direct mode, which is the main operating mode of the ESim protocol.
  • Page 19: Dump Mode

    Dump mode. 2 The printer waits for ASCII dump printing. Once you have sent a string of characters or a label form to the printer, press the Feed key. 3 A printout is created containing all characters between ASCII 000 decimal and ASCII 255 decimal.
  • Page 20: Direct Mode

    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. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 1 —...
  • Page 21: 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...
  • Page 22: Memory

    The firmware has memory allocation for print image buffer, form, graphic, and external font memory. The first time the printer is used, it is automatically initialized to default settings. For help, see Flash memory is used to store information when the power is off.
  • Page 23: Field

    Variable text V00 Graphic The illustration shows how a label is printed and fed out using the default direction. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual “Command List” on page 11 Counter C1 PACKED 76532 NAME...
  • Page 24: Field Positioning

    (ZT). Y-axis Graphic field X650, Y050 Example of field positioning with a 203.2 dpi (8 dots per mm) printhead. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 1 — Introducing ESim Rotated text field X500, Y400 CODE...
  • Page 25: Printhead Density

    X-axis Y-axis Number of active dots Maximum print width Dot line to tear bar Dot line to cutter blade 256 dots ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Medium High 203.2 dpi 300 dpi (8 dots/mm) (11.81 dots/mm) 203.2 dpi...
  • Page 26: Command List

    Command List This chapter lists all commands available in the ESim protocol. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 27: Commands

    The tables below lists all commands available for the ESim protocol for the PC4 and PF8 printers. General Setup Commands Command Print Setup Commands Command ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description Character set selection Asian character spacing Character substitution Command reply accept character control...
  • Page 28 Store and Clean Commands Command Store and Clean Commands Command Form Commands Command ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 2 — Command List Description User-defined error/status character control Disable error reporting Enable error reporting Description...
  • Page 29 Chapter 2 — Command List Render Commands Command Print Engine Commands Command Information Commands Command ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description Print text Print standard bar codes Print two-dimensional bar codes Print graphics Reply graphics from print buffer...
  • Page 30 Information Commands (continued) Command High Priority Commands Command ^default ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 2 — Command List Description Enables prompts and code page inquiry Code page and memory inquiry Code page and memory inquiry printing...
  • Page 31 Chapter 2 — Command List ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 32: Setting Up The Printer

    Setting Up the Printer This chapter shows the default setup of the printer and provides an example of how to change the setup. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 33: Default Setup

    Print direction Default Printhead Settings Printhead Resolution 203.2 dpi printheads 300 dpi printheads ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Default Setting XOFF/XON-handling 8 bits, code page 0, country code 001 Enabled 136 dots at 203.2 dpi 204 dots at 300 dpi LTS, TT mode, reverse gap, and cutter disabled.
  • Page 34: Resetting Setup Parameters

    • The Feed key is held down for more than 3 seconds in Dump mode. • The printer’s firmware is upgraded using a firmware cartridge. Some commands may also affect the values of other commands. For example, if a configuration label is printed, the print direction is reset to ZT.
  • Page 35 Chapter 3 — Setting Up the Printer ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 36: Editing In Direct Mode

    Editing in Direct Mode This chapter provides an example of how to create a simple label in Direct mode. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 37: Example

    A24,160,0,5,1,1,R,“EASYCODER” A24,250,0,4,1,1,N,“MODEL: 501SA” 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” ESim for the PC4 and PF8 Printer Programmer’s Reference Manual “Autosensing Mode” on page Explanation CR/LF to start command structure. Clear image memory. Draw a box. Disable label taken sensor.
  • Page 38: Editing In Direct Mode

    Editing in Direct Mode This chapter provides an example of how to create a simple label using a form. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 39: Example

    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.
  • Page 40: Name The Form

    V01,10,L,“Enter Model number:” V02,8,N,“Checked by”:” Note: The text within the quotes are prompts which are sent from the printer to host when the label form is retrieved (serial communications only). ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 5 —...
  • Page 41: Define A Counter

    Sweden” in text size 1. The quotation marks enclosing the fixed data are not printed. The text size (1) is the smallest resident font in the printer. Command A40,400,1,1,1,1,N,“Made in Sweden” ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Explanation Define counter. Explanation Draw a box.
  • Page 42: Place Variable Text

    (C0). The first time this label form is retrieved for printing, the start value for this counter must be sent to the printer. The printer stores the value of the counter for this form and automatically continues to print the next value the next time this form is retrieved.
  • Page 43: Place A Bar Code With Fixed Data And A Counter

    (value 3 for wide bar definition is ignored). Command B280,440,0,1,2,3,96,B,“S”C0 Place Graphics The next line writes a graphic named “Intermec” from memory and positions it on the form. Command HH24,12,“LOGO” End Programming of This Form The closing command flags the end of form.
  • Page 44: Complete List Of The Example

    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 Printer Programmer’s Reference Manual Chapter 5 — Editing in Direct Mode Explanation CR/LF to start command structure. Delete any existing form named TEST. Start store form named TEST.
  • Page 45 Chapter 5 — Editing in Direct Mode ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 46: Retrieving And Printing A Form

    The variable data fields are manually populated with information by prompts on the host screen that instruct the operator to enter information. The last step is printing the label. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Retrieving and Printing a Form...
  • Page 47: Example

    Variables and counter start values must be defined, either by programming or by user input. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Explanation CR/LF to start command structure Retrieve form...
  • Page 48 To have the printer prompt the operator to enter data, use the serial interface for communication between printer and host and send a UI command after each power-up, as shown. Printer Prompt Command UI80,001 FR “TEST” Enter Product name: EASYCODER...
  • Page 49 All variable input data and counter values are stored in the volatile memory, which 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.
  • Page 50: Commands

    Each command is followed by a short description, the syntax for the command, an explanation of the parameters included in the syntax, and an example of how to use the command. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 51: Esim Commands

    ” are not supported and all backslash \ characters are printed as entered. • A trailing arrow line. • A leading arrow f indicates data continued from the previous line. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual indicates parameters, which are listed separately below Enter “\”” “\”ABC\”” “\\”...
  • Page 52: A - Printing Text

    Chinese GB, GB.24 Chinese BIG-5, Big5.24 Japanese, Japanese.24 Latin (PC4 only) ESim for the PC4 and PF8 Printer Programmer’s Reference Manual ,“DATA” 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 points (24 x 44 dots)
  • Page 53 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” Note: Font size 5 only supports uppercase characters, see example 5 in the label above. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 54 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 Printer Programmer’s Reference Manual Chapter 7 — Commands Description Prints the contents of the variable “ ” at this position, where n is a 2 digit number from 00-99.
  • Page 55 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 Printer Programmer’s Reference Manual 00001 00002 00003...
  • Page 56 = 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 Printer Programmer’s Reference Manual...
  • Page 57: B - Standard Bar Codes

    Rotation: 0 = No rotation 1 = 90° rotation clockwise 2 = 180° rotation clockwise 3 = 270° rotation clockwise Bar code select. See bar code on next page. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual “DATA”...
  • Page 58 N = Human readables OFF. “DATA” Represents a fixed data field. If empty, no part of the bar code is generated. i.e no start nor stop bars. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands “ ” “...
  • Page 59 When labels with consecutive numbers are printed next to each other across the web, it is done by using a single counter in a single form. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description Prints the contents of the variable “ ” at this...
  • Page 60 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 Printer Programmer’s Reference Manual...
  • Page 61: Bar Code 128 Family

    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 Printer Programmer’s Reference Manual...
  • Page 62: Code 128 With Manual Selection Of Subset

    Starts with Invocation in Text String output \” “ Char 06 Char 06 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Bar Code Manual C128 Selection Start A Start B Start C Bar code Bar code Bar code...
  • Page 63: B - Two-Dimensional Bar Codes, General Part

    Syntax: b Command Parameter Descriptions Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual , [Code specific options] Description Horizontal start position (x) in dots. Vertical start position (y) in dots.
  • Page 64: B - Ean/Ucc Composite-Code

    Presently, only EAN/UCC-128 with CC-C is supported. Syntax: b - EAN/UCC Command Parameter Description Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual ,o,x,y,s,1,[B,][P][F,]M,“Data Description Selection of bar code type (linear part and two-dimensional part) 1EC and EAN/UCC-128 with CC-C 0 = No rotation 1 = 90°...
  • Page 65 Chapter 7 — Commands b - EAN/UCC Command Parameter Description (continued) Parameter px, y, m ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description Bar height on two-dimensional composite part in dots. Minimum height is 2*x, nominal is 4*x.
  • Page 66 • 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 Printer Programmer’s Reference Manual Description Manually controlled Pipe character: Separator between data of linear and two-dimensional composite part.
  • Page 67: B - Data Matrix

    “DATA” Example: b40,80,D,5,”123456789012345678901234567890123456789 0123456789012345678901234567890 12345678901234567890” Data Matrix Command Example ESim for the PC4 and PF8 Printer Programmer’s Reference Manual “b - Two-Dimensional Bar Codes, for more information. ,“DATA”] Description Narrow bar from 1-15 Represents a fixed data field, maximum 125...
  • Page 68: B - Pdf417

    Codes, General Part” on page 48 Syntax: b - PDF417 Command Parameter Descriptions Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual “b - Two-Dimensional Bar for more information. ,[www,hhh,s,c,p,f,d,x,y,r,l,t,o],“DATA” Description Maximum print width in dots (3 digits).
  • Page 69 FGHIJK1234567890abcdefghijk” Note: The last parameter in the b command (l5) is lowercase L and the digit 5, not 15. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description Maximum column count, refer to PD417 specifications. Truncated flag: 0 = Not truncated.
  • Page 70: B - Qr Code

    Four levels of Reed-Solomon error correction: • L = 7% • M = 15% • Q = 25% • H = 30% ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands Model 1 Model 2 Original...
  • Page 71: Masking (Intrinsic)

    (indicated by the italicized characters, see General Part” on page 48 Syntax: Masking Parameter Descriptions Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual “b - Two-Dimensional Bar Codes, for more information. ,[cn,mn,on,sn,xn,ynn],“DATA” Description Fixed data mode character set:...
  • Page 72 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. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands Description Rotation: 0 = 0°...
  • Page 73: C - Counter

    Counters can only be used in the Form Edit mode, and not in the Direct mode. Syntax: C- Counter Parameter Descriptions Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual ,],“PROMPT” Description Counter number (0-9). Maximum number of digits for the counter (0-29).
  • Page 74 C- Counter Parameter Descriptions (continued) Parameter [--] “PROMPT” ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands Description Alphanumerical support (optional): N= Numerical support. Anything other than digit and leading spaces in DATA causes error 03.
  • Page 75 See the A and B commands. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual ) affects the way the counter = L, R, or C, the counter value is printed...
  • Page 76 A50,150,0,3,1,1,N,“Cnt Alpha, center justified :“C2”:” A50,200,0,3,1,1,N,"Cnt Alpha-num, not justified :“C3”:” ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands 0), space is A), space is incremented to letter A. Start Data Data after p4 =+1 Data after p4 =+2 “99”...
  • Page 77: Protect Counters

    5 Press the Form key. 6 Key in the form name and press Enter to retrieve. 7 Enter or modify the consecutive number. 8 When complete, print label to store new number in memory. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 78: C - Cut Immediate

    • Print speed. • Different brands of direct thermal media. • Different combination between transfer ribbons and receiving face materials. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands Description Density settings (0-15). Default is 10.
  • Page 79 Thermal Eco Thermal Top Board Thermal Eco Board Thermal IR Thermal Top High Speed Duratherm Lightning ESim for the PC4 and PF8 Printer Programmer’s Reference Manual “S - Speed Select” on Recommended Density at Speed S = 2 Maximum Speed...
  • Page 80: Ei - List Soft Fonts

    TTR High Gloss White Premium TTR High Gloss Polyester EI - List Soft Fonts Purpose: This command makes the printer print a list of all soft fonts that are stored in memory. Syntax: Remarks: This command is related to ES (Store Soft Fonts) and EK (Delete Soft Fonts).
  • Page 81: Ek - Delete Soft Font

    Syntax: EK[“name”|“*”] Remarks: Soft fonts are stored using the ES command and listed using the EI command. Soft fonts can also be deleted from the printer using a program such as Intermec LabelShop or Intermec InterDriver. Example: EK“a” EK“*” ES - Store Soft Font...
  • Page 82 ES Command Parameter Descriptions (continued) Parameter “data” ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands Description Character rotation using hexadecimal coding: 00 hex =0° and 180° 01 hex = 90° and 270° clockwise 02 hex = All four directions (2 pairs) Font height measured in dots and specified using hexadecimal coding.
  • Page 83 The data is the sent to the printer as a continuous string of hexadecimal byte representations in line order. Soft fonts can also be downloaded to the printer using Intermec LabelShop or Intermec InterDriver. Soft fonts can be listed using the EI command.
  • Page 84 Starting Point Starting Point These illustrations show how a character in 0° and 90° rotation is downloaded to the printer. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands Line 1: 00000000 01111100 00000000 = 00 7C 00...
  • Page 85: Er - User-Defined Error/Status Character Control

    UN has disabled status report. Syntax: eR Command Parameter Descriptions Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual ,[,p Description Reply error action single character when error occurs:...
  • Page 86: F - Cut Position

    This command is used to adjust the cutting position along the y- axis in relation to the media according to other characteristics of individual printers and batches of media. Syntax: ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands or R , where = number of remaining on mode 2.
  • Page 87: Fe - End Store Command

    (between two labels) according to the program before the liner is cut. Due to differences between batches of media, the printer may not cut exactly between labels, but either cut a slice at the last part of the printed label or a slice at the front part of next label.
  • Page 88: Fi - Print Form Information

    Example: FS“formname” FI - Print Form Information Purpose: This command makes the printer produce a list of all forms stored in memory. Syntax: 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.
  • Page 89: Fs - Form Store

    N, P, U, UE, UF, UG, UI, UM,UP, UN, US, Y, W, ?, or ^@ should not be used in a form store sequence. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description This is the form name used when the form was stored.
  • Page 90: Startup Form

    A special case of forms is the startup form, that is automatically retrieved and prompted for variables (if necessary) each time power is applied to the printer. A startup form is created by naming the form "AUTOFR". To exit the "AUTOFR" mode, send XOFF or NULL to the printer on the serial interface.
  • Page 91: Gi - Print Graphics Information

    This example prints the graphic “LOGO,” see command below: GG50,50,“LOGO” GI - Print Graphics Information Purpose: This command causes the printer to print a list of all graphics stored in memory. Syntax: Remarks: The GI command is executed directly without appending a Linefeed.
  • Page 92: Gm - Store Graphics In Memory

    Use it for graphics that are used frequently and do not change, such as the logo of your company. Compare with GW command. In a DOS system, the "DATA" portion can be sent to the printer via the parallel port using the DOS COPY command. Example: Assume you have a PCX file named LOGO.PCX in your current...
  • Page 93 Chapter 7 — Commands 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 The GI command can be used to verify that the graphic was successfully stored. If not, check that the .PCX file is in 1-bit (black and white) format and that the available graphics memory is large enough to accommodate the graphics.
  • Page 94: Grp - Reply Graphics From Print Buffer

    The result is the printout shown below: GRP - Reply Graphics From Print Buffer Purpose: This command is used to dump part of the printer buffer back to the host via the serial port. Syntax: GRPp GRP Command Parameter Descriptions...
  • Page 95: Gw - Store Graphics In Image Buffer

    SRAM. The firmware calculates exactly how much data to expect based ESim for the PC4 and PF8 Printer Programmer’s Reference Manual ,“DATA” Description X-position in printer dots Y-position in printer dots.
  • Page 96: I - Character Selection

    This command is used to select the proper character set. Syntax: I Command Parameter Descriptions Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description Number of data bits (7 or 8). Default is 8. Printer code page (1 digit, see table on next page).
  • Page 97 Chapter 7 — Commands Printer Code Page (p Printer Code Page (p ESim for the PC4 and PF8 Printer Programmer’s Reference Manual ) for 7 Data Bits (p Language English (US) English (UK) German French Danish Swedish Swiss ) for 8 Data Bits (p...
  • Page 98 135. Example: To select an 8 bit character set for use in Sweden with a Keyboard display unit, see the command below: I8,1,0486 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands Country U.S.A Canada...
  • Page 99: I - Asian Character Spacing

    For help, see page 37. Syntax: Example: To select 8 dot spacing between Asian characters, use the command below: ESim for the PC4 and PF8 Printer Programmer’s Reference Manual i Command Parameter p set to 0 (default) 1 Character 1 Character...
  • Page 100: Jb - Disable Top Of Form Backup

    Top of form backup cannot be used if the printer has the optional cutter installed. To disable top of form backup, send an O command followed by a JB command.
  • Page 101: J - Media Feed Adjustment

    Do not use extremely small or large values for the j command as such values may cause the printer to feed or pull back the media continuously. The extra media feed set by the j command can be enabled or disabled using JF and JB “Top of Form Backup”...
  • Page 102: Le - Line Draw Exclusive

    Syntax: LF Command Parameter Descriptions Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description Horizontal start position (X) in dots. Vertical start position (Y) in dots. Horizontal length in dots Vertical length in dots Chapter 7 —...
  • Page 103: Lo - Line Draw Black

    This command is used to draw black lines, overwriting previous information. Syntax: LO Command Parameter Descriptions Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Line B Description Horizontal start position (X) in dots. Vertical start position (Y) in dots.
  • Page 104: Ls - Line Draw Diagonal

    This command is used to draw diagonal black lines overwriting previous information. Syntax: LS Command Parameter Descriptions Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Line A Line B Description Horizontal start position (X) in dots. Vertical start position (Y) in dots.
  • Page 105: Lw - Line Draw White

    This command is used to draw white lines, effectively erasing previous information. Syntax: LW Command Parameter Descriptions Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description Horizontal start position (X) in dots. Vertical start position (Y) in dots. Horizontal length in dots.
  • Page 106: Memory - Memory Allocation

    This command is used to select the memory allocation used by the printer for data storage. Note: This command only works with the PF8t or a printer that has ESim version 7.00 or greater with a CF card option installed.
  • Page 107: N - Clear Image Buffer

    Chapter 7 — Commands Memory Command Parameter Descriptions Parameter Example: UM150000,2048,0,0,0,0,0,0,UI80,001 Now, insert a 256 MB CF card into the printer and type: UM150,249912,0,0,0,0,0,0,0,UI80,001 N - Clear Image Buffer Purpose: This command is used to clear the image buffer before building a new image.
  • Page 108: S - Reverse Gap Sensing Enabled

    N - Label Taken Sensor Disable When the label taken sensor is enabled, the communication to the printer is blocked as long as the sensor detects a label in the feed out slot. This command does not work with a cutter; if a cutter kit is fitted on the printer, use ON to disable the sensor.
  • Page 109: Or - Character Substitution

    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 Printer Programmer’s Reference Manual DT/TTR LTS (N) Mode (D) Enable...
  • Page 110: P - Print

    • affects a single character on all code pages. Changing the character position restores the original character. • Flash memory printer parameter data is preserved until changed by the oR command, or the printer is reset to default. Example: oRE,128...
  • Page 111: Pa - Print Automatic

    This command is used in a stored form sequence to automatically print the form as soon as all variable data has been supplied. Syntax: PA Command Parameter Descriptions Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual P2,2 Label No. 1 Label No. 2 Label No. 3 Label No.
  • Page 112: Pf - Feed Media

    The PA command follows the same principles. The PA command can only be used with forms containing at least one variable (see V command). If there is no variable in the form, the printer enters an endless loop and prints continuously. Example: FK“TEST6”...
  • Page 113: Q - Set Form Length (Gap Or Slot)

    Example 1: The following command feeds the media forward 360 steps, make the printer detect a gap/black mark before the next print job, and cause a delay of 3 seconds after the feed. The red LED blinks during the delay.
  • Page 114: Gaps And Slots

    • through a hole in the media. 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.
  • Page 115: Continuous Stock

    In case of continuous stock, parameter p media feed performed after the actual print image has been printed. Continuous stock is selected by setting parameter p Be careful not having the printer loaded with continuous stock when entering Dump mode or an error occurs. Example 1: Rectangular label (203.2 dpi = 8 dots/mm printhead):...
  • Page 116: Q - Set Form Length (Black Mark)

    Syntax: Q Command Parameter Descriptions Parameter ± ESim for the PC4 and PF8 Printer Programmer’s Reference Manual PRINT DIRECTION [±p Description Distance between black marks measured in dots.
  • Page 117 The sensor is located slightly to the right of 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 black marks. Example 1: On this tag, the black marks are printed on the perforation in a 203.2 dpi (8 dots/mm) printer:...
  • Page 118: Q - Set Label Width

    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. = 31 mm (248 dots) = 7.0 mm (56 dots) = 17 mm (136 dots) The Q command would be:...
  • Page 119: R - Set Reference Point

    The reference point command is used to establish top and left margins to prevent printing off the edge of the label. A minimum margin of 1 mm should be used on all sides of the label. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual ) is lost. q1232 Description Horizontal (left) margin measured in dots.
  • Page 120 The print direction commands ZB, and ZT affect the location of the reference point, as illustrated below. Example: This example shows creates a 50 dot left margin on a label, see command below: R50,100 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands...
  • Page 121: R - Set Relative Reference Point

    The print direction commands ZB and ZT affect the location of the relative reference point as illustrated. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description Horizontal (left) margin measured in dots. Default is 000.
  • Page 122: S - Speed Select

    Example: This example shows how to set the print speed to 500 mm/sec (2 in/sec). ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands Notes Speed select value: 0 = 30 mm/sec (1.2 in/sec).
  • Page 123: Sa - Setup Adjust

    Example: This example shows how to ignore all setup commands within a form. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description Setup adjust value: 0 = All commands remain active and values are saved when changed.
  • Page 124: Spc - Setup Print Copy

    TD - Define Date Format Purpose: This command is used to define the date format when printing. Syntax: ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description Setup Print Copy value: 0 = Media feeds as usual when the Feed key is pressed (default).
  • Page 125 Chapter 7 — Commands TD Command Parameter Descriptions Parameter Remarks: This command works only if the printer is fitted with an optional real-time clock circuit (RTC). Example 1: If the current date is January 15, 2004: TDy2/me/dd The printer prints 04/JAN15.
  • Page 126: Ts- Set Real-Time Clock

    Syntax: TS Command Parameter Descriptions Parameter Remarks: This command works only if the printer is fitted with an optional real-time clock circuit (RTC). Example: This example sets the date to JAN 15,2004 and the time to 12:45:23 p.m.
  • Page 127: Uc - Command Reply Accept Character Control

    UC - Command Reply Accept Character Control Purpose: This command specifies a prompt acknowledge character 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.
  • Page 128: Udc - Memory Cartridge Information (Pc4 Only)

    Memory Cartridge Commands and Explanations Command 001-004 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands saves in Flash. Reply Explanation >...
  • Page 129: Ue - Soft Font Information Inquiry

    Syntax: Remarks: The printer sends the number of soft fonts and the name, height, and direction of each soft font through the RS0232 or USB port. The UE command is executed directly without appending a Linefeed.
  • Page 130: Ui - Enable Prompts/Code Page Inquiry

    Linefeed. UI - Enable Prompts/Code Page Inquiry Purpose: This command causes the printer to enable prompts 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:...
  • Page 131 Memory Inquiry Print” on page Example: This example returns the current code page: UM1050,998.0,8.3,40,1,37,2 UI80,001,B581 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description Image buffer size in kilobytes. Total user Flash memory size for [Form + Graphic + External font + Asian font] in kilobytes including decimals.
  • Page 132: Un - Disable Error Reporting

    Remarks: Cancels US command. UP - Code Page and Memory Inquiry Print Purpose: This command causes the printer to print and send the currently selected code page, and memory status to the host through the RS-232 or USB port. Syntax: The printer: •...
  • Page 133: Us - Enable Error Reporting

    Erroneous command type A (syntax error). <NAK>01Q Print image buffer with error 01, Direct recovery error 01 (type A) and continue. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Description If any error of type A occurs, the printer attempts to directly recover and continue in normal mode with no stop for recovery.
  • Page 134: Usr - Read Serial Number

    This command is used to define variable data fields for use in stored forms. Syntax: V Command Parameter Descriptions Parameter Description ESim for the PC4 and PF8 Printer Programmer’s Reference Manual ,“PROMPT”. Variable reference number (00-99). A maximum total of 1500 bytes of data for all variables is allowed.
  • Page 135 V02,10,C,"Variable 02" V03,10,N,"Variable 03" A50,50,0,3,1,1,N,"TEXT"V00":Left justified" A50,100,0,3,1,1,N,"TEXT"V01":Right justified" ESim for the PC4 and PF8 Printer Programmer’s Reference Manual A double leading minus sign in the prompt field caused the prompt to be suppressed (Keyboard Display Unit only). Display Unit via the serial interface each time this command is executed.
  • Page 136: W - Windows Mode

    This command is used to draw a box shape. Syntax: ,p2,p3,p4,p5 X Command Parameter Descriptions Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 7 — Commands Description Windows mode enable/disable: Y = Enables Windows mode. N = Disables Windows mode (default).
  • Page 137: Y - Serial Port Setup

    This command is used to establish the communication parameters of the serial RS-232 port. Syntax: Y Command Parameter Descriptions Parameter ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Box B Description Baud rate: 19 = 19,200 baud 96 = 9,600 baud...
  • Page 138: Z - Print Direction

    RS-232 communication port. There are no such parameters for the USB port. By default, the printer is set for 9600 baud, no parity, 8 data bits, 1 stop bit. XON/XOFF handshaking is always used. The printer sends XOFF when an error occurs.
  • Page 139 A label printed using the command ZT. 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 Printer Programmer’s Reference Manual “R - Set Reference Point”...
  • Page 140: Download Variables

    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. • the command must be followed by CR/LF to be correctly interpreted. • the reset command is only available during command input, that is, not as data in PCX graphics, soft fonts, or in format forms.
  • Page 141: A - Enter Pause Printing Mode

    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 the printer to print 4 copies. At command ^A, the printing is paused and continued again at command ^C.
  • Page 142: B - Break Batch Printing

    UCnn 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,40 ^C - Exit Pause Printing Mode...
  • Page 143: D - Remaining Labels

    This command can only be sent via the RS-232 or USB ports. Example: This example renders a box and orders the printer to print 4 copies. At command ^A, the printing is paused and interrogated for remaining number of labels. Printing is continued again at command ^C.
  • Page 144 Command must end with <CR> or <LF> to be correctly executed. The printer replies to the host via 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>...
  • Page 145 <NAK>11<XOFF> 01,11<CR><LF> Close cover <XON>1-972600-33, <NAK>01<XOFF> Press Feed key <XON> ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Comments Enables error reporting. Command sent with syntax error (01). Manual action to generate error (11). Printer enters recovering state.
  • Page 146: Fonts

    Fonts This chapter lists the printer-resident fonts and illustrates the various font sizes. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 147: Resident Fonts

    Character Selection” on page 81 203.2 dpi (8 dots/mm) (Illustrated in Chapter 8 and 9) Font 300 dpi (8 dots/mm) (Not Illustrated) Font ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Size (dots) Size (points) 8 x 12 10 x 16...
  • Page 148: 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/mm (203.2 dpi) printhead 11.81 mm (300 dpi) printhead ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Chapter 8 — Fonts...
  • Page 149 Chapter 8 — Fonts ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 150: Code

    This chapter contains tables of the characters available in the various code pages for the printer-resident fonts. For more help, “I - Character Selection” on page Note: When using 7-bit communication, only the characters between ASCII 0 decimal and ASCII 127 decimal can be used.
  • Page 151: Printout Samples

    For more help, see Text” on page Code Page DOS 437 English (UK); Cmd I8,0,001 Code Page DOS 850 Multilingual (Latin 1); Cmd I8,1,001 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual “A - Printing...
  • Page 152: Code Page Dos 852 Latin 2 (Cyrillic Ii/Slavic); Cmd I8,2,001

    Chapter 9 — Code Pages Code Page DOS 852 Latin 2 (Cyrillic II/Slavic); Cmd I8,2,001 Code Page DOS 860 Portuguese; Cmd I8,3,001 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 153: Code Page Dos 863 Canada (French); Cmd I8,4,001

    Chapter 9 — Code Pages Code Page DOS 863 Canada (French); Cmd I8,4,001 ƒ Code Page DOS 865 Norway; Cmd I8,5,001 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 154: Code Page Dos 857 Turkish; Cmd I8,6,001

    Chapter 9 — Code Pages Code Page DOS 857 Turkish; Cmd I8,6,001 Code Page DOS 861 Icelandic; Cmd I8,7,001 ƒ ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 155: Code Page Dos 862 Hebrew; Cmd I8,8,001

    Chapter 9 — Code Pages Code Page DOS 862 Hebrew; Cmd I8,8,001 Code Page DOS 855 Cyrillic; Cmd I8,9,001 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 156: Code Page Dos 866 Cyrillic; Cmd I8,10,001

    Chapter 9 — Code Pages Code Page DOS 866 Cyrillic; Cmd I8,10,001 Code Page DOS 737 Greek; Cmd I8,11,001 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 157: Code Page Dos 841 Greek 1; Cmd I8,12,001

    Chapter 9 — Code Pages Code Page DOS 841 Greek 1; Cmd I8,12,001 Code Page DOS 869 Greek 2; Cmd I8,13,001 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 158: Code Page Windows 1252 Latin 1; Cmd I8,A,001

    Chapter 9 — Code Pages Code Page Windows 1252 Latin 1; Cmd I8,A,001 Code Page Windows 1250 Latin 2; Cmd I8,B,001 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 159: Code Page Windows 1251 Cyrillic; Cmd I8,C,001

    Chapter 9 — Code Pages Code Page Windows 1251 Cyrillic; Cmd I8,C,001 Code Page Windows 1253 Greek; Cmd I8,D,001 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 160: Code Page Windows 1254 Turkish; Cmd I8,E,001

    Chapter 9 — Code Pages Code Page Windows 1254 Turkish; Cmd I8,E,001 Code Page Windows 1255 Hebrew; Cmd I8,F001 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 161: Code Page In Dump Mode

    Chapter 9 — Code Pages Code Page In Dump Mode  ESim for the PC4 and PF8 Printer Programmer’s Reference Manual...
  • Page 162: 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.
  • Page 163: Error Handling Principles

    The firmware is able to handle a number of error conditions. Code numbers represent the different error cases. The printer controls output of the error code and its format and waits until the error recovery is performed for each error code.
  • Page 164: Parallel Port

    12 to an active state. Error Recovery/Output When an error occurs, the printer typically enters a waiting loop and waits for the operator to handle the error. During this “Error Waiting Loop” only the commands ^ee and ^@ can be executed.
  • Page 165: Error Types

    Status changes. Unrecoverable Error. Dump mode. Pause mode. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual 152. Generates At error reporting (command US): Sets error on print command and sets the orange or red LED.
  • Page 166: Error Response Messages

    Command eRF,6,N substitutes at error reply <XOFF> with the character “F,” and at error recovery <XON> with the character “N.” ESim for the PC4 and PF8 Printer Programmer’s Reference Manual “Error Response Tables” on page Description Referred error number divided in code and type.
  • Page 167: Error Response Tables

    Rnnn = Number of remaining labels. Does not fit in area specified. Data length too long High motor temperature ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Serial <NAK>01[XOFF] 01<CRLF> <NAK>02[XOFF] 02<CRLF> <NAK>03[XOFF] 03<CRLF> <NAK>04[XOFF] 04<CRLF> <NAK>05[XOFF] 05<CRLF>...
  • Page 168 Insufficient memory to store data GRN Memory configuration error Out of media, marked with Pnnn = Number of remaining labels. Form or image name duplicate. ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Appendix A — Error Handling Serial BLNK <NAK>62[XOFF] 62<CRLF>...
  • Page 169 Cutter jammed or not installed. Dump mode (after auto- detection). Pause printing mode Autosensing mode Download mode (not public use) Other errors ESim for the PC4 and PF8 Printer Programmer’s Reference Manual Response to Serial Command ^ee 09<CRLF> [XOFF] 11<CRLF> 13<CRLF>...
  • Page 170 Worldwide Headquarters 6001 36th Avenue West Everett, Washington 98203 U.S.A. tel 425.348.2600 fax 425.355.9551 www.intermec.com ESim for the PC4 and PF8 Printer Programmer’s Reference Manual *937-011-002* P/N 937-011-002...

This manual is also suitable for:

Pf8

Table of Contents