Intermec EasyCoder PD4 Programmer's Reference Manual

Esim v5.12 bar code label printer
Hide thumbs Also See for EasyCoder PD4:
Table of Contents

Advertisement

Programmer's
Reference Manual
ESim v5.12 for
EasyCoder® PD4
Bar Code Label
Printer

Advertisement

Table of Contents
loading

Summary of Contents for Intermec EasyCoder PD4

  • Page 1 Programmer’s Reference Manual ESim v5.12 for EasyCoder® PD4 Bar Code Label Printer...
  • Page 2 The information contained herein is proprietary and is provided solely for the purpose of allowing customers to operate and service Intermec- manufactured equipment and is not to be released, reproduced, or used for any other purpose without written permission of Intermec.
  • Page 3: Table Of Contents

    Default Setup ... 14 Example ... 15 Editing in Direct Mode Example..18 Editing in Form Edit Mode Example..20 Retrieving and Printing a Form Example..26 Commands Syntax... 30 ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 4 N – Clear Image Buffer ... 85 O – Options Select ... 86 oR – Character Substitution ... 88 P – Print ... 89 PA – Print Automatic ... 90 PF – Feed Media ... 91 ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 5 ^default – Restore Factory Default ... 125 ^ee – Immediate Error Report ... 126 Fonts Resident Fonts ... 129 Font Sizes 1-5 ... 130 Code Pages and Character Sets Printout Samples ... 133 ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 6 Error-Handling Error-Handling Principles ... 149 Error Types ... 151 Error Replies ... 152 ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 7: General Information

    General Information This chapter explains the basic functions and modes of the ESim v5.12 protocol and helps understanding the more comprehensive explanations in the other chapters in this manual. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 8: Introduction

    RS-232 channel, the parallel Centronics channel, or the USB channel. Note that EasyCoder PD4 has a flash memory for forms and graphics, which requires special consideration. Avoid storing frequently changing data in flash (see GM and GW commands in Chapter 7) and use printer drivers developed for EasyCoder C4 and PD4.
  • Page 9: Test Label

    The best way to start programming is to find out how the printer is set up. If you have an EasyCoder PD4 with a display, you can browse the Setup Mode and see some parameters, but the most comprehensive infor- mation is obtained by printing the test labels.
  • Page 10: Dump Mode

    • Hold down the Feed key and turn on the power again. • Keep on holding Feed key for more than 2 seconds. • Send a string of characters or a label form to the printer and tap the Feed key to produce a printout. Dump mode will also print control characters, see character set table on at the end of Chapter 9.
  • Page 11: Form Edit Mode

    CR (carriage return) sent in a CR/LF sequence will be ignored. CR alone will not work. Refer to Chapter 2 for a list showing for which purposes the various com- mands can be used. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 12: Field

    PACKED Variable Text V00 Graphic The illustration shows how a label is printed and fed out when using the default direction. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Counter C1 76532 EASYCODER SERIAL Feed Direction...
  • Page 13: Field Positioning

    However, the entire print image can be rotated 180°. The illustration below shows coordinates for the default print direction (ZT). ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter 1—General Information Medium 203.2 dpi (8 dots/mm) 203.2 dpi (8 dots/mm)
  • Page 14 Chapter 1—General Information X-axis Graphic Field X650;Y050 Example of field positioning when using an 203.2 dpi (8 dots per mm) printhead. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Rotated Text Field X500;Y400 TEXT Print Width 104 mm (832 dots) Feed...
  • Page 15: Commands List

    Commands List This chapters lists which commands can be used in the Direct Mode and the Form Edit Mode respectively. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 16: Direct Mode

    Chapter 2—Commands List Direct Mode Setup Commands Used to set up the printer globally, that is, affect both the Direct Mode and Forms. Density User-Defined Error/Status Character Control Cut Position Character Set Selection Asian Character Spacing Disable Top of Form Backup Enable Top of Form Backup Media Feed Adjustment Options Select Character Substitution Set Form Length Set Label Width Set Reference Point Set Relative Reference Point Speed Select Setup Adjust SPC Setup Print Copy...
  • Page 17 Print Feed Media Download Variables Report Commands Return information on serial channel and/or produce printed informa- tion. List Soft Fonts Print Form Information Print Graphics Information GRP Reply Graphics from Printer Buffer Print Configuration Soft Fonts Information Inquiry Form Information Inquiry Graphics Information Inquiry Enable Prompts/Code Page Inquiry Code Page & Memory Inquiry Code Page & Memory Inquiry/Print Product Identity and Asian Font Types ^ee Immediate Error Report ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter 2—Commands List...
  • Page 18: Form Edit Mode

    Will affect the global setup after printing a form including such a com- mand. Density Set Form Length Set Reference Point Speed Select Print Direction Editing Commands Used to edit forms. Print Text Print Standard Bar Code Print Two-Dimensional Codes Counter FE End Form Store Form Store Print Graphics Line Draw Exclusive Line Draw Black Line Draw Diagonal Line Draw White Print Automatic Define Variable Draw Box ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 19: Setting Up The Printer

    Setting Up the Printer This chapter shows the default setup of the printer and gives an example of how to change the setup. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 20: Default Setup

    TTh:m:s Time Format Reply character Error Handling Windows Mode Y96,N,8,1 Serial Port Print Direction Printhead Resolution Measures 203.2 dpi printheads 203.2 dpi (8 dots/mm) in both directions 300 dpi printheads 300 dpi (11.81 dots/mm) across the media path 304.8 dpi (12 dots/mm) along the media path The setup will be reset to default values if the Cancel key is pressed more than 3 seconds in the Dump Mode. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Meaning XOFF/XON-handling 8 bits, code page 0, country code 001 Enabled 136 dots (at 203.2 dpi) 204 dots (at 300 dpi) LTS disabled, DT mode, reverse gap disabled, cutter disabled No substitution Continuous mode, print gap 24 dots 832 dots (at 203.2 dpi) 1208 dots (at 300 dpi) X:000;Y000 75 mm/sec. (3 inches/sec.) For example JAN/15/2004...
  • Page 21: Example

    (see q command) will be changed. Example Let us assume that we will use an EasyCoder PD4 for direct thermal printing. We will print full width Thermal Top labels in the peel-off mode without using the label taken sensor. The default communication setup and character set are acceptable.
  • Page 22 Chapter —Setting Up the Printer ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 23: Editing In Direct Mode

    Editing in Direct Mode This chapter gives an example of how to create a simple label in the Direct Mode. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 24: Example

    B280,440,0,1,2,3,96,B,"S 000001"↵ GG24,12,"LOGO"↵ P2↵ /. The Intermec logotype is not included in the software package and is only included in the example to demonstrate how to print a graphics field. You can substitute it with any graphics of approximately the same size.
  • Page 25: Editing In Form Edit Mode

    This chapter gives an example of how to create a simple label in the Form Edit Mode. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Editing in Form Edit Mode...
  • Page 26: Example

    It also means that we can use counters and variables. When we are finished, the label will look like this on an EasyCoder PD4 with a 200 dpi printhead: /. The Intermec logotype is not included in the software package and is only included in the example to demonstrate how to print a graphics field.
  • Page 27 V00 and C0. If variable data is being sent from an external data base, omit the text between the quotes and replace with a space character, for example ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter 5—Editing in Form Edit Mode Explanation...
  • Page 28 Place a Variable Text The next line is a text line, using text size 5 in reverse and prints the vari- able V00. The data printed in this field must be sent to the printer at the time of form retrieval.
  • Page 29 The printer will use the value for the narrow bar to define the bar code. (Value 3 for wide bar definition is ignored.) Command B280,440,0,1,2,3,96,B,"S"C 0↵ Place Graphics The next line writes a graphic named "Intermec" from memory and posi- tions it on the form. Command GG24,12,"LOGO"↵ End Programming of this Form The closing command that flags the end of form, see the full program list- ing later in this chapter.
  • Page 30 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↵ Write text, fixed data + 3:rd variable A24,312,0,4,1,1,N,"SERIAL#: "C 0↵ B280,440,0,1,2,3,96,B,"S"C 0↵ GG24,12,"LOGO"↵ FE↵ ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Explanation CR/LF to start command structure Delete current form named TEST Start store form named TEST Define 1:st variable Define 2:nd variable Define 3:rd variable Define counter Draw a box Draw a line Draw a line Write a 90˚ text line of fixed data Write 1:st variable text field Write text line, fixed data + 2:nd variable Write text line, fixed data + 1:st counter Write barcode, fixed data + 1:st counter...
  • Page 31: Retrieving And Printing A Form

    The variable data fields are manually provided with information after the operator has been prompted to do so on the screen of the host. Finally, the operator orders a label to be printed. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Retrieving and Printing a Form...
  • Page 32: Example

    In this example we have manually substituted variables for testing pur- poses. Note: It is critical to the syntax to send exactly the same number of variable lines as defined for this label form. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Explanation CR/LF to start command structure Retrieve form...
  • Page 33 Enter Product name: EASYCODER↵ Enter Model number: 501SA↵ Checked by: Dan↵ Enter SERIAL#: 100001 100000↵ Number of labels sets P1↵ Copies of each label 2↵ /. The font selected in this example allows uppercase characters only. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Retrieving and Printing a Form Explanation CR/LF to start command structure Enable prompts command (optional) Printer returns code page status Retrieve form Call for variables Substitute variable V001 Substitute variable V01 Substitute variable V02 Reset, accept, or enter2 counter start value C0 Prompt Ignore...
  • Page 34 Once a form has been retrieved, it can be used over and over again until another form is retrieved. All variable input data and counter values are stored in the volatile memory, which means they will be lost if the printer is switched off or at a power failure. If prompts are enabled, existing data and counter values will be displayed on the screen after the related prompt.
  • Page 35: Commands

    For each command, a short description is given, followed by the syntax for the command and an explanation the of parameters included in the syntax. Examples of how to use the commands are also given. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 36: Syntax

    Indicates a linefeed character (LF; ASCII 10 dec.), also see Commands in Chapter 1. • <name> Alternative method for writing unprintable ASCII characters, for example = ASCII 06 dec. <ACK> ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual enter: " \" " enter: " \"ABC\" " enter: " \\ " enter:...
  • Page 37: A - Print Text

    - Chinese BIG-5 Big5.24 - Japanese - Latin a–z Soft Fonts Horizontal multiplier 1, 2, 3, 4, 6, 8. Vertical multiplier 1, 2, 3, 4, 5, 6, 7, 8, 9. N Normal image R Reverse image "DATA" Represents a fixed data field. When using Asian double-byte fonts, specify both bytes as ASCII decimal values, starting with the first value being larger than ASCII 127 dec (ASCII 7F hex), or below ASCII 127 (ASCII 7F hex) decimal to specify a Latin character. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual ,"DATA" Korean.24 GB.24 Japanese.24 Chapter —Commands 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) 6.25 cpi, 21 points (48 x 80 dots) (24 x 24 dots in double-byte) (24 x 24 dots in double-byte)
  • Page 38 When labels with consecutive numbers are printed next to each other across the media, it is done by using a single counter in a single form. The command Cn±x in our example will be used twice and count ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 39 00001 Time: TT+nnn Prints “sell by” time. Adds nnn number of minutes TD+nn ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual 00002 Prints the current time at this position in the pre- defined format. See the TT command for format selection. This command is only available if a Real Time Clock is installed.
  • Page 40 :Writes the text “Deluxe” + the contents of variable 01 + the contents of counter 2 + the text “Combo” + the current date + the contents of variable 01 + by the current time ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 41 To create inter-character spacing for Asian fonts, use the i command. Latin Characters Total character width Character width (8 dots) White dots (character spacing) Asian Characters Total character width (24 dots) ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 42 Text Object Point of Origin for Text Object Point of Origin for Text Object Feed direction ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Horizontal dots No Multiplier 2x2 Multiplier 3x3 Multiplier Point of Origin for Text Object Rotated 270° (p...
  • Page 43: B - Standard Bar Codes

    Postnet 5, 6, 8 & 11 digit 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 Wide bar width in dots (2 -30). Barcode height in dots. B Human readables ON. N Human readables OFF. "DATA" Represents a fixed data field. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual ,"DATA"  Chapter —Commands "p " "p " 1-10 1-10 1-10 1-10 1-10 1-10 E80 E82 E85...
  • Page 44 (1) in each position (last two B-command lines). Set the Form Step Value p4 to +3 for the counter Cn used in our example (see the C-command line). Also refer to “C command – Counter”. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 45   B50,650,0,3,2,6,100,B,TD↵   FE↵ ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Prints the current time at this position in the pre- defined format. See the TT command for format selection. This command is only available if a Real Time Clock is installed.
  • Page 46 By invok- ing special control characters in the data string, it is possible to switch between subsets or other special cases inside the symbol, see table below. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 47 Starts with ► Invocation in Text Out- String ▼ put▼ \" " Char 06 Char 06 ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Bar Code Manual Selection Start A Start B Start C Bar Code Bar Code Bar Code Output▼...
  • Page 48: B - Two-Dimensional Bar Codes, General Part

    Syntax  Parameters Horizontal start position (X) in dots. Vertical start position (Y) in dots. Code type: D Selects Data Matrix M Selects MaxiCode P Selects PDF417 Q selects QR Code [code specific options], see the following two pages. The standard program packages contains all the two-dimensional Remarks bar code mentioned above. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual ,[code specific options]...
  • Page 49: B - Maxicode

    Only mode 2 and 3 are supported. Syntax  Parameters Class Code (3 digit number). Country Code (3 digit number). Postal Code (type of input decides mode 2 or 3): Mode 2: U.S.A. (5 digits, 4 digits). Note the separating comma sign! Mode 3: International (6 alphanumeric characters). LPM Low Priority Message (up to 84 alphanumeric characters). Example N↵   b100,100,M,"300,400,93065,1692,This is→ →MaxiCode"↵     P1↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual ,["CL,CO,PC,LPM"]      Chapter —Commands...
  • Page 50: B - Pdf417

    Maximum c olumn c ount ( refer t o P DF 4 17 s pecifications). N ote t hat t his c haracter is lowercase L (ASCII 108 dec.). Truncated flag: Rotation: "DATA" Represents a fixed data field. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual ,[www,hhh,s,c,p,f,d,x,y,r,l,t,o],"DATA" Selects auto-encoding (default). Selects binary mode. horizontal start location (3 digits). vertical start location (3 digits).
  • Page 51 (max. row count), error condition 50 will also occur. ↵ Example    N↵   b40,40,P,400,300,p40,340,20,f1,x3,y10,r60,→ →l5,"ABCDEFGHIJK1234567890abcdefghijk"↵   P1↵ Note: The last parameter in the b command above (l5) is lowercase L + the digit 5, not 15! ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands...
  • Page 52: B - Data Matrix

    (indicated by italic characters, see b command, general part). Syntax  Parameters Narrow bar from 1 to 15. "DATA" Represents a fixed data field, maximum 125 characters long. N ↵ Example    b40,80,D,5,"123456789012345678901234567890→ →1234567890123456789012345678901234567890→   →12345678901234567890" ↵   P1 ↵    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual ,"DATA"]     ...
  • Page 53: B - Qr Code

    This enables the ratio of dark to light modules in the symbol to be approximated to 1:1 whilst minimizing the occurrence of arrangements of close modules which would prevent efficient decoding. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands Model 1 Model 2...
  • Page 54 If data not suitable to optional parameters: Error 01; Syntax error Errors If data too long or out of range: If data does not fit in area specified ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual ,[cn,mn,on,sn,xn,ynn],"DATA" Model 1 Most optimal alternative of c1 to c4 Model 2 0° rotation clockwise. Default.
  • Page 55 Example  N↵ b40,40,Q,sM,x1,"ABCDEFGHIJKLMNOPQRSTUVWHYZ→ 123456789012345678901234ABCDEFGHIJKLMNOPQR→ STUVWHYZ1234"↵   P1↵ ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands...
  • Page 56: C - Counter

    "PROMPT" An A SCII t ext fi eld t hat w ill b e t ransmitted t o t he K eyboard D isplay U nit o r h ost 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 v5.12 for EasyCoder PD4—Programmer’s Reference Manual ,]"PROMPT" 0 → 9 A →...
  • Page 57 1. If next position is a letter with wrap around (Z→A), space will be incrementred to letter A. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual ) affects the way the counter = L, R, or C, the counter value will (number of digits).
  • Page 58 FR"TEST5"↵   ?↵   A9↵    99↵    ZZ9↵    ZZ9↵   P3↵ ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Start Data Data after p = +1 → "100" → "999" "000" → " A9" " B0" → " Z9"...
  • Page 59 4 Press the <Form> key. 5 Key in Form name and press <Enter> to retrieve. 6 Enter or modify the consecutive number. 7 When complete, print label to store new number in memory.   ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands...
  • Page 60: C - Cut Immediate

    C (Cut Immediate) can not be used inside a form or in connec- tion with a keyboard/display unit (KDU). To perform self-cleaning of the cutter blade, issue five consecu- tive C commands without any media loaded. Example  C↵    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual :Performs a cutting cycle...
  • Page 61: D - Density

    Test after the print speed has been set (see S command) and make further adjustments until you have found the settings which best apply to your unique application. Example  D9↵    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands :Selects density 9...
  • Page 62: Ei - List Soft Fonts

    Chapter —Commands EI – List Soft Fonts This command makes the printer print a list of all soft fonts that Description are stored in memory. Syntax  This command is related to ES (Store Soft Fonts) and EK (Delete Remarks Soft Fonts).
  • Page 63: Ek - Delete Soft Font

    Soft fonts are stored using the ES command and listed using the EI command. Soft fonts can also be deleted from the printer using for example Intermec LabelShop or Intermec InterDriver. Example  EK"a"↵    EK"*"↵      ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands :Deletes font "a" :Deletes all soft fonts...
  • Page 64: Es - Store Soft Font

    Description memory. Syntax  ES"name"p Parameters "name " "data" ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual "data 1... Name of the soft font (one lowercase letter only in the range a–z). Lower case named fonts minimize soft font memory usage to only store fonts downloaded and have 256 character limit. Number o f c haracters t o b e d ownloaded u sing h exadecimal c oding. R ange 00–FF hex (1–256 characters per soft font set).
  • Page 65 Soft fonts can also be downloaded to the printer using for example Intermec LabelShop or Intermec InterDriver. Soft fonts can be listed using the EI command. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands , b, and c: b = 10 dots (0A hex)
  • Page 66 Starting Point Starting Point ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Line 1: 00000000 01111100 00000000 = 00 7C 00 Line 2: 00000000 01111100 00000000 = 00 7C 00 Line 3: 00000000 01111100 00000000 = 00 7C 00...
  • Page 67: Er - User-Defined Error/Status Character Control

    All parameters are saved in Flash. If more than one error occur at the same time, there will be an output for each error recovery, like <p1>00<CRLF> on mode 2. Refer to Appendix A for more information on error-handling. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual is one single ASCII-character, except hex 00. Default: 0 = 0 Mode of Reply Default, where error number is NN: Output at error action: <NAK>NN<XOFF>...
  • Page 68 Chapter —Commands Example Command Manual action US↵ eRC,2,Q↵ Lift the print- head Close the print- head ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Reply Comments <ACK> Enable Error Reporting (Nothing hap- Reply error with character ‘C’ and pens) error NN and at recovery with character ‘Q’ C11<CRLF> Manual action generates error 11 Q00<CRLF> Manual recovery on error 11...
  • Page 69: F - Cut Position

    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  f110↵   ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands 070–130. 020–180 (lower or higher values ignored). 050–150. 000–200 (lower or higher values ignored).
  • Page 70: Fe - End Store Command

    This command is used to end a Form Store sequence. Description Syntax  Remarks The Form Store sequence is started with the FS command and ended with the FE command. Example  FS"formname"↵      FE↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual :Starts Form Store :Ends Form Store...
  • Page 71: Fi - Print Form Information

    The FI command will be executed directly, without appending Remarks any Linefeed. Hint: Issue a FI command after having stored a form to make sure the storing was successful and to check the amount of user flash memory. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands...
  • Page 72: Fk - Delete Form

    FK – Delete Form This command is used to delete a specified form or all forms Description from memory. Syntax  FK"name"|"*" Parameters "name" By entering a name of a form, that form only will be deleted from memory. "*" By entering an asterisk (*) as wildcard, all forms will be deleted from memory. Examples  FK"FORM1"↵    FK"*"↵    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual :Deletes "FORM1"   :Deletes all forms...
  • Page 73: Fr - Retrieve Form

    Syntax  FR"name" Parameters "name" This is the form name used when the form was stored. T he printer is case -sen- sitive, that is, the use of upper and lower case letters must match the original name. To print a list of the forms currently stored in memory, use the Remarks FI command. Example  FR"Test1"↵    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands :Retrieves the form named "Test1"...
  • Page 74: Fs - Form Store

    • If the Error lamp shines yellow, there is no communica- tion and the memory must be erased by pressing the Cancel button for more than 3 seconds in the Dump Mode. Example  FS"TEST1"↵    ...    FE↵   ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual :Begins the form store sequence of :Ends the form store sequence of "TEST1" "TEST1"...
  • Page 75: Gg - Print Graphics

    180° using the Z command. Note: EasyCoder PD4 has a flash memory for forms and graph- ics, which requires special consideration. Avoid storing frequently changing data in flash (see GM and GW commands) and use printer drivers developed for EasyCoder C4 and PD4.
  • Page 76: Gi - Print Graphics Information

    Chapter —Commands GI – Print Graphics Information This command will cause the printer to print a list of all graphics Description stored in the user flash memory. Syntax  The GI command will be executed directly, without appending Remarks any Linefeed.
  • Page 77: Gk - Delete Graphics

    This command is used to delete a specified graphic or all graphics Description from the user flash memory. Syntax  GK"name"|"*" Parameters "name" By entering a name of a form, that form only will be deleted from memory. "*" By entering an asterisk (*) as wildcard, all forms will be deleted from the user flash memory. Examples GK"LOGO"↵    GK"*"↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands :Deletes "LOGO" :Deletes all graphics...
  • Page 78: Gm - Store Graphics In Memory

    & white) format and that the printer’s free graphics memory is large enough to accommodate the graphics. Always make backup copies on the host! EasyCoder PD4 has a flash memory for forms and graphics, which requires special consideration. Avoid storing frequently changing data in flash and use printer drivers developed for EasyCoder C4 and PD4.
  • Page 79   N↵   GG0,0,"PYRAM" ↵   GG50,50,"PYRAM" ↵   P↵ The result will be a printout shown below: ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands Save image ..GM”PYRAM”294.. PCX-header 8B...A.. PCX-header end PCX data ...?..Uj..
  • Page 80: Grp - Reply Graphics From Printer Buffer

    Chapter —Commands GRP – Reply Graphics from Printer Buffer This command is used to dump part of the printer buffer back to Description the host via the serial port. Syntax GRPp Parameters X-position in printer dots. Y-position in printer dots. Number of bytes across the graphic (8 dots = 1 byte). Number of dot rows going down the graphic. Parameter setting the format of the data. Allowed values are: B Binary, not inversed b Binary, inversed (default)
  • Page 81: Gw - Store Graphics In Image Buffer

    The printer’s firmware will calculate exactly how much data to expect based on p Note that EasyCoder PD4 has a flash memory for forms and graphics, which requires special consideration. Avoid storing fre- quently changing data in flash and use printer drivers developed for EasyCoder C4 and PD4.
  • Page 82: I - Character Set Selection

    850 Multilingual. Table 2. KDU Country Code (p Code For additional code page examples, refer to Chapter 9. Example I8,1,046↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual        8 data bits (p Code Page...
  • Page 83: I - Asian Character Spacing

    (See A command). Syntax    Parameters Space in dots between Asian characters (0–9). Default 0 Example  i8↵  1 Character 1 Character ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual       :Selects an 8 dots spacing between Asian characters. i Command Parameter p set to 0 (default) 1 Character i Command...
  • Page 84: Jb - Disable Top Of Form Backup

    However, the j command is kept stored in memory and can be enabled again using a JF command. To disabled top of form baclup with a cutter, first send an O command followed by a JB command. Example  JB↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual :Disables top of form backup...
  • Page 85: Jf - Enable Top Of Form Backup

    JF command. Activating the cutter using an OC command has the same effect as issuing a JF command. Example  JF↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual :Enables top of form backup     Chapter —Commands...
  • Page 86: J - Media Feed Adjustment

    The extra media feed set by the j command can be enabled or disabled using JF and JB “Top of Form Backup” commands respectively. By default “Top of Form Backup” is enabled. Examples  j110↵    j136↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual :Adjustment for peel-off operation at 8 dots/mm :Adjustment for tear-off operation at 8 dots/mm...
  • Page 87: Le - Line Draw Exclusive

    Syntax  Parameters Horizontal start position (X) in dots. Vertical start position (Y) in dots. Horizontal length in dots. Vertical length in dots. Example N↵    LE50,200,400,20↵    LE200,50,20,400↵    P1↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual   Line B Chapter —Commands :Clears image buffer :Draws line A :Draws line B :Prints one label Line A Intersection...
  • Page 88: Lo - Line Draw Black

    This command is used to draw black lines, overwriting previous Description information. Syntax  Parameters Horizontal start position (X) in dots. Vertical start position (Y) in dots. Horizontal length in dots. Vertical length in dots. Example  N↵    LO50,200,400,20↵    LO200,50,20,400↵    P1↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual   Line B :Clears image buffer :Draws line A :Draws line B :Prints one label Line A Intersection...
  • Page 89: Ls - Line Draw Diagonal

    LS – Line Draw Diagonal This command is used to draw diagonal black lines overwriting Description previous information. Syntax  Parameters Horizontal start position (X) in dots. Vertical start position (Y) in dots. Line thickness in dots. Horizontal end position (X) in dots. Vertical end position (Y) in dots. Example  N↵    LS10,10,20,200,200↵      P1↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands :Clears image buffer :Draws diagonal line :Prints one label...
  • Page 90: Lw - Line Draw White

    Horizontal length in dots. Vertical length in dots. Example  N↵    LO50,100,400,20↵    LO50,200,400,20↵    LO50,300,400,20↵    LW200,50,20,400↵    P1↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual         Line D (dotted border not printed in reality) :Clears image buffer :Draws black line A :Draws black line B :Draws black line C :Draws white line D :Prints one label Line A...
  • Page 91: N - Clear Image Buffer

    Mode. It is not necessary to use an N command before printing a form. An N command must not be used inside a form in the Form Edit Mode. Example  N↵    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands :Clears image buffer...
  • Page 92: O - Options Select

    Before using the S parameter, make sure to load the EasyCoder PD4 printer with the appropriate type of media. By default, the sensor will interpret blockage of light as a label or similar.
  • Page 93 O command parameters: Command OD,S OS,Cnnn|b OD,S,Cnnn|b Enable ON,D ON,D,S ON, Cnnn|b OCnnn|b OD,Cnnn|b Example  ON,D↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands LTS (N) DT/TTR Reverse Mode (D) Gap (S) Enable TT Mode Disable Enable DT Mode Disable...
  • Page 94: Or - Character Substitution

            ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual = E , t he E uro c haracter w ill b e m apped t o t he c ode p age p osition s pecified . If no p...
  • Page 95: P - Print

    P5,2↵  The principles for how counters are printed is illustrated by this example, where the print command is P2,2: Counter: 1 Counter: 1 Counter: 2 Counter: 2 ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual            ...
  • Page 96: Pa - Print Automatic

      FS"TEST6"↵    V00,50,N,"Enter text"↵    A24,24,0,4,1,1,N,V00↵    PA1↵    FE↵    FR"TEST6"↵    ?↵      This is variable text    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual       :Prints 1 label automatically       :Deletes form “TEST6” :Starts form store sequence :Defines variable :Writes text with variable :Ends form store sequence :Retrieves form “TEST6” :Gets variables :Data for variable 00...
  • Page 97: Pf - Feed Media

    3 seconds after the feed. Red LED will blink during the delay. PF360,0,30↵ The following command will retract the media 360 steps, and assume that the media is in printing position. PF-360,1↵   ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual dots are stepped (and errror 99 will Chapter —Commands * 100 ms.
  • Page 98: Q - Set Form Length (Gap Or Slot)

    Optional offset length measured in dots. Gaps and slots: Remarks The EasyCoder PD4 has a label gap sensor designed to detect the top of each form. It does this by looking either • through the semi-transparent liner in the gap between labels, • or through a hole in the media.
  • Page 99 Butterfly label (203.2 dpi = 8 dots/mm printhead): = 12.5 mm (100 dots) = 3.0 mm (24 dots) = 3.0 mm (24 dots) The Q command would be:   Q100,24+24↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual     Chapter —Commands PRINT DIRECTION  ...
  • Page 100: Q - Set Form Length (Black Mark)

    Disables label gap sensor, enables black mark sensor. Height of black mark measured in dots. ±p Optional offset length measured in dots. In addition to the label gap sensor, all EasyCoder PD4 printers Remarks have a black mark sensor that determines the top of each form by sensing a preprinted black mark on the back of the media.
  • Page 101 The printer has a 203.2 dpi (8 dots/mm) printhead. = 31.0 mm (248 dots) = 7.0 mm (56 dots) = 17 mm (136 dots) The Q command would be: Q248,B56-136 ↵ ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands Perforation Perforation...
  • Page 102: Q - Set Label Width

    Note: If an R command (Reference Point) is sent after a q com- mand, the image buffer will be automatically reformatted to match the width of the printhead and the margins will be reset accordingly. Example  q416↵    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual :Sets label width to 416 dots    ...
  • Page 103: R - Set Reference Point

    The print direction commands ZB and ZT affect the location of the reference point, as illustrated below: Example  R50,100↵   ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Maximum Print Width Label path orientated in the center Printhead Dot Line (832 dots)
  • Page 104: R - Set Relative Reference Point

    The print direction commands ZB and ZT affect the location of the relative reference point, as illustrated below: Example  r50,100↵   ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Maximum Print Width Label width set by q command :Creates a 50 dot left margin and a 100...
  • Page 105: S - Speed Select

    5 125 mm/sec. (5 inches/sec.) 203.2 dpi (8 dots/mm) printers only. 6 150 mm/sec. (6 inches/sec.) 203.2 dpi (8 dots/mm) printers only. Changing the print speed will affect the blackness of the print- Remarks out, which may have to be adjusted using a D command. Example  S2↵    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual :Sets the print speed to 50 mm/sec. (2 inches/sec.). Chapter —Commands...
  • Page 106: Sa - Setup Adjust

    D, j, J, q, Q, S, Z, and SPC. The current SA value is stored in Flash memory and printed on the test label. Example  SA2↵    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual :All of the commands listed above that are called within forms will be ignored.
  • Page 107: Spc - Setup Print Copy

    A, B, b, GW, GG, LE, LO, LS, LW, N, q, Q, r, R, X and Info. The current SPC value is stored in Flash memory and printed on the test label. Example  SPC1↵    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands :Print Copy is activated.
  • Page 108: Spr - Setup Print Engine Ribbon Control

    “Out of Ribbon”. Syntax SPRp Parameters Number of steps executed by stepping motor Default: Maximum: This is a feature exclusive to the PD4 printer. The SPR value Remarks holds no relevance on EasyCoder PC4 printers. Example  SPR200↵    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual 400 steps...
  • Page 109: Td - Define Date Format

    TDdd-me-y4↵    TDdd,mn,y4↵    TDy4-mn-dd↵    TDme/dd/y4↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Year displayed as 2 digits, for example 04 Year displayed as 4 digits, for example 2004 FEB, MAR, APR, MAY, etc. Month displayed as 2 digits, for example 01 Day displayed as 2 digits, for example 15 R epresents a n o ptional s eparator c haracter, w hich c an b e a ny c haracter in the range between ASCII 32 dec. and ASCII 63 dec. The separator is printed between the results of each of the supplied parameters.
  • Page 110: Ts - Set Real Time Clock

    Chapter —Commands TS – Set Real Time Clock This command is used to set the time and date in the printer’s Description optional real-time clock circuit. Syntax  Parameters Month (01–12) Day (01–31) Year, two last digits (for example 04 for the year 2004) Hour in 24 hour format (00–23) Minutes (00-59) Seconds (00-59) This command works only if the printer is fitted with an optional Remarks real-time clock circuit (RTC).
  • Page 111: Tt - Define Time Format

    (RTC). If the current time is 1:25:00 PM: Example TTh:m:s↵  TTh:m:s+↵  TTh,m↵  TTh+↵ ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual ][+] Hours displayed as 2 digits, for example 12 Seconds displayed as 2 digits, for example 00 Represents an optional separator character, which can be any character in the range between ASCII 32 dec. and ASCII 63 dec. The separator is printed between the results of each of the supplied parameters. Optionally s elects 1 2-hour m ode, w here t he t ime w ill b e a ppended w ith an “...
  • Page 112: U - Print Configuration (General)

    This command is used to print the current printer configuration. Description Syntax  Remarks This command produces a single label identical to the one printed in the Dump Mode (see Chapter 1), but without enter- ing the Dump Mode. Example  U↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual :Produces a test label.
  • Page 113: Uc - Command Reply Accept Character Control

    If error occurs and error report is activated, the error message will be sent instead. Example  Command ↵ UC062 ↵ X50,200,5,400,20 ↵ ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual is anything other than numerical characters or the value is zero, there will saved in Flash. Reply Comments > Set Command Reply Accept Char- acter to ‘>’ > Reply error ↵...
  • Page 114: Ue - Soft Font Information Inquiry

    The printer sends the number of soft fonts and the name, height, Remarks and direction of each soft font through the RS-232 or USB port. The UE command will be executed directly, without appending any Linefeed. Example  UE  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 115: Uf - Form Information Inquiry

    RS-232 or USB port. The UF command will be executed directly, without appending any Linefeed. Example  UF     UF006    TEST1   TEST2   TEST3   TEST4   TEST5   TEST6   ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands :Returns number of forms and all form names, for example:...
  • Page 116: Ug - Graphics Information Inquiry

    The printer will send the number of graphics and the name of Remarks each graphic to the host through the RS-232 or USB port. The UG command will be executed directly, without appending any Linefeed. Example  UG      UG001    LOGO ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual :Returns number of graphics and all graphic names, for example:...
  • Page 117: Ui - Enable Prompts/Code Page Inquiry

    The UI command is dis- abled by removing power from the printer for 60 seconds. Example  UI↵     UI80,001 I and U commands. Also see   ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands :Enables prompts from host and returns current code page, for example...
  • Page 118: Um - Code Page & Memory Inquiry

    Parameters Image buffer size in kilobytes. Total User Flash-memory size for [Form + Graphic + External font + Asian Font] in kilobytes incl. decimals. Form memory used in kilobytes. decimals = forms file counter Graphic memory allocation size in kilobytes. Graphic file counter. External font memory allocation size in kilobytes. External font file counter Number of data bits. Code page. Country code. Asian Font file flag & used memory in kilobytes; Annn = Chinese traditional Bnnn = Chinese simplified Cnnn = Japanese Dnnn = Korean where nnn = memory used in kilobytes for Asian font Example  UM↵    UM1050,998.0,8.3,40,1,37,2 UI80,001,B581 I, U, UI, and UP commands. Also see   ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual  UIp :Returns memory status and current code page, for example:...
  • Page 119: Un - Disable Error Reporting

    UN – Disable Error Reporting This command is used to disable error reporting. Description Syntax  Remarks Cancels US command. Example  UN↵    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands :Disables error reporting...
  • Page 120: Up - Code Page & Memory Inquiry/Print

    The format of the data sent to the host is as follows:   Parameters Image buffer size in kilobytes. Total User Flash-memory size for [Form + Graphic + External font + Asian Font] in kilobytes incl. decimals. Form memory used in kilobytes. decimals = forms file counter Graphic memory allocation size in kilobytes. Graphic file counter. External font memory allocation size in kilobytes. External font file counter Number of data bits. Code page. Country code. Asian Font file flag & used memory in kilobytes; Annn = Chinese traditional Bnnn = Chinese simplified Cnnn = Japanese Dnnn = Korean where nnn = memory used in kilobytes for Asian font Example  UP↵  Also see I, U,UI, and UM commands. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual  UIp :Returns memory status and current code page and prints configuration on label.
  • Page 121: Us - Enable Error Reporting

    Command Reply ↵ <ACK> USABE ↵ (no reply) eRQ,6,R ↵ (no reply) ↵ (no reply) ↵ <NAK>01Q /. Reply only works on serial and USB ports. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Comment Activate all error flags Setup User-Defined Error/Status Character control to Q for <XOFF> and <R> for <XON> Clear image buffer and errors Erroneous command type A; Syntax error Print image buffer with error 01 Direct recovery error 01 (type A) and continue Chapter —Commands...
  • Page 122: Uv - Product Identity And Asian Font Types

    "1-972660-00,PD4-ESim 5.12"      "1-972650-01,Font GB2312-80"    "1-972660-00,PD4-ESim 5.12"      "1-972651-01,Font BIG5"    "1-972660-00,PD4-ESim 5.12"      "1-972652-00,Font KSX1001:1992"    "1-972660-00,PD4-ESim 5.12"      "1-972653-00,Font JISX0208:1997"    ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual returns for example... Base software Chinese font GB 2312-80 or... Base software Chinese Big5 level 1 & 2 font or... Base software Korean font KS X 1001:1992 or... Base software Japanese font JISX0208:1997...
  • Page 123: Define Variable

    To print the contents of a variable, the number of the variable must be included in the "DATA" field of the A (Print Text) or B (Print Bar Code) commands. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual ,"PROMPT" , the area will be padded with space characters.
  • Page 124   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 justified"↵   A50,100,0,3,1,1,N,"TEXT"V01":Right justified"↵   A50,150,0,3,1,1,N,"TEXT"V02":Center justified"↵   A50,200,0,3,1,1,N,"TEXT"V03":No justification"↵   FE↵ Refer to the ? command for continuation of this example! ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 125: W - Windows Mode

    The Windows mode escape sequences are only used by the Win- dows Printer Driver. When working with a main frame or other non-Windows host, this mode can be disabled to prevent erratic operation. Examples  WY↵    WN↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands :Enables Windows Mode :Disables Windows Mode...
  • Page 126: Draw Box

    This command is used to draw a box shape. Description Syntax  Parameters Horizontal start position (X) in dots. Vertical start position (Y) in dots. Line thickness in dots. Horizontal end position (X) in dots. Vertical end position (X) in dots. Example  N↵    X50,200,5,400,20↵    X200,50,10,20,400↵    P1↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual :Clears image buffer :Prints box A :Prints box B :Prints a label Box A Box B...
  • Page 127: Y - Serial Port Setup

    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 128: Z - Print Direction

    Note that printing a test label in the Test Mode, or by means of a U or UP command, will reset the print direction to default (= ZT). ZT Command: ZB Command: EASYCODER PD4 Example  ZB↵  ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual EASYCODER Feed Direction Feed Direction :Starts printing from the bottom of the image buffer. ...
  • Page 129: Download Variables

    ? – Download Variables This command is used to signal to the printer that the data fol- Description lowing are variable or counter values. Syntax  This command is used by the host system to send data represent- Remarks ing variables and/or counters to the printer after a stored for con- taining variables and/or counters has been retrieved.
  • Page 130: Reset Printer

    This command resets the printer. Description 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 131: Default - Restore Factory Default

    See Default Setup in Chapter 3, for the default value of setup parameters. A delay of two seconds should be observed before inputting other commands as the printer restarts after cleanup to factory default. Return to factory default setup. Example ^default↵ ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Chapter —Commands...
  • Page 132: Ee - Immediate Error Report

    Command must end with <CR> or <LF> to be correctly exe- cuted. The printer will reply to host via serial port in one of the follow- ing formats: 1 If no error code is available (normal case): 00<CR><LF> ...
  • Page 133 Example Serial Manual command action US↵ AA↵ Lift the printhead UV↵ ^ee↵ Close the printhaed P↵ Press FEED key ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Reply on RS232 Comments <ACK> Enable Error Reporting (Nothing happens) Command with syntax error (#01) <NAK>11<XOFF> Manual action to generate error (#11) and wait in position of error-waiting-recovering. (Nothing happens) Command to print product ID will be queued 01,11<CR><LF>...
  • Page 134 Chapter —Commands ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 135: Resident Fonts

    Fonts This chapter lists the printer’s resident fonts and illustrates the various font sizes. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 136: Fonts

    Chapter —Fonts Resident Fonts The EasyCoder PD4 printers support upper- and lowercase characters for font sizes 1-4 and uppercase characters for font size 5. All fonts are non- proportional. The ASCII value of the different characters is determined by the I command setting.
  • Page 137 Chapter —Fonts Font Sizes 1-5 Below, the various fonts are illustrated in real size as printed on an 8 dots/ mm (203.2 dpi) printer. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 138 Chapter —Fonts ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 139: Code Pages And Character Sets

    This chapter contains printout samples in 100% size of the various code pages and character sets for the printer’s resident fonts. All printouts are produced on an EasyCoder PD4 with a printhead density of 203.2 dpi (8 dots/mm). For information and printout samples on Asian fonts, plese refer to the manual EasyCoder C4 Asian Fonts.
  • Page 140: Printout Samples

    Chapter —Code Pages and Character Sets Printout Samples Size 1-4 (8 bit); Code page 437 (printed in size 4) Size 1-4 (8 bit); Code page 850 (printed in size 4) ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 141 Chapter —Code Pages and Character Sets Size 1-4 (8 bit); Code page 863 (printed in size 4) Size 1-4 (8 bit); Code page 865 (printed in size 4) ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 142 Chapter —Code Pages and Character Sets Size 5 (8 bit); Code page 437 ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 143 Chapter —Code Pages and Character Sets Size 5 (8 bit); Code page 850 ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 144: Esim V5.12 For Easycoder Pd4-Programmer's Reference Manual

    Chapter —Code Pages and Character Sets Size 5 (8 bit); Code page 863 ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 145 Chapter —Code Pages and Character Sets Size 5 (8 bit); Code page 865 ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 146 Chapter —Code Pages and Character Sets Size 1-4 (7 bit); (printed in size 4) Size 1-4 (7 bit); British (printed in size 4) Size 1-4 (7 bit); German (printed in size 4) ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 147 Chapter —Code Pages and Character Sets Size 1-4 (7 bit); French (printed in size 4) Size 1-4 (7 bit); Danish (printed in size 4) Size 1-4 (7 bit); Italian (printed in size 4) ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 148 Chapter —Code Pages and Character Sets Size 1-4 (7 bit); Spanish (printed in size 4) Size 1-4 (7 bit); Swedish (printed in size 4) Size 1-4 (7 bit); Swiss (printed in size 4) ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 149 Chapter —Code Pages and Character Sets Size 5 (7 bit); USA Size 5 (7 bit); British ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 150 Chapter —Code Pages and Character Sets Size 5 (7 bit); German Size 5 (7 bit); French ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 151 Chapter —Code Pages and Character Sets Size 5 (7 bit); Danish Size 5 (7 bit); Italian ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 152 Chapter —Code Pages and Character Sets Size 5 (7 bit); Spanish Size 5 (7 bit); Swedish ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 153 Chapter —Code Pages and Character Sets Size 5 (7 bit); Swiss Size 4 (8 bit); Characters in Dump Mode ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 154 Chapter —Code Pages and Character Sets ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 155 If the printer is fitted with an LCD display, error messages and prompts in plain text will also be shown. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual...
  • Page 156: Error-Handling Principles

    The firmware is able to handle a number of error conditions. Code num- bers represent the different error cases. The printer controls output of the error code and its format and wait until the error recovery is performed for each special error-code.
  • Page 157 USB), normally <XON>. See also commands USA or USB for direct recovery. Error-handling commands Optional Error Reporting US[A][B][E] No Error Reporting User Defined Error/Status Character Control Error Report - Immediate Reset ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Appendix A — Error-Handling...
  • Page 158: Error Replies

    Error. Error of Sets Error LED directly to printing func- red, sometimes blinking. tionality and status. Status No LED change. changes. Unrecoverable Sets Error LED directly to Error. red. Various modes ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Recovered by At Error reporting (cmd US): Press Feed key orsend Reset command ^@. Also see cmd USA. At No Error reporting (cmd UN): No recover necessary, already done. Feed Key or command Reset ^@.See also command USB. Load new media and press Feed key or send Reset com- mand ^@. Manual or automatic (tem- perature lowered) measure or send Reset command ^@.
  • Page 159: Error Replies

    0x15 Nothing happens [XOFF] Flag for waiting on Error recovery. Default value is <XOFF> = 0x13 , but can be substituted with command eRp1,6,p is replacement of <XOFF> and where p Command eRF,6,N substitutes at error reply <XOFF> with Example the character ‘F’ and at error recovery <XON> with the character ‘N’. ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Appendix A — Error-Handling where p is replacement of <XON>.
  • Page 160: Error Replies Table

    “? “ Out of ribbon Does not fit in area specified Data length too long High print head temperature (WAIT) Default Setup retrieved (RESET) Flashing not completed (RESET) Download error (RESET) Cutter jammed or not installed (Dump Mode) ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Error Response depending on cmd US/UN command US: command UN: report- reporting on Serial <NAK>01[XOFF] <NAK>02[XOFF] <NAK>03[XOFF] <NAK>04[XOFF] <NAK>05[XOFF] <NAK>07Pnnn[XOFF] (nnn = numbers of remaining labels) <NAK>08[XOFF]...
  • Page 161 (Printing) (Setup) (Pause Printing Mode) (Pause Direct Mode) (Autosensing Mode) (Download Mode) ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual Appendix A — Error-Handling <NAK>90 [XOFF] <NAK>91 [XOFF] <NAK>92 [XOFF] <NAK>93 [XOFF] <NAK>94 [XOFF] <NAK><ACK> [XOFF] 90<CRLF> [XOFF] 91<CRLF> [XOFF] 92<CRLF> [XOFF] 93<CRLF> [XOFF] 94<CRLF> <NAK><ACK> 98<CRLF>...
  • Page 162 Intermec Technologies Corporation Corporate Headquarters 6001 36th Avenue West Everett, WA 98203 U.S.A. tel 425.348.2600 fax 425.355.9551 www.intermec.com Intermec ESim v5.12 – Programmer’s Reference Manual *1-960615-01* P/N 1-960615-01...

Table of Contents