beautypg.com

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

Page 84

background image

Control Codes

PcOS Series 150

Programmer's Guide

EPOS Deviations

Page 74

Rev G

12/14/99

Function

Set bar code

ASCII

[GS] k {information} [NUL]

Description

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

EPOS has two formats for bar codes. One is [NUL] terminated; the
other has a length field. If is greater than 64, the next byte sets
the length in bytes. Only the [NUL] terminated command is supported
by the Series 150 Printer.

Where m

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
command as described on page 48.