The text of a manual · part 8 of 16
680x Series Portable Printers Technical Reference Manual: Section 4: Operation, pages 69 to 78
Pages 69 to 78 of 146, from 680x Series Portable Printers Technical Reference Manual
The original document is the PDF (15 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 Intermec 6804
Page 69
Operation
SECTION 4
" " "
Dec: 27 72 n Hex: 1B 48 n Function: Multiply height of font by “n.” Must apply to entire line.
ESC Q n1n2 " " " "
Format: ESC Q n1 n2 Dec: 27 81 n Hex: 1B 51 n Function: Advance the paper “n1n2” dot lines from “Q” Mark. For more on the “Q” mark, see Appendix A.
ESC R n " " " "
" " "
Select International Character Set
Format: ESC R n Dec: 27 82 n Hex: 1B 52 n Function: Selects international 0 = USA 4 = Denmark
ESC Hn "
Advance “n1n2” From “Q” Mark
1 = France
5 = Sweden
2 = Germany
6 = Italy
3 = UK
7 = Spain
Set Double Wide and Double High
Format: ESC ! n Dec: 27 33 n Hex: 1B 21 n Function: Selects font height and width for one line. Must apply to entire line. n = 10h 16d Double High n = 20h 32d Double Wide n = 30h 48d Double High and Double wide Intermec Portable Printers Technical Reference Manual
4-21
Page 70
Operation
SECTION 4
ESC EZ " " " "
Go to Easy Print Mode
Format: ESC E Z Dec: 27 Hex: 1B
69 45
90 5A
Function: Puts the printer in Easy Print Mode. You must use the capital letters ‘EZ.”
Easy Print Mode Easy Print is the easiest of all possible modes of printing. It uses “English--like” commands. You can go to Easy Print from Line Printer Mode by entering an ESC EZ. Easy Print Mode allows you to design a custom receipt, ticket or report with borders, lines, stored graphics, logos, bar codes and text in any arrangement or rotation to suit your needs. Unlike Line Printer Mode, Easy Print allows you to use stored graphics. Thus, anything you print will be printed lightning fast. You can create images that are missing only variable data, which will be supplied when the image is printed. The 680x series of printers can store from one to 100 different formats in internal memory, depending on the size of the format and the amount of memory available in your printer (1M or 4M). The printed receipt might contain your company logo at the top, a signature line at the bottom and an identifying bar code in the middle.
Easy Print Command General Format There are four things to remember about all Easy Print Commands. 4-22
Intermec Portable Printers Technical Reference Manual
Page 71
SECTION 4
Operation
1. They all look like this: {Command:Information} where “information” is the set of instructions (if any) the printer needs to carry out a command. 2. For some commands, no “information” is necessary in the sense used above. 3. For some commands, the information the printer needs is somewhat more complex, e.g. the Print Command. 4. For some commands, there are “global options” which modify the entire command. " NOTE:
Always use Easy Print for graphics you will use multiple times, such as a company logo. By storing a graphic in flash memory, you minimize communications between the host computer, thus increasing your print speed. Your hand--held computer sends only the variable data to the printer in order to print receipts
" NOTE:
If the printer is asleep, null characters must precede any Easy Print or Line Printer commands. If the printer is awake, it does not need null characters in either mode.
Intermec Portable Printers Technical Reference Manual
4-23
Page 72
Operation
SECTION 4
Print Command Format Command After the left bracket, command, global options and colon, the command string consists of a series of identically formed lines all of which have this format: @row, column, Name, Field Options|print data|} Vertical bars surround the data. Colons surround the row and column information. Information {Print, Global Options: Right Bracket ends Print Request @ row, column: Name, Field Options|Data| @ row, column: Name, Field Options|Data| @ row, column: Name, Field Options|Data|
}
Data: Depending on what is printed, the data will be the text printed out on a receipt or label that is human readable, or the characters that are machine readable with a scanner. Field Options: The user can multiply the height or width of text, graphics and bar codes. Name: The Name of what you are printing is the style of font or bar code or line, or the file name of the graphic. An example of the name of a font is “MF102.” Do not put spaces in the “Name” or the printer will reject your print request. Row, Column: Where to print text, graphics, bar codes and lines. A typical print request will consist of the word “Print” and a number of items to be printed, each at a diffe ent row and possibly at a different column. In order for text to line up properly, keep the column number the same, (e.g. @10, 30 (information)| @ 60,30 (information)|). Note: The can be no spaces before or after a colon. Global Options: An action that refers to entire receipt or label. A global option can be used to stop the paper after a specified number of dot lines or at a specified mark, to rotate an image, or to print a specified number or copies all at once or on demand. A colon follows global options, if any.
Figure 4-5 Print Command Format 4-24
Intermec Portable Printers Technical Reference Manual
Page 73
Operation
SECTION 4
Table 4-5 Quick Reference for Easy Print Commands Command
Reference Page
Ahead
4-28
Back
4-28
LP
4-28
Self Test Printout
4-28
4-28
Print Command Format
4-29
Print Global Options
4-30
Font Names
4-32
Font Field Options
4-33
Bar Code Names
4-33
Bar Code Field Options
4-34
Graphic Names
4-36
Graphic Field Options
4-37
Line Names
4-37
Easy Print Example 1
EXAMPLE 1:
Text with Field Options 1) 2) 3) 4) 5)
EZ {PRINT: @10,30:MF226,HMULT2,VMULT2|Total:$13.15| @60,30:MF226,HMULT2,VMULT2|01-01-97| }
Intermec Portable Printers Technical Reference Manual
4-25
Page 74
Operation
SECTION 4
Explanation of Command Strings Line 1: Set to Easy Print Mode. The “ “ is how the ESC character looks on the screen. Line 2: Left bracket and “PRINT” begins print request. Line 3: Print “Total $13.15” in a 22.6 cpi font that has been vertically and horizontally multiplied to twice its normal size. Note that there are no spaces in the row and column information, nor any spaces in the font name. Line 4: Print the date 01--01--97 in a 22.6 cpi font that is widened and heightened to twice normal size. Line 5: Right bracket closes Print Command set.
Easy Print Example 2
EXAMPLE 2:
Text and Bar Code with Field Options 1) 2)
EZ {PRINT:
3)
@10,30:MF226,|Item#1 yellow $10.00|
4)
@40,30:MF226|Item#2 blue
5) 7)
@100,30:BC39N,HIGH 20,WIDE 2|@13.15 @150,30:MF107|TOTAL $13.15|remarks }
8)
{AHEAD:200}
6)
$3.15
Explanation of Command Strings Line 1: Set to Easy Print Mode. The “ “ is how the ESC character looks on your screen. 4-26
Intermec Portable Printers Technical Reference Manual
Page 75
Operation
SECTION 4
Line 2: Left bracket and “PRINT” begins print request. Line 3--4: Starting at row 10, column 30, print Item #1 and Item #2 information in a 22.6 cpi font. Line 5: Print a Code 39 bar code that has been heightened and widened. The embedded Total doesn’t have the word “Total” because this bar code wasn’t wide enough to embed the whole word. Line 6: Print the human--readable total underneath the bar code. You can put remarks or comments after the vertical bar. Line 7: A right bracket closes the Print command set. Line 8: The AHEAD command advances the paper 200 dot lines.
Easy Print Command Section The rest of this chapter gives you the specifics of each Easy Print command. Each Easy Print command has a unique format and function. All but the “Query” class of commands can be explained in 1--7 pages. Detailed information on the “Query” class can be found in Appendix B. The “n”s are ASCII numbers, not binary (see individual commands).
Intermec Portable Printers Technical Reference Manual
4-27
Page 76
Operation
SECTION 4
Ahead Command Format {AHEAD: nnn} { A left bracket begins the command set. AHEAD:nnn “AHEAD:nnn” or “Ahead:nnn” or “A:nnn” advances the paper by “nnn” dot lines. Ahead is an alternative to using the paper knob and manually advancing the paper. The range for “nnn” is 1 to 65,000. The command is enclosed in left and right brackets. } A right bracket ends the command set.
Back Command Format {BACK: nnn} } A left bracket begins the command set. BACK:nnn “BACK:nnn” or “Back:nnn” or “B:nnn” backs the paper by “nnn” dot lines. Use the BACK command to reposition the edge of the paper for minimum paper waste. The command is enclosed in left and right brackets. } A right bracket ends the command set.
Line Printer Mode {LP} { A left bracket begins the command set. LP “LP” puts printer in Line Printer Mode. The command is enclosed in left and right brackets. } A right bracket ends the command set.
Self Test Printout {TP} { A left bracket begins the command set. TP “TP” commands a self test print out. 4-28
Intermec Portable Printers Technical Reference Manual
Page 77
Operation
SECTION 4
} A right bracket ends the command set.
Print Command Format The general format for the Print Command (shown below) includes all possible printer actions to stop the paper or rotate the image, all possible print images, and all possible options used to alter those images. {Print, Global Options:@row,column:Name,Field Options|data|} {
A left bracket begins each command set.
PRINT,
A comma follows the PRINT command only if there are one or more “global options.”
Global Options:“Global options” include DEMAND, QUANTITY, QSTOP, STOP, and ROT270. If more than one global option is used, each is separated from the next by a comma. Following the last global option or following “Print” if there are none is the “:” @row,column:
“@row,column:” specify the row and column where each line of text or graphics will be placed. The row and column numbers are separated by a comma with no spaces anywhere. The range for each row is 1 -- 65,000. The column range for the 6805a is 1 -- 384. The column range for the 6806 is 1 -576. In a typical print request , there may be five or more “@row,col” for the single word “Print.”
Name
“Name” is the name of the text, bar code, line or graphic to be printed. The name is always five characters, even for the graphics which you name yourself.
Field Options
“Field options” are used to increase the size of fonts, bar codes, graphics or lines. Each one is separated from the next by a comma.
|Data |
“Data” refers to the text to be printed or embodied in a bar code. Data is surrounded by vertical bars. Intermec Portable Printers Technical Reference Manual
4-29
Page 78
Operation
SECTION 4
}
Right bracket ends the PRINT command set.
" NOTE:
A single print command can be used for multiple print lines called a print request. Thus, you don’t have to repeat the word “PRINT” every time you want to print another line of text.
Global Options BACKnnn
Back Global Option
Format: BACKnnn
(1 < nnn < 200)
Function: Functions the same way as the BACK command. Backs the paper up “nnn” dot lines before beginning to print. Example: {PRINT,BACK50:@10,30:MF107|Hi world| } QUANTITYnnn
Quantity Global Option
Format: QUANTITYnnn
(1 < nnn < 999 )
Function: Quantity allows you to specify how many copies of a label or receipt you wish to print. Example: {PRINT,QUANTITY 5:@10,30: MF107|Hi|} DEMAND
Demand Global Option
Format: DEMAND
(6805a and 6806 only)
Function: Used with the “QUANTITY” command, or alone, DEMAND allows you to print a given number of copies, stopping between each copy. Just press the red button on the printer to print each copy. You can print less than the Quantity specified. If no Quantity is specified, you can print one copy when you’re ready. The remaining demands will clear when the printer falls a sleep. You can cancel the remaining demands by sending ESC{CN!} Example: {PRINT, QUANTITY 5, DEMAND:@10,30:MF107|Hi world|} 4-30
Intermec Portable Printers Technical Reference Manual