Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 5 of 22

Monarch Printers 9403, 9820, 9830, 9835, pages 41 to 50

Pages 41 to 50 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 41

Buffer Allocation Considerations Keep these items in mind when allocating memory. u

Do not allocate more memory than what is available.

u

Free memory from one buffer before you add it to another buffer.

u

Reallocate all the buffers if you need to reallocate any buffer.

u

Send all buffer (re)allocations in one packet. The printer evaluates each individual buffer allocation separately. If one buffer allocation is invalid, the entire packet is invalid. For example, if you send {I,M,R,N,20 p M,T,N,60 p ...} the printer ignores the entire packet, because the second line allocates 6K for the transmit buffer, and 4K is the maximum for that buffer. If you define a buffer size that exceeds the maximum value, an error occurs. However, no information is lost.

u

Whenever the printer accepts a memory configuration packet, it takes effect immediately, causing a printer reset. Any information contained in the buffers is lost. Resend your formats, batches, graphics, or fonts to the printer.

u

If you remap your image buffer, make sure the length and width specified in your format header are not too large for the current image buffer. In other words, if you remap for a 4 x 4 inch label, you cannot print a 4 x 6 inch label without receiving an error, until you change your format header or increase your image buffer.

Using Immediate Commands Immediate commands affect printer operation as soon as the printer receives them, even if they are included within a packet or used inside quotation marks. 3-26 Configuring the Printer

Page 42

You can use immediate commands to change immediate command or status polling control characters, reset the printer, or cancel and repeat batches.

Enabling Immediate Commands When the printer is first turned on, these commands are not available. To use these commands, you must first send the control characters packet and define the immediate command control character. The immediate command control character is saved in non-volatile RAM and therefore not lost after you turn off the printer. Once the immediate command control character is defined, the immediate commands are enabled.

Sending Immediate Commands Immediate commands consist of a three- or four-character sequence you can send in a packet or embed in your application. Each command must be sent separately. Syntax control character_immediate command

The printer can accept only one immediate command at a time. Sending a command before the previous one is completed can result in an error. Example

^CB

Immediately cancels the batch currently printing. This example assumes that the defined immediate command control character is the caret (^).

Configuring the Printer 3-27

Page 43

Command

Parameter

^CA

Cancels all the batches in the queue.

^CB

Cancels only the current batch being printed.

^DD or ^DCd

Disables the MPCL data escape character (the tilde) and inhibits MPCL from acting on ANY data escape sequence from the host. Sets the MPCL data escape character to the ASCII value given by the d parameter. The value can be any ASCII character.

^EA

Aborts an error condition. This command is the same as pressing CLEAR to clear an error. May need to be sent multiple times. Use ^RB to reprint batch. CAUTION: Command causes the current batch to stop and the condition that caused the error to remain uncorrected.

^ER

Resets the error. This command is the same as pressing FEED to acknowledge an error. Normal operation will resume.

^FD

Feeds a label when printer is idle. Simulates the operation of pressing FEED and dispenses the next label if printer is in the on-demand mode. NOTE: Printer ignores this command if printing.

^ID or ^ICd Disables the Immediate Command feature by turning off the Immediate Command escape character. Sets the Immediate Command escape character to the ASCII value given by the d parameter. The value can be any ASCII character. ^MC

Returns the customer ID or RPQ version to the host. (00 to 99)

^MI

Returns the customer ID or RPQ revision level to the host. (00 to 99)

^MM

Returns the model number to the host. 06 = M9820 08 = M9835 09 = M9850 11 = M9403

^MP

Returns the prototype number to the host. (00 to 99)

^MR

Returns the revision number to the host. (00 to 99)

^MV

Returns the version number to the host. (00 to 99)

^PR

Resets the printer. This command takes five seconds to complete and then the printer is ready to receive data. It has the same effect as turning off and then turning on the printer. NOTE: Command should be used only when the printer is not printing.

^RB

Repeats the last printed batch, printing the same number of labels as specified in the original batch. NOTE: Printer ignores this command if printing.

^RS

Resynchronizes supply when supply roll is changed. NOTE: Printer ignores this command if printing.

07 = M9830

^SD or ^SCd

Disables the status polling feature by turning off the status polling control character. Sets the status polling control character to the ASCII value given by the d parameter. The value of d can be any ASCII character.

^TP

Prints a test label set. NOTE: Printer ignores this command if printing.

3-28 Configuring the Printer

Page 44

The table represents the defined immediate command control character as ^ and the defined status polling control character as d. You may define these characters to suit your needs. To use the immediate command control character or the status polling character within your data, use the tilde sequence.

