|
3800 SERIES TECH NOTES |
|
3900 Series - Printing Bar Codes
GENICOM TechNote 39U-001
3900 Series - Printing Bar Codes
07-02-96 Ed Palmer
NOTE: This document applies only to GENICOM 3900 series printers
connected to an IBM mainframe via coax or twinax. It does not apply to
connections through the printer's parallel port.
BAR CODE PARAMETERS:
The ANSI control sequence that sets bar code parameters has the format:
&%1B &%5B p1 ; p2 ; p3 ; p4 ; p5 ; p6 ; p7 ; p8 ; p9 ; p10 ; p11 &%7D
p Attribute Default
p1 style
p2 height 9
p3 human readable line 1
p4 narrow bar width 2
p5 wide bar width 4
p6 narrow space width 2
p7 wide space width 4
p8 intercharacter gap 2
p9 rotation 0
p10 horizontal print density 0
p11 check character 0
Paramters are defined as follows:
p1 Bar Code Style
0 Interleaved 2 of 5
1 Bidirectional 2 of 5
2 Matrix 2 of 5
3 Industrial 2 of 5
4 Code 3 of 9
5 EAN-8
6 EAN-13
7 Code 11
8 Code BCD
9 Codeabar a/t
10 Codeabar b/n
11 Codeabar c/*
12 Codeabar d/e
13 UPC-A
14 UPC-E
15 Code 93
16 Code 128 (subsets A, B, and C)
17 reserved
18 reserved
19 MSI
20 UPC 2
21 UPC 5
22 EAN 2
23 EAN 5
p2 Height
Height of the bar code in 1/12 inch increments.
p3 Human Readable Line
0 HRL disabled
1 HRL enabled
p4 Narrow Bar Width
Width of the narrow bars in 1/120 inch increments (horizontal)
or 1/144 inches (vertical).
p5 Wide Bar Width
Width of the wide bars in 1/120 inch increments (horizontal) or
1/144 inches (vertical).
p6 Narrow Space Width
Width of the narrow spaces in 1/120 inch increments (horizontal)
or 1/144 inches (vertical).
p7 Wide Space Width
Width of the wide spaces in 1/120 inch increments (horizontal)
or 1/144 inches (vertical).
p8 Intercharacter Gap
Space between characters in 1/120 inch increments (horizontal)
or 1/144 inches (vertical).
p9 Rotation
0 none
1 none
2 90 degrees
3 180 degrees
4 270 degrees
p10 Horizontal Resolution
0 60 dots per inch
1 120 dots per inch
p11 Check Character
0 disabled
1 enabled
The bar code parameters should be sent one time at the beginning of the job.
TURNING BAR CODES ON AND OFF:
Use this sequence to turn the bar code on:
&%1B &%5B 3 &%74
To turn the bar code off:
&%1B &%5B 0 &%74
PRINTER OPTIONS:
These options are set on the printer:
Software Options
2 Backup to top of bar code
ENB backup to top right of bar code after printing (recommended)
DIS end at line after bar code
3 Staggered density bar codes
ENB enables staggered printing of 60 DPI bar codes (recommended)
DIS disables staggered bar codes
4 Guard bars on bar codes
ENB enables guard bars on EAN-8, EAN-13, UPC-A, and UPC-E
printed with p9=0; also extends start, stop and center bars
DIS disables guard bars
5 Enable SI/SO control of bar codes
ENB Enabled
DIS Disable (recommended)
|
Back to Previous Menu |
|
|