background image

3-4  Creating and Printing Formats 

ESC 

Starts the command language. 

<cmdb> 

Bold command.  Enter 

U

<bold>

 

Enables or disables bold printing.  Options: 

 

 

0

  Turn off bold printing. 

 

1

  Turn on bold printing. 

Example 

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. 

Syntax 

ESC-<cmdu>-<uline>-‘data’

 

ESC 

Starts the command language. 

<cmdu> 

Underline command.  Enter 

F

<uline>

 

Sets underline mode.  Options:

 

 

w

  Turns on underline for all characters  

 

 

following this command.  Underline is used  

   until 

an 

ESC Fh

 command is received or  

 

 

until the end of the current line.  

 

h

 

Turns off underline for all for all characters  

 

 

following this command.  No underline is  

 

 

used until an 

ESC Fw

 command is  

 

 

received or until the end of the current line. 

‘data’ 

Enter the data to print in your format.  Must be 
enclosed within single quotation marks. 

Example 

ESC Fw ‘12345’ ESC Fh ‘78910’ ESC Fw ‘3345’ CR 

‘12345’ 

Turns on underline for characters 12345 and turns off underline for characters 
78910.  The printer prints: 

12345789103345 
12345 

Summary of Contents for 9430RX

Page 1: ...Monarch 9430RX Printer TC9430RXPM Rev AA 10 05 2005 Paxar Americas Inc All rights reserved ...

Page 2: ...o 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 I...

Page 3: ...t 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 and 9430RX are registered trademarks of Paxar Americas Inc Paxar...

Page 4: ......

Page 5: ......

Page 6: ...the Operating Mode 2 1 Setting the Print Contrast 2 1 Setting the Power Mode 2 2 Checking the Battery Voltage 2 2 Request the printer statuses 2 3 Using the Power Off Timer 2 4 Supply Control Commands 2 5 Printer Responses 2 6 Checking Version Information 2 6 Printer Device Communications 2 7 Setting the DIP Switches 2 8 Printer Pinouts 2 9 Miscellaneous Control Characters 2 10 ...

Page 7: ... Graphics 3 6 Using Compressed Graphics 3 7 Using Flash Memory Graphics 3 8 Creating Bar Code Fields 3 9 Specifying Particular Bar Codes 3 10 Positioning Fields 3 12 USING THE MAGNETIC CARD READER 4 1 Magnetic Card Specifications 4 1 Error Messages 4 3 QUICK REFERENCE A 1 Choosing a Font A 1 Choosing a Bar Code A 1 Printing Graphics A 2 Supply Control Commands A 2 Font Modification A 3 Configuring...

Page 8: ...Standard Fonts B 1 Modifying Fonts B 1 Defining New Characters B 2 Selecting Character Sets B 3 Loading New Characters B 4 Saving Modified Fonts B 4 BLUETOOTH RF COMMUNICATION C 1 Setting the Communications Parameters C 1 Manual Power Off C 2 INDEX I 3 ...

Page 9: ...iv Table of Contents ...

Page 10: ...e 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 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 ...

Page 11: ...es the beginning of a command sequence Enter 1B hex for this item CR LF NAK Indicates the end of a response from the printer In the response it is represented as 0D 0A 15 hex 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 a...

Page 12: ...0x08 08 Backspace Removes the previous character in the print buffer HT I 0x09 09 Horizontal Tab Advances to the next tab position from the following list or to the beginning of the next line 5 9 13 17 21 25 29 33 37 LF J 0x0A 10 Line Feed Advances to beginning of next line VT K 0x0B 11 Vertical Tab Advances 5 lines FF L 0x0C 12 Form Feed Advances 10 lines CR M 0x0D 13 Carriage Return Advances to ...

Page 13: ... has occurred Signals to the printer that the host s transmitter is off NORM T 0x14 20 Switches to 57 column print mode AUXOFF U 0x15 21 Printer is off Signals to the host that the printer is out of supply or has powered down CANCEL X 0x18 24 Cancel and reset printer Resets the print buffer places the printer in initial power up mode with the default settings ESC 0x1B 27 Escape Indicates that the ...

Page 14: ...arts the command language cmdol Online command Options P Selects online mode P Selects buffer mode Example ESC P Uses online mode The printer starts printing as soon as it receives a character Setting the Print Contrast You can increase or decrease the print contrast for lighter or darker print This setting affects the print speed the higher the contrast the lower the speed and vice versa The prin...