Clearing Packets from Memor y You may want to remove packets from the printer to increase memory storage capacity or if the formats/fonts are no longer needed. In some cases, turning the printer off may clear the packets from memory. If not, send a format clear packet. Syntax

{header,packet#,action,device p }

1. header

Identifies the packet. Options: A Check Digit Scheme B Batch F Format G Graphic W Font

2. packet#

Identification number of the packet to clear (1-999) or font number (0-9999). 0 is for all fonts.

3. action

Enter C to clear the packet.

4. device

Storage device. Options: N R

Example

Nonvolatile RAM Volatile RAM

{F,1,C,R p }

Clears Format #1 from volatile RAM.

Configuring the Printer 3-29

Page 45

U si n g t h e Fo n t Pa cke t You can use a font packet to add or clear downloaded fonts from memory, upload your font buffer, or upload the cell size information for a particular font. The font packet is useful when you are downloading fonts. If you are using downloaded fonts, the font number and the number of bytes each downloaded font uses is listed. This packet does not list the number of bytes the standard printer fonts use. Syntax

{W,font#,action,device p }

W1. W

Writable Font Header.

W2. font#

Font number from 0-9999. 0 is for all fonts. 1 - 5 digits is the font number. Example: 11 is the standard printer font, CG Triumvirate .

W3. action

Action. Options: A C H M

W4. device

Adds the specified font. Clears all or specified fonts, except ones in ROM. Uploads font size information. Uploads font memory usage information.

Storage device. Options: R Z

Volatile RAM All devices (use for upload).

If you are creating fonts, you need to have font data included with this packet. Software is available to create the font data and packet. Call Technical Support for more information. Example

{W,0,M,R p }

Selects all fonts and checks the memory usage in RAM. The printer returns the following to the host: {W,0,M,R p Number of bytes free, Number of bytes used p }

3-30 Configuring the Printer

Page 46

Example

{W,0,H,Z p }

Selects all fonts and uploads the font size information for any downloaded fonts. The printer returns the following to the host: Font Style Symbol Set Type Cell Width

Font Name {W,0,H,Z p 0,1,0,"Standard",0,0,0,14,22,14,22,3 p 0,1,1,"CGTriBd9",1,0,7,25,31,10,15,0 p Spacing 0,1,437,"CGTriBd9",1,0,7,25,31,10,15,0 p 0,1,850,"CGTriBd9",1,0,7,25,31,10,15,0 p Baseline 0,2,0,"Reduced",0,0,0,7,14,7,14,1 p 0,2,1,"CGTriumv6",1,0,5,17,21,5,10,0 p Cell Height 0,2,437,"CGTriumv6",1,0,5,17,21,5,10,0 p Nominal Width 0,2,850,"CGTriumv6",1,0,5,17,21,5,10,0 p Nominal Height 0,3,0,"Bold",0,0,0,24,34,24,34,3 p 0,4,0,"OCRA",0,0,0,13,24,13,24,3 p Inter-Character Gap 0,5,0,"HR1",0,0,0,12,20,12,20,2 p 0,6,0,"HR2",0,0,0,10,16,10,16,1 p 0,10,1,"CGTriBd9",1,0,7,25,31,10,15,0 p 0,10,437,"CGTriBd9",1,0,7,25,31,10,15,0 p 0,10,850,"CGTriBd9",1,0,7,25,31,10,15,0 p 0,11,1,"CGTriumv6",1,0,5,17,21,5,10,0 p 0,11,437,"CGTriumv6",1,0,5,17,21,5,10,0 p 0,11,850,"CGTriumv6",1,0,5,17,21,5,10,0 p 0,15,1,"CGTriumv7",1,0,7,21,28,9,14,0 p 0,15,437,"CGTriumv7",1,0,7,22,28,9,14,0 p 0,15,850,"CGTriumv7",1,0,7,22,28,9,14,0 p 0,16,1,"CGTriumv9",1,0,8,28,35,12,18,0 p 0,16,437,"CGTriumv9",1,0,8,29,35,12,18,0 p 0,16,850,"CGTriumv9",1,0,8,29,35,12,18,0 p 0,17,1,"CGTriumv11",1,0,9,31,40,13,22,0 p 0,17,437,"CGTriumv11",1,0,9,33,40,13,22,0 p 0,17,850,"CGTriumv11",1,0,9,33,40,13,22,0 p 0,18,1,"CGTriumv15",1,0,13,47,59,20,31,0 p 0,18,437,"CGTriumv15",1,0,13,49,59,20,31,0 p 0,18,850,"CGTriumv15",1,0,13,49,59,20,31,0 p 0,510,1,"CGTriumv7",1,0,7,21,28,9,14,0 p 0,510,437,"CGTriumv7",1,0,7,22,28,9,14,0 p 0,510,850,"CGTriumv7",1,0,7,22,28,9,14,0 p

Configuring the Printer 3-31

Page 47

0,511,1,"CGTriumv9",1,0,8,28,35,12,18,0 p 0,511,437,"CGTriumv9",1,0,8,29,35,12,18,0 p 0,511,850,"CGTriumv9",1,0,8,29,35,12,18,0 p 0,512,1,"CGTriumv11",1,0,9,31,40,13,22,0 p 0,512,437,"CGTriumv11",1,0,9,33,40,13,22,0 p 0,512,850,"CGTriumv11",1,0,9,33,40,13,22,0 p 0,513,1,"CGTriumv15",1,0,13,47,59,20,31,0 p 0,513,437,"CGTriumv15",1,0,13,49,59,20,31,0 p 0,513,850,"CGTriumv15",1,0,13,49,59,20,31,0 p} This example shows the fonts for the 9820 printer. Fonts 510, 511, 512, and 513 are the same as fonts 15, 16, 17, and 18. Spacing

Monospaced (0) or proportional (1).

Type

Bitmapped (0) or scalable (1).

Baseline

Bottom of the font.

Cell Width

Horizontal number of dots to contain the widest character.

Cell Height

Vertical number of dots to contain the tallest character.

Nominal Width

Average width for lower-case letters.

Nominal Height

Average height for lower-case letters.

Inter-Character Gap

Default spacing between characters in monospaced fonts.

3-32 Configuring the Printer

Page 48

DEFINING FIELDS

4

This chapter provides a reference for defining u the format header u text, constant text, and non-printable text fields u bar code fields u line and box fields.

Defining Fields 4-1

Page 49

Defining the Format Header A Format Header begins a format file. Syntax

{F,format#,action,device,measure,length, width,"name" p

F1. F

Format Header.

F2. format#

Unique number from 0-999 (0-99 for 9403) to identify the format.

F3. action

Enter A to add a new format to the printer.

F4. device

Format storage device. R is the only valid value.

F5. measure

Unit of measure. Options: E M G

English, measured in 1/100 inches Metric, measured in 1/10 mm Graphic, measured in dots

The following table lists the values for the specified parameters. English measurements are used throughout the rest of the chapter. Printer

Unit of Measure

9403

English

75-600

Metric

191-1524

Dots

152-1218

152-406

English

100-1200

120-400

0-1199

0-399

Metric

254-3048

305-1016

0-3047

0-1015

Dots

203-2436

244-812

0-2435

0-811

English

100-1600

120-400

0-1599

0-399

Metric

254-4064

305-1016

0-4063

0-1015

9820

9830

9835

4-2 Defining Fields

Supply Length

Supply Width

Row or End Row

Column or End Column

75-200

0-599

0-199

191-508

0-1523

0-507

0-1217

0-405

Dots

203-3248

244-812

0-3247

0-811

English

75-1600

120-400

0-1599

0-399

Metric

191-4064

305-1016

0-4063

0-1015

Dots

152-3248

244-812

0-3247

0-811

Page 50

F6. length

F7. width

F8. "name"

Example

Supply length, top to bottom, in selected units. 9403 range:

9820 range:

English

English

75 - 600

9830 range:

9835 range:

English

English

100 - 1600

100 - 1200

75 - 1600

Supply width, from left to right, in selected units. 9403 range:

9820/9830/9835 ranges:

English

English

75 - 200

120 - 400

Format name (optional), 0-8 characters, enclose within quotation marks.

{F,1,A,R,E,300,200,"TEXTILES" p

Adds Format 1 ("TEXTILES") to the printer. It uses a three inch long by two inch wide label.

D e f i n i n g Te x t F i e l d s Create a separate definition for each text field. If text falls on two lines, each line of text requires a separate definition. Syntax

T,field#,# of char,fix/var,row,column, gap,font,hgt mag,wid mag,color,alignment, char rot,field rot,sym set p

T1. T

Text Field.

T2. field#

Unique number from 0-999 (0-99 for 9403) to identify this field.

T3. # of char

Maximum number of printed characters is 0-2710 (0-100 for 9403) in the field.

T4. fix/var

Fixed or variable length field. Options: F Fixed length V Variable length

Defining Fields 4-3