Star Micronics 150 User Manual

Page of 151
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 <n>
Hexadecimal
1BH 19H 42H <n>
Decimal
<27> <25> <66> <n>
IPCL
&%BH <m
1
> <m
2
>
EPOS
[GS] h <n>
Description
This command sets the bar code height. Where <n> 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 <n>
Hexadecimal
1BH 19H 4AH <n>
Decimal
<27> <25> <74> <n>
IPCL
&%BJ <m
1
> <m
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