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 8 of 14

User Manual and Technical Guide: The O'Neil microFlash Series of Printers, pages 71 to 80

Pages 71 to 80 of 135

The original document is the PDF (799 KB). 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 O'Neil MicroFLASH 3, Symbol Microflash-2T and Datamax MicroFLASH 3

Page 71

Easy Print Example 1

Example 1: Text with Field Options 1) ÅEZ 2) {PRINT: 3) @10,30:MF226,HMULT2,VMULT2|Total:$13.15| 4) @60,30:MF226,HMULT2,VMULT2|01-01-97| 5) }

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.

User Manual and Technical Guide The O'Neil microFlash Series of Printers Custom Receipts and Labels • 61

Page 72

Easy Print Example 2

Text and Bar Code with Field Options 1) ÅEZ 2) {PRINT: 3) @10,30:MF226|Item #1 yellow

$10.00|

4) @40,30:MF226|Item #2 blue

$3.15|

5) @100,30:BC39N,HIGH 20,WIDE 2|$13.15| 6) @150,30:MF107|TOTAL $13.15|remarks 7) } 8) {AHEAD:200}

Explanation of Command Strings Line 1:

Set to Easy Print Mode. The “Å“ is how the ESC character looks on your screen.

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 dotlines.

62 • Custom Receipts and Labels User Manual and Technical Guide The O'Neil microFlash Series of Printers

Page 73

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, Chapter 10. The “n”s are ASCII numbers, not binary (see indvidual commands)

{Ahead:nnn} 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” dotlines. 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:nnn} 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” dotlines. 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.

{LP} Line Printer Mode { LP} {

A left bracket begins the command set.

User Manual and Technical Guide The O'Neil microFlash Series of Printers Custom Receipts and Labels • 63

Page 74

LP

“LP” puts printer in Line Printer Mode. The command is enclosed in left and right brackets.

}

A right bracket ends the command set.

{TP} Self Test Printout { TP} {

A left bracket begins the command set.

TP

“TP” commands a self test print out.

}

A right bracket ends the command set.

64 • Custom Receipts and Labels User Manual and Technical Guide The O'Neil microFlash Series of Printers

Page 75

{Print,Global options:@row,column:Name,Field Options|data|}

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 microFlash2 is 1 - 384. The column range for the microFlash3 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.

}

Right bracket ends the PRINT command set.

Tip: 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.

User Manual and Technical Guide The O'Neil microFlash Series of Printers Custom Receipts and Labels • 65

Page 76

Print,

Global options:@row,column:Name,Field Options|data|}

Global Options BACKnnn

Back Global Option

Format:

BACKnnn

Function:

Functions the same way as the BACK command. Backs the paper up “nnn” dotlines before beginning to print.

Example:

{PRINT,BACK50:@10,30:MF107|Hi world| }

QUANTITYnnn

(1 < nnn < 200)

Quantity Global Option

Format:

QUANTITYnnn

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

(1 < nnn < 999 )

Demand Global Option

Format:

DEMAND

(microFlash2/3 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| }

66 • Custom Receipts and Labels User Manual and Technical Guide The O'Neil microFlash Series of Printers

Page 77

{Print,

Global options:@row,column:Name,Field Options|data|}

Global Options continued QSTOPnnn

Qstop Global Option

Format:

QSTOPnnn (1 < nnn < 65000)

Function:

Stop nnn dot lines after sensing “Q” mark. After the mark has been found, the paper advances for “nnn” dot lines and stops (even if the image is not yet complete.) If, however, there is no “Q” mark on the paper, the printer continues its search. See also the “STOP” option for use as a safeguard.

(microFlash2/3/2t)

Example:

{PRINT,QSTOP500:@10,30:MF107|Hi world| }

Note: The “Q” must be positioned so that it does not sit under the sensor when the paper is properly aligned. See Appendix A, Chapter 9 for more on the Qmark.

ROT270

ROT270 Global Option

Format:

ROT270

Function:

Will rotate image so that the left-hand edge of the landscape image prints first.

Example:

{PRINT,ROT270:@10,30:MF107|Hi world| }

User Manual and Technical Guide The O'Neil microFlash Series of Printers Custom Receipts and Labels • 67

Page 78

STOP nnn

Stop Global Option