Page 15: ...ead section less than 1 0 Amp 2 Medium Use two printhead sections less than 2 0 Amps 3 High Use three printhead sections less than 3 0 Amps 6 Very high Use six printhead sections less than 9 0 Amps 7 Auto Control Dynamically choose the number of printhead sections to use 1 2 3 or 6 depending on what is printed default Example ESC P2 Uses two printhead sections which is less than 2 0 Amps Checking ...

Page 16: ...nd line feed ESC V Battery voltage status volts Four ASCII decimal digits which are OR d with 30 hex The first three are the battery voltage form x x The fourth character categorizes the voltage listed to give it a reference Values are 1 4 where 1 is high and 4 is low CR LF Carriage return and line feed ESC M Magnetic card reader status card Four ASCII hex digits which are OR d with 30 hex represe...

Page 17: ...ut this feature Syntax ESC cmdpt digit1 digit2 CR ESC Starts the command language cmdpt Power off timer command Enter M digit1 digit2 Number of seconds for the inactivity period Options 0 to 9 The first and second digits respectively of the number of seconds to set the inactivity period to To disable the timer set both parameters to 0 CR Carriage return NOTE Be careful when using sleep mode with b...

Page 18: ... find the black mark 3 Wait for a response from the printer found or not found 4 Send a data stream with printing commands Syntax ESC cmdbw lines ESC cmdos lines ESC cmdbfw max ESC cmdbbw max ESC Starts the command language cmdbw Backward command Enter QJ lines The number of lines to move the printer backwards in 0 125 mm increments in 00 hex FF hex ESC Starts the command language cmdos Out of sup...

Page 19: ...QR39 ESC QB35 ESC Q 30 hex 30 hex high low Black mark not found high The left digit of the hex number representing the number of lines moved to find the black mark in 30 hex 3F hex low The right digit of the hex number representing the number of lines moved to find the black mark in 30 hex 3F hex Checking Version Information You can check the versions of both the printer s hardware and firmware Sy...

Page 20: ... version CR LF NAK Indicates the end of a response from the printer Printer Device Communications Following are the printer s communication values The defaults are listed in bold Baud Rate 2400 9600 19200 or 38 4K Stop Bits 1 or 2 Parity None Odd or Even Data Bits 7 or 8 Flow Control RTS CTS hardware or XON XOFF software The printer and host cannot communicate unless they use the same communicatio...

Page 21: ...o not use any metal object The communications interface settings must be set as defined in the table Select DIP switches 4 through 8 for RS232 and 6 through 8 for IrDA 1 2 3 4 5 6 7 8 Communication Interface RS232 OFF OFF OFF IrDA Fixed 9600 ON ON OFF OFF OFF IrDA Variable Baud ON ON OFF ON OFF Bluetooth OFF OFF ON OFF OFF OFF OFF OFF Baud Rate 38400 OFF OFF 19200 OFF ON 9600 ON OFF 2400 ON ON Par...

Page 22: ...rom Printer Output CTS 1 and 5 Logic common COM Following are the pin locations on the connector The following control characters are related to communications between the printer and the host Char Hex Control Action AUXON 0x12 Signals to the host that the printer is online It is sent after initial power up clearing a supply jam or re loading supply AUXOFF 0x15 Signals to the host that the printer...

Page 23: ... characters in your data streams Char Hex Control Action BS 0x08 Removes the last character entered in the print buffer CANCEL 0x18 Re initializes the printer We recommend that you begin all data streams with this command EOT 0x04 Sent by the printer to indicate the buffer is empty and the printer is idle End Of Text ...

Page 24: ...ased Your format could be organized any number of ways 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 3 Create the data stream based on your format s design 4 Add any commands to the data stream related to how the printer performs For example at the data stream s beginning enter the command to initialize the prin...

Page 25: ...ended character sets International or PC Line Draw 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 characters replace and respectively the character replaces ...

Page 26: ...t For your format s text select the font its size and style normal or bold Syntax ESC chheight ESC cmdf font ESC cmdb bold ESC Starts the command language chheight Character Height Use EXTEND or EXTENDOFF 1C hex Prints characters twice as high as normal EXTEND 1D hex Prints characters at the normal height EXTENDOFF ESC Starts the command language cmdf Font command Enter k font Font Options 0 Large...

