zsim programmer's guide - honeywell productivity...

36
ZSim Programmer’s Guide

Upload: dinhkiet

Post on 16-Apr-2018

220 views

Category:

Documents


1 download

TRANSCRIPT

ZSim

Programmer’s Guide

ii ZSim Programmer’s Guide

Intermec Technologies Corporation

Worldwide Headquarters6001 36th Ave.W.Everett, WA 98203U.S.A.

www.intermec.com

The information contained herein 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 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.

© 2006-2009 by Intermec Technologies Corporation. All rights reserved.

The word Intermec, the Intermec logo, Norand, ArciTech, Beverage Routebook, CrossBar, dcBrowser, Duratherm, EasyADC, EasyCoder, EasySet, Fingerprint, i-gistics, INCA (under license), Intellitag, Intellitag Gen2, JANUS, LabelShop, MobileLAN, Picolink, Ready-to-Work, RoutePower, Sabre, ScanPlus, ShopScan, Smart Mobile Computing, SmartSystems, TE 2000, Trakker Antares, and Vista Powered are either trademarks or registered trademarks of Intermec Technologies Corporation.

There are U.S. and foreign patents as well as U.S. and foreign patents pending.

Document Change Record This page records changes to this document. The document was originally released as Revision 1-960612-01.

Version Number Date Description of Change

-003 9/2009 Updated the manual to include support for PB21, PB22, PB31, and PB32 printers.

-002 4/2008 Updated the manual to include support for the PB50 printer.

-001 12/2007 This document was updated to include the following:• New Fingerprint software and supported printer

models.• Download and install process clarified.• Part number updated from 1-960612-02 to

937-009-001

-02 7/2006 This document was updated to include the following:• Added new commands.• Contains information for version 5 of ZSim.

ZSim Programmer’s Guide iii

End User License AgreementImportant: Carefully read this Intermec Printer Interpreter License Agreement (hereafter “License”) before installing or using the Software. You may use the Software only if you agree to be bound by the terms of this License. If you do not agree to the terms of this License, you may NOT use the Software and you MUST return the Software to Intermec for a refund. ANY INSTALLATION OR USE OF THE SOFTWARE INDICATES YOUR AGREEMENT TO BE BOUND BY THE TERMS AND CONDITIONS OF THIS LICENSE.

Definitions:

• “System(s)” means Intermec branded bar code label printers.

• Software” means the Intermec ZSim printer interpreter(s) computer program or any Revisions thereto. The Software is written in Intermec Fingerprint programming language but has been list protected. The Software may include programs written by Intermec as well as programs written by others which have been incorporated into the Software by Intermec. The Software includes any disks or media on which it is recorded, any printed Documentation or any “on-line” or electronic Documentation provided to You.

• “Documentation” means any materials accompanying the Software which describe its functions and how to install and use the Software.

• “Revision” means any correction, modification, update, enhancement, or new version of the Software or Documentation which Intermec provides to You. Intermec reserves the right to charge additional fees for Revisions.

• “You” or “Your” refers to the end user licensed to use the Software under this License.

• “Intermec” means Intermec Technologies Corporation, a Washington U.S.A. corporation.

iv ZSim Programmer’s Guide

License:

The Software is licensed, not sold. Intermec hereby grants You a limited, non-exclusive, non-transferable, revocable license to use the Software under the following conditions and limitations:

• You may install and use the Software solely on Systems. You may make copies of the Software only for installation and use on Systems which You own or operate. You shall not copy, distribute, sell, resell, loan, sublicense, install or use the Software for any other purpose.

• You shall not remove, deface or delete any of the intellectual property rights notices including copyright or trademark legends and other notices appearing on the original Software copy or Documentation.

• Your license to hold and use the Software pursuant to this Agreement is restricted solely to You and shall not be assigned, transferred, sublicensed, encumbered, or subjected to any security interest without the advance written authorization of Intermec. Any attempt to transfer, assign, sublicense or encumber the Software shall be void and of no effect.

