The text of a manual · part 10 of 19
Monarch 9412, 9413, 9414 Printers, pages 91 to 100
Pages 91 to 100 of 184
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 9414 and Paxar 9414
Page 91
Defining the Batch Header A batch header begins the file. It tells which format the batch uses and how many labels to print. To record batch data, make a copy of the worksheet in Appendix D, "Format Design Tools." A batch packet contains three parts: batch header identifies the format and how many labels to print.
batch control defines the print job.
batch data (optional)
defines the actual information printed on the label.
Syntax
{B,format#,N/U,quantity p
B1. B
Batch Header.
B2. format#
Format number: 0-999 to use.
B3. N/U
Controls how image is generated.
B4. quantity
N
New. Erase image and re-image all fields using online data. Any missing fields will be blank.
U
Update last image with 1 or more fields. All other fields remain the same as the last queued batch.
Quantity to print (0-32000). NOTE: Using 0 pre-images the field to reduce the imaging time for labels. See "Batch Quantity Zero Method" for more information.
Example
{B,1,N,1 p
Defines a batch header that uses format #1 and reimages all fields using the online data. One label is printed with this batch.
Printing 6-3
Page 92
Defining the Batch Control Field The batch header must precede this field. The batch control field defines the print job and applies only to the batch that immediately follows. Syntax
E,feed_mode,batch_sep,print_mult, multi_part p
E1. E
Batch Control Field.
E2. feed_mode
Feed Mode. Options: 0 Continuous Feed (default) 1 On-demand For the 9412/9413 printers, you must have the on-demand sensor installed to use on-demand mode. Also, the feed mode is determined by the presence of the on-demand sensor, not from this parameter. If the on-demand sensor is open, you are using on-demand mode. If the on-demand sensor is closed, you are using continuous mode. There is a switch on the 9414 printer for on-demand mode. Refer to your Equipment Manual for more information.
E3. batch_sep
Batch Separator (striped label in between batches). Options: 0 Does not print a separator (default) 1 Prints a separator
E4. print_mult
Number of tags with the same image. Range: 1 to 999
E5. multi_part
Number of identical parts on one tag. Range: 1 to 5
Example
E,0,1,4,2 p
Defines a batch control field. Continuous feed mode is used and a separator prints between batches. Four tags have the same image and there are two identical parts on one tag.
6-4 Printing
Page 93
Defining Batch Data Fields Batch data is the actual information printed on the supply. Batch data fills in the format’s text, bar code, and non-printable text fields. Batch data fields should be sent in field number order. Use continuation fields for large amounts of data. If you are using N (New) in the batch header, you must list all fields with your data in sequence. If you are using U, you need to list only those fields and data that changes from the last printed batch. Syntax field#,"data string" p C,"continuation" p field#
Identifies the text, bar code, or non-printable text field in which to insert the following data. Range: 0 - 999.
"data string"
Provides the actual information to appear in fields. Enclose in quotation marks. Range: 0 - 2710.
C
Identifies information to be appended to the data string. (This parameter is optional.)
"continuation"
Provides the actual information to be added to the batch packet. Enclose in quotation marks. Use this option to break up longer fields. (This parameter is optional.)
Example
1,"Size 12" p 2,"" p 3,"Blue" p C,"and this would be appended." p
Defines a batch data field. "Size 12" prints in field #1, a blank line appears in field #2, "Blue and this would be appended" prints in field #3.
Printing 6-5
Page 94
Using Special Characters in Batch Data There are two ways to specify special characters in batch data: u
Place a tilde (~) before the character u
Use a tilde with the decimal ASCII equivalent
For example, you can use ~" or ~034 to print the " character in your batch data. Use ~~ to print the ~ character in your batch data; otherwise, the tilde character is ignored. You can also use ~XXX where XXX is the decimal equivalent of an unprintable character. Sample Batch Data with Special Characters Decimal Character
{B,1,N,1 p
What Prints
1,"123~034456789" p
~034 is "
123"456789
2,"~094983~126LG4451" p }
~094 is ^ ~126 is ~
^983~LG4451
Merged or Sub-Fields If a field is completely filled by data copied from other fields, use quotation marks without spaces between them for the "data string" parameter.
Incrementing Fields In incrementing fields, the first number in the sequence must contain the same number of digits as the highest number to be counted. For example, to increment the numbers in a field from 1 to 999, enter the starting number in the batch as 001.
6-6 Printing
Page 95
Downloading Methods Depending on your application, you can download the format and batch data using one of three methods: sequential method, batch method, batch quantity zero method.
Sequential Method Using the sequential method, you send all your format and batch data at one time. Use this method when your application does not require operator intervention to input data. All data is sent down at one time, and the printer then images each field. As soon as the last field is imaged, your labels begin to print. Example
{Format} {Batch Packet}
Batch Method This is similar to the sequential method, but it is used when you want to send multiple batches. All data for the first batch is sent at one time, and the printer then images each field. As soon as the last field for the first batch is imaged, labels begin to print. This process is repeated for each subsequent batch. Example
{Format} {Batch Packet} {Batch Packet}
Batch Quantity Zero Method You may use the batch quantity zero method when your application requires operator intervention to enter data. While the operator is entering data, the previous field is sent with a batch quantity of zero. The printer images the field, but does not print it. After the operator enters the data for the last field, the batch quantity can be specified. The last remaining field is imaged, and the label prints almost immediately. To use the batch quantity zero method:
Printing 6-7
Page 96
1. Send the format and a batch header in one file. The first time you send the batch header, use the parameter N (new batch), and the parameter 0 for (zero quantity). This ensures the label is properly positioned. The printer images constant text, line, and box fields, but does not print them. 2. Input data for each field, and send it with a batch header using the parameter U (batch update) and a quantity of zero. When the printer receives the data, it immediately images the field, but does not print it. At this time, the printer is imaging all associated fields, including fields that copy from other fields. 3. Repeat step 2 for each field except the last one. 4. For the last field, input data and send a batch header with the quantity of labels you want printed. When the printer receives input for the last field, it immediately prints the labels. See "Reducing Imaging Time" in Chapter 10 for an example using the batch quantity zero method.
Modifying Formats The optional entry method is a quick way to modify your format fields, check digit fields, and configuration packets.
Optional Entry Method This method enables you to reset only the parameters you want to change. Commas act as placeholders for unchanged parameters. The optional entry method reduces file size and increases the speed at which files are sent to the printer.
6-8 Printing
Page 97
Creating DOS Batch Files for Downloading If you are downloading from an MS-DOS system, you can create batch files to set communication values and download formats. It is a good idea to create a subdirectory to hold your format files. Here is a DOS batch file that sets a serial port, changes to a subdirectory, and downloads a check digit file, format file, and batch data file. MODE COM1: 9600,N,8,1,P CD\MONARCH COPY LABEL1.CDS COM1 COPY LABEL1.FMT COM1 COPY LABEL1.BCH COM1
Refer to your DOS manual for more information on creating batch files.
Printing 6-9
Page 98
6-10 Printing
Page 99
7
STATUS POLLING This chapter explains how to use status polling. There are two types of Status Polling: u
Inquiry Request--information about the readiness of the printer.
u
Job Request--information about the current (or last received) job downloaded to the printer.
Status Polling 7-1
Page 100
Inquiry Request (ENQ) An ENQ character acts as a request for printer status information. You can send an ENQ in front of, in the middle of, or immediately following any packet downloaded to the printer. An ENQ is a command that can be executed as part of a packet or sent on its own (using a communications program). An ENQ is processed immediately. The ENQ character is user defined. The ENQ character does not appear as a visible character; however, we are representing the ENQ character as E .
Inquiry Response Printer status is returned to the host in a 3-byte (3-character) sequence. The first byte is the non-printable user-defined ENQ character, which is not visible on the response. The second and third bytes are printer status codes. See the ENQ Reference Tables for the meaning of bytes 2 and 3. Example:
E AB
The status codes (A and B in this case) are ASCII equivalents to the hexadecimal bits that represent the various types of status responses. This response indicates that the printer is online (Character A) and that there is a stock fault (Character B). Example:
E ??
Indicates that this is the first ENQ response since the printer was turned on. Send another ENQ immediately to receive the printer’s status. Example:
E @@
Indicates the printer is offline.
7-2 Status Polling