Page 27: ...tarts the command language cmdu Underline command Enter F uline Sets underline mode Options w Turns on underline for all characters following this command Underline is used until an ESC Fh command is received or until the end of the current line h Turns off underline for all for all characters following this command No underline is used until an ESC Fw command is received or until the end of the c...

Page 28: ...m is 0 255 in increments of 0 125mm Example ESC a2 Sets the spacing between lines to 0 25mm 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 print it If you save the graphic in flash memory you only create it once and retrieve it when ...

Page 29: ...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 error occurs NOTE You do not directly specify the bits turned on or off You specify the bits in groups of eight...

Page 30: ...times the specification being the difference between counter and 256 data The data in the graphic 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 NOTES counter and data can repeat multiple times within one command For using Flash Memoroy Graphics use the graphic command above However...

Page 31: ... until the printer responds to the first command by returning a character ESC LG0 3 Send the graphic one line at a time using the ESC V command as described in Using Data Stream Graphics ESC V 1 0 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFF 4 Save the graphic to flash memory using the following command ESC LG FF hex When the printer receives the command it returns a D...

Page 32: ...lues are the ASCII representation not hex Options 1 Code 39 2 Code 128 UCC EAN 128 3 Interleaved 2 of 5 4 UPC EAN JAN 5 Codabar length The data length specified in hex 01 FF This value is dependent on the bar code you choose with bctype See Specifying Particular Bar Codes height The bar code height specified in hex in increments of 125 mm height can be no smaller than 14 For example 14 2 5 mm 15 2...

Page 33: ...acters The printer adds the stop character automatically Data 0 9 and Start characters a the default b c or d Code 128 UCC EAN 128 Details For Code 128 UCC EAN 128 bar codes length can be a maximum of 18 with alphanumeric control code data or 36 if you use subset C and numeric pairs The first character of data must specify the subset to use A B or C listed as 87 88 and 89 hex respectively The rest...

Page 34: ...h to Subset A 86 hex Function 1 Function 1 Function 1 A temporary one character shift to another subset The following table describes the purpose of each function listed in the previous table Function Number Purpose Function 1 Uses reserved Code 128 characters UCC EAN128 Function 2 Appends data subsets A and B only The result is not readable by all bar code scanners Function 3 Initializes a bar co...

Page 35: ...7 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 Hex Control Action CR 0x0D Carriage Return Advances to beginning of next line LF 0x0A Line Feed Advances to beginning of next line FF 0x0C Form Feed Advances 10 lines NORM 0x14 Switches to 57 column print mode SI 0x0F Shift In Switches to 57 column print mode SO 0x0E Shift Out S...

Page 36: ...210 BPI 79 Characters 7 Track 2 ISO2 ABA 75 BPI 40 Characters 5 Track 3 ISO3 MINTS 210 BPI 107 Characters 7 After reading the data the printer returns the information to the host Following is a summary of what occurs when using the reader 1 The host wakes up the printer by sending it some characters 2 The printer responds with an XON character 3 The device starts the reader ESC M command The green...

Page 37: ... the timer runs out an error occurs Values are 00 99 seconds 00 disables the timer tracks The combination of tracks to read 1 Track 1 only 2 Track 2 only 3 Track 3 only 4 Tracks 1 and 2 together 5 Tracks 2 and 3 together 6 Tracks 1 2 and 3 together CR Carriage return The reader responds to the read command with trck data CR LF NAK trck Track indicator Values are 1 track 1 2 track 2 and 3 track3 da...

Page 38: ...ng process Error Messages The following data is returned when an error occurs with the magnetic card reader When an error occurs the reader s LED blinks once E error text CR LF Indicates an error occurred and Start of track characters E Indicates an error occurred error text Error number and corresponding text 05 Timeout Expired 07 Invalid Track Number 08 Unsupported Track selected 09 Cancel Reque...

Page 39: ...4 4 Using the Magnetic Card Reader ...

Page 40: ...rge Rotated 90 degrees clockwise ESC F1 Selects the International character set ESC F2 Selects the PC Line Draw character set ESC U1 Enables bold printing ESC U0 Disables bold printing ESC Fw Enables underline mode ESC Fh Disable underline mode ESC a num Selects the dot line spacing between printed lines ESC J num Performs a line feed Choosing a Bar Code Syntax Printer Action ESC z bctype length h...

