The text of a manual · part 5 of 6
Monarch 9430RX Printer, pages 41 to 50
Pages 41 to 50 of 55
The original document is the PDF (1.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Monarch 9430RX
Page 41
Printing Graphics Syntax ESC P# ESC P$ ESC V <lines1> <lines2> #data# ESC v <height> <width> <counter> #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. Performs step 2 of entering flash memory graphic download mode. Saves a flash memory graphic. Prints the stored flash memory graphic.
Supply Control Commands Syntax ESC QJ <lines> ESC QQ <lines> ESC QF <max> ESC QB <max>
A-2 Quick Reference
Printer Action Moves the supply backward in .125mm increments, looking for a black mark. Specifies the number of lines to continue printing after failing to find a black mark. Moves the supply forward in .25mm increments, looking for a black mark. Moves the supply backward in .25mm increments, looking for a black mark.
Page 42
Font Modification Syntax ESC DAO ESC DX <charfont> ESC D <font> <code> <matrix>
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 <value>
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 <value> is hex). Sets the print contrast (when <value> is decimal). Sets the power down timer to nn seconds (000 = disable timer). Resets auto power down to 20 seconds. Requests the printer’s battery voltage. Queries the printer firmware version. Queries the printer hardware model. Print status request for buffer and magnetic card reader. Battery status request for buffer, battery voltage, and magnetic card reader.
Using the Magnetic Card Reader Syntax ESC M' #timer# <tracks> CR
Printer Action Prepares the reader for a card swipe.
Quick Reference A-3
Page 43
A-4 Quick Reference
Page 44
M O D I F Y I N G S TA N D A R D F O N T S
B
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. Font Name
Pitch
Reduced Normal Reduced Bold Standard Normal Standard Bold Large Normal Large Rotated (90 degrees clockwise)
24 CPI normal 21 CPI normal 19 CPI normal 16 CPI normal 12 CPI normal 13 CPI rotated
Columns per Line 72 63 57 48 32 32 (rows per line)
Character Size (WxH) 8x23 9x23 10x23 12x23 16x23 14x16
Syntax ESC k5 ESC k4 ESC k3 ESC k2 ESC k1 ESC k0
Modifying Fonts To modify a font: 1.
Define a new character.
2.
Select a character set to modify.
3.
Load the new character.
4.
Save the modified font.
Modifying Standard Fonts B-1
Page 45
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.
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 each bit sequence into two hex characters. For example, the second line from the top is 00 40.
B-2 Modifying Standard Fonts
Page 46
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. NOTE: Syntax
Do not send any commands to the printer between turning it on and selecting the character set. ESC-‘cmdmd’-<chfont> ESC
Starts the command language.
‘cmdmd’
Modify font command. Options: DA0 Selects characters from the ASCII character set (33-127). DX
<chfont>
Example
Selects characters and fonts from the Extended PC Line-Draw or International character set (128-255).
Character Set and Font options: 0 Extended PC Line-Draw characters – Large Rotated, Large Normal, and Standard Bold fonts. 1
Extended PC Line-Draw characters – Standard, Normal, Reduced Bold, and Reduced Normal fonts.
2
International characters –Large Rotated, Large Normal, and Standard Bold fonts.
3
International characters –Standard Normal, Reduced Bold, and Reduced Normal fonts.
ESC DX2
Selects characters from the International Set (Large Rotated, Large Normal, and Standard Bold) fonts.
Modifying Standard Fonts B-3
Page 47
Loading New Characters This step allows you to load the new characters at a particular position in the set. Syntax
<ESC>-<cmdlc>-<chfont>-<code>-#matrix# ESC
Starts the command language.
<cmdlc>
Load character command. Loads a character at a particular position. Enter D.
<chfont>
Character Set and Font options: 0 PC Line-Draw characters (Large Normal and Standard Bold) Extended PC Line-Draw and International Fonts (Large Normal, Standard Bold, and Standard Normal) 1
PC Line-Draw Fonts (Standard Normal) 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 save the modified font into flash memory, use ESC D FF hex. The printer sends a ‘D’ character and then performs the save. When the fonts have been saved, the printer sends a ‘!’ character to the host. Then, it sends an ‘X’ character every 500 milliseconds. Next, remove the battery and wait several seconds before replacing it.
B-4 Modifying Standard Fonts
Page 48
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. To access the DIP switches, open the battery door and remove the battery. See “Setting the DIP Switches” in Chapter 2 for the proper location of the following DIP switch settings. DIP switch #4 = OFF and DIP switch #5 = OFF 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. Operating in this way greatly extends the life of the battery. Operating with dip switch #8 ON means that the printer automatically turns off after 99 sec. (default) or the time set up by the System Administrator. This places the highest current demand from the battery resulting in reduced battery charge life. It is recommended using the universal wall charger for additional trickle charging to the battery to keep it fully charged. If you want to leave the printer on for continuous operation (MANUAL POWER OFF), set the DIP switch #8 to OFF. DIP switch #8 = OFF Bluetooth® RF Communication-C-1
Page 49
C-2 Bluetooth® RF Communication
Page 50
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 supply control, 2-7 version information checking, 2-8 communication parameters, 2-9 loading new, B-4 communications between the printer and device, 2-9 sets, selecting (creating text fields), B-3 compressed graphics, 3-8 sets, selecting (font modification), B-3 contrast, print, 2-1 checking control characters, miscellaneous, 2-13 battery voltage, 2-3 control of supplies, 2-7 version information, 2-8 conventions in manual, 1-2
Codabar bar codes, 3-13 Code 128 (UCC/EAN-128 bar codes, 3-13 Code 39 bar codes, 3-13 command summary, 1-1 Index i