• The Software is protected under the copyright laws of the United States and international copyright treaties, as well as other intellectual property laws and treaties. You agree that if any unauthorized copies are made, or if the Software is used in violation of this License, Intermec shall have the right to obtain an injunction against the unauthorized copying or use, in addition to any other rights and remedies Intermec might have. You acknowledge and agree that nothing in this Agreement gives you any right, title or interest in the Software except the limited license rights expressly granted herein. Some or all of the Software may have been developed by an independent third party software supplier which holds copyright or other proprietary rights to the Software. You may be held responsible to any such supplier for any infringement of such rights.

ZSim Programmer’s Guide v

vi ZSim Programmer’s Guide

ContentsEnd User License Agreement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv

About ZSim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Loading ZSim on the Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Loading ZSim Using a CompactFlash Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Loading ZSim With FieldInstaller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Configuring ZSim For the First Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Configuring ZSim Using the PD41 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Configuring ZSim Using Text File Download . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

Configuration Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Using the ZSim Configuration Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Navigating the Configuration Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Configuration Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Allow Reverse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Calibrate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Change Caret . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Change Delimiter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Change Tilde . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Change Y-Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Clear Permanent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Default Start Adjust. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Default Stop Adjust . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Factory Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Feed Action. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Input Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Label Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Label Width . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Line Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Log to Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26LTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Media Contrast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Media Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Optimize Bar Code Magnification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Optimize Batch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Optimize Image Magnification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Paper Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Peel-Off Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

ZSim Programmer’s Guide vii

Permanent Save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Print Configuration Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Print Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Redo Config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Reset Tuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Save Current. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Select Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Simulation Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Use Last Saved . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30X-Offset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30Y-Offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30

Entering Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Switching Between Character Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Selecting Characters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

ZPL Commands Supported by ZSim. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

Troubleshooting ZSim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

viii ZSim Programmer’s Guide

About ZSimZSim is a Zebra™ interpreter program that interprets legacy ZPL II or later programs on an Intermec PF2i, PF4i, PM4i, PX4i, PX6i, PD41, and PD42, printers, as well as PB21, PB22, PB31, PB32, PB50, and PB51 Mobile Label printers with Fingerprint.

To use ZSim, you need to load the ZSim program into the printer, configure a few settings, and start sending Zebra commands. If the ZSim program is not installed, you can find it on the PrinterCompanion CD or you can download it from the Intermec web site at www.intermec.com.

System RequirementsThe printer must be equipped with a minimum of 8 MB of DRAM. The table below shows you the firmware requirements for your printer.

Loading ZSim on the PrinterYou can load ZSim on your printer using the following methods:

• CompactFlash card (PF2i, PF4i, PM4i, PX4i, PX6i, PD41, and PD42 printers).

• Intermec FieldInstaller (PB21, PB22, PB31, PB32, PB50, and PB51).

Firmware Requirements for Your Printer

Printer Model Fingerprint Version ZSim Version

PF2i, PF4i, PM4i, PX4i, and PX6i

8.70.1 or later 5.14 or later

PD41 10.0.0 or later 5.14 or earlier

PD42 10.2.1 or later 5.15 or later

PB21, PB22, PB31, PB32 12.1.0 or later 5.18 or later

PB50, PB51 11.1.1 or later 5.14 or later

ZSim Programmer’s Guide 9

After you have loaded ZSim onto a printer, you have to switch to the ZSim Printer Language. For more information, see your printer user manual.

Loading ZSim Using a CompactFlash CardYou can load ZSim on the supported printers by using a CompactFlash card. The card must:

• have a minimum of 128 MB of available space.

• be formatted to FAT or FAT16. You cannot use FAT32.

To load ZSim onto a CompactFlash card1 Download and extract the ZSim installation files from the

Intermec web site or the PrinterCompanion CD.

2 Copy the installation files onto a CompactFlash card.