Page 41: ... flash memory graphic download mode ESC LG0 Performs step 2 of entering flash memory graphic download mode ESC LG FF hex Saves a flash memory graphic ESC Lg0 Prints the stored flash memory graphic Supply Control Commands Syntax Printer Action ESC QJ lines Moves the supply backward in 125mm increments looking for a black mark ESC QQ lines Specifies the number of lines to continue printing after fai...

Page 42: ...the power mode when value is hex Sets the print contrast when value is decimal ESC Mnn0 CR Sets the power down timer to nn seconds 000 disable timer ESC C Resets auto power down to 20 seconds ESC P Requests the printer s battery voltage ESC P Queries the printer firmware version ESC P Queries the printer hardware model CTRL B Print status request for buffer and magnetic card reader CTRL V Battery ...

Page 43: ...A 4 Quick Reference ...

Page 44: ...e you start any modifications note the maximum size of characters in the font you want to use Font Name Pitch Columns per Line Character Size WxH Syntax Reduced Normal 24 CPI normal 72 8x23 ESC k5 Reduced Bold 21 CPI normal 63 9x23 ESC k4 Standard Normal 19 CPI normal 57 10x23 ESC k3 Standard Bold 16 CPI normal 48 12x23 ESC k2 Large Normal 12 CPI normal 32 16x23 ESC k1 Large Rotated 90 degrees clo...

Page 45: ...the character s design Following is an example Left Byte Right Byte 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 NOTE Leave at least one column blank to the character s right so character strings do not run together 2 Translate each line into two bit sequences left byte right byte where an empty square is 0 and a filled in square is a 1 For example the second line from the top is 00000000 01000000 3 Convert ea...

Page 46: ...set Syntax ESC cmdmd chfont ESC Starts the command language cmdmd Modify font command Options DA0 Selects characters from the ASCII character set 33 127 DX Selects characters and fonts from the Extended PC Line Draw or International character set 128 255 chfont Character Set and Font options 0 Extended PC Line Draw characters Large Rotated Large Normal and Standard Bold fonts 1 Extended PC Line Dr...

Page 47: ...l Extended PC Line Draw and International Fonts Large Rotated Reduced Bold and Reduced Normal 2 PC Line Draw Fonts Reduced Bold and Reduced Normal code The hex character code for the new character 21 hex 7F hex PC Line Draw or 80 hex FF hex Extended PC Line Draw and International matrix The hex data from the matrix describing the new character see Defining New Characters Saving Modified Fonts To s...

Page 48: ...for 38 4Kb sec DIP switch 6 OFF and DIP switch 7 OFF for parity none Manual Power Off When using RF wireless communication turn the printer on by pressing the ON switch located on the left side of the printer The printer remains active waiting for the wireless print command Pressing the ON switch again turns the printer OFF For each wireless use turn on the printer again by pressing the ON switch ...

Page 49: ...C 2 Bluetooth RF Communication ...

Page 50: ...abar bar codes 3 13 Code 128 UCC EAN 128 bar codes 3 13 Code 39 bar codes 3 13 command summary 1 1 commands bar code field creation 3 11 battery voltage checking 2 3 character set selection 3 3 formatting text 3 5 magnetic card reader 4 2 operating mode selection 2 1 power mode setting 2 3 power off timer 2 6 print contrast setting 2 1 supply control 2 7 version information checking 2 8 communicat...

Page 51: ...fields bar code 3 11 graphic 3 6 positioning 3 15 text 3 2 flash memory graphics 3 10 font modification procedure B 1 fonts modified B 4 resident B 1 formats definition 3 1 printing and creating 3 1 formatting text 3 4 G graphics data stream 3 7 fields 3 6 flash memory 3 10 graphics compressed 3 8 H hardware version 2 9 I Interleaved 2 of 5 bar codes 3 13 introduction 1 1 L loading new characters ...

Page 52: ...etting 2 1 printer supply control responses 2 8 printer pinouts 2 12 printer device communications 2 9 printing formats 3 1 R resident fonts modifying B 1 responses supply control 2 8 S saving modified fonts B 4 selecting character sets creating text fields 3 3 character sets font modification B 3 operating mode 2 1 setting DIP switches 2 8 C 1 power mode 2 3 print contrast 2 1 supplies black mark...

Page 53: ...iv Index 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 ...

Page 54: ......

Page 55: ......

Reviews: