beautypg.com

Control codes pcos series 150 programmer's guide – Star Micronics 150 User Manual

Page 60

background image

Control Codes

PcOS Series 150

Programmer's Guide

Bar codes

Page 50

Rev G

12/14/99

Function

Bar code height

ASCII

[ESC] [EM] B

Hexadecimal

1BH 19H 42H

Decimal

<27> <25> <66>

IPCL

&%BH

1

>

2

>

EPOS

[GS] h

Description

This command sets the bar code height. Where is the number of print
passes, each pass is about 0.11 inch high. If n = <0>, the printer returns to the
default values of four passes for all except UPC, which has default values of
seven. Any value from zero to nine may be specified.

Function

Set bar code justification and human readable number print modes

ASCII

[ESC] [EM] J

Hexadecimal

1BH 19H 4AH

Decimal

<27> <25> <74>

IPCL

&%BJ

1

>

2

>

EPOS

none

The power on default is center justified with numbers on UPC bar codes.

Note: This command only effects bar code printing.

Description

This command selects the operation of the bar code justification and number
printing.

Where n-bits

n

IPCL

76543210

------xx

Justification

0

00

------00

Left

1

01

------01

Center

2

02

------10

Right

----xx--

Human readable

0

00

----00--

No numbers

4

04

----01--

Numbers on UPC bar codes

8

08

----10--

Numbers on non-UPC bar codes

12

12

----11--

Numbers on all bar codes