To load ZSim on the printer using a CompactFlash card1 Turn off your printer.

2 Insert the ZSim CompactFlash card into the card slot on the back of your printer. The card should slide easily into place.

10 ZSim Programmer’s Guide

3 Turn on your printer. The installation starts.

4 Turn off your printer and remove the CompactFlash card when the printer prompts you.

Loading ZSim With FieldInstallerMobile printers do not support the use of a CompactFlash card. To load ZSim on the your mobile printer, you need:

• a serial cable (P/N 075497) to connect the printer to your PC.

• the FieldInstaller application.

• the ZSim application.

You can download FieldInstaller and ZSim application by going to the Intermec web site at www.intermec.com and selecting Support > Downloads, and selecting your mobile printer.

To load ZSim on the printer with FieldInstaller1 Connect the mobile printer to your desktop PC with the serial

cable.

2 Install FieldInstaller on your desktop PC.

3 Extract the ZSim files to your desktop PC.

4 Open FieldInstaller by going to Start > Programs > Intermec FieldInstaller > Intermec FieldInstaller.

5 In the Introduction page, click Next.

6 In the Select installation package page, select the ZSim installation package and then click Next.

7 In the License Agreement page, select I agree and click Next.

8 In the Connection type page, select Serial and click Next.

9 In the Select serial port page, select a communication port and then click Install.

10 When the Finished! page appears, click Exit.

ZSim Programmer’s Guide 11

Configuring ZSim For the First TimeThe first time you turn on your printer after loading ZSim, you are prompted to go through a series of configuration screens to optimize the printer settings. Some of the screens may vary a little from printer to printer, but the process is the same.

To configure ZSim for the first time1 Turn on your printer. The printer steps through an initialization

process that ends with the printer displaying “Starting Up Please Wait!” before it tries to find the media. Once the printer finds the media length, the first Configuration menu item appears:

Initial Setup<Enter>=Start:

2 Step through the Initial Setup Configuration menu changing any incorrect values. You can view an illustration of the Initial Setup Configuration menu on the next page.

3 When you are through setting the values, the printer prints a configuration label and prompts you to save the configuration. The Ready light now turns on and the printer screen displays a message similar to the following message:

ZSim 5.XXNetwork

The printer is now in ZSim Online mode and ready to accept commands.

Note: For the PD41, the initial configuration is generated automatically because it does not have a configuration menu. For more information, see the next section, “Configuring ZSim Using the PD41.”

12 ZSim Programmer’s Guide

Initial Configuration Setup Menu

Input all COM/IP-

InitializingCOM/IP...

Init COM/IP-Para.? No=F2 Yes=ENTER

Initial Setup<ENTER> = Start

Load Media!<ENTER> = Continue

Sim.Resolution:[203/300/152 (DPI)]

Paper Type:[Direct Thermal/...]

Print Mode:[Tear Off/Peel Off/...]

Media Type:[Non Cont. Gap/Cont/...]

CalibratingMedia ...

Measured Length4,178 in...

Cancel = F2

Input Port:[Serial,Parallel/...]

Head Lifted

Head Lowered

Head Lift

F2

F2

Printing ConfigLabel ...

Save Config?Redo=F2 Ok=ENTER

Saving Config.....................

Parameters...Enter

F2

ZSim X.XX Serial

F2

Media Length Ok?No=F2 Yes=ENTER

Change COM/IP?No=F2 Yes=ENTER

Start Up

READY

ENTER

Ser/NetworkParallel

Waiting Media

Load New Media!

ZSim Programmer’s Guide 13

Configuring ZSim Using the PD41Installing ZSim on the PD41 changes the button key presses. Use the table below to learn how to use the PD41 button.

Configuring ZSim Using Text File DownloadText file configuration is the preferred method to configure a PD41, but parameters can be set on any printer by downloading a text file to the printer with the following format:

^ZX[ParamName,]ParamNo,ParamValue^FS