Format:

STOP nnn

( 1 < nnn < 65000)

Function:

Use the STOP option to advance the paper to the proper point for tearing. This options stops the paper “nnn” dotlines after the beginning of the label or receipt. The data “nnn” sent after the STOP option specifies the total number of dot lines high for this print image. For example, for the microFlash series, which have a 203 DPI mechanism, specifying “STOP 500” will give a 2.5” total height image from the top of the paper to where it has stopped under the print head. The STOP option can be used with the QSTOP option. Set the STOP to stop the printing just after the stop using the QSTOP option. This way, the paper will always stop advancing whether paper with “Q” marks is loaded, or regular paper is loaded.

Example:

{PRINT,STOP500,QSTOP125 :@10,30:MF107|Hi world| } In this example, the paper will stop advancing when it has advanced 500 dot lines, or 125 dot lines after the “Q” mark has been detected, whichever occurs first.

68 • Custom Receipts and Labels User Manual and Technical Guide The O'Neil microFlash Series of Printers

Page 79

{Print, Global options:@row,column:

Name,Field Options|data|}

Font Names To print text, you must specify the name of the font for the text to be printed. Each font has a fivecharacter name. This is only a partial list. For the entire list of available fonts, see Appendix C, Chapter 11, or call your O’Neil representative (949) 458-0500 for the latest font update. See Chapter 3 to download fonts.

Font Name

Default FontÎ

CPI

Description

MF055

5.5

96 characters large block (26 chars for lower case, 26 chars for upper case, plus symbols, etc.)

MF072

7.2

95 characters large block

MF102

10.2

223 characters medium block bold

MF107

10.7

96 characters block bold

MF185

18.5

96 characters block normal

MF204

20.4

224 characters block normal (Default Font microFlash2/3/2t)

MF226

22.6

96 characters small block microFash 2i Only Default 2i FontÎ

IM5X7

22.1

96 characters for impact 5X7

IM5X8

22.1

96 characters for impact 5X8

Field Options|Data|}

{Print,Global Options1:@row,column:Name,

Font Field Options These options are used to heighten or widen the font.

Field Option HMULTn

Abbr. HMn

VMULTn

Vn

Description Widens text; 1 < n < 255. Heightens text; 1 < n < 255

To compare the fonts, run the demo program and print the samples. See Chapter 2, Quick Demo.

User Manual and Technical Guide The O'Neil microFlash Series of Printers Custom Receipts and Labels • 69

Page 80

{Print, Global options:@row,column:

Name,Field Options|data|}

Bar Code Names Name

Description

Requirements for Data

BC39N

Code 39 2:1 ratio

Can use these characters in the data field: Space $ % + . / 0-9 A - Z Auto inserts leading and trailing “*”

BC39W

Code 39 3: 1 ratio

Can use same characters as above

COBAR

Codabar

0-9 - $ : / . + a b c d, user must send leading and trailing guard bar a-d

I2of5

Int. 2 of 5 2.5:1 ratio

0-9 (digits only, must be even. Controller will insert leading zero to assure an even number of digits)

BCI25

Int. 2 of 5 2:1 ratio

0-9 (digits only, must be even. Controller will insert leading zero to assure an even number of digits)

BC128

Code 128

Automatically selects Codes A - C, for the shortest bar code. Allows all ASCII characters.

EN128

EAN-128

Uses Codes C, for the shortest bar code. Allows all ASCII characters.

UPC-A

UPC-A

0-9 (must have 11 digits or error, controller calculates check digit)

EAN08

EAN-8

0-9 (must have 7 digits or error, controller calculates check digit)

EAN13

EAN-13

0-9 (must have 12 digits or error, controller calculates check digit)

PD417

PDF-417

See Notes on the use of PDF-417

Field Options|Data|}

{Print,Global Options1:@row,column:Name,

Bar Code Field Options Field Option HIGHn

Abbr.

Description

Hn

WIDEn

Wn

Changes height of bar code in 5 dot inch intervals; default is 5 dots; 1 < n < 255. Width multiplier of bar code; default is 1; W=2 is twice as wide (1/2 density) as W = 1; 1 < n < 255.

70 • Custom Receipts and Labels User Manual and Technical Guide The O'Neil microFlash Series of Printers