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

PcOS Series 150 Receipt/Validation/Journal Printers Programmer's Guide, pages 91 to 100

Pages 91 to 100 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 91

Programmer's Guide

PcOS Series 150

Control Codes Summary by Code

Control Codes Summary by Code Normal ASCII [NUL] [ENQ]

Second ASCII field

Hex Code

IPCL equivalent code

Description

Page

<n>

00 05H

[SI] [DC1] [DC3] [DC4]

08H 09H 0AH 0BH 0CH 0DH 0EH 0FH 12H 14H 18H 1BH,0FH 1BH,11H 1BH,13H 1BH,14H

&%BS &%HT &%LF &%VT &%FF &%CR &%MW &%F1 &%F3 &%MN &%RP &%F4 &%VO &%VC &%VS

[ESC]

[EM] B <n>

1BH,19H, 42H

&%BH <m1>

[ESC]

&%BJ <m1><m2>

Set bar code justification.

50

&%ZV<m1><m2>

Set validation time-out.

53

&%QT

Begin HSD mode.

22

[ESC]

$

1BH,19H, 43H 1BH,19H, 4AH 1BH,19H, 56H 1BH,23H, 30H 1BH,24H

&%ZC <m1><m2>

[ESC]

[EM] C <n> [EM] J <n> [EM] V <n> # <0>

Null Set inquire status. (Refer to command descriptions.) Set back space. Set horizontal tabs. Set line feed. Set vertical tabs. Set form feed. Set carriage return. Se one-line double-wide print. Set 17 cpi. Set 10 cpi. Cancel one-line double-wide print. Clear print buffer. Set 24 cpi. Open for validation. Close for validation. Select validation mode with autoform sense. Set bar code height. n=0 Restore defaults n=1-9 Number of passes (0.11” per pass) Set validation clamp delay.

28

[ESC]

%G

&%MI

[ESC]

%H

&%CI

End italics.

38

[ESC]

Print graphics in mode <m>.

46

[ESC]

* <m><n> 1 <n>2 ! <n>

1BH,25H, 47H 1BH,25H, 48H 1BH,2AH

Copy ROM character set to RAM character set. Begin italics.

1BH,21H

&%CS<n>

24

[ESC]

- <n>

1BH,2DH

&%CU {n=0} &%MU {n=1}

[ESC] [ESC] [ESC]

0 1 2

1BH,30H 1BH,31H 1BH,32H

&%ST &%SG

[ESC]

3 <n>

1BH,33H

&%SV <m1><m2> <m3>

Select the International Character Set. Set underline. n=0 end n=1 begin Set 1/8-inch line space. Set 7/72-inch line space. Begin variable line spacing. (This enables [ESC] A <n>). Set variable space n/216-inch. Where n=1..255 defines the feed used by line feed.

[BS] [HT] [LF] [VT] [FF] [CR] [SO] [SI] [DC2] [DC4] [CAN] [ESC] [ESC] [ESC] [ESC]

[ESC] [ESC]

12/14/99

Rev G

62 16 16 15 20 20 15 33 31 31 33 55 31 52 52 52 50

53

38

36

18 19 19 18

Page 81

Page 92

Control Codes

PcOS Series 150

Programmer's Guide

Summary by Code [ESC] [ESC]

4 5 <n>

1BH,34H 1BH,35H

&%TF &%CA {n=0} &%MA {n=1}

[ESC] [ESC] [ESC] [ESC]

8 9 : < <n>

1BH,38H 1BH,39H 1BH,3AH 1BH,3CH

&%PF &%PO &%F2 &%PT

[ESC]

=<n1> <n2> <start code> <data> > <n>

1BH,3DH

? <m><n> A <n>

1BH,3FH

1BH,42H

[ESC] [ESC] [ESC] [ESC] [ESC]

B <n1> <n2><n3> ...<ni> <0> C <n> C [NUL] <n> D<n1> <n2><n3> ..<ni><0> E F G H I <n>

[ESC]

J <n>

[ESC]

1BH,4BH

[ESC]

K <n> <n>2 1 L <n> 2 <n> P <n>

1BH,50H

&%RF {n=1} &%RI {n=2} &%RN {n=0}

[ESC]

R

1BH,52H

&%HV

[ESC]

S <n>

1BH,53H

&%SB {n=1} &%SP {n=0}

[ESC]

T

1BH,54H

&%SE

[ESC]

[ESC] [ESC]

[ESC]

[ESC] [ESC] [ESC]

[ESC]

Page 82

1

1BH,3EH

1BH,41H

1BH,43H 1BH,43H

&%SL <m1><m2> &%SI <m1><m2>

1BH,44H

1BH,45H 1BH,46H 1BH,47H 1BH,48H 1BH,49H

&%MM &%CM &%ME &%CE &%QT {n=0} &%QU {n=1} &%QL {n=2} &%QS {n=3}

1BH,4AH

&%FM <m1><m2><m3>

1BH,4CH

Rev G

Set top of form. Set auto line feed. n=0 end n=1 begin Disable paper error sensor. Enable paper error sensor. Set 12 cpi. Set print suppress and pass through. Download character font image.

20 21

Enable custom character set. n=0 Off n=1 On Reassign graphic mode.

16

Set variable line spacing to n/72. Where n=1..85 is enabled by [ESC] 2. Set vertical tab stops.

19

Set form length in lines. Set form length in inches.

21 21

Set horizontal tab stops.

16

Begin emphasized print. End emphasized print. Begin enhanced print. End enhanced print. Select print mode. n=0 High Speed Draft n=1 Utility n=2 NLQ Courier n=3 NLQ Sans Serif Do a fine line feed.

37 37 37 37 22

Set single-density graphics (60h x 72 v dpi). Set double-density half-speed graphics (120 h x 72 v dpi) Set rotated font. n=0 normal n=1 rotated 90° n=2 rotated 270° Reset horizontal and vertical tab stops. Select superscript/subscript. n=0 superscript n=1 subscript End superscript/subscript.

45

51 51 31 57 28

46

20

18

45

17 38

38

12/14/99

Page 93

Programmer's Guide

PcOS Series 150

Control Codes Summary by Code

[ESC]

U <n>

1BH,55H

[ESC] [ESC]

V <n> W <n>

1BH,56H 1BH,57H

[ESC]

X <n1><n2>

1BH,58H

[ESC]

1BH,59H

[ESC]