Use the following table to understand the commands required for setting the parameters. The table also contains a few commands for making setup changes. To make sure that the update is secure, download and execute the commands one at a time. You can verify that the update has been completed correctly by printing a configuration label.

PD41 Key Presses

Action Description

Feed Key press < 1 second, when ZSim is idle.

Calibrate Key press 1 to 4 seconds, when ZSim is idle.

Config label Terminates calibration.

Break ZSim Key press 5 to 10 seconds, when ZSim is idle

Pause-batch Key press < 1 second when ZSim is printing, exit with same process.

Cancel-batch Key press > 1 second when ZSim is in Pause-batch mode.

Note: The default instruction prefix (^) and the default delimiter (,) are used in the samples at the end of this section.

ZSim Parameter and Commands

[ParamName] Number Value Default Comment

Label length 1 Calibrated N/A

Y-Offset 2 0 +/-999 dots

14 ZSim Programmer’s Guide

X-Offset 3 0 +/-999 dots

Sim resolution 4 sysvar(21) 6,8 or 12

Label width 5 sysvar(22) Depends on head

Print Mode 6 T (Tear-off) T, P, R, C

Start Adjust 7 Depends on model

Stop Adjust 8 Depends on model

Peel Off 9 Depends on model

Cut Off 10 Depends on model

Feed action at power up

11 1 0 = No action, 1 = Feed, 2 = Calibrate

Feed action at head down

12 1 0 = No action, 1 = Feed, 2 = Calibrate

In Port 13 Auto net1:, uart1:, parallel

Default Media Darkness

14 15 1 to 30

Optimize Barcode Size

15 0 0 to 9

LTS-sensor 16 Auto 0 = Off, 1 = On

Optimize Image Mag.

17 1 0 = Off, 1 = On

Allow Reverse print

18 1 0 = Off, 1 = On

Permanent Save 19 0 0 = Off, 1 = On

Format Instruction Prefix

20 ^ Any ASCII char.

Control Instruction Prefix

21 ~ Any ASCII char.

Command Delimiter

22 , Any ASCII char.

Units inch/mm 23 1/0 0 0 = inch, 1 = mm

Optimize Batch 24 -1/0 -1 0 = Off, 1 = On

Y-offset in percent

25 0 Skid comp.+/-0.1-5.0

ZSim Parameter and Commands (continued)

[ParamName] Number Value Default Comment

ZSim Programmer’s Guide 15

Configuration ExamplesHere are some examples of how to configure ZSim using a text file:

• To change the Start Adjust to -130:

ZX Start Adjust,7,-130^FS or ^ZX7,-130^FS

• To change the print mode to Peel-off:

ZX Print Mode,6,P^FS or ^ZX6,P^FS

Using the ZSim Configuration MenuUse the Configuration Menu to change ZSim settings after you complete the initial configuration. You can access the ZSim Configuration menu at any time by pressing Setup and entering the password (1138). For help entering characters, see “Entering Parameters” on page 31.

Character Set 26 0 0 Single byte char. set

Media Type 50 0/1/2 0 0 = Gaps, 1 = Strip, 2 = Mark

Paper Type 51 Auto TT or DT (setup)

XSTART 52 0 (setup)

Factory default 53 1

Debug off/on 54 0/1 0 0 = Off, 1 = On

Line Analyzer 55 1 Off 0 = Off, 1 = On

Baud rate 60 115200 9600 to 115200

Char.length 61 8 8,7

Parity 62 No No, Even

Stop Bits 63 1 1,2

Flowcontrol, RTS/CTS

64 Enable Enable or Disable

Xon/xoff data to host

66 Enable Enable or Disable

Xon/xoff data from host

67 Disable Enable or Disable

ZSim Parameter and Commands (continued)

[ParamName] Number Value Default Comment

16 ZSim Programmer’s Guide

The menu tree consists of Nodes and Entry points. A Node appears as a text string terminated with a slash on the first display row. The slash means you still have level(s) below with additional Nodes or an Entry point. An Entry point is where you enter parameter values or toggle a function. It appears as lead text on the first display row without an ending slash and a cursor or the value on/off on the second display row.

Navigating the Configuration MenuUse the next two tables of keys and buttons along with the following menu maps to navigate through the Configuration menu and change settings.

Configuration Menu Keys for Printers

Key Description

Setup Opens and closes the ZSim or Fingerprint menu:ZSim password: 1138Fingerprint password: 8311

F1 Cancel input.

F2 Move to the previous level in the menu.

F3 Move to the next item/alternative on this level.

F4 Move to the next level in the menu.

F5 In online mode, this displays communication parameters and memory status.

Enter Accept input, select the item in the menu, or move to the next level in the menu.

Feed Feeds one label.

Pause Pause.

C Backspace (input mode), turn a function On/Off (menu), and cuts media (if cutter is mounted).

. (Dot) Sign, and switches between + and -.

ZSim Programmer’s Guide 17

To enter the password on your mobile printer1 Press to enter the number 1.

2 Press to accept a number and move to the next number.

3 Press and then to enter the rest of the password numbers. Press the same number of times as the desired number. For example, to get to 3, press three times.

4 Press to accept the password.

5 You are now in the Configuration Menu.

Configuration Menu Buttons and Keys for Mobile Printers

Button or Soft Key Description

Opens and closes the ZSim or Fingerprint menu:ZSim password: 1138Fingerprint password: 8311

Cancel input.

Move to the previous level in the menu.

Move to the next item/alternative on this level.

Move to the next level in the menu.

Increases the value of a number when entering or editing settings, such as the password.

In online mode, this displays communication parameters and memory status.

Feeds one label.

Press to put the printer in Standby mode. In Standby mode, power to the radio, the display, and the backlight are turned off.Press to turn the printer back on and put it in Ready mode.

18 ZSim Programmer’s Guide

ZSim Configuration Menu

Label Length(mm/inches) XXXX

Calibrate

Units

Media

Media Contrast

Media Type

Media Size

Media ContrastXX

Continuous

Non Cont. Mark

Non Cont. Web

Label Length

(mm/inches)Label Width

X-offset (dots)

Y-offset (dots)

Label Width

X-offset (dots)XXX

Y-offset (dots)XXX

Print Mode

Tear Off

Peel Off

Rewind

Cutter

metric

inches

Paper Type Thermal Transfer

Direct Thermal

(mm/inches) (mm/inches) XXXX

ZSim Programmer’s Guide 19

ZSim Configuration Menu (continued)

USB

20 ZSim Programmer’s Guide

ZSim Configuration Menu (continued)

Character Set Character SetXXXX

ZSim Programmer’s Guide 21

ZSim Configuration Menu (continued)

Config Settings

Display

Factory Defaults

Use Last Saved

Save Current

Print Cfg-label

Redo Config

Contrast

Backlight

22 ZSim Programmer’s Guide

Configuration CommandsThe following summaries describe each configuration command and list valid ranges and default values where applicable.

Allow ReverseAllows reverse printing (black background with white letters) on the label, either for the entire label (^LR) or for specific fields (^FR).

The default is On.

CalibrateMeasures the label length and calibrates the sensors.

Change CaretChanges the format instruction prefix to another ASCII character.

The default is ^(ASCII 94).

Change DelimiterChange the ZPL delimiter character.

The default is ,(ASCII 44).

Change TildeChanges the command instruction prefix from the tilde to another ASCII character.

The default is ~(ASCII 126).

Change Y-PositionSkid compensation for long labels. All fields will move the specified percentage from their absolute position. Interval value is -5.0% to +5.0%.

For printers:

• F2 decreases the value of Y-position.

• F3 increases value of Y-position.

ZSim Programmer’s Guide 23

For mobile printers:

• increases value of Y-position.

