Paxar 9430R User Manual



 


Each product and program carries a respective written warranty, the only warranty on which the customer can rely. Paxar reserves the right to make changes in the product, the programs, and their availability at any time and without notice. Although Paxar has made every effort to provide complete and accurate information in this manual, Paxar shall not be liable for any omissions or inaccuracies. Any update will be incorporated in a later edition of this manual.
2003 Paxar Americas, Inc. All rights reserved. No part of this publication may be reproduced, transmitted, stored in a retrieval system, or translated into any language in any form by any means, without the prior written permission of Paxar Americas, Inc.
Regulatory Compliance
Paxar products are designed to be compliant with the rules and regulations in the locations into which they are sold and will be labeled as required. The majority of RF devices are type approved and do not require the user to obtain license or authorization before using the equipment. Any changes or modifications to Paxar equipment not expressly approved by Paxar could void the user authority to operate the equipment.
Radio Frequency Interference Requirements
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: 1) this device may not cause harmful interference, and 2) this device must accept any interference that may cause undesired operations.
Radio Frequency Interference Requirements - Canada
This digital apparatus does not exceed the Class B limits for radio noise emissions from digital apparatus set out in the Radio Interference Regulations of the Canadian Department of Communications.
Le présent appareil numérique n’émet pas de bruits radioélectriques dépassant les limites applicables aux appareils numériques de la classe B prescrites dans le Réglement sur le brouillage radioélectrique édicte par le ministère des Communications du Canada.
To comply with FCC and Industry Canada exposure requirements, if this device is a user’s hand when there is 2.5 cm or more between the antenna and the user’s body; if this device is a when there is 25 cm or more between the antenna and the user’s body.
hand-held portable
device, it is approved for operation in a
table-top
device, it is approved for operation
European Economic Area
The European variant is intended for use throughout the European Economic Area, and is compliant with the R&TTE directives; however, authorization for use restricted as follows:
European standards dictate maximums radiated transmit power of 100 mW EIRP and frequency range 2.400 –2.4835 GHz.
France, the equipment is to be restricted to the 2.4465 – 2.4835 GHz frequency range.
Belgium outside, the equipment is to be restricted to the 2.460 – 2.4835 GHz frequency range.
Operation in Italy requires a user license.
Trademarks
Paxar is a trademark of Paxar Corporation. Monarch is a registered trademark of Paxar Americas, Inc. 9430R and Paxar Monarch Sierra Sport are trademarks of Paxar Americas, Inc.
TABLE OF CONTENTS
Introduction..............................................................................................1-1
Duty Cycle .............................................................................................1-1
Conventions Used in this Manual..............................................................1-2
Creating and Printing Formats...................................................................2-1
Overview................................................................................................2-1
Creating Text Fields................................................................................ 2-1
Selecting Character Sets ......................................................................... 2-2
Formatting Text ..................................................................................2-3
Creating Graphic Fields ........................................................................... 2-4
Using Data Stream Graphics ................................................................2-4
Using Flash Memory Graphics ..............................................................2-5
Using Compressed Graphics.................................................................2-8
Creating Bar Code Fields.........................................................................2-9
Specifying Particular Bar Codes ......................................................... 2-11
Positioning Fields ................................................................................. 2-13
Configuring the Printer .............................................................................3-1
Selecting the Operating Mode ..................................................................3-1
Setting the Print Contrast ........................................................................3-1
Setting the Power Mode...........................................................................3-2
Checking the Battery Voltage ...................................................................3-2
Using the Power-Off Timer.......................................................................3-3
Supply Control Commands.......................................................................3-4
Printer Responses...............................................................................3-5
Checking Version Information................................................................... 3-6
Table of Contents i
Printer/Device Communications ................................................................ 3-6
Setting the Communication Parameters .................................................3-8
Printer Pinouts....................................................................................3-9
Miscellaneous Control Characters1......................................................... 3-10
Modifying Resident Fonts..........................................................................4-1
Resident Font Sizes................................................................................ 4-1
Modification Procedure............................................................................ 4-1
Defining New Characters .........................................................................4-2
Selecting Character Sets ......................................................................... 4-3
Loading New Characters..........................................................................4-4
Saving Modified Fonts.............................................................................4-4
Using the Magnetic Card Reader................................................................5-1
Error Messages...................................................................................5-3
Control Characters................................................................................... A-1
Command Summary ................................................................................. B-1
ii Table of Contents
INTRODUCTION
1
The Paxar® Monarch® Sierra Sport™ 3R 9430R™ printer control language contains a variety of commands that allow you to specify how the printer works. You download these commands in a data stream from another device.
The printer control language contains commands to
create and print formats. configure the printer. enable the use of certain printer features.
This manual describes the printer's control language.
Duty Cycle
The 9430R printer is designed to print up to 1000 inches per day. The average print rate is 1 inch every 10 seconds at a text character print density of 25% (i.e., one character printed out of every four positions). Bar codes and graphics are more dense (print with more dots) than text and may need a lower duty cycle. In high temperature environments, pause the printer for one minute after every four (4) inches printed. If the duty cycle is exceeded, the printer may not print all of the information that was sent to it.
Introduction 1-1
Conventions Used in this Manual
Following are the conventions used in the syntax descriptions of each command.
Symbol Description
- Separates items in the command sequence.
< > Indicates a variable with a single-byte value.
' ' Indicates the value is a literal. Enter the value as it appears or
use the ASCII hex values for the same characters.
( ) Indicates a variable of any length.
# # Indicates a variable of an exact length.
ESC Indicates the beginning of a command sequence. Enter 1B hex
for this item.
CR-LF­NAK
These conventions make it easier for you to read the commands' syntax descriptions. They are not part of the data streams. For example, ESC-'F1' may be the syntax description, but the data stream should contain 1B for ESC. Also, - and ' (and other such characters described here) are not part of the data stream.
Indicates the end of a response from the printer. In the response, it is represented as 0D 0A 15 hex.
NOTE: The printer ignores commands with syntax errors.
1-2 Introduction
CREATING AND PRINTING
2
FORMATS
A
format
placed at various locations on the format. Fields can contain text, graphics, and bar codes.
This chapter describes how to create a format.
Overview
To create a format:
1. Draw a rough sketch of how you want the format to look. For example,
NOTE: There are .157-inch no-print zones on the left and right sides of the
2. Code the commands to implement your format design, as described in
3. Add any commands to the data stream related to how the printer
is the design what your data stream prints. It consists of
a graphic may appear at the top, followed by the name of your organization, followed by a list of items purchased. Your format could be organized any number of ways.
format, and a .7-inch no-print zone at the top of the format.
this chapter.
performs. For example, at the data stream's beginning, enter the command to initialize the printer (18 hex).
fields
4. Send the data stream from the host to the printer and test what you have written.
Creating Text Fields
Text fields can contain letters, numbers, and symbols. To specify text for the format, write the text directly to the printer. There is no special command to use. There are, however, commands/control characters to select a character set to use and to format the text.
Creating and Printing Formats 2-1
Selecting Character Sets
The printer comes with a default ASCII character set.
You can select either of two extended character sets: International or PC Line-Draw.
These character sets are preloaded in the printer.
NOTE: You can modify character sets/fonts resident in the printer. See
“Modifying Resident Fonts.”
Character Exceptions
Both character sets have missing characters. The
replace
2-2 Creating and Printing Formats
and , respectively; the character replaces .
and characters
Command Summary
Command Description
ESC-'F1' Selects International (ANSI) characters.
ESC-'F2' Selects PC Line-Draw (ASCII) characters.
NOTE: F1 and F2 are two-character strings, not the familiar notation for
function keys 1 and 2.
Formatting Text
For the text on your format, you can choose the font, its size, and style (normal or bold).
Command Summary
Command Description
1C hex (Extend) Prints characters twice as high as normal.
1D hex (Extendoff) Prints characters at the normal height.
ESC-'k'-<font> Selects a font. Standard Bold is the default.
<font> 0 Large Rotated (90 degrees
clockwise)
1 Large Normal
2 Standard Bold
3 Standard Normal
4 Reduced Bold
5 Reduced Normal
ESC-'U'-<mode> Turns bold printing on or off.
<mode> 0 Turn off bold printing.
1 Turn on bold printing.
Creating and Printing Formats 2-3
Creating Graphic Fields
The printer can print bitmap graphics from
data streams flash memory.
You use the same commands for both methods. However, if you use a data stream, you must recreate the graphic every time you want to print it. If you put the graphic in flash memory, you create it only once, and then retrieve it when you want to print it.
You can also compress graphics.
Using Data Stream Graphics
You print data stream graphics one line at a time. These lines may contain data or spaces. To create a line, you specify bits to turn off or on. Bits turned off represent white space, and bits turned on represent part of the graphic. There is a .125 mm gap between consecutive lines.
Command Summary
Command Description
ESC-'V'­<lines1><lines2>­#data#
<lines1><lines2> The first and second hexadecimal digits of the
NOTE: You do not directly specify the bits turned on or off. You specify
the bits in groups of eight by using hex values.
2-4 Creating and Printing Formats
Prints a graphic line.
number of lines to print.
#data# 72 hex bytes, indicating the dots to turn on or
off. For example, if a specified byte is FF, all the dots are on. If it is 01, only one dot is on, and the other 7 are off.
If you accidentally specify less than 72 bytes, the printer does not print the graphic. If you specify more than 72 bytes, a fatal exception occurs.
Example
This line of code prints a solid horizontal line of dots.
ESC-V-1-0­FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFF
ESC-'a'-<space> Specifies the amount the space for the printer
to leave between lines.
<space> 0-10 The amount of space (in increments of
.125 mm). The default is 3 (.375 mm). When using PC Line-Draw characters, specify 0.
Example: ESC-a2 Sets the space between text lines to .25 mm.
ESC-'J'-<num> Performs a specified number of .125mm line
feeds.
<num> 1-FF The number of line feeds, specified in
hex. The default is 1 (.125 mm).
Using Flash Memory Graphics
You can also use a graphic previously stored in flash memory. You are limited to one graphic stored in memory at a time. Saving a graphic to flash memory when there is already one there overwrites the previous one.
1. Remove the printer’s battery and wait several seconds.
2. Re-insert the battery and enter Download Mode immediately (see
below). It takes two commands to make the transition to Download Mode:
A. ESC-'DL'
B. ESC-'LG0'
Have the host wait to send the second command until the printer responds to the first command by returning a ‘?‘ character.
3. Transmit the graphic one line at a time using the ESC-V command as
described in “Using Data Stream Graphics.”
ESC-'V'-<lines1><lines2>-#data#
Creating and Printing Formats 2-5
4. Save the graphic to flash memory using the following command:
ESC-'LG'-FF hex
When it receives the command, the printer returns a ‘D‘ character, and begins the save. When the save is complete, the printer transmits an ‘!’ character, and then an ‘X’ character every 500 milliseconds.
5. Remove the printer’s battery and wait several seconds before replacing it.
6. Print the flash memory graphic with the following command:
ESC-'Lg0'
All these commands are described in detail in the following table.
Command Summary
Command Description
ESC-'DL' Step 1 of entering Download Mode. After
processing this command, the printer returns a ‘?’ character.
ESC-'LG0' Step 2 of entering Download Mode. Any
character not accepted as part of this command is sent back to the host.
ESC-'LG'-FF hex Saves the graphic. After receiving this
command, the printer returns a ‘D’ character, and then saves the graphic.
When finished, the printer sends an ‘!’ character, then it sends an ‘X’ character every 500 milliseconds.
ESC-'Lg0' Prints the graphic stored in flash memory.
2-6 Creating and Printing Formats
Command Description
ESC-'V'-<low>-<high>­#data#
Prints a number of graphic lines (same command for both data stream and flash memory graphics).
<low> and <high> The hex digits (listed backward) of a number
indicating how many lines to print. For example, to print 10 lines, <low> is A, and
<high> is 0.
#data# 72 hex bytes, indicating the dots to turn on or
off. For example, if a specified byte is FF, all the dots are on. If it is 01, only one dot is on, and the other 7 are off.
If you accidentally specify less than 72 bytes, the printer does not print the graphic. If you specify more than 72 bytes, a fatal exception occurs.
NOTE: You are not directly specifying the bits turned on or off. You are
specifying the bits in groups of eight by using two digit hex values.
Creating and Printing Formats 2-7
Using Compressed Graphics
You can compress the data in a graphic when it has repetitive values.
Command Description
ESC-'v'-<height>-
Prints a bar code with human-readable data.
<width>-<counter>­(data)…
<height> The number of dot lines in the following data.
<width> The number of bytes per dot line.
<counter> An indicator of how and how much data to
process.
When <counter> is signed (and a positive number), process the specified amount of data as with data stream graphics. Otherwise, repeat the next byte the specified number of times.
When <counter> is unsigned, (and less than or equal to 127), process the specified amount of data as with data stream graphics. Otherwise, repeat the next byte the specified number of times (the specification being the difference between counter and 256).
(data) The data in the graphic.
NOTE: <counter> and <data> can repeat multiple times within one
command.
2-8 Creating and Printing Formats
Loading...
+ 36 hidden pages