Monarch 9430RX Printer TC9430RXPM Rev. AA 10/05 ©2005 Paxar Americas, Inc. All rights reserved.
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. 2005 Paxar Americas, Inc.
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.
TA B L E O F C O N T E N T S INTRODUCTION ........................................................................ 1-1 Duty Cycle ............................................................................. 1-1 Conventions Used in this Manual ............................................. 1-2 Control Characters ................................................................. 1-3 CONFIGURING THE PRINTER ................................................... 2-1 Selecting the Operating Mode ....................
CREATING AND PRINTING FORMATS ....................................... 3-1 Overview ............................................................................... 3-1 Creating Text Fields ............................................................... 3-1 Selecting Character Sets ..................................................... 3-2 Selecting a Font .................................................................. 3-3 Using Underline Characters .................................................
MODIFYING STANDARD FONTS ............................................... B-1 Standard Fonts ....................................................................... B-1 Modifying Fonts ...................................................................... B-1 Defining New Characters ......................................................... B-2 Selecting Character Sets ......................................................... B-3 Loading New Characters .........................................................
iv Table of Contents
INTRODUCTION The Monarch 9430RX printer control language contains a variety of commands to ♦ create and print formats. ♦ configure the printer. ♦ enable specific printer features. 1 You download these commands in a data stream from another device. This manual describes the printer's control language. Duty Cycle The 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.
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. Indicates the beginning of a command sequence. Enter 1B hex for this item.
Control Characters The following characters are reserved and used to control the printer. The printer provides single-byte responses to the host of its status. Char. EOT Control ^D Hex 0x04 Dec 04 BS ^H 0x08 08 HT ^I 0x09 09 LF ^J 0x0A 10 VT ^K 0x0B 11 FF ^L 0x0C 12 CR ^M 0x0D 13 SO ^N 0x0E 14 SI ^O 0x0F 15 Control Action End Of Text Signals to the host device that the printer is in idle mode and the print buffer is empty.
Char. XON Control ^Q Hex 0x11 Dec 17 AUXON ^R 0x12 18 XOFF ^S 0x13 19 NORM AUXOFF ^T ^U 0x14 0x15 20 21 CANCEL ^X 0x18 24 ESC ^[ 0x1B 27 EXTEND ^\ 0x1C 28 EXTEND OFF ^] 0x1D 29 1-4 Introduction Control Action Transmitter On Signals that the device is ready to receive data (can be sent by the printer or host). Printer on Signals to the host that the printer is online. It is sent after initial power up, clearing a supply jam, or a supply reload.
CONFIGURING THE PRINTER 2 There are several commands to configure the printer. You can include these commands anywhere in a data stream. This chapter describes the commands to configure the printer. Selecting the Operating Mode The printer works in either online or buffer mode. In online mode, the printer prints characters as soon as they are received. In buffer mode, the printer receives and stores characters, and then prints them upon receipt of an EOT control character (4 hex).
Setting the Power Mode The printer can operate in five different power modes, each using a different number of printhead sections, which are groups of dots on the printhead. The mode selected also affects the print speed (the more printhead sections used, the faster the printer speed and vice versa). Syntax Example ESC-- ESC Starts the command language. Power mode command. Enter P. Power mode. The number of printhead sections to use, specified in hex.
Request the printer statuses You can request the print buffer, battery status, and magnetic card reader status from the printer by sending 16 hex (Ctrl-V) to the printer. The printer responds with ESC-'B'-#pbchars#-CR-LF-ESC-'V'-#volts#-CR-LF-ESC'M'-#card#-CR-LF-NAK ESC B Print buffer status. #pbchars# The number of characters currently in the print buffer, shown as four ASCII hex digits, which are “OR’d” with 30 hex. CR LF Carriage return and line feed. ESC V Battery voltage status.
Using the Power-Off Timer The printer has a power-off timer to conserve battery life. After a specified period of inactivity occurs, the printer goes into sleep mode. The printer returns to normal mode when it starts receiving commands again, but the countdown re-starts after every character received. Before powering down, the printer sends AuXon then Xoff. See “Setting the Communications Parameters” for descriptions of the dip switches and for information about this feature.
Supply Control Commands The commands in this section control how the printer uses black-mark supplies. Look at your supply (distance between black marks, existence of any preprinted text, etc.) before you begin. You may have to use the black mark search command multiple times if the marks are farther apart than the maximum search allows. To use these commands: 1. Set the sensitivity of the sensor search mechanism detecting the black mark (ESC QQ command). 2.
ESC Starts the command language. ‘cmdbbw’ Search for black mark backward command. Enter QB. The maximum number of lines to move backward in 0.25mm line increments (in 00 hex – FF hex). Printer Responses See the printer’s response to the black mark commands in the following table. Command ESC QR39 ESC QB35 Response Description ESC-'Q'-3F hex-3F hex-#high#-#low# Black mark found.
Example ESC P( The printer responds with: ESC-'('-#version#-CR-LF-NAK Example ESC ( Response from the firmware version request. #version# Four ASCII characters representing the firmware version. CR-LF-NAK Indicates the end of a response from the printer. ESC P) The printer responds with: ESC-')'-'103'-#version#-CR-LF-NAK ESC ) Response from the hardware version request. #version# An ASCII character representing the hardware version. CR-LF-NAK Indicates the end of a response from the printer.
Setting the DIP Switches Use the DIP switches to set the RS232 communication, IrDA, and optional RF values. To access the DIP switches, open the battery door and remove the battery. Turn the printer upside down to easily read the DIP switches. To activate the DIP switches, turn the printer off and then back on. Gently use a plastic-tipped object to set the DIP switches. Do not use any metal object! The communications interface settings must be set as defined in the table.
Printer Pinouts There is a port for a 6-Pin RJ25 data connector. It provides RS-232 communications and is located at the back of the printer. The six connections provide the serial interface to the host. The table below lists the serial interface signals and pinouts. NOTE: Pin # 3 2 6 4 1 and 5 Pins 1 and 3 must be set on at all times.
Miscellaneous Control Characters You may need to use some of these miscellaneous control characters in your data streams. Char. Hex Control Action BS CANCEL 0x08 0x18 EOT 0x04 Removes the last character entered in the print buffer. Re-initializes the printer. We recommend that you begin all data streams with this command. Sent by the printer to indicate the buffer is empty and the printer is idle (End Of Text).
3 C R E AT I N G A N D P R I N T I N G F O R M AT S A format defines which fields appear and where the fields are printed on the supply. Fields can contain text, graphics, and bar codes. This chapter describes how to create a format. Overview To create a format: 1. Decide the information (fields) you want on your supply. 2. Draw a rough sketch of how you want the format to look.
Selecting Character Sets The printer comes with a default ASCII character set. You can select either of two extended character sets: International or PC LineDraw. These character sets are standard in the printer. NOTE: You can modify the standard character sets/fonts. See Appendix B, “Modifying Standard Fonts,” for more information. Character Exceptions Both character sets have missing characters. The and , respectively ; the character replaces .
Syntax ESC-- ESC Starts the command language. Character set command. Enter F. Character Set. Options: 1 Selects International (ANSI) characters (default) 2 Example Selects PC Line-Draw (ASCII) characters. ESC F1 Selects the International (ANSI) character set. Selecting a Font For your format’s text, select the font, its size, and style (normal or bold). Syntax ESC-‘chheight’ ESC-- ESC-- ESC Starts the command language.
ESC Starts the command language. Bold command. Enter U. Enables or disables bold printing. Options: 0 1 Example Turn off bold printing. Turn on bold printing. ESC 1D hex ESC k1 ESC U0 This example uses the International (ANSI) character set, prints characters at the normal height, uses the Large Normal font, and disables bold printing. Using Underline Characters You can specify underlining for text on your format.
Selecting the Line Spacing You can change the line spacing between lines or before a line. Syntax Example ESC--num ESC Starts the command language. -num Line spacing command. Options: a-num sets the line spacing between text lines. Value for num is 0-10, in increments of 0.125mm. J-num sets the number of line feeds at the beginning of a line. Value for num is 0-255, in increments of 0.125mm. ESC a2 Sets the spacing between lines to 0.25mm.
Using Data Stream Graphics Data stream graphics print 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. Syntax ESC---#data# ESC Starts the command language. Graphic line command. Enter V.
Using Compressed Graphics You can compress the data in a graphic when it has repetitive values. Syntax ESC-----#data# ESC Starts the command language. Graphic command. Enter v. The number of dot lines in the following data (entered as 8-bit data). The number of bytes per dot line (entered as 8-bit data). An indicator of how much data to process.
Using Flash Memory Graphics You can also use a graphic 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.
Creating Bar Code Fields The printer can print the following bar codes, with or without human-readable data. ♦ Code 39 ♦ Codabar ♦ Interleaved 2 of 5 ♦ Code 128 (UCC/EAN-128) ♦ UPC/EAN/JAN Syntax ESC-----‘data’ ESC Starts the command language. Bar code command. Options: z Prints a bar code without human-readable data. Z Prints a bar code with human-readable data. The type of bar code to print (values are the ASCII representation, not hex).
Example ESC Z 3 08 hex 50 hex '12345678' Prints an Interleaved 2 of 5 bar code, 10 mm high, containing 12345678 as the data. Specifying Particular Bar Codes Values for the and parameters depend on the type of bar code you choose with .
The following tables explain how to switch from one subset to another and use the functions. Character 80 hex 81 hex 82 hex* 83 hex 84 hex 85 hex 86 hex Subset A Function 3 Function 2 Shift Switch to Subset C Switch to Subset B Function 4 Function 1 Subset B Function 3 Function 2 Shift Switch to Subset C Function 4 Switch to Subset A Function 1 Subset C Switch to Subset B Switch to Subset A Function 1 * A temporary, one character shift to another subset.
Positioning Fields You may need to use some of these supply positioning control characters to position the fields on the format. The data stream can also write spaces to the printer before it prints text to position a field. You can also change the line spacing between lines or before a line. See “Selecting the Line Spacing” in this chapter for more information. NOTE: There are .157-inch no-print zones on the left and right sides of the format, and a .7-inch no-print zone at the top of the format. Char.
USING THE MAGNETIC CARD READER 34 Optional. Your printer may have a magnetic card reader, which reads up to three tracks of magnetically encoded data from cards conforming to the ANSI/ISO 7810 and 7811 standards. Magnetic Card Specifications The card thickness is 0.76 mm (+/- 0.
Syntax ESC--#timer#--CR ESC Starts the command language. Magnetic card command. Enter M. Prepares the reader for a magnetic card swipe. The reader’s LED turns on when the printer receives this command, indicating it is waiting for the user to swipe the card. On a successful swipe, the LED turns off. #timer# Sets the reader’s timer. If the user does not swipe the card through the reader before the timer runs out, an error occurs. Values are 00-99 (seconds). 00 disables the timer.
Syntax 2 hex 2 hex (Ctrl-B) Requests the status of the print buffer and card reader. The printer responds with: ESC-'B'-#pb#-CR-LF-ESC-'M'-#sleep#-CR-LF-NAK Example #pb# The number of characters currently in the print buffer, shown as four hex digits, which are “OR’d” with 30 hex. #sleep# Four ASCII hex digits (which are “OR’d” with 30 hex) representing the time left before the printer enters sleep mode. CR-LF-NAK Indicates the end of a response from the printer.
4-4 Using the Magnetic Card Reader
A QUICK REFERENCE For more detailed information about each command, see the previous chapters. Choosing a Font Syntax ESC ESC ESC ESC ESC ESC ESC ESC ESC ESC ESC ESC ESC Character size (WxH) 8x21 9x21 10x21 12x21 16x21 14x16 k5 k4 k3 k2 k1 k0 F1 F2 U1 U0 Fw Fh a ESC J Font Name/Action Reduced Normal Reduced Bold Standard Normal Standard Bold Large Normal Large Rotated (90 degrees clockwise) Selects the International character set. Selects the PC Line-Draw character set.
Printing Graphics Syntax ESC P# ESC P$ ESC V #data# ESC v #data# ESC DL ESC LG0 ESC LG FF hex ESC Lg0 Printer Action Selects online mode, characters are printed when received. Selects buffer mode, characters are printed on receipt of an EOT character. Prints a line from a data stream graphic. Specifies a line of a compressed graphic Command Performs step 1 of entering flash memory graphic download mode.
Font Modification Syntax ESC DAO ESC DX ESC D Printer Action Selects characters from the ASCII character set. Selects extended characters from the PC LineDraw or International character sets. Loads a character at a particular position. Configuring the Printer Syntax ESC P^ ESC P ESC Mnn0 CR ESC C ESC P! ESC P( ESC P) CTRL B CTRL V Printer Action Prints the battery voltage. Sets the power mode (when is hex).
A-4 Quick Reference
B M O D I F Y I N G S TA N D A R D F O N T S You can modify the printer’s standard fonts by redefining the characters. NOTE: Each time you modify a font, it replaces the current font definition. The only way to return to the default font is to reload the original definition. Standard Fonts The following fonts are standard in the printer. Standard Bold is the default. Before you start any modifications, note the maximum size of characters in the font you want to use.
Defining New Characters You must define each new character separately, performing the following procedure for each one. 1. Define the character in a matrix. The matrix size depends on the font you select (see “Standard Fonts”). Think of the matrix as a bitmap showing the character’s design. Following is an example. Left Byte 7 NOTE: 6 5 4 3 Right Byte 2 1 0 7 6 5 4 3 2 1 0 Leave at least one column blank to the character’s right so character strings do not run together. 2.
Selecting Character Sets Before selecting a character set, remove the printer’s battery and wait several seconds. Then, replace the battery and immediately use one of these commands to select the character set to modify. When it receives either of these commands, the printer copies the character set to memory, then sends a ‘?’ character to the host. The printer returns any characters not accepted as part of this command.
Loading New Characters This step allows you to load the new characters at a particular position in the set. Syntax ----#matrix# ESC Starts the command language. Load character command. Loads a character at a particular position. Enter D.
C BLUETOOTH® RF C O M M U N I C AT I O N This printer has been electronically modified to extend the life of the battery due to the current demands of Bluetooth RF communication. The printer can be set to operate in either the MANUAL POWER OFF or AUTO POWER OFF mode of operation. To use Bluetooth, make sure the DIP switches are set as follows: Bluetooth 1 2 3 OFF OFF ON 4 5 6 7 8 OFF OFF OFF OFF OFF Setting the Communications Parameters Bluetooth RF communication occurs at 38.4Kb/sec and parity none.
C-2 Bluetooth® RF Communication
INDEX B commands bar code field creation, 3-11 bar code fields, creating, 3-11 battery voltage checking, 2-3 specifying particular, 3-13 character set selection, 3-3 types available, 3-13 formatting text, 3-5 bar code field creation commands, 3-11 magnetic card reader, 4-2 battery voltage, checking, 2-3 operating mode selection, 2-1 black mark supplies, 2-7 power mode setting, 2-3 power-off timer, 2-6 buffer mode, 2-1 C character defining new, B-2 exceptions, B-3 print contrast setting, 2-1 s
resident, B-1 creating bar code fields, 3-11 formats formats, 3-1 definition, 3-1 graphic fields, 3-6 printing and creating, 3-1 formatting text, 3-4 text fields, 3-2 G D data stream graphics, 3-7 graphics defining new characters, B-2 data stream, 3-7 device/printer communications, 2-9 fields, 3-6 DIP switches, 2-8; C-1 flash memory, 3-10 graphics, compressed, 3-8 duty cycle, 1-1 H E errors, magnetic card reader, 4-3 hardware version, 2-9 I exceptions, character, 3-3 F fields Interleav
mode R buffer, 2-1 resident fonts, modifying, B-1 online, 2-1 responses (supply control), 2-8 operating, 2-1 S power, 2-3 modification of fonts, procedure, B-1 modifying resident fonts, B-1 O online mode, 2-1 saving modified fonts, B-4 selecting character sets (creating text fields), 3-3 character sets (font modification), B-3 operating mode, 2-1 operating mode, selecting, 2-1 P setting DIP switches, 2-8; C-1 pinouts of the printer, 2-12 power mode, 2-3 positioning fields, 3-15 print contrast
U UPC/EAN/JAN bar codes, 3-13 using data stream graphics, 3-7 flash memory graphics, 3-10 magnetic card reader, 4-1 power-off timer, 2-6 version information, checking, 2-8 voltage, battery, 2-3 iv Index