• decreases value of Y-position.

Clear PermanentErases all formats and images stored in the permanent memory of the printer.

Default Start AdjustMoves the origin towards or away from the edge of the label by a certain distance before printing starts. A positive start adjustment means that the specified length of media will be fed out before printing starts. A negative start adjustment means that the specified length of media will be pulled back before printing starts.

Default Stop AdjustDetermines how much media feeds through after printing is completed. This setting is used to make sure that the labels are in the correct position for tear off operation. This value can be either positive or negative and is measured in dots. A positive stop adjustment means that the normal media feed is increased by the specified value. A negative stop adjustment means that the normal media feed is decreased by the specified value.

The default is 0 dots (no adjustment).

Default Start Adjust

Printer Start Adjust (dots)

PF2i, PF4i, and PM4i -100

PX4i, and PX6i -133

PD41, and PD42 -100

PB21, PB22, PB31, PB32, PB50, and PB51

0

24 ZSim Programmer’s Guide

Factory DefaultsSets all of the ZSim program values back to the default settings.

Feed ActionSets the feed action that occurs at Start Up and When Head Down. Choices include No Media Feed, Feed to Web, Media Sensor Calibration, and Set Label Length.

The default is Feed to Web.

Input PortSets the type of input port you are using on your printer. Valid values are Parallel, Serial, USB, or Network.

The default is Network.

Label LengthSpecifies the length of the labels in inches or millimeters.

Label WidthSpecifies the width of the label in millimeters or inches. Proper width prevents printing outside of the printable area, which may harm the printhead.

The default is the full width of the printhead. For more information, see the table below.

Note: You can only set the label length if the media type is set to continuous.

Printer Model Printhead Widths

Printer Printhead Width

PF2i 56 mm (2.2 in)

PF4i, PM4i 104 mm (4.1 in)

PX4i 112 mm (4.5 in)

PX6i 166 mm (6.6 in)

PD41 104 mm (4.1 in)

ZSim Programmer’s Guide 25

Line AnalyzerDetermines whether to print received data on the label.

The default is Off.

Log to CardLogs the received data to a file on a CompactFlash card. You can use the log file for later analysis. This feature is not supported on the PB50.

The default is Off.

LTSTurns the label taken sensor (LTS) On or Off.

The default is Off.

Media ContrastAdjusts the darkness and contrast of the printout. You can adjust this value from 0 to 30. Has influence only on the Fingerprint setup parameter Contrast. A value of 15 corresponds to the Fingerprint contrast value 0%.

The default is 15 (0% in Fingerprint).

Media TypeSets the type of media used in the printer. Choices include Continuous, Non-Continuous with Mark, or Non-Continuous with Gap.

PB21, PB22 55.88 mm (2.2 in)

PB31, PB32 83.82 mm (3.3 in)

PB50, PB51 104 mm (4.1 in)

Printer Model Printhead Widths (continued)

Printer Printhead Width

26 ZSim Programmer’s Guide

Terms that appear in the Media Type command are Zebra-specific. Use the following table to understand how to select the correct media type.

Optimize Bar Code MagnificationThis setting compensates for size differences when a 300 dpi Zebra printer is replaced by an Intermec printer with a 203 dpi printhead. If the bar code ends up being too small, increase the value of this parameter to manually enlarge the x-dimension. Valid values are 0 to 9.

The default is 0 (no magnification).

Optimize BatchTo obtain higher performance during batch printouts.

The default is On.

Optimize Image MagnificationIf the Intermec printhead is not the same resolution as the original Zebra printhead, images may not print correctly. If you want to increase the size of printed images, you can adjust this with the function On or Off.

The default is Off.

Zebra Specific Terms and the Intermec Equivalent

Zebra-Specific Terms Intermec Term

Non continuous web Label with gaps

Non continuous mark Ticket with marks

Continuous Fixed length strip

