The text of a manual · part 3 of 22
Monarch Printers 9403, 9820, 9830, 9835, pages 21 to 30
Pages 21 to 30 of 219
The original document is the PDF (1.1 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.
Filed in the catalog under the Monarch 9446
Page 21
u
Do not place a new line (return) or any other non-printing character in a character string. However, a carriage return or line break after each p makes your formats easier to read. T,1,20,V,30,30,1,1,1,1,B,C,0,0,0 p T,2,10,V,50,30,1,1,1,1,B,C,0,0,0 p u
Spaces are ignored, except within character strings.
u
Indenting options improves readability of your formats. T,1,18,V,30,30,1,1,1,1,B,C,0,0,0 p R,42,1 p u
Use a tilde (~) followed by a 3-digit ASCII code in a quoted string to send function codes or extended characters or send the 8-bit ASCII code.
You can modify formats and fields with the optional entry method. See "Optional Entry Method" in Chapter 7 for more information.
U si n g O n l i n e C o n f i g u ra t i o n Pa cke t s Use online configuration packets to change the printer settings. You can send an individual packet or a packet that contains all seven online configuration packets. You can supply all parameters for each packet. Leave the parameters blank that you do not need to change. For example, { I,A,,,,1 p } prints a slashed zero and uses the last sent online System Setup parameters. Make a copy of the online configuration worksheet in Appendix D, "Format Design Tools," and save the original. Packets A-M are listed on the worksheet. When you turn off the printer, all the information in the online configuration packets is saved and used when the printer is turned back on. After you change printer configurations, you must resend the format, batch, or graphic to the printer before the changes take effect.
3-6 Configuring the Printer
Page 22
Configuration Pa cket Header Always include an I, immediately after the left bracket { and before the packet identifier (A, B, C, etc.). The I parameter identifies the data stream as a configuration packet. Include the I parameter with each packet if you are sending them individually. Include it only at the beginning of a data stream if you are sending multiple packets. This is the syntax to use when you create online configuration packets: Syntax { I, 1 to 7 optional packets A, parameter 1...parameter 5 p B, parameter 1...parameter 5 p C, parameter 1...parameter 5 p D, parameter 1...parameter 3 p E, parameter 1...parameter 9 p F, parameter 1...parameter 5 p G, parameter 1...parameter 4 p M, parameter 1...parameter 4 p }
Start of Header Configuration Header System Setup Supply Setup Print Control Monetary Formatting Control Characters Communication Settings Backfeed Control Memory Configuration End of Header
Syntax for single packet { I, A, parameter 1...parameter 5 }
Start of Header Configuration Packet Identifier System Setup End of Header
Configuring the Printer 3-7
Page 23
You can also add a configuration to non-volatile RAM or specify units for supply, print, margin, and cut positions. If you use the optional parameters with the I packet, any online configuration packets following the split vertical bar ( p ) must specify distances using the selected units. {header,ID#,action,device p }
Syntax 1. header
Constant I.
2. ID#
ID. Use 0.
3. action
A U
4. device
Storage Device. Options: M Memory N Nonvolatile RAM R Volatile RAM
5. units
Units. (Optional parameter.) Options: E English M Metric G Dots
Example
Add configuration. Upload User Configuration.
{I,0,A,N,E p C,0,25,0,0,0 p }
Adds a configuration to non-volatile RAM and specifies English units. It also uses the default contrast, moves print 0.25 inches closer to the bottom of the supply and does not change the margin adjustment, prints at the default print speed, and uses the default printhead width. If you do not use the optional parameters, the syntax for the online configuration packets does not change. For example, {I,C,0,50,0,0,0p} uses the default contrast, moves print 50 dots (0.25) inches closer to the bottom of the supply and does not change the margin adjustment, prints at the default print speed, and uses the default printhead width.
3-8 Configuring the Printer
Page 24
Example
{I,0,U,N p }
Uploads the printer configuration from nonvolatile RAM and returns the following to the host. A,0,0,0,0,0 p B,2,1,0,0,0 p C,0,0,0,0,0,0 p D,1,0,2 p E,"~123~044~034~124~125~126","","~013~010" F,3,1,0,0,1 p G,0,65,65 p M,R,8725,1345,N,2535,615 p M,R,R,300 p M,T,R,20 p M,I,R,3300 p M,D,N,1280 p M,F,N,640 p M,V,R,3740 p p
The parameters for each packet (A-M) are displayed. In the first line that begins with M, 8725 is the total volatile memory available, 1345 is the memory used in volatile RAM. 2535 is the total non-volatile memory available, 615 is the memory used in non-volatile RAM. The remaining lines beginning with M list the buffer sizes in 1/10K for the Receive, Transmit, Image, Downloadable Fonts, Formats, and Scalable Fonts Buffers. DIP switch settings will not be displayed. Refer to your Operator’s Handbook for information about DIP Switches.
Configuring the Printer 3-9
Page 25
Configuration Syntax Guidelines When creating a printer configuration packet: u
Follow the "Standard Syntax Guidelines" listed at the beginning of this chapter.
u
Begin a packet with the configuration header (I).
u
Download multiple configuration packets within one packet or download a single configuration packet.
u
Include the first five ANSI codes, at a minimum, in the control characters packet.
u
If you change any of the online configuration packets, resend the format packet to the printer, so the configuration changes take effect.
u
Make sure the communication settings at the host match those at the printer.
D ef i n i n g t h e S ys t em S e t u p Pa cke t Use the system setup packet (A) to select the power up mode, display language, print separators between batches, print a "slashed zero," and select the symbol set. Syntax A1. A
{I,A,powup_mode,language,sep_on,slash_zero, symbol_set p} System Setup Packet
A2. powup_mode Online Mode. Options: 0 online mode (default for all printers) 1 offline mode (9403) A3. language
3-10 Configuring the Printer
Display Language. Options 0 English (default for all printers) 1 French (9403) 2 German (9403) 3 Spanish (9403)
Page 26
A4. sep_on
Batch Separators. Options: 0 Does not print a separator (default for all printers). 1 Prints a separator. 2 Double-length separator (prints 2 tags - 9835 only) NOTE: If using non-indexed supply, the batch separator is always six inches long. If using a stacker, the batch separator is 3.66 inches long.
A5. slash_zero
Slash Zero. Options: 0 Print a standard zero (default for all printers). 1 Print a zero with a slash through it.
A6. symbol_set
Symbol Set. Options: 0 Internal/ Monarch (default for all printers) 1 ANSI 2 Code Page 437 3 Code Page 850
Example
{I,A,0,0,1,1,0 p }
Powers up the printer in the online mode, displays prompts in English, prints a separator after each batch, prints zeros with slashes through them, and uses the internal symbol set.
D ef i n i n g t h e S u p p l y S e t u p Pa cke t Use the supply setup packet (B) to select supply type, ribbon, feed mode, supply position, and cut position. Syntax
{I,B,supply_type,ribbon_on,feed_mode, supply_posn,cut_posn p}
B1. B
Supply Setup Packet
B2. supply_type
Supply Type. Options: 0 Black mark stock 1 Die Cut/aperture stock (default for all printers) 2 Non-indexed stock (9820/9830/9835) NOTE: You must use non-indexed supply in continuous mode.
Configuring the Printer 3-11
Page 27
B3. ribbon_on
Ribbon. Options: 0 Ribbon not installed (default for 9403) 1 Ribbon installed (default for 9820/9830) 2 High Energy Ribbon installed (9830/9835) You must use a print speed of 2.5 IPS with the high energy ribbon. Serial bar codes cannot be printed using the high energy ribbon. Settings for ribbon and supply type must match the supplies loaded in the printer; otherwise, an error occurs. To clear the error, turn off the printer and change the configuration packet. Turn on the printer and resend the packet.
B4. feed_mode
Feed Mode. Options: 0 Continuous operation (default for all printers) 1 On-demand mode
B5. supply_posn -300 to 300 in 1/203 inch. 0 is the default for all printers. Adjusts the machine to print at the vertical 0,0 point on the supply. This adjustment accounts for mechanical tolerances from machine to machine. The supply position adjustment only needs to be made on the initial machine setup. Adjust the supply position if formats do not start at the 0,0 point on the supply. Increase the supply position to move print up, decrease to move print down on the label. To verify the 0,0 point, print a test label. See "Printing a Test Label" in Chapter 8 for more information. You can’t change the supply position while the printer is active. Changing the supply position will affect the print position, dispense position, and backfeed distance. Once the supply position is set, use the print control packet and backfeed control packet to adjust printing and the dispense position. B6. cut_posn
Example
-300 to 300 in 1/203 inch. Use 0 for 9403/9820/9830 printers. Adjusts where the tag is cut. The printer adjusts the cut position according to the black marks on the supply. You may need to adjust for aperture supplies. Increase to move the cut up, decrease to move the cut down.
{I,B,0,0,1,10,50 p }
Indicates black mark and thermal direct stock has been loaded, causes the printer to operate in on-demand mode, feeds the supply approximately .05 inches up before printing the format on each label (10/203 inches), and feeds the supply .25 inches (50/203 inches) before cutting.
3-12 Configuring the Printer
Page 28
Defining the Print Control Packet Use the print control packet (C) to set the contrast, print, and margin adjustment, print speed, and printhead width. Syntax
{I,C,contrast,print_adj,margin_adjust, speed_adj,ph_width p }
C1. C
Print Control Packet
C2. contrast
-390 to 156. 0 is the default for all printers.
C3. print_adj
-99 to 99 in 1/203 inch. 0 is the default for all printers. Adjusts where data prints vertically on the supply. Increase the print position to move print up, decrease to move print down.
C4. margin_adj
-99 to 99 in 1/203 inch. 0 is the default for all printers. Adjusts where data prints horizontally on the supply. Increase the margin position to move print to the right, decrease to move print to the left. Margin and print position are format adjustments. They will not affect the supply position, dispense position, or backfeed distance.
C5. speed_adj
Print speed in inches per second (IPS). Options: 0 20 25 40 60
Default value 2.0 IPS (only speed available for 9403) 2.5 IPS (default for serial bar codes on 9820/9830/9835) 4.0 IPS (9820/9830/9835) 6.0 IPS (default for 9820/9830/9835)
NOTE: Serial bar codes printed at speeds greater than 2.5 IPS may not scan properly. We recommend a print speed of 2.5 IPS for labels less than two inches long using backfeed or on-demand mode printing. You must use a print speed of 2.5 IPS with the high energy ribbon. C6. ph_width
Example
Width of the printhead in dots. Use 0 for these printers.
{I,C,0,-20,-10,0,0 p }
Uses the default contrast, moves print 0.1 inch closer to the bottom of the supply (20/203 inches) and .05 inch to the left on the supply (10/203 inches), prints at six inches per second, and uses the default printhead width.
Configuring the Printer 3-13
Page 29
Defining the Monetar y Formatting Packet The monetary formatting packet (D) selects the monetary symbols to print for a price field. Use the monetary formatting packet to select primary and secondary monetary symbols, and designate the number of digits to appear at the right of a decimal. Syntax
{I,D,cur_sym,secondary,decimals p }
D1. D
Monetary Formatting Packet
D2. cur_sym
Currency Symbol. Options: 0 No symbol 1 USA ($, Dollar- default for all printers) 2 UK (£, Pound) 3 Japan (¥, Yen) 4 Germany (1, Deutsche Mark) 5 France (F, Franc) 6 Spain (P, Peseta) 7 Italy (L., Lira) 8 Sweden (Kr, Krona) 9 Finland (2, Markka) 10 Austria (6, Shilling) 11 India (Rs, Rupee) 12 Russian (3, Ruble) 13 Korean (4, Won) 14 Thai (5, Baht) 15 Chinese (¥, Yuan) NOTE: To use these symbols, select the internal symbol set.
D3. secondary
Secondary Sign. Options: 0 No secondary sign (default for all printers) 1 Print secondary sign NOTE: Secondary symbols only print if you designate at least one decimal place.
D4. decimals
Example
Number of digits to the right of the decimal. Options: 0 No digits 1 One digit 2 Two digits (default for all printers) 3 Three digits
{I,D,1,1,2 p }
Prints the dollar sign, uses a secondary symbol, and places two digits to the right of the decimal. 3-14 Configuring the Printer
Page 30
D ef i n i n g t h e C o n t r o l C h a ra ct e rs Pa cke t Use the control characters packet (E) to change the MPCLII control characters, enable and disable the immediate commands, and change the default terminator character for job requests and ENQ’s. Changes take effect with the first character following the end of header character } of the configuration packet. Each control character must be unique and cannot appear anywhere else in your packet, except within quotation marks. You can customize the trailer characters to work with your host. Wait two seconds for the new characters to take effect before sending packets using the new characters. Use the following syntax for the control characters packet. Notice all but the first parameter are within quotation marks. Syntax
{I,E,"ANSI_cd",string1","string2" p }
E1. E
Control Characters Packet
E2. "ANSI_cd"
~123 ~044 ~034 ~124 ~125 ~126 def. ch.
Start of header { (left bracket) Parameter , (comma) separator Quoted strings " (quotes) Field separator p (pipe sign) End of header } (right bracket) Data escape ~~ (double tilde) character (optional) Immediate command character (optional). Up to any 3 characters in the 0 to 255 decimal range. The character must be defined before this command can be used. The caret (~094) is normally used.
NOTE: "ANSI_cd" includes seven separate parameters. The first five parameters are required. The other parameters are optional.
Configuring the Printer 3-15