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 9 of 16

PcOS Series 150 Receipt/Validation/Journal Printers Programmer's Guide, pages 81 to 90

Pages 81 to 90 of 151

The original document is the PDF (746 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 Ithaca Model 151, Ithaca Model 153 and Ithaca Model 152

Page 81

Programmer's Guide

PcOS Series 150

Control Codes EPOS Deviations

EPOS Deviations There are several important differences between the Series 150 and EPSON printers. The closest EPSON printer to the Series 150 is the TM-U325. An application that was written for the EPSON printer may require some modification to use the Series 150.

Command Descriptions Function ASCII

Activate buzzer [BEL] or [ESC] [BEL]

Description

This command activates the sound buzzer. Note: This command only functions if the internal buzzer option was installed at the factory.

12/14/99

Function ASCII

Eject form [FF]

Description

The Series 150 Printer does not support page mode. The printer will eject a form.

Function ASCII

Cancel print data [CAN]

Description

The Series 150 Printer uses [CAN] to clear the printer line buffer.

Function ASCII

Return home [ESC] <

Description

The Series 150 Printer does not need this command. The Series 150 Printer never loses track of the print head. The affect of this command is to set the next print line to print from left to right.

Function ASCII

Select peripheral device [ESC] = <n>

Description Where

The Series 150 Printer does not support the Epson Pole Display. This command provides print suppress and data pass through functions. Bit 0 Printer select Bit 1 Pass through Bits 2-7 Undefined

Function ASCII

Set form length [ESC] C <n>

Description

The Series 150 Printer uses this command to set the form length.

Rev G

Page 71

Page 82

Control Codes

PcOS Series 150

Programmer's Guide

EPOS Deviations Function ASCII

Set print direction [ESC] T <n>

Description

The Series 150 Printer does not implement page mode. This command uses the normal rotated print format procedures. See [ESC] r <n> in normal mode. Note: EPOS reverses Modes 1 and 3.

Function ASCII

Print graphics [ESC] * <m> <n>1 <n>2

Description

The Series 150 Printer defines the extended graphic modes. Mode 4 is normally 80 dpi. The Series 150 Printer does not support 80 dpi. If Mode 4 is selected, 72 dpi will be used. Print n1 + 256 * n2 bytes of graphics where m specifies the density.

Page 72

Where m

0 1 2 3 4, 5 6 7

Single-density graphics Double-density graphics Double-density half-speed graphics High-density graphics CRT II screen CRT I screen Dual plotter

Function ASCII

Turn 90° clockwise font ON/OFF [ESC] V <n>

Description

The Series 150 Printer uses the rotated 90° font to implement this command. If one dot spacing is selected, ten cpi is used. If 1.5 dot spacing is selected, eight cpi is used.

Function ASCII

Select print paper [ESC] c 0 <n>

Description

The Series 150 Printer uses this command to select a print station. The Series 150 Printer does not keep track of different settings for each mode. If a specific print mode is required, it must be respecified.

Function ASCII

Select print paper for setting [ESC] c 1 <n>

Description

The Series 150 Printer does not keep track of different settings for each mode. If a specific print mode is required, it must be respecified.

Function ASCII

Select detectors to stop printing [ESC] c 4 <n>

Description

The Series 150 Printer does not stop at the end of forms. The application must keep track of the form length.

Rev G

60 dpi 120 dpi 120 dpi 240 dpi 72 dpi 90 dpi 144 dpi

12/14/99

Page 83

Programmer's Guide

PcOS Series 150

Control Codes EPOS Deviations

Function ASCII

Enable/disable panel buttons [ESC] c 5 <n>

Description

The Series 150 Printer does not allow the front panel to be disabled.

Function ASCII

Enable/disable on-line switch [ESC] c 6 <n>

Description

The Series 150 Printer ignores this command.

Function ASCII

Generate pulse [ESC] p <m> <t1> <t2>

Description

The Series 150 Printer does not allow the cash drawer pulse to be altered under software control. The <t1> <t2> parameters are ignored. <m> selects Drawer 1 or 2.

Function ASCII

Set impact energy [GS] E <n>

Description

The Series 150 Printer allows higher impact energy in validation modes only.

Function ASCII

Set bar code height [GS] h <n>

Description

This command sets the bar code height in dot lines. The Series 150 Printer prints bar codes in eight dot passes in graphics. The height used in EPOS is intended for thermal printers. To allow some type of compatibility between EPOS and the Series 150 Printer, the value of <n> is divided by 28. This allows a similar size bar code to be printed. Note: Values less than 28 return the printer to the default values defined by the [ESC] [EM] B command in normal mode.

12/14/99

Rev G

Page 73

Page 84

Control Codes

PcOS Series 150

Programmer's Guide

EPOS Deviations Function ASCII

Set bar code [GS] k <m> {information} [NUL]

Description

The Series 150 Printer uses the same print functions to print EPOS bar codes as the normal mode bar codes.

Where m

EPOS has two formats for bar codes. One is [NUL] terminated; the other has a length field. If <m> is greater than 64, the next byte sets the length in bytes. Only the [NUL] terminated command is supported by the Series 150 Printer. 0 UPC A Numeric (0-9) only, 11 digits maximum 1 UPC E Numeric (0-9) only, 11 digits maximum 2 EAN-13 Numeric (0-9) only, 12 digits maximum 3 EAN-8 Numeric (0-9) only, 6 digits maximum 4 Code 39 26 uppercase letters (A-Z), 10 digits (0-9) 5 Interleaved 2 of 5 Numeric (0-9) only, must be even number of digits Note: If Code 128 is to be printed, it must be printed with the [ESC] b <n> command as described on page 48.

Page 74

Rev G

12/14/99

Page 85

Programmer's Guide

PcOS Series 150

Control Codes MICROLINE Codes

MICROLINE Codes This section lists the MICROLINE codes that are supported by the PcOS Series 150 Printer. Ithaca Peripherals has no control over how Okidata extends or changes these control codes. Ithaca Peripherals makes no guarantees as to the operation of its printer when it replaces an Okidata printer. The MICROLINE emulation is intended to make it as easy as possible to replace an Okidata printer with a Series 150 Printer. The following section lists the MICROLINE commands that are processed. They are as close as possible to Okidata printers. The user must remember that the Series 150 Printer is not designed as a drop-in replacement for an Okidata printer. The PcOS Series 150 Printer is designed to bring new and unique features and functionalities to a POS receipt/validation printer.

MICROLINE Command Summary Please refer to the Okidata MICROLINE Information Manual for field definitions. The following is a list of the MICROLINE commands that are supported. Command [VT] [LF] [FF] [HT] [BELL] [BS] [CR] [CAN] [EM] [SUB] [ESC] [FS] [GS] [RS] [US] [ESC] HT <n>1 <n>2 <n>3 ... <n>i 0 [ESC] [DC1] [ESC] [DC3] [ESC] [DC4] [ESC] ! / [ESC] ! * [ESC] # 0 [ESC] % 5 <n> [ESC] % 9 <n> [ESC] + [ESC] [ESC] 0 [ESC] 1

12/14/99

Description Set vertical tabs. Set line feed. Set form feed. Set horizontal tab. Open Cash Drawer 1. Open Cash Drawer 2. Set carriage returns. Clear print buffer. Set full cut. Set partial cut. Begin escape sequence. Set 12 cpi. Set 17 cpi. Set 10 cpi. Start double-wide print. Set horizontal tabs. 1 2 k (Sets tabs at columns n n ... n 0) Set open for validation. Set close for validation. Select validation mode with autoform sense. Begin italics (Utility 10/12 cpi mode only). End italics. Select high speed draft (HSD) mode. Perform fine line feed. Set fine line spacing. Open Cash Drawer 1. Select unidirection print. Select utility print mode. Select near letter quality (NLQ) mode.

Rev G

Page 75

Page 86

Control Codes

PcOS Series 150

Programmer's Guide

MICROLINE Codes [ESC] 6 [ESC] 8 [ESC] C [ESC] D [ESC] J [ESC] M [ESC] N [ESC] M [ESC] T [ESC] H [ESC] I [ESC] K <n>1 <n>2

[ESC] L <n>1 <n>2

[ESC] Y <n>1 <n>2

[ESC] Z <n>1 <n>2

[ESC] r <n>

N/A

[ESC] # [ESC] d [ESC] “ [ESC] RS

Page 76

Set 6 lines per inch. Set 8 lines per inch. Start underline. Stop underline. Start superscript. Stop superscript. Start subscript. Stop subscript. Begin emphasized print (half speed). Begin enhanced print (double pass). End emphasized/enhanced print. Set single-density graphics. n1=0..255 n2=0..3 len=n1 + 256 * n2 Set double-density half-speed graphics. n1=0..255 n2=0..3 len=n1 + 256 * n2 Set double-density full-speed graphics. n1=0..255 n2=0..3 len=n1 + 256 * n2 Set quad-density full-speed graphics. n1=0..255 n2=0..3 len=n1 + 256 * n2 Set rotated print. n=0 end n=2 upside down Print bar code. Interleaved 2 of 5 Code 39 Code 128 Communication Echo Mode (Serial interface only) Turn on echo mode. Turn on alternate echo mode. Turn off echo mode. Turn off alternate echo mode.

Rev G

12/14/99

Page 87

Programmer's Guide

PcOS Series 150

Control Codes STAR Codes

Star Codes This section lists the Star codes that are supported by the PcOS Series 150 Printer. Ithaca Peripherals has no control over how Star extends or changes these control codes. Ithaca Peripherals makes no guarantees as to the operation of its printer when it replaces a Star printer. The Star emulation is intended to make it as easy as possible to replace a Star printer with a PcOS Series 150 Printer. The following section lists the Star commands that are processed. They are as close as possible to a Star printer. The user must remember that the Series 150 Printer is not designed as a drop in replacement for a Star printer. The PcOS Series 150 Printer is designed to bring new and unique features and functionalities to a POS receipt/validation printer.

Star Command Summary Please refer to the Star Information Manual for field definitions. The following is a list of the Star commands that are supported. Command Description Control codes used in character setting [ESC] M Select 15-cpi character size. [ESC] P Select 12-cpi character size. [ESC] : Select 8-cpi character size. [SO] Select expanded character mode. [DC4] Cancel expanded character mode. [ESC] E Select emphasized print mode. [ESC] F Cancel emphasized print mode. [ESC] – 1 Select underline mode. [ESC] – 0 Cancel underline mode. [ESC] _ 1 Select overline mode. [ESC] _ 0 Cancel overline mode. [SI] Select inverted print mode. [DC2] Cancel inverted print mode. Control codes used in line spacing [LF] Set line feed. [CR] Set carriage return. [ESC] z 1 Set 1/6-inch line feed. [ESC] 0 Set 1/8-inch line feed. [ESC] a <n> Feed paper n lines. Control codes used for page layout [FF] Set form feed. [ESC] C <n> Set page length at n lines. [ESC] C <0> <n> Set page length at n inches. [VT] Set vertical tabs. [ESC] B <n1> <n2> Set vertical tab positions. [ESC] l <n> Set left margin. [ESC] Q <n> Set right margin. [HT] Set horizontal tabs. [ESC] D <n1> <n2> Set horizontal tab positions.

12/14/99

Rev G

Page 77

Page 88

Control Codes

PcOS Series 150

Programmer's Guide

STAR Codes Control codes used for graphic printing [ESC] 1 Set 7/72-inch line feed. [ESC] A Define n/72-inch line feed. [ESC] 2 Set n/72-inch line feed. [ESC] J <n> Set one-time line feed of n/72-inch. [ESC] z 0 Set 1/12-inch line feed. [ESC] K <n1> <0> Set 8-dot single-density bit image. [ESC] L <n1> <n2> Set 8-dot double-density bit image. [ESC] h 1 Select vertical expanded character mode. [ESC] h 0 Cancel vertical expanded character mode. Control codes used for peripheral units [BEL] Defer drive command for Peripheral Unit 1. [EM] Set immediate drive command for Peripheral Unit 2. [FS] Set immediate drive command for Peripheral Unit 1. [SUB] Set immediate drive command for Peripheral Unit 2. Other control codes [RS] Activate sound buzzer. 11 [CAN] [ESC] U 1 [ESC] U 0 [ESC] @ [ESC] ! * [ENQ] [ESC] d 0

Cancel print data in buffer. Select unidirectional print mode. Select bidirectional print mode. Initialize printer. End italics. Perform inquiry. Cycle autocutter.12

[ESC] d 1 [ESC] W 1 [ESC] W 0 [ESC] y <n> [ESC] 3 <n>

Cycle autocutter. Select expanded character mode. Cancel expanded character mode. Set n/144-inch line feed. Set n/216-inch line feed.

11 This command only functions if the internal buzzer option was installed at the factory. 12 The printer can be equipped with either a full or partial cutter option.

Page 78

Rev G

12/14/99

Page 89

Programmer's Guide

PcOS Series 150

Control Codes NCR2567 Codes

NCR2567 Codes This section lists the NCR codes that are supported by the PcOS Series 150 Printer. Ithaca Peripherals has no control over how NCR extends or changes these control codes. Ithaca Peripherals makes no guarantees as to the operation of its printer when it replaces an NCR printer. The NCR emulation is intended to make it as easy as possible to replace an NCR printer with a Series 150 Printer. The following section lists the NCR commands that are processed. They are as close as possible to NCR printers. The user must remember that the Series 150 Printer is not designed as a drop-in replacement for an NCR printer. The PcOS Series 150 Printer is designed to bring new and unique features and functionalities to a POS receipt/validation printer.

NCR Command Summary Please refer to the NCR Information Manual for field definitions. The following is a list of the NCR commands that are supported. Command [ENQ] [BEL] [BS] [LF] [FF] [SO] [SI] [DLE] [DC1] [DC2] [DC3] [DC4] n [NAK] n [SYN] n [ETB] [CAN] [EM] [SUB] [GS] [RS]

12/14/99

Description Send status byte to host. Open Cash Drawer 1. Open Cash Drawer 1. Set line feed. Advance form one line. Set one-line double-wide mode. Cancel double-wide command. Clear all printer and interface functions. Deactivate all option drivers. Set one-line double-wide alternate command. Cancel double-wide alternate command. Set paper feed n lines. Feed n dot rows after each print line. Set number of dot rows fed after each print line. Print buffer contents; advance one line. Perform validation open assembly. Perform knife cut. Perform knife cut. Close platen when form is present. Close platen when form is present.

Rev G

Page 79

Page 90

Control Codes

PcOS Series 150

Programmer's Guide

TELPAR Codes

Telpar Codes This section list the Telpar codes that are supported by the PcOS Series 150 Printer. The Telpar emulation is intended to make it as easy as possible to replace a Series 50 Printer with a Series 150.

Telpar Command Summary The following is a list of the Telpar commands that are supported. Command [CR] [LF] [ESC] [LF] <n> [FF] [CAN] [ESC] 0 <n> [ESC] 3 <n> ESC VT <n> [ESC] @ [SO] [SI] [BEL] [ESC] + [ESC] ! [ESC] [BEL] <n> [ESC] a <n> [ESC] c <n> [ESC] b <n> [ESC] d <n> [ESC] “ <n> [ESC] [DEL] [ESC] [DC1] [ESC] [DC3] [ESC] [NAK] [ESC] [SYN] <n> [ESC] [DC2] [VT] [SOH] <n> [SOH] A [SOH] B [SOH] C [SOH] [DC3]

Page 80

Description Print and carriage return. Print and line feed. Feed <n> number of lines. Advance to top of form. Clear buffer; restore defaults. Set page length in lines. Set extra dot row feeds per line. Feed <n> number of dot rows. Reset printer. Set double-wide print. Cancel double-wide print. Open Cash Drawer 1. Open Cash Drawer 1. Open Cash Drawer 1. Open Cash Drawer 1. Open Cash Drawer 1. Open Cash Drawer 1. Open Cash Drawer 2. Open Cash Drawer 2. Open Cash Drawer 2. Deactivate all option drivers. Open for validation. Close for validation. Close for validation with autoform sense. Close for validation with autoform sense. Cycle autocutter. Feed to cut position. Select multidrop printer. Select printer with address, A. Select printer with address, B. Select printer with address, C. Select all printers.

Rev G

12/14/99