Note: When replacing a Zebra printer, choose an Intermec printer with the same printhead resolution. However, if you are replacing a 152 dpi Zebra printer, use an Intermec printer with a 300 dpi printhead.

ZSim Programmer’s Guide 27

Paper TypeSets the type of paper used in the printer. You can set this command to Thermal Transfer or Direct Thermal. Set this parameter during the Initial Setup Configuration process.

Peel-Off LengthSets the default distance the label should stop before the tear off bar when the printer is in Peel Off mode. Distance is measured in dots.

Note: When replacing a printer, choose a printer with the same printhead resolution. However, if you are replacing a 152 dpi printer, use an Intermec printer with a 300 dpi printhead.

Default Peel-Off Length for 203 DPI Printheads

Printer Default Peel-Off Length

PD41 44

PF2i, PF4i 44

PM4i 44

PX4i, PX6i 60

PB21, PB22 60

PB31, PB32 60

PB50, PB51 60

Default Peel-Off Length for 300 DPI Printheads

Printer Default Peel-Off Length

PD41 60

PF2i, PF4i 66

PM4i 60

PX4i, PX6i 100

Note: There is no 300 dpi support for mobile printers.

28 ZSim Programmer’s Guide

Permanent SaveStores all downloaded formats and images in the printer’s memory. The next time the printer starts up, saved formats and images are loaded and ready for use. Turning Permanent Save off does not delete saved items, but they are not loaded automatically when the printer starts up.

The default is Off.

Print Configuration LabelPrints the current ZSim configuration settings on a label.

Print ModeDetermines the printer operating mode and sets the label origin to suit the corresponding mode: Tear Off, Peel Off, Cutter, or Rewind.

The default is Tear Off.

Redo ConfigRemoves the configuration file and reboots the printer. The ZSim Initial Setup Configuration Menu appears when the printer restarts. This command requires access to the Fingerprint Setup menu. You will be prompted to enter the Fingerprint password before you can access this command.

Reset TuningReturns all Media Tuning parameters to their original (default) values.

Save CurrentSaves the current ZSim configuration parameters for future use.

Note: If you are downloading your graphics or formats as you print, turn off Permanent Save to increase processing speed.

ZSim Programmer’s Guide 29

Select Character SetAllows the user to block any ^CIa (change international font) command from host. For example, if you enter 1257 (Windows Baltic Rim), the corresponding character set will be valid whichever international font is downloaded. If you Clear the field, ZSim will parse the ^CI command again.

Simulation ResolutionSets the resolution of the Zebra printer being simulated. You can set this command to 152 dpi, 203 dpi, or 300 dpi.

The default is 203 dpi for printers with 203 dpi printheads, and 300 dpi for printers with 300 dpi printheads.

UnitsThe unit of measurement used when entering the Label Length or Label Width values. You can set this command to millimeters or inches.

Use Last SavedSets all of the ZSim program values back to the last saved configuration. Use Save Current to save configuration parameters.

X-OffsetPositions the printout distance from the left edge of the label. Range ± 0 to 999 dots.

The default is 0 dots.

Y-OffsetPositions the printout distance from the front edge of the label. Range ± 0 to 999 dots.

The default is 0 dots.

Note: Differences in resolution may cause degradation of bar code quality. See “Optimize Bar Code Magnification” on page 27 for more information on adjusting the resolution.

30 ZSim Programmer’s Guide

Entering ParametersYou enter parameters on the printer differently depending on the printer model.

• Use the numeric keyboard to access the alpha characters on the PF/PM/PX printers.

• Send a text file from the PD41, PB21, PB22, PB31, PB32, PB50, and PB51 printers that do not have keyboards. For help, see “Configuring ZSim Using Text File Download” on page 14.

For information on how to switch modes and select characters on your printer, see your printer user manual.

Switching Between Character ModesUse the ./- key to switch the keyboard between character modes. The current character mode is indicated by the appearance of the cursor.

• An understroke cursor indicates that lowercase alpha characters are active.

• A blinking square cursor indicates that uppercase alpha characters are active.

No visible cursor indicates that 0 to 9 and special characters(.:/@*: …) are active.

Selecting CharactersEach key on the printer keyboard can generate multiple characters. Press a key repeatedly to cycle through the options, just like on a cellular phone.

Press 1 once to select 1, twice to select C, three times to select D, or four times to select E.

Example:

To type the text “pass”1 Press the ./- key until you see the understroke cursor in the

display.

2 Press the 5 key three times until “p” appears in the display and wait for the beep to confirm the character.

ZSim Programmer’s Guide 31

3 Press the 0 key once until “a” appears in the display and wait for the beep to confirm the character.

4 Press the 0 key three times until “s” appears in the display and wait for the beep to confirm the character.

5 Press the 6 key three times until “s” appears in the display and wait for the beep to confirm the character.

6 Press Enter to confirm your input field entry.

ZPL Commands Supported by ZSimThe ZPL commands supported by ZSim are listed below:

^Ax: (x=0-9,A-Z), ^A@

^B1, ^B2, ^B3, ^B5, ^B7, ^B8, ^B9, ^BA, ^BC, ^BD, ^BE, ^BF, ^BI,

^BJ, ^BK, ^BL, ^BM, ^BP, ^BS, ^BU, ^BY

^CC, ^CD, ^CF, ^CI, ^CT, ^CW

~CC, ~CD, ~CT

^DF, ^DG, ^DT, ^DU

^EF, ^EG

^FB (Limited support)

^FC, ^FD, ^FH, ^FN, ^FO, ^FR, ^FS, ^FT, ^FV, ^FW, ^FX

^GB

~HI, ~HM, ~HS

^ID, ^IL, ^IM, ^IS

^JA, ^JC, ^JG, ^JL, ^JM, ^JP, ^JR, ^JU, ^JX, ^JZ

^LH, ^LL, ^LR, ^LS, ^LT

^MC, ^MD, ^MF, ^ML, ^MM, ^MN, ^MT, ^MU

^PH, ^PF, ^PO, ^PM, ^PQ, ^PR, ^PW

^SD, ^SN, ^SS, ^ST

^WC

^XA, ^XF, ^XG, ^XZ

32 ZSim Programmer’s Guide

Troubleshooting ZSimIf you have issues with the ZSim program on your printer, look for the symptom in the next table and then try the suggested solutions.

Troubleshooting ZSim

Problem Solution

You change a value in the Configuration menu but the new setting does not take effect.

Press Enter or to save your changes.If you press F2, Esc, or , the changes are canceled and the value of the setting is not changed.

You manually set the Print Mode to Tear Off, but once you send a label to the printer the setting reverts to Rewind.

Check your print driver for its printer settings and correct the Print Mode values. Some drivers send down setup commands with their labels.

Label is partially printed, or the printout is offset on the label.

You need to re-calibrate the ZSim program every time you load a new type or size of media. You may also need to change the Default Start Adjust or Default Stop Adjust values.

To calibrate ZSim 1 Press Setup to enter the Configuration menu.

2 Press F1 or F3 until you reach Calibrate.

3 Press Enter.

4 Press Setup or F2 to leave the Configuration menu.

To calibrate ZSim on the PD41• Press and hold the Print key more than 1 second but less than 4

seconds.

To calibrate ZSim on a mobile printer1 Press Setup to enter the Configuration menu.

2 Press .

All or most fields of the printed label are out of position.

Check the value of the Sim Resolution setting.

ZSim Programmer’s Guide 33

34 ZSim Programmer’s Guide

Worldwide Headquarters6001 36th Avenue WestEverett, Washington 98203U.S.A.tel 425.348.2600fax 425.355.9551www.intermec.com

© 2009 Intermec Technologies Corporation. All rights reserved.

ZSim Programmer’s Guide

*937-009-003*P/N 937-009-003