Y <n>1 <n>2 Z <n>1 <n>2 [ @ ...

[ESC]

[ P <n>

[ESC]

[ T <n>

[ESC] [ESC]

] ^ <n>

1BH,5BH, 40H 1BH,5BH, 50H 1BH,5BH, 54H 1BH,5DH 1BH,5EH

[ESC]

_ <n>

1BH,5FH

[ESC] a <n>

1BH,61H

&%JL {n=0} &%JC {n=1} &%JR {n=2}

[ESC] b <n> ... [ETX]

1BH,62H

&%25 {n=0} &%39 {n=1} &%12 {n=2} &%UP {n=3} &%EA {n=4} &%UE {n=5} &%E8 {n=6} &%93 {n=7} &%HB {n=10}

[ESC] d <n>

1BH,64H

&%FL<m1><m2>

[ESC] [ESC] q <n> r <n>

1BH,71H 1BH,72H

[ESC] s <n>

1BH,73H

[ESC]

12/14/99

&%GU {n=1} &%GB {n=0}

&%FS {n=0} &%FD {n=1} &%FH {n=3}

1BH,5AH &%DH &%SH &%F1-7 &%CP<m1><m2> <m3><m4> &%LR &%CC <m1><m2><m3> &%CO {n=0} &%MO {n=1}

&%R0 {n=0} &%R1 {n=1} &%R2 {n=2} &%R3 {n=3} &%R5 {n=5} &%R7 {n=7} &%RL<m1><m2> <m3>

Rev G

Select bidirectional/unidirectional print. n=0 bidirectional n=1 unidirectional Set intercharacter spacing. Set multiline double-wide doublehigh sequence. n=0 end all n=1 begin double-wide n=2 double high n=3 both Set left and right margins. n1=left n2=right Set double-density full-speed graphics (120 h x 72 v dpi). Set quad-density full-speed graphics (240 h x 72 v dpi). Set print style. (See command description.) Set character pitch.

47

Select character code page.

26

Set reverse line feed. Print control character.

21 27

Enable overscore. n=0 end n=1 begin Set justification. n=0 left n=1 center n=2 right Print bar code. n=0 Interleave 2 of 5 n=1 Code 39 n=2 Code 128 n=3 UPC A n=4 EAN-13 n=5 UPC-E n=6 EAN-8 n=7 Code 93 n=10 Hollerith Feed <n> lines at the current spacing. Set query marker. Set rotated print. n=0 end n=1 rotate by 90° n=2 rotate left 180° n=3 rotate by 270° n=5 rotate by 90° with formatting n=7 rotate by 270° with formatting Set rotated print line length.

36

32 34

45 45 34 32

17

48

19

41

43

Page 83

Page 94

Control Codes

PcOS Series 150

Programmer's Guide

Summary by Code 1BH,75H

[ESC] [ESC] [ESC] u<n1> <m1> <n2> <m2>... <ni><mI> <0> v w <n> x <n>

1BH,76H 1BH,77H 1BH,78H

&%FC Cut

[ESC] y <n>

1BH,79H

&%Y0-8

[ESC]

~ <n>

1BH,7EH

[ESC]

Page 84

&%D1 {n=1} &%D2 {n=2}

Rev G

Set rotated print line spacing.

44

Activate cutter Enable dynamic response. Open cash drawer. n=1 Cash Drawer 1 n=2 Cash Drawer 2 Control diagnostics and extended features. (See description.) Set extended diagnostics.

58 58 55

57 68

12/14/99

Page 95

Programmer's Guide

PcOS Series 150

Control Codes Summary by Function

Control Codes Summary by Function Normal ASCII

Second ASCII field

Hex Code

[CR]

0DH

[LF] [VT] [FF] [ESC] [ESC] [ESC]

0 1 2

0AH 0BH 0CH 1BH,30H 1BH,31H 1BH,32H

[ESC]

3 <n>

1BH,33H

[ESC] [ESC]

4 5 <n>

1BH,34H 1BH,35H

[ESC]

A <n>

1BH,41H

[ESC]

1BH,42H

[ESC] [ESC]

B <n>1<n>2 <n>3... <n>k <0> C <n> J <n>

[ESC]

R

1BH,52H

[ESC] [ESC]

] d <n>

1BH,5DH 1BH,64H

[HT] [ESC]

[ESC]

D 1 2 <n> <n> 3 <n> ... <n>k <0> R

1BH,43H 1BH,4AH

09H 1BH,44H

1BH,52H

[ESC] [ESC]

V <n> X <n1><n2>

1BH,56H 1BH,58H

[ESC] a <n>

1BH,61H

12/14/99

IPCL equivalent code

Description

Print/paper motion &%CR Set carriage return. Vertical motion &%LF Set line feed. &%VT Set vertical tabs. &%FF Set form feed. &%ST Set 1/8-inch line space. &%SG Set 7/72-inch line space. Begin variable line spacing. (Enable [ESC] A n). &%SV Set fine line space n/216 inch where <m1><m2><m3> n=1..255 defines the feed used by line feed. &%ST Set top of form. &%CA {n=0} Set auto line feed. &%MA {n=1} n=0 end n=1 begin Set variable line spacing n/72 where n=1..85 is enabled by [ESC] 2. Set vertical tabs at lines n1 n2... nk 0.

&% &%FM <m1><m2><m3>

Page

15 15 20 20 18 19 19 18

20 21

19 20

Set form length in lines or inches. Do a fine line feed n/216 inch. n=0 no line feed n=1..255 &%HV Reset horizontal and vertical tabs to defaults. &%LR Reverse line feed. &%FL Feed <n> lines at the current <m1><m2> spacing. Horizontal motion &%HT Set horizontal tabs. Set horizontal tabs at columns n1 n2 k ... n 0. The maximum value of n depends on the station selected.

21 18

&%HV

17

Reset horizontal and vertical tabs to defaults. Set intercharacter spacing. Set left and right margins. n1=left in characters n2=right in characters Set justification. n=0 left n=1 center n=2 right n=4 180° right n=5 180° center n=6 180° left 180° mode not available in IPCL.

&%JR &%JC &%JL

Rev G

17 21 19

16 16

32

17

Page 85

Page 96

Control Codes

PcOS Series 150

Programmer's Guide

Summary by Function [ESC]

U <n>

1BH,55H

[ESC]

#0

[ESC]

E

1BH,23H, 30H 1BH,45H

[ESC] [ESC] [ESC] [ESC]

F G H I <n>

1BH,46H 1BH,47H 1BH,48H 1BH,49H

[ESC]

[ @ ...

1BH,5BH, 40H

[ESC] [ESC]

! <n> [ T <n>

1BH,21H 1BH,5BH, 54H

[ESC]

$

1BH,24H

[ESC]

=<n>1 <n>2 <start code> <data> > <n>

1BH,3DH

[ESC]

[DC2] [ESC] [SI] [ESC] [ESC]

: [SI] [ P <n>

1BH,3EH

12H 1BH,3AH 0FH 1BH, 0FH 1BH,5BH, 50H

47

Set custom character. n=0 OFF n=1 ON Character pitch &%F3 Set 10 cpi. &%F2 Set 12 cpi. &%F1 Set 17 cpi. &%F4 Set 24 cpi. &%F1-7 Set character pitch.

28

Character attributes &%MW Set one-line double-wide mode. &%MN Cancel one-line double-wide mode. Set custom character. n=0 OFF n=1 ON &%MI Begin italics.

[SO]4 [DC4] [ESC]

> <n>

[ESC]

%G

[ESC]

%H

[ESC]

- <n>

1BH,25H, 47H 1BH,25H, 48H 1BH,2DH

[ESC]

S <n>

1BH,53H

&%SB {n=1} &%SP {n=0}

[ESC]

T

1BH,54H

&%SE

Page 86

0EH 14H 1BH,3EH

Select bidirectional/unidirectional mode. n=0 bidirectional n=1 unidirectional &%QT Set Normal Print Mode. (HSD is normal.) &%MM Begin emphasized print (half-speed). &%CM End emphasized print. &%ME Begin enhanced print (double pass). &%CE End enhanced print. Select print mode. &%QT {n=0} n=0 High Speed Draft &%QU {n=1} n=1 Utility &%QS {n=2} n=2 NLQ Sans-Serif &%QL {n=3} n=3 NLQ Courier Set print style. (See command description.) International Character Sets &%CS<n> Select International Character Set. &%CP Set character set by code page. <m1><m2><m3> <m4> Custom characters Copy ROM character set to RAM character set. Download character font image.

&%GU {n=1} &%GB {n=0}

22 37 37 37 37 22

34

24 26

28 28

31 31 31 31 32

33 33 28

38

&%CI

End italics.

38

&%CU {n=0} &%MU {n=1}

Set underline. n=0 end n=1 begin Select superscript/subscript. n=0 superscript n=1 subscript End superscript/subscript.

36

Rev G

38

38

12/14/99

Page 97

Programmer's Guide

PcOS Series 150

Control Codes Summary by Function

[ESC]

W <n>

1BH,57H

[ESC]

_ <n>

1BH,5FH

[ESC]

P <n>

1BH,50H

[ESC] r <n>

1BH,72H

[ESC] s <n>

1BH,73H

[ESC] u <n>1 <m>1 <n>2 <m>2 ... <n>k <0>

1BH,75H

[ESC]

* <m> <n>1 <n>2 ? <m><n> K <n>1 <n>2

1BH,2AH

[ESC]

L <n>1 <n>2

1BH,4CH

[ESC]

Y <n>1 2 <n>

1BH,59H

[ESC]

Z <n>1 2 <n>

1BH,5AH

[ESC]

U <n>

1BH,55H

[ESC] [ESC]

12/14/99

Set multiline double-wide doublehigh sequence. n=0 end all n=1 double-wide n=2 double-high n=3 both &%CO {n=0} Set overscore. &%MO {n=1} n=0 end n=1 begin Rotated print Rotate font. &%RF {n=1} n=0 normal &%RI {n=2} &%RN {n=0} n=1 rotated 90° n=2 rotated 270° Rotate print. &%R0 {n=0} n=0 end &%R1 {n=1} &%R2 {n=2} n=1 rotate by 90° &%R3 {n=3} n=2 rotate left 180° n=3 rotate by 270° &%RL Set rotated print line length. <m1><m2><m3> n=1..128 (Default 80) &%RS Set rotated print line spacing. nk=0 End where n=line and m=dots from last line. Note: All lines not specified are set to 1 dot. Graphics Print Epson 9-pin graphics in mode <m>. &%FS {n=0} &%FD {n=1} &%FH {n=3}

34

36

23

41

43 44

46

1BH,3FH

Reassign graphic mode.

46

1BH,4BH

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. 1 n =0..255 n2=0..3 len=n1 +256 * n2 Set quad-density full-speed graphics. 1 n =0..255 n2=0..3 len=n1 +256 * n2 Select bidirectional/unidirectional mode. n=0 bidirectional n=1 unidirectional

45

&%GU {n=1} &%GB {n=0}

Rev G

45

45

45

47

Page 87

Page 98

Control Codes

PcOS Series 150

Programmer's Guide

Summary by Function

[ESC] b <n> ... [ETX]

1BH,62H

[ESC]

[EM] B <n>

1BH,19H, 42H

[ESC]

[EM] J <n>

1BH,19H, 4AH

[ESC] [ESC] [ESC]

[DC1] [DC3] [DC4]

1BH,11H 1BH,13H 1BH,14H

[ESC]

[EM] C <n> [EM] V <n>

1BH,19H, 43H 1BH,19H, 56H

[ENQ]

<n>

05H

[CAN] [ESC] [ESC] [ESC]

8 9 <

18H 1BH,38H 1BH,39H 1BH,3CH

[ESC] [ESC] [ESC] [ESC] q<n> v w <n> x <n>

1BH,71H 1BH,76H 1BH,77H 1BH,78H

[ESC] y <n>

1BH,79H

[ESC]

~ <n>

1BH,7EH

[ESC]

Page 88

Bar codes Print bar codes. &%25 {n=0} n=0 Interleave 2 of 5 &%39 {n=1} n=1 Code 39 &%12 {n=2} n=2 Code 128 &%UP {n=3} n=3 UPC A &%EA {n=4} n=4 EAN-13 &%EA {n=5} n=5 UPC E &%EA {n=6} n=6 EAN-8 &%93 {n=7} n=7 Code 93 &%HB {n=10} n=10 Hollerith &%BH <m1> Set bar code height. n=0 restore defaults n=1-9 number of passes (0.11” per pass) &%BJ <m1><m2> Set bar code justification. Validation control &%VO Open for validation. &%VC Close for validation. &%VS Select validation mode with auto form sense. &%ZC <m1><m2> Set validation clamp delay. &%ZV <m1><m2>

Set validation time-out.

Miscellaneous Set inquire status. (Refer to command descriptions.) &%RP Clear print buffer. &%PF Disable paper error sensing. &%PO Enable paper error sensing. &%PT Set print suppress and pass through. None Set query marker. &%FC Cut Activate cutter. None Enable dynamic response. &%D1 {n=1} Open cash drawer. &%D2 {n=2} n=1 n=2 Diagnostics &%Y0 - 7 Control diagnostics and extended features. (See descriptions on page 57.) Set diagnostics commands enabled by [ESC]y<8>. (See command description for <n>.)

Rev G

48

50

50

52 52 52 53 53

62 55 51 51 57 56 58 58 55

57

68

12/14/99

Page 99

Programmer's Guide

PcOS Series 150

Operator Panel Controls

Chapter 6: Operator Panel Controls Push Buttons - Momentary Switches The FEED key advances the receipt and journal paper. The RELEASE key opens and closes the validation clamp. It cycles through open and close mode. The RESUME key restarts the printer after a failure has been cleared.

Indicators There are three indicators. They are READY, ALARM, and POWER. The printer can be in any of the following states. STATE

READY (Green Indicator)

ALARM (Red Indicator)

POWER (Green Indicator)

Ready (The printer is ready to receive data and print.)

On

Off

On

Not ready

Off

Off

On

Ready but waiting for a form

Flash

Off

On

Out of paper

Off

On

On

Menu mode

Flash

Off

Flash

Test mode

Flash

Off

On

Printer fault

Off

Flash

On

Printer failure

Off

Off

Off

Off-line

Watchdog fault (The printer resets.)

12/14/99

Rev G

Page 89

Page 100

Operator Panel Controls

PcOS Series 150

Programmer's Guide

Fault Indicators If the printer indicates printer fault, the error is not recoverable. The printer must be restarted and may lose information. To aid in printer troubleshooting, the RESUME key will activate an extended diagnostic indication. This will blink the status indicator a number of times. The number of blinks indicates the fault. The fault list follows. Faults while in operation: 1 Motor move time-out 2 Motor move retry fault 3 Motor move fault (moved in wrong direction) 4 Space motor locked 5 Motor homing fault 6 Motor acceleration fault 7 Printing fault 8 Fault while centering 9 Forms compensation fault Faults during Level 0 diagnostics: 10 ROM check-sum failure 11 RAM failure 12 Configuration EEPROM failure 13 Processor test fault 14 EEPROM check-sum failure Faults that can happen at anytime: 15 Firmware control fault (loss of program control) 16 Cutter option fault After the fault code is displayed, the printer can be restarted by pressing the RESUME and RELEASE keys simultaneously. If the EEPROM check-sum fault occurs (Fault Code 14), the EEPROM can be set to default by pressing the RESUME and LF keys simultaneously. The printer will be functional but must be reconfigured. This procedure is only to allow reconfiguration and not to recover printer function in the field. If the indication is printer failure, the printer controller is not running and is being held in reset. If this failure occurs, the printer is not functional and should be serviced. If the printer appears to go through a power cycle by itself, the hardware watchdog has detected a fault. This fault is generally a hardware failure or an external interference. If the fault is hardware, the printer will continue to cycle through its diagnostics and then reset. If this happens, the printer must be serviced. If the fault is caused by external interference like electrostatic discharge (ESD), the printer will generally recover by itself. (Note: The parallel port INIT pin causes a soft reset.)

Page 90

Rev G

12/14/99