FEBRUARY 2000
PCD50A
PCD50AE
PCD51A
PCD51AE
A/C-7P RO
A/C-7S RO
RO
A/C-7P
On
Data
Data
From
Host
Power
From
Printer
On
Line
Parallel
Off
Host
Line
Sync
I
SW1
I
O
O
1
2
3
4
5
6
7
8
A/C-7S RO
On
Serial
Data
Out
Data
From
Host
Power
Off
Printer
On
Line
Host
Line
Sync
I
SW2
SW1
O
I
1
2
3
4
5
6
7
8
O
1
2
3
4
5
6 7 8
CUSTOMER Order toll-free in the U.S. 24 hours, 7 A.M. Monday to midnight Friday: 877-877-BBOX
FREE technical support, 24 hours a day, 7 days a week: Call 724-746-5500 or fax 724-746-0746
Mail order: Black Box Corporation, 1000 Park Drive, Lawrence, PA 15055-1018
SUPPORT
INFORMATION
Web site: www.blackbox.com
•
E-mail: [email protected]
A/C-7P RO, A/C-7S RO
NORMAS OFICIALES MEXICANAS (NOM)
ELECTRICAL SAFETY STATEMENT
INSTRUCCIONES DE SEGURIDAD
1. Todas las instrucciones de seguridad y operación deberán ser leídas antes
de que el aparato eléctrico sea operado.
2. Las instrucciones de seguridad y operación deberán ser guardadas para
referencia futura.
3. Todas las advertencias en el aparato eléctrico y en sus instrucciones de
operación deben ser respetadas.
4. Todas las instrucciones de operación y uso deben ser seguidas.
5. El aparato eléctrico no deberá ser usado cerca del agua—por ejemplo,
cerca de la tina de baño, lavabo, sótano mojado o cerca de una alberca,
etc..
6. El aparato eléctrico debe ser usado únicamente con carritos o pedestales
que sean recomendados por el fabricante.
7. El aparato eléctrico debe ser montado a la pared o al techo sólo como
sea recomendado por el fabricante.
8. Servicio—El usuario no debe intentar dar servicio al equipo eléctrico más
allá a lo descrito en las instrucciones de operación. Todo otro servicio
deberá ser referido a personal de servicio calificado.
9. El aparato eléctrico debe ser situado de tal manera que su posición no
interfiera su uso. La colocación del aparato eléctrico sobre una cama,
sofá, alfombra o superficie similar puede bloquea la ventilación, no se
debe colocar en libreros o gabinetes que impidan el flujo de aire por los
orificios de ventilación.
10. El equipo eléctrico deber ser situado fuera del alcance de fuentes de
calor como radiadores, registros de calor, estufas u otros aparatos
(incluyendo amplificadores) que producen calor.
11. El aparato eléctrico deberá ser connectado a una fuente de poder sólo
del tipo descrito en el instructivo de operación, o como se indique en el
aparato.
4
A/C-7P RO, A/C-7S RO
12. Precaución debe ser tomada de tal manera que la tierra fisica y la
polarización del equipo no sea eliminada.
13. Los cables de la fuente de poder deben ser guiados de tal manera que no
sean pisados ni pellizcados por objetos colocados sobre o contra ellos,
poniendo particular atención a los contactos y receptáculos donde salen
del aparato.
14. El equipo eléctrico debe ser limpiado únicamente de acuerdo a las
recomendaciones del fabricante.
15. En caso de existir, una antena externa deberá ser localizada lejos de las
lineas de energia.
16. El cable de corriente deberá ser desconectado del cuando el equipo no
sea usado por un largo periodo de tiempo.
17. Cuidado debe ser tomado de tal manera que objectos liquidos no sean
derramados sobre la cubierta u orificios de ventilación.
18. Servicio por personal calificado deberá ser provisto cuando:
A: El cable de poder o el contacto ha sido dañado; u
B: Objectos han caído o líquido ha sido derramado dentro del
aparato; o
C: El aparato ha sido expuesto a la lluvia; o
D: El aparato parece no operar normalmente o muestra un cambio en su
desempeño; o
E: El aparato ha sido tirado o su cubierta ha sido dañada.
5
A/C-7P RO, A/C-7S RO
TRADEMARKS
®
Centronics is a registered trademark of GENICOM Corporation.
®
Epson is a registered trademark of Seiko Epson Corporation.
®
®
™
IBM , Proprinter , and IPDS are registered trademarks or trademarks
of IBM Corporation.
®
®
®
®
Hewlett-Packard , HP , LaserJet , and PCL are registered trademarks
of Hewlett-Packard.
®
OKIDATA is a registered trademark of Oki America, Inc.
®
Mannesmann Tally is a registered trademark of Mannesmann Tally
Corporation.
All applied-for and registered trademarks are the property of their respective
owners.
6
A/C-7P RO, A/C-7S RO
Contents
Chapter
Page
1. Specifications...................................................................................................9
2. Introduction..................................................................................................10
2.1 Description of Front Panels.................................................................11
2.2 About this User’s Guide.......................................................................11
2.3 Unpacking.............................................................................................11
3. Installation.....................................................................................................13
Power On/Off Sequence ............................................................................15
4. Configuration................................................................................................20
4.1 A/C-7 RO Configuration .....................................................................20
4.2 Configuration Switch Settings .............................................................21
4.3 Setup Software (does not apply to versions after Feb. 1996).............26
4.4 Host/PC Download Command Overview...........................................27
4.5 Restoring Factory Defaults...................................................................57
5. Operation .....................................................................................................58
5.1 Printer Sharing .....................................................................................58
5.2 Parallel/Serial Port Initialization ........................................................59
5.3 Host Port Initialization.........................................................................59
5.4 Print Position and Page Length...........................................................59
5.5 Laser Printing .......................................................................................60
5.6 Computer Output Reduction (COR) .................................................61
5.7 Automatic Print Orientation (APO) ...................................................62
5.8 Generic Mode.......................................................................................64
6. Advanced Features........................................................................................66
6.1 Command PassThru.............................................................................66
6.2 Custom User Strings.............................................................................67
6.3 SCS Mode Transparent Data ...............................................................67
6.4 Color Printing.......................................................................................68
6.5 Printing Bar Codes ...............................................................................68
6.6 I-O Graphics Language........................................................................84
6.6.1 I-O Graphics Language Overview .............................................84
6.6.2 Helpful Hints..............................................................................88
6.6.3 Basic Description........................................................................90
7
A/C-7P RO, A/C-7S RO
6.7 I-O Graphic Language (IOGL) in Action.........................................101
6.7.1 General Steps............................................................................101
6.7.2 Tutorial.....................................................................................101
6.7.3 X- and Y-Axes............................................................................105
6.8 Linking Graphical Output to a Host Application ............................106
6.9 Printing Images from the Host..........................................................107
7. Troubleshooting .........................................................................................109
7.1 Interface Self-Test...............................................................................109
7.2 EBCDIC Hex Dump...........................................................................110
7.3 ASCII Hex Dump ...............................................................................111
7.4 Problem Resolution Guide ................................................................112
Appendix A: Font (FGID) Reference for HP LaserJet Printers..................117
Appendix B: Character Sets...........................................................................141
Appendix C: Serial Port Pinnings .................................................................144
Appendix D: Parallel Port Pinnings..............................................................146
Appendix E: Transferring Power to Pin 18 ..................................................148
8
A/C-7P RO, A/C-7S RO
1. Specifications
®
Emulation—IBM 3812, 4214,
4224, 3287, 3262, and 3268
printers (non-IPDS)
Systems Supported—ASCII
®
printer, IBM 30XX, 43XX,
937X host, or 3174, 3274, or
3276 controller
Indicators—(5) LEDs: Power,
Host line, Sync, Printer Online,
Data from Host, Data Out
Connectors—PCD50A, PCD50AE:
(1) BNC, (1) DB25 female,
®
(1) 36-pin Centronics ;
PCD51A, PCD51AE: (1) BNC,
(1) DB25 female, (1) DB25 male
Power—9 VAC wallmount
transformer
Size—6.5"H x 2.1"W x 5.1"D
(16.5 x 5.3 x 13 cm)
Weight—3 lb. (1.4 kg)
9
A/C-7P RO, A/C-7S RO
2. Introduction
®
The A/C-7P RO and the AC-7S RO
are powerful, yet easy-to-operate
external printer interfaces. You can
easily set them up through on-board
configuration switches or Host/PC
download commands.
operating in PCL mode, the A/C-7
RO allows Computer Output
Reduction (COR) and Automatic
Page Orientation (APO). In
addition, paper can be pulled from
several sources and a multitude of
fonts (printer-resident or from
optional cartridges) are supported.
The A/C-7P RO and A/C-7S RO
attach virtually any ASCII printer to
an IBM 30XX, 43XX, 937X host, or
3174, 3274 or 3276 controller. They
offer reliable emulations of IBM
3812, 4214, 4224, 3287, 3262 and
3268 printers (all non-IPDS™).
When connected to a laser printer
The A/C-7P RO comes with a
standard parallel sharing port that
allows automatic sharing of the
attached printer between the host
and a PC or LAN. The A/C-7S RO
comes with a standard serial sharing
port.
A/C-7P RO
Printer Data
On From
Line Host
Host
Data
From
Parallel
SW1
ON
Line
I
I
Sync
Power
O
O
1 2 3 4 5 6 7 8
OFF
A/C-7S RO
Printer Data
On From
Line Host
Host
Serial
Data
Out
SW1
SW2
ON
Line
I
I
Sync
Power
O
O
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
OFF
Figure 2-1. Front Panels of the A/C-7 RO.
10
A/C-7P RO, A/C-7S RO
• Power—The A/C-7 RO is
powered on.
2.1 Description of Front Panels
CONFIGURATION SWITCHES
On/Off Switch—The On/Off switch
is used to power on or power off the
A/C-7 RO. Use this switch when
asked to cycle power.
The Configuration Switches are used
to set the output protocol and to
perform the available test and
diagnostic functions. While the A/C-
7P RO models come with only one
bank of switches, the A/C-7S RO
comes with two banks of eight
switches. The left bank is labeled
SW1; the right bank is labeled SW2.
2.2 About This User’s Guide
Since this user’s guide covers two
A/C-7 RO models, including A/C-7P
RO and A/C-7S RO.
LEDS
2.3 Unpacking
The green LED lights indicate the
following:
Check the packaging for water or
physical damage, and notify the
carrier immediately if there is any
damage.
• Host Line Sync—Communication
lines between the host and the
interface are established.
Keep the original packaging in
case you need to move or ship the
A/C-7 RO.
• Printer Online—The printer is
ready to receive data.
• Data From Host—The A/C-7 RO is
currently processing data
received from the coax host.
• Data From Parallel/Serial—The
A/C-7 RO is currently receiving
data from an attached PC or
LAN. PC download commands
are processed, other data is
transmitted to the printer.
11
A/C-7P RO, A/C-7S RO
The package should include the
following:
• A/C-7P RO or A/C-7S RO
• Wallmount transformer (9V AC
output)
• Standard parallel cable (for
A/C-7P RO only)
• Standard serial cable (for
A/C-7S RO only)
12
A/C-7P RO, A/C-7S RO
3. Installation
Before connecting the A/C-7 RO to
the printer, verify that the printer
functions properly by performing a
printer self-test. Consult the printer’s
user’s guide for instructions on how
to start and evaluate the self-test. If
the printer functions properly,
proceed with the installation of the
A/C-7 RO.
4. If the sharing port of the A/C-7P
RO is used, attach the parallel
cable now. Note that a PC or
LAN connected to the A/C-7P
RO’s sharing port should always
be powered up when the A/C-7P
RO is operating.
5. Connect the wall mount
transformer from the outlet to
the A/C-7P RO’s “9V”
connector. Connect the power
cord(s) to the printer and PC (if
used).
WARNING
Electrical current from power
lines and cables connecting
the A/C-7 RO, printer, and PC
can be hazardous. To
minimize the danger, follow
the instructions below.
6. Power on the A/C-7P RO, then
printer. The A/C-7P RO’s green
LED lights labeled “Power” and
“Printer On Line” should be lit.
NOTE
7. Print an A/C-7P RO self-test.
Power off the A/C-7P RO. Set
configuration switch SW1:8 (far
right) to the “|” position. Power
on the A/C-7P RO. After the
self-test prints, set configuration
switch SW1:8 back to the “o”
position, then cycle the power
one more time.
Do not connect the interface
to the coax cable until Step
9.
To install the A/C-7P RO:
1. Power off the printer and PC (if
used) and disconnect the power
cord(s).
8. Refer to the self-test printouts
to determine which
2. Use the configuration switches
located on the A/C-7P RO’s
front panel to select the desired
output protocol. Refer to Table
4.1 for configuration switch
settings.
configuration parameters need
to be altered. Change these
parameters by using the
Host/PC download commands.
9. With the A/C-7P RO powered
off, attach the coax cable from
the host to the A/C-7P RO’s
BNC connector.
3. Connect the parallel cable from
the interface’s “Parallel Out”
connector to the printer’s
parallel port.
13
A/C-7P RO, A/C-7S RO
6. Power on the A/C-7S RO, then
the printer. The A/C-7S RO’s
green LED lights labeled
“Power” and “Printer On Line”
should be on. If the sharing port
is used and handshaking
requirements are met, the LED
labeled “PC/LAN Ready” should
also be on.
NOTE
Whenever the printer is
powered off, the A/C-7P RO
must also be powered off to
ensure they stay in sync with
each other.
To install the A/C-7S RO:
1. Power off the printer and PC (if
used) and disconnect the power
cord(s).
7. Print an A/C-7S RO self-test.
Power off the interface, then set
configuration switch SW1:8 (far
right on the first switch bank) to
the “|” position. (If you are
operating a label printer, put the
printer in ASCII hex dump
mode, then power on the A/C-
7S RO. If the label printer starts
printing, the A/C-7S RO has
passed the self-test. To obtain a
printout of the current settings,
connect the A/C-7S RO to a
laser or dot-matrix printer.)
Power on the A/C-7S RO. After
the self-test prints, set
2. Use the configuration switches
on the A/C-7S RO’s front panel
to select the desired output
protocol and the serial output
parameters for the interface.
Refer to Tables 4.1 and 4.5 for
configuration switch settings.
3. Connect the serial cable from
the A/C-7S RO’s “Serial Out”
connector to the printer’s serial
port.
4. If the sharing port is used, attach
a second serial cable to the A/C-
7S RO’s “Serial In” port. Note
that a PC or LAN connected to
the A/C-7S’s sharing port should
always be powered on when the
A/C-7S RO is operating. In
configuration switch SW1:8 back
to the “o” position, then cycle
the power one more time.
8. Refer to the self-test printouts to
determine which configuration
parameters need to be altered.
Change these parameters by
using the Host/PC download
commands. Refer Chapter 4 for
further information.
addition, the PC/LAN and the
interface must be using the same
serial parameters. Refer to
Section 5.1, Printer Sharing, for
more information.
5. Connect the wall mount
transformer from the outlet to
the A/C-7S RO’s “9V”
connector. Connect the power
cord(s) to the printer and PC (if
used).
14
A/C-7P RO, A/C-7S RO
9. With the A/C-7S RO powered
off, attach the coax cable from
the host to the A/C-7S RO’s
BNC connector.
To power on:
1. Turn on the printer.
2. Turn on the A/C-7 RO.
To power off:
NOTE
Whenever the printer is
powered off, the A/C-7S RO
must also be powered off to
ensure they stay in sync with
each other.
1. Turn off the A/C-7 RO.
2. Turn off the printer.
The self-test printouts in Figures 3-
1 and 3-2 show the default settings
for the different A/C-7 RO models.
The printout you obtain may differ
from the samples, since only the
configuration parameters associated
with the active output protocol (e.g.
HP PCL, IBM PPDS, etc.) are
printed. The second page of the self-
test printout is the same for both
A/C-7 RO models.
POWER-ON/OFF SEQUENCE
Follow the power-on and -off
sequences exactly, or the print
output may be garbled.
15
A/C-7P RO, A/C-7S RO
Self-Test Printout - A/C-7P RO
PARALLEL 3270 COAX INTERFACE
COPYRIGHT (c) 1994 SDE Corp
Rom Ok
Ram Ok
Software Version 1.00
ASCII Printer Protocol
:
Generic
#01 -
#02 -
#03 -
#04 -
#05 -
#06 -
#07 -
#08 -
#12 -
#13 -
#14 -
Buffer Size (Characters)
Lines Density (LPI)
:
2 1920
:
6
Characters Density (CPI)
Line Spacing
:
10
:
1 Single (6 or 8 LPI)
Form Length (MPL)
:
066
Maximum Print Position (MPP)
Print Case
:
080
:
1 Dual
LU1 Language
:
01 English (US)
0 No
FF Before Local Screen Copy
FF After Local Screen Copy:
LU3 Print Image (Non-SCS Mode):
:
0 No
0 LU3 and Local Copy
Null line suppress
0 Next line
0 Current line + 2
0 2nd PP
1 Line 1
#15 -
#16 -
#17 -
#18 -
#19 -
#20 -
#21 -
#25 -
#26 -
#27 -
#30 -
#31 -
#34 -
#36 -
#37 -
#39 -
#40 -
#41 -
#42 -
#45 -
#50 -
#51 -
#65 -
#56 -
SP:
CR at MPP + 1
NL at MPP +1
:
:
:
:
Valid FF Followed by Data
Valid FF at End of Buffer
FF Valid Location
:
0 FF valid at 1st PP or MPP+1
Auto Function at End of Job
Print Quality (Fast Draft)
IBM Motion Command
Suppress Empty Forms
:
0 NL
:
0 DP=Fast Draft, Text= Draft
:
0 Use FF
0 No
:
Form Feed After Time Out :
Override of Formatting Cmds
Truncate/Wrap select
0 No
:
:
:
:
:
:
:
:
:
:
:
:
:
:
0 Disabled
Wrap text beyond MPP
120 times 5 seconds
0 No control codes suppressed
1 3268/4224
Interv Required (IR) Timeout
Suppress IBM Control Codes
Vertical Channel Select (VCS)
CPT End Delimiter (ASCII)
CPT Start Delimiter (ASCII)
Command ID Char (ASCII)
Start/Stop Buffer Hex Dump
SCS TRN Translate
2625 (&%)
2625 (&%)
5A (Z)
0 No Action
1 3287 emulation, SCS code 35
08 Seconds
Sharing Port Timeout
Host Port Timeout
08 Seconds
1 Roman 8
Character Set Selection
Parallel Port Init String
#57 -
HP
Host Port Init String
:
Figure 3-1. Self-Test Printout for A/C-7P RO.
16
A/C-7P RO, A/C-7S RO
Self-Test Printout - A/C-7S RO
SERIAL 3270 COAX INTERFACE
COPYRIGHT (c) 1994 SDE Corp
Rom Ok
Ram Ok
Software Version 1.00
ASCII Printer Protocol
Serial Out Baud Rate
Serial Out Parity
Serial Out Word Length
Serial Out Stop Bits
:
:
:
:
:
Generic
9600 Baud
None
8 Bits
1 Bit
#01 -
#02 -
#03 -
#04 -
#05 -
#06 -
#07 -
#08 -
#12 -
#13 -
#14 -
Buffer Size (Characters)
Lines Density (LPI)
:
2 1920
:
6
Characters Density (CPI)
Line Spacing
:
10
:
1 Single (6 or 8 LPI)
Form Length (MPL)
:
066
Maximum Print Position (MPP)
Print Case
:
080
:
1 Dual
LU1 Language
:
01 English (US)
0 No
FF Before Local Screen Copy
FF After Local Screen Copy:
LU3 Print Image (Non-SCS Mode)
:
0 No
:
0 LU3 and Local Copy Null
line suppress
#15 -
#16 -
#17 -
#18 -
#19 -
#20 -
#21 -
#25 -
#26 -
#27 -
#30 -
#31 -
#34 -
#36 -
#37 -
#39 -
#40 -
#41 -
#42 -
#45 -
#50 -
#51 -
CR at MPP + 1
NL at MPP +1
:
:
:
:
0 Next line
0 Current line + 2
0 2nd PP
Valid FF Followed by Data
Valid FF at End of Buffer
1 Line 1
FF Valid Location
:
0 FF valid at 1st PP or MPP+1
Auto Function at End of Job
Print Quality (Fast Draft)
IBM Motion Command
:
0 NL
:
0 DP=Fast Draft, Text=Draft
:
0 Use FF
0 No
Suppress Empty Forms
:
Form Feed After Time Out :
Override of Formatting Cmds
Truncate/Wrap select
0 No
:
:
:
:
:
:
:
:
:
:
:
:
0 Disabled
Wrap text beyond MPP
120 times 5 seconds
0 No control codes suppressed
1 3268/4224
Interv Required (IR) Timeout
Suppress IBM Control Codes
Vertical Channel Select (VCS)
CPT End Delimiter (ASCII)
CPT Start Delimiter (ASCII)
Command ID Char (ASCII)
Start/Stop Buffer Hex Dump
SCS TRN Translate
2625 (&%)
2625 (&%)
5A (Z)
0 No Action
1 3287 emulation, SCS code35
08 Seconds
Sharing Port Timeout
Host Port Timeout
08 Seconds
Figure 3-2. Self-Test Printout for A/C-7S RO.
17
A/C-7P RO, A/C-7S RO
#65 -
Character Set Selection
Serial In Baud Rate
Serial In Word Length
Serial In Stop Bits :
Serial In Parity
:
1 Roman 8
2 9600 Baud
8 Bits
#76 -
#77 -
#78 -
#79 -
#56 -
SP:
:
:
1 Bit
:
0 None
Parallel Port Init String:
#57 -
HP:
Host Port Init String:
Figure 3-2. Self-Test Printout for A/C-7S RO, Page 1 (continued).
18
A/C-7P RO, A/C-7S RO
SCS (LU1) EBCDIC to ASCII Translate Table
EBCDIC 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0
456789ABCDEF
&–øØ°µ^{ } \ 0
é / Éaj ~ £AJ 1
âêÂÊbks¥BKS2
äëÄËclt · CLT3
0
1
2
20 26 2D D6 D2 B3 F3 5E 7B 7D 5C 30
20 C5 2F DC 61 6A 7E BB 41 4A 20 31
C0 C1 A2 A4 62 6B 73 BC 42 4B 53 32
3 CC CD D8 A5 63 6C 74 F2 43 4C 54 33
4
5
6
7
8
9
A
B
C8 C9 A1 A3 64 6D 75 BE 44 4D 55 34 àèÀÈdmuƒDMU4
C4 D5 E0 E5 65 6E 76 BD 45 4E 56 35
E2 D1 E1 A6 66 6F 77 F4 46 4F 57 36
D4 DD D0 A7 67 70 78 F7 47 50 58 37
B5 D9 B4 E6 68 71 79 F8 48 51 59 38
B7 DE B6 A9 69 72 7A F5 49 52 5A 39
BF 21 7C 3A FB F9 B8 5B 2D 31 32 33
2E 24 2C 23 FD FA B9 5D C2 C3 DF AE
áíÁÍenv§ENV5
ãîÃÎfow¶FOW6
1/4
åïÅÏgpx GPX7
1/2
çìÇÌhqy HQY8
3/4
ñßÑ`irz IRZ9
¢ ! | : «ª ¡ [ –123
. $ ,#»º¿]ôûÔÛ
–
C 3C 2A 25 40 E4 D7 E3 B0 CE CF DA DB <*%@∂ æ D öüÖÜ
´
´
D
E
F
28 29 5F 27 B2 20 B1 AB CA CB E8 AD
( ) _ ' y ,Y ¨òùÒÙ
2B 3B 3E 3D F0 D3 F1 27 C6 C7 E7 ED +;>= Æ ´óúÓÚ
7C 5E 3F 22 FE BA 20 5F EA EF E9 20
|^?" _õÿÕ
DSC (LU3) DBC to ASCII Translate Table
DBC 00 10 20 30 40 50 60 70 80 90 A0 B0
0123456789AB
0&àäÀÄaqAQ
=1-èëÈËbrBR
' 2 . ìïÌÏcsCS
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
00 20 30 26 C8 CC A1 D8 61 71 41 51
00 3D 31 2D C9 CD A3 A5 62 72 42 52
00 27 32 2E D9 DD E6 A7 63 73 43 53
00 22 33 2C CA CE E8 DA 64 74 44 54
00 2F 34 3A CB CF AD DB 65 75 45 55
00 5C 35 2B E2 C0 E1 A2 66 76 46 56
00 7C 36 5E EA C1 E9 A4 67 77 47 57
00 7C 37 B0 EF D1 59 A6 68 78 48 58
3E 3F 38 B3 C8 C2 41 DF 69 79 49 59
3C 21 39 00 C9 C3 45 AE 6A 7A 4A 5A
5B 24 DE 5E C5 C4 45 E0 6B D7 4B D3
5D BF BD 7E D9 C5 49 DC 6C D6 4C D2
29 BB 23 AB CA D5 4F E5 6D D4 4D D0
28 BC 40 60 CB C6 55 E7 6E B5 4E B4
7D F2 25 A9 CF C7 59 ED 6F 3B 4F 3B
7B BA 5F 00 B5 B7 43 B6 70 2A 50 2A
" 3 , òöÒÖdtDT
/ 4 :ùüÙÜeuEU
\5+ãâÃÂfvFV
|6^õêÕÊgwGW
–
|7 ÿîYÎhxHX
>?8°àôAÔiyIY
<!9 èûEÛjzJZ
[$ß^éáEÁkæKÆ
]¢§~ìéIÉløLØ
)£#"òíOÍmåMÅ
(¥@'ùóUÓnçNÇ
}·%`üúYÚo;O;
{ _ çñCÑp*P*
Figure 3-3. Self-Test Printout, Page 2.
19
A/C-7P RO, A/C-7S RO
4. Configuration
4.1 A/C-7 RO Configuration
The A/C-7 RO can be configured
through its on-board configuration
switches or by sending download
commands from the host or from a
PC/LAN. To ensure proper
functioning of your A/C-7 RO, you
should review all available
parameters.
20
A/C-7P RO, A/C-7S RO
4.2 Configuration Switch Settings
NOTE
If an invalid switch setting is
encountered at power-up, all
LED lights will blink and the
A/C-7 RO cannot operate.
Use the A/C-7 RO’s configuration
switches to select the output
protocol and to perform the
available test and diagnostic
functions. Use a pointed object, such
as a ball-point pen, to change the
switch settings.
When operating, the A/C-7 RO
will only recognize EBCDIC Hex
Dump and ASCII Dump settings. All
other settings are read only at power-
up. Whenever you change one of
these settings, remember to cycle the
power to activate them.
21
A/C-7P RO, A/C-7S RO
Table 4-1. Configuration Switch Settings.
Output Protocol
Hewlett-Packard® PCL
IBM Proprinter
IBM PPDS
SW1:4
SW1:5
SW1:6
SW1:7
o
o
o
o
o
o
|
o
|
|
o
|
o
o
o
|
o
o
|
o
|
Epson ESC/P1
Epson DFX+
|
Epson LQ (24-pin)
Epson 9-pin (DFX)
Generic
|
|
o
o
|
o
o
o
o
|
22
A/C-7P RO, A/C-7S RO
Table 4-2. Tests/Diagnostic.
Tests/Diagnostic
Restore Factory Defaults
Self-Test
SW1:1
SW1:8
|
o
|
o
o
EBCDIC Hex Dump
|
Table 4-3. Tests/Diagnostic.
Tests/Diagnostic
SW1:4
SW1:5
SW1:6
SW1:7
ASCII Hex Dump
|
|
|
|
Table 4-4. Operating Mode.
Operating Mode SW1:1
SW1:4 SW1:5 SW1:6 SW1:7 SW1:8
No Tests
o
Valid Output Protocol
o
The first two test functions
(Restore Factory Defaults and Self-
Test) are performed only if the
configuration switches are set as
indicated when the A/C-7 RO is
powered on. In the case of the self-
test, the A/C-7 RO prints a self-test
at power-on and then needs to be
powered off. Refer to Chapter 7 for
more information.
23
A/C-7P RO, A/C-7S RO
The second (right) bank of
switches of the A/C-7S RO is
used to set up the A/C-7S RO for
communication with the printer.
Table 4-5. Serial Out Baud-Rate Switches.
Serial Out Baud Rate
SW2:1
SW2:2
SW2:3
38,400
19,200
9,600
4,800
2,400
1,200
600
o
o
o
o
|
o
o
|
o
|
o
|
|
o
o
|
o
|
|
|
o
|
300
|
|
24
A/C-7P RO, A/C-7S RO
Table 4-6. Serial Out Word-Length Switch.
Serial Out Word Length
SW2:4
7 Bits
8 Bits
o
|
Table 4-7. Serial Out Stop Bits Switch.
Serial Out Stop Bits
SW2:5
1 Bit
o
|
2 Bits
Table 4-8. Serial Out Parity Switch.
Serial Out Parity
None
SW2:6
SW2:7
o
o
|
o
|
Odd
Even
0
Table 4-9. Serial X-On/X-Off Switch.
Serial X-On/X-Off
Send
SW2:8
|
Don’t Send
o
25
A/C-7P RO, A/C-7S RO
4.3 Setup Software (does not apply
to versions after February 1996)
Older versions of the A/C-7 RO
included a setup disk. For newer
versions (after February 1996), all
configuration parameters not
already covered through
4.4 Host/PC Download Commands
By sending download commands
from the Host/PC to the A/C-7 RO,
you can change all configuration
parameters not already covered
through the configuration switches.
Most Host/PC download
configuration switches can be
changed through the host/PC
download commands.
commands are placed in a Host/PC
document or on the screen.
Regardless of whether the incoming
print job is a screen print, a
NOTE
spreadsheet, or a word-processing
document created on either the host
or PC, the A/C-7 RO will recognize
the Host/PC download command.
For a description of the
available
configuration
parameters, refer to the
Table 4-11, Host/PC
Download Commands.
The command itself will not be
printed if it was entered correctly. If
any part of the command is printed,
the A/C-7 RO did not recognize the
command because of a problem in
the format. Check the syntax of the
command and send the command
again.
Most Host/PC download
commands sent to the A/C-7 RO
take effect immediately and stay only
in the A/C-7 RO’s active memory.
To save the changed configuration
beyond a power off, send Host/PC
download command Z99,0.
Tip: Save the Host/PC download
commands in a separate file. If you
need to re-configure the A/C-7 RO
at a later time, or if you need to
configure more than one A/C-7 RO,
just “print” the file containing your
Host/PC download commands.
Take the following steps to enter a
host download command.
26
A/C-7P RO, A/C-7S RO
1. Type the Command Pass-Thru
delimiter &% (or alternate CPT
beginning delimiter) in the
document at the point where the
command is to take effect.
7. Multiple commands can be
chained together by using a slash
(/) or backslash (\) to separate
the commands (no spaces
allowed). For example, to set the
Form Length (Command 05) to
64 lines (Value 64), the Buffer
Size (Command 01) to 960
2. Type an upper case “Z” (or the
alternate command ID
character).
characters (Value 1), and the
Character Density (Command
03) to 12 CPI (Value 12), type:
3. Type the command number for
the command to be used, as
shown in the table.
&%Z05,64/Z01,1/Z03,12
4. Type a comma.
4.4 Host/PC Download Command
Overview
Table 4-10 shows the Coax Host/PC
Download commands and their
corresponding command numbers
in alphabetical order:
5. Type the value representing the
desired selection. No spaces are
allowed. A space or invalid
character in a command causes
the A/C-7 RO to ignore the
command and resume printing
from the point the error
occurred.
6. A space or control character
(NL, LF, CR, or FF) signals the
end of the download command.
27
A/C-7P RO, A/C-7S RO
Table 4-11. Host/PC Download Commands.
Host/PC Download Command
10 CPI Command String
12 CPI Command String
15 CPI Command String
16.7 CPI Command String
6 LPI Command String
8 LPI Command String
Alternate Paper Tray Orientation
CPT Ending Delimiter
CPT Start Delimiters
Automatic Function at End of Job
Automatic Print Orientation
Buffer Hex Dump
Command Number
86
88
87
89
84
85
63
39
40
20
61
42
03
65
01
CPI
Character Set
Coax Buffer Size
28
A/C-7P RO, A/C-7S RO
Table 4-11 (continued). Host/PC Download Commands.
Host/PC Download Command
Command ID Character
CR at MPP + 1
Command Number
41
15
55
09
27
18
13
12
05
57
51
25
34
32
04
Custom User Strings
EpsonMatrixFont
FF After Time Out
FF At End Of Buffer
FF After Local Screen Copy
FF Before Local Screen Copy
Form Length
Host Port Init String
Host Timeout
IBM Motion Command
Intervention Required Timeout
Laser Paper Size
Line Spacing
29
A/C-7P RO, A/C-7S RO
Table 4-11 (continued). Host/PC Download Commands.
Host/PC Download Command
LPI
Command Number
02
08
64
06
16
30
62
11
56
98
21
07
14
98
98
LU1 Language
Manual Paper Tray Orientation
Max Print Position
NL at MPP+1
Override Format Commands
Primary Paper Tray Orientation
Paper Path
Parallel Port Init String
Print Active Configuration Setting
Print Quality
Print Case
Print Image
Restore Factory Default
Restore Previously Saved Configuration
30
A/C-7P RO, A/C-7S RO
Table 4-11(continued). Host/PC Download Commands.
Host/PC Download Command
Save Config in NV Memory
SCS Translate =
Command Number
99
45
76
79
78
77
58
50
26
36
17
38
31
19
37
Serial In Baud Rate (serial only)
Serial In Parity (serial only)
Serial In Stop Bits (serial only)
Serial In Word Length (serial only)
Serial Port Init String (serial only)
Sharing Timeout
Suppress Empty Forms
Suppress Host
Text After FF
True LPI Spacing
Truncate/Wrap
Valid FF Location
Vertical Channel Select
31
A/C-7P RO, A/C-7S RO
Asterisks (*) identify factory-
default settings. Invalid commands
(such as selecting 2 LPI) are
COMMAND 2: LINES PER INCH
Selects default LPI.
ignored. The last valid setting will be
unchanged. Examples in this section
apply to configuration through
Host/PC download only.
VALUE
DESCRIPTION
3 LPI
3
4
4 LPI
*6
8
6 LPI
8 LPI
COMMAND 1: BUFFER SIZE
Selects logical default buffer size.
NOTES
This default emulates the
front panel selection on an
IBM printer.
VALUE
DESCRIPTION
960 characters
1920 characters
2560 characters
3440 characters
3564 characters
1
*2
3
The IBM host can control the
LPI unless Command 36 is
used to override the host LPI
commands.
4
5
NOTES
Example: &%Z2,8 sets the printer to
8 LPI default.
This command, along with
the
Z99,0
command,
changes the logical buffer
size selection in the non-
volatile memory of the
interface. The logical buffer
size is only reported to the
host the next time the unit is
powered on.
COMMAND 3: CHARACTERS PER
INCH
Selects default CPI.
VALUE
0
DESCRIPTION
No default sent to
printer
The physical buffer size is
permanently set at 4K.
*10
12
15
16
10 CPI
12 CPI
Example: &%Z1,3 sets logical
buffer size to 2560 characters.
15 CPI
16.7 CPI
NOTE
The IBM host can control CPI
unless Command 36 is used
to select override of host CPI
commands.
Example: &%Z3,15 sets the printer
to 15 CPI default.
*Factory-default setting.
32
A/C-7P RO, A/C-7S RO
COMMAND 4: LINE SPACING
COMMAND 6: MAXIMUM PRINT
POSITION
Selects default Line Spacing.
Selects current and default
VALUE
*1
2
DESCRIPTION
Single Space
Double Space
Maximum Print Position, the
maximum number of characters
which can be printed on each line.
Example: &%Z4,2 sets the printer to
double space default.
VALUE
000
DESCRIPTION
Infinite line length
Set MPP in number
of characters
001
COMMAND 5: FORM LENGTH
to
254
Selects default Form Length (MPL =
Maximum Print Lines).
*80
Factory Default
VALUE
000
DESCRIPTION
No form length
control
Set form length in
number of lines
NOTES
Normal values are 80, 132, or
198 characters. This default
emulates the front-panel
selection on an HP printer.
001
to
255
MPP and the current position
will not be changed by
changes in CPI.
*066
Factory Default
NOTE
The infinite line length will
place no limits on the
number of characters that
can be sent to the printer on
a single line.
The 000 value enables the
front panel selection on the
printer to control the form
length when Command 25 is
set to value 0.
Example: &%Z6,63 sets MPP to 63
characters.
Example: &%Z5,70 sets form length
to 70 lines for A4 paper.
*Factory-default setting.
33
A/C-7P RO, A/C-7S RO
COMMAND 7: PRINT CASE
23 (same as 07)
24 (same as 09)
25 (same as 01)
Norwegian
Swedish
EBCDIC
(alt.)
Selects default print case.
VALUE
DESCRIPTION
Mono case
Dual case
26 (same as 08)
27 (same as 10)
Norwegian
(alt.)
0
*1
Swedish
(alt.)
Portuguese
Canadian
(Bilingual)
French
AZERTY
(105
character)
Swiss
German
Swiss
French
28
NOTE
29 (same as 06)
This default only affects LU3
printing.
30 (same as 11)
Example: &%Z7,0 sets default to
mono case.
31 (same as 14)
32 (same as 14)
COMMAND 8: LU1 LANGUAGE
Selects default LU1 language.
VALUE
* 01
DESCRIPTION
English (U.S.)
EBCDIC
NOTES
This command, along with
command Z99,0, changes
the default LU1 language
selection in the permanent
memory of the interface.
03
04
05
06
07
08
Austrian/German
Belgian
Brazilian
Canadian (French)
Danish/Norwegian
Danish/Norwegian
(alt.)
The command value should
match the language number
used
in
IBM
CU
09
10
Finnish/Swedish
Finnish/Swedish
(alt.)
configuration sequence
number 121.
11
French
Example: &%Z8,04 sets LU1
language to Belgian.
12 (same as 11) French (alt.)
13
Austrian/German
(alt.)
14
15
16
19
20
21
22
International Set 5
Italian
Japanese (English)
Spanish
Spanish (alt.)
Spanish Speaking
English (U.K.)
*Factory-default setting.
34
A/C-7P RO, A/C-7S RO
COMMAND 9: EPSON MATRIX
FONT
alternate bin 1 is default
(corresponds to PCL escape
value 4)
Selects Epson default font, if
supported by the printer.
4
5
6
Envelope feeder default
Manual sheet feed default
VALUE
DESCRIPTION
Draft Print Quality
Roman, NLQ
Sans Serif, NLQ
Courier, NLQ
Prestige, NLQ
Script, NLQ
*1
2
Manual envelope feed
default
3
4
5
7
8
9
Epson DFX front tray
Epson DFX rear tray
6
7
OCR-B, NLQ
Example: &%Z9,2 selects near-letter
quality (Roman) as the default.
Cut sheet feeding from
alternate bin 2 is default
(corresponds to PCL escape
value 5)
COMMAND 11: PAPER PATH
Selects default paper path for the
Page Presentation Media (PPM)
command.
NOTES
This command defines the
default paper source for the
Page Presentation Media
(PPM) command in SCS
mode. If the PPM command
is received from the host, the
interface always sends the
paper source to the printer
VALUE
0
DESCRIPTION
Ignore the host
PPM command and
select the paper
tray through the
printer’s front
panel.
unless value
selected.
0
or
1
is
The printer ignores the
command if it does not have
a secondary paper bin or an
envelope feeder.
1
Tractor feed or
only one paper
source used (ignore
the host PPM).
A
manual sheet feed
*2
Cut sheet feeding
from primary bin is
default.
3
Cut-sheet feeding from
*Factory-default setting.
35
A/C-7P RO, A/C-7S RO
command in the SCS PPM
causes the printer to wait for
the operator to insert paper
in the manual feed tray. This
command takes effect
immediately if placed on the
first position of the page
COMMAND 13: FORM FEED
AFTER LOCAL SCREEN COPY
Specifies whether a form feed is
performed after a local screen hard
copy.
(line
1,
position
1);
VALUE
*0
DESCRIPTION
No Form Feed
after local screen
dump
otherwise, it takes effect on
the next page.
Example: &%Z11,5 selects manual
sheet feed as the default source of
paper.
1
Form Feed
performed after
local screen dump
COMMAND 12: FORM FEED
BEFORE LOCAL SCREEN PRINT
NOTE
To use this function, the
RPQ should be:
Specifies whether a form feed is
performed before doing local screen
print.
IBM 3268 RPQ SC9508
IBM 3287 RPQ MC3750
IBM 4214 OPT 20=3
VALUE
*0
DESCRIPTION
No form feed
before local screen
print
Form feed before
local screen print
This command only affects
the local screen copy, not
the host-initiated local copy
printing, and functions only
in LU3 (non-SCS) operations.
1
Example: &%Z13,1 performs a FF
after local screen copy.
NOTE
This command only affects
the local screen copy
function, not the host-
initiated local copy printing,
and functions only in LU3
(non-SCS) operations.
COMMAND 14: LU3 PRINT
IMAGE (Non-SCS Mode)
Selects Null-Line Suppression or
True Screen Image in LU3 printing
mode.
Example: &%Z12,1 performs a FF
before local screen print.
VALUE
*0
DESCRIPTION
Null line
suppression in local
copy and non-SCS
print
*Factory-default setting.
36
A/C-7P RO, A/C-7S RO
1
2
3
Null-line suppression in
non-SCS print and true
screen image in local copy
NOTES
To use this function, the
RPQ should be:
IBM 3268 RPQ SC9501
IBM 3287 RPQ S30219
IBM 4214 OPT 15=1
True screen image in non-
SCS print and null-line
suppression in local copy
Available only in LU3 (non-
SCS) operation.
True screen image in non-
SCS print and true screen
image in local copy
Example: &%Z15,1 prints first PP of
current line as the next PP when a
CR is received at MPP+1.
NOTES
To use this function, the
RPQ should be:
COMMAND 16: NL at MPP + 1
IBM 3268 RPQ SC9505
IBM 3287 RPQ SC3741
IBM 4214 OPT 18=2
Sets the printer in accordance with
the RPQ installed in the control
unit.
Available only in LU3 (non-
SCS) operations.
VALUE
*0
DESCRIPTION
First PP of current
line + 2 lines
Values 0 and 1 are only
functional
terminals.
from
CUT
1
First PP of next line
NOTES
Example: &%Z14,3 prints true
screen image in non-SCS print and
local copy.
To use this function, the
RPQ should be:
IBM 3268 RPQ SC9502
IBM 3287 RPQ S30219
IBM 4214 OPT 15=1
COMMAND 15: CR at MPP + 1
Sets the printer in accordance with
the RPQ installed in the control
unit.
Available only in LU3 (non-
SCS) operation.
Example: &%Z16,1 performs first
PP of next line as the next PP when
an NL is received at MPP+1.
VALUE
*0
DESCRIPTION
First print position
(PP) of next line
First PP of current
line
1
*Factory-default setting.
37
A/C-7P RO, A/C-7S RO
COMMAND 17: VALID FF
FOLLOWED BY DATA
NOTES
To use this function, the
RPQ should be:
Sets the printer in accordance with
the RPQ installed in the control
unit.
IBM 3268 RPQ SC9504
IBM 3287 RPQ SC3749
IBM 4214 OPT 17=2
VALUE
*0
DESCRIPTION
Second print
Available only in LU3 (non-
SCS) operation.
position of first line
on next form
Example: &%Z18,1 performs first
PP of first line on next form as the
next PP when a valid FF is received
at the end of an IBM print buffer.
1
First print position
(PP) of first line on
next form
COMMAND 19: FF VALID
LOCATION
NOTES
For the Value 1 selection, the
RPQ would be:
Sets the printer in accordance with
the RPQ installed in the control
unit.
IBM 3268 RPQ SC9503
IBM 3287 RPQ N/A
IBM 4214 OPT 16=2
VALUE
*0
DESCRIPTION
FF is valid only at
the first print
Available only in LU3 (non-
SCS) operation.
position or at
Example: &%Z17,1 performs first
PP of first line on next form as the
next PP when a valid FF is not
positioned at the end of an IBM
print buffer.
position MPP+1.
FF is valid
anywhere it occurs.
1
NOTES
COMMAND 18: VALID FF AT END
OF PRINT BUFFER
To use this function, the
RPQ should be:
IBM 3268 RPQ SC9506
IBM 3287 RPQ SC3739
IBM 4214 OPT 19=1
Sets the printer in accordance with
the RPQ installed in the control unit
VALUE
0
DESCRIPTION
First PP of second
line on next form
First PP of first line
on next form
Available only in LU3 (non-
SCS) operation.
Example: &%Z19,1 makes FF valid
anywhere it occurs.
*1
*Factory-default setting.
38
A/C-7P RO, A/C-7S RO
COMMAND 20: AUTOMATIC
FUNCTION AT END OF JOB
COMMAND 21: PRINT QUALITY
(FastDraft)
Sets the printer in accordance with
the RPQ installed in the control
unit.
Defines default print quality.
VALUE
*0
DESCRIPTION
The Page
VALUE
*0
DESCRIPTION
NL is automatically
executed after the
buffer is completed
(unless a FF, NL, or
CR was last in the
buffer).
Presentation Media
(PPM) commands
control the quality:
DP Quality (01) =
FastDraft and DP
Text Quality (02) =
normal draft.
1
FF is automatically
executed after the
print buffer is
completed (unless a
FF was last in the
buffer).
1
2
All DP draft output
is printed FastDraft
All DP draft output
is printer normal
draft
Value 0 reversed,
01 = normal and
02 = FastDraft
All output is Near
Letter Quality
3
4
NOTES
To use this function, the
RPQ should be:
IBM 3268 RPQ SC9507
IBM 3287 RPQ SC3740
IBM 4214 OPT 20=2
Example: &%Z21,1 selects all DP
output as FastDraft printing.
Available only in LU3 (non-
SCS) operation.
Do not press the form feed
or line feed buttons on the
front of the printer. This will
cause the host and printer to
lose synchronization of
paper
position.
This
command reduces the need
to advance the paper.
Example: &%Z20,1 sets the printer
to issue a FF automatically at the end
of the print buffer.
*Factory-default setting.
39
A/C-7P RO, A/C-7S RO
COMMAND 25: IBM MOTION
COMMANDS
NOTES
If 1 is selected, the interface
ignores form feed
Enables a Form Feed from the host
system to be converted to the
required number of line feeds
(beneficial when forms length is
controlled by the interface).
commands located at the top
of form position.
This command affects
printing in both DSC and
SCS modes. This differs
from the IBM 3287, which
suppresses form feed only in
DSC mode.
VALUE
*0
DESCRIPTION
Pass FF from host
to the printer
Example: &%Z26,1 sets the
interface to suppress empty forms.
1
Count the lines in
Command 5 and
send multiple line
feeds to the printer
in place of the host
FF
COMMAND 27: FF AFTER TIME
ELAPSE
Sends a Form Feed if unprinted data
remains in the print buffer for the
coax-port timeout interval specified
in Command 51.
2
Ignore all IBM
Motion Commands
VALUE
*0
1
DESCRIPTION
No extra FF is sent
Send FF after
Example: &%Z25,1 sets the printer
to count the lines specified in
Command 5.
timeout value
COMMAND 26: SUPPRESS
EMPTY FORMS
NOTE
In most cases, the host
Suppresses blank printout pages
caused by form feed commands that
occur at the top of a form.
application generates
a
termination FF and there is
no need to change this
command from the default.
VALUE
*0
DESCRIPTION
No, do not
Example: &%Z27,1 sends a FF after
time delay selected by command 51
(default = 5 sec.) when unprinted
data remains in the print buffer.
suppress empty
forms
1
Yes, suppress
empty forms
*Factory-default setting.
40
A/C-7P RO, A/C-7S RO
COMMAND 30: OVERRIDE OF
FORMATTING COMMANDS
COMMAND 31:
TRUNCATE/WRAP SELECT
Enables the printer’s front-panel
selections to control how a job is
printed.
Printers without HP PCL only.
Selects whether the interface
truncates or wraps the text if the
maximum print position is
exceeded.
VALUE
*0
DESCRIPTION
Normal operation
(disabled)
VALUE
*0
DESCRIPTION
Allow text to print
on next line when
maximum print
position is
1
Formatting
commands are not
sent to the printer
(enabled)
exceeded
NOTES
When active, this command
overrides the interface’s
default selections for CPI,
LPI, font, orientation, bin
selection, paper size, COR,
and line compression.
1
Truncate text
beyond the
maximum print
position
Example: &%Z31,1 causes text that
exceeds the maximum print position
to be truncated (not printed).
A reset command is sent to
the printer before a coax
print job in order to restore
the printer’s front-panel
default selections.
COMMAND 32: PAPER SIZE
HP PCL only. Specifies the paper
size used for printing.
This command has no effect
on the special features
Command Pass-Thru, user
strings, initialization strings,
and coax host RPQs.
VALUE
*0
DESCRIPTION
Selects 8 1/2" x 11"
letter paper
Selects A4 (210mm
x 297mm, 8.27" x
11.69") paper
Selects 8 1/2" x 14"
legal paper
Selects 11" x 17"
paper
1
Example: &%Z30,1 sets override of
formatting commands.
2
3
4
5
Selects A3 size
paper
Printer selected
Example: &%Z32,1 selects A4
paper.
*Factory-default setting.
41
A/C-7P RO, A/C-7S RO
COMMAND 34: INTERVENTION
REQUIRED (IR) TIMEOUT
NOTES
If this command is set to 1,
documents need to be
Sets the time interval before an
intervention required signal is sent
to the host after a printer error
occurs.
formatted
by
sending
transparent control codes to
the printer using Command
Pass-Thru or SCS mode
transparent data.
VALUE
000
DESCRIPTION
If value 2 is selected, the
SCS pitch (CPI), line density
(LPI), SHF (MPP), and SVF
(MPL) commands will be
suppressed (not sent to the
printer).
Never send an IR
001
to
255
IR is sent (value *5)
seconds after
printer error occurs
*120
Default, send IR
after ten minutes.
Example: &%Z36,2 no LPI, CPI,
MPP or MPL commands are sent to
the printer. The document prints
using the printer’s defaults.
Example: &%Z34,036 sets IR time
interval to 3 minutes (36 *5)/60 = 3
minutes.
COMMAND 37: VERTICAL
CHANNEL SELECT (VCS)
COMMAND 36: SUPPRESS IBM
CONTROL CODES
Specifies vertical channel select
(VCS) emulation. Functions
similarly to a vertical tab, except the
3287 does LF only.
This function is used to select
suppression of all or some IBM
control codes sent from the host
system.
VALUE
0
DESCRIPTION
3287 VCS
VALUE
*0
DESCRIPTION
Obey all IBM
emulation
*1
3268/4214/4224
VCS emulation
control codes
1
2
Suppress all IBM
control codes
Example: &%Z37,0 selects 3287
VCS emulation.
Suppress LPI, CPI,
MPP and MPL
control codes
3
4
5
Suppress CPI and
MPP control codes
Suppress LPI and
MPL control codes
Suppress print
quality specified in
the PPM command
*Factory-default setting.
42
A/C-7P RO, A/C-7S RO
COMMAND 38: TRUE LPI
SPACING
COMMAND 39: CPT ENDING
DELIMITER CHARACTERS
HP PCL only. Because laser printers
have a non-printable border around
the edge of single-sheet pages, 6 LPI
and 8 LPI spacing is compressed
slightly to enable 66 lines and 88
lines to be printed on 11-inch long
paper. This can occasionally cause a
problem, especially when using
preprinted forms that must align
precisely. Command 38 enables a
user to override the laser-printer LPI
compression.
Specifies the two characters to be
used for the ending delimiter
characters for Command Pass-Thru.
VALUE
XXYY
DESCRIPTION
XX is the ASCII
hexadecimal value
of the first
character and YY is
the ASCII
hexadecimal value
of the second
character.
VALUE
*0
DESCRIPTION
Compress the
vertical LPI
NOTES
If an ending delimiter is not
selected with this command,
the delimited selected with
Command 40 will be used as
a default.
spacing
1
Print using true 6
and 8 LPI spacing
NOTE
The default delimiter will no
longer be active if the
command is used to change
it. If Command 39 and
Command 40 are both
entered, Command 39 must
be sent after Command 40 to
be active.
If true LPI is selected, the
user needs to adjust the
document formats to allow
for the reduced number of
lines that can be printed per
page, or the extra lines may
print onto another sheet of
paper.
One delimiter character can
be specified instead of two
by entering the hex code for
the character followed by
two zeros (for example,
&%Z39,2500 selects & as the
delimiter).
Example: &%Z38,1 specifies that
vertical spacing prints using true 6
and 8 LPI.
A hex code that starts with
00 is invalid.
Example: &%Z39,253F specifies
the %? characters as the alternate
ending delimiter characters (%
ASCII hex value is 25 and ? ASCII
hex value is 3F).
*Factory-default setting.
43
A/C-7P RO, A/C-7S RO
COMMAND 40: CPT START
DELIMITER CHARACTERS
Example: &%Z40,253F specifies the
%? characters as the beginning
delimiter characters (% ASCII hex
value is 25 and ? ASCII hex value is
3F).
Specifies the two characters to be
used for the beginning delimiter
characters for Command Pass-Thru.
COMMAND 41: COMMAND ID
CHARACTER
VALUE
XXYY
DESCRIPTION
XX is the ASCII
hexadecimal value
of the first
character and YY is
the ASCII
Specifies the character that is used
for the command identifier that
follows the delimiter characters.
hexadecimal value
of the second
character
VALUE
00
DESCRIPTION
Deletes the
previously selected
character
NOTES
ZZ
ZZ is the ASCII
hex value of the
command ID
character
Host download commands
use the CPT beginning
delimiter characters as well.
The new character(s) replace
the &% in front of the Z.
NOTE
If you do not select an
The character selected must
be a hex value (L, P, or U).
ending
delimiter
with
Command 39, the delimiter
selected with this command
will be used as the default
ending delimiter.
Example: &%Z41,59 specifies “Y” as
the command ID character.
The default beginning
delimiter will no longer be
active if you use this
command to change it.
One delimiter character can
be specified instead of two
by entering the hex code for
the character followed by
two zeros (for example,
&%Z40,2500 selects & as the
delimiter).
A hex code that starts with
00 is invalid.
*Factory-default setting.
44
A/C-7P RO, A/C-7S RO
COMMAND 42: START AND
STOP EBCDIC HEX DUMP
COMMAND 45: SCS TRN
TRANSLATE
After receiving a start command the
coax interface, starting with the next
buffer received, sends all host data
directly to the printer as
hexadecimal printing until a stop
command is received or the printer
is powered off.
Specifies how transparent data sent
using SCS code 35 is handled.
VALUE
DESCRIPTION
Binary Transparent
Emulate IBM 3287
Printer
0
*1
VALUE
DESCRIPTION
No action taken
Start EBCDIC hex
dump
NOTES
*0
1
Value 1 causes valid graphic
characters to be printed
normally (i.e., converted
from EBCDIC to ASCII), while
control codes and invalid
graphics are printed as
hyphens, and normal page
formatting is maintained.
2
Stop EBCDIC hex
dump
NOTES
This command enables the
user to print only the section
of the document that is in
question in buffer hex dump
format.
Value 0 causes the 8-bit
binary codes to be sent
directly to the printer just as
they are received from the
host.
Hex printing starts with the
buffer after the start
command and stops with the
buffer after the stop
command.
SCS code 36 functions the
same as code 35.
Available in SCS (LU1) mode
only.
Examples: &%Z42,1 starts buffer
hex dump printing; &%Z42,2 stops
buffer hex dump printing.
Example: &%Z45,0—All SCS Code
35 data is sent to the printer as
binary codes without translation.
*Factory-default setting.
45
A/C-7P RO, A/C-7S RO
Use of the DOS PRINT
command or a spooling
program for the PC is
recommended.
COMMAND 50: SHARING PORT
TIMEOUT
Selects the time interval that the
interface waits for receipt of
additional data from the alternate
(PC/LAN) host before automatically
switching to check for data from the
coax host.
If your printer supports
Intelligent
Emulation
Switching (IES), make sure
the printer’s IES timeout
period is less than the
command 51 timeout setting.
VALUE
04
DESCRIPTION
Time interval in
number of seconds
Example: &%Z50,10 sets the
timeout interval to 10 seconds
to
63
COMMAND 51: HOST PORT
TIMEOUT
*08
Factory default is 8
seconds
Selects the time interval that the
interface waits for receipt of
additional data from the coax host
before automatically switching to
check for data from the alternate
(PC/LAN) host.
NOTES
The interface sends a reset
command to the printer and
restores the coax host
defined format commands
(i.e., LPI, PI, MPL, MPP) prior
to printing data from the
coax host after having
printed data from the shared
parallel port. Because the
printer is being shared
between the parallel port and
the 3270 host, careful
attention should be paid to
setting up the PC so that
jobs are not automatically
terminated because the
printer is busy.
VALUE
DESCRIPTION
04
to
60
Time interval in
number of seconds
*08
Factory default is
8 seconds
NOTES
The alternate (PC/LAN) host
is responsible for sending
This problem may be helped
by setting the PC timer “off”
by writing “mode 1pt1:,,;” (in
case of an LPT1 printer) in
DOS.
any
needed
format
commands required by the
printer prior to sending
printable data.
If your printer supports
Intelligent
Emulation
Switching (IES), make sure
the printer’s IES timeout
period is less than the
command 50 timeout setting.
*Factory-default setting.
46
A/C-7P RO, A/C-7S RO
COMMAND 55: CUSTOM USER
STRINGS
COMMAND 56: PARALLEL PORT
INITIALIZATION STRING
Allows the user to define up to six
custom user strings, of up to 25 bytes
each, which are stored in the
memory of the interface and sent to
the printer whenever the character
delimiter, letter U, and number of
the string appears in the text of the
document (for example, &%U3).
Allows the user to define an
initialization string of up to 25 bytes,
which is stored in the memory of the
interface and is sent to the printer at
the beginning of any printing
received from the parallel port.
VALUE
1(max. 25
bytes of
ASCII hex
code)
DESCRIPTION
Defines the parallel
port init string
VALUE
DESCRIPTION
0-5(max. 25 Defines the custom
bytes of
ASCII hex
code)
user string
1()
Deletes the parallel
port init string
0-5()
Deletes custom user
string
NOTES
To aid in readability, a single
space is allowed between
hex bytes but is not included
in the string.
NOTES
To aid in readability, a single
space is allowed between
hex bytes, but is not
included in the string.
The string could specify a
special
font-selection
command or other custom
command to be sent directly
to the printer prior to the
data that is received from the
parallel shared port.
The strings could specify a
special
font-selection
command or other custom
command to be sent directly
to the printer.
To change the initialization
string, simply input the new
command values. The entire
old string is automatically
erased.
This command, if placed as
the first printable data at the
top of the page (position 1,
line 1), will be sent to the
printer prior to the data.
To delete the initialization
string from the NV memory,
simply put nothing between
the parentheses.
To change a custom user
string, simply input the new
custom user string values;
the
old
string
is
automatically erased.
Example: &%Z56,1( ) deletes from
NV memory any hex string that had
been previously defined for the
parallel-port initialization string.
Example: &%Z55,3(1B01)
Defines the &%U3 custom user
string to send an “Escape and SOH”
(1B and 01 hex) to the printer,
which is the double wide command.)
47
A/C-7P RO, A/C-7S RO
To delete the initialization
string from the permanent
memory, simply type the
parentheses with nothing
between them.
COMMAND 57: HOST PORT
INITIALIZATION STRING
Allows the user to define an
initialization string of up to 25 bytes,
which is stored in the memory of the
interface and is sent to initialize the
printer for host printing after
Example: &%Z57,1( ) deletes from
permanent memory any hex string
that had been previously defined for
the host-port initialization string
shared-port printing has occurred.
The interface also restores the host
page-format parameters after
sending this string and prior to host
printing. The initialization string is
sent at the beginning of each page.
COMMAND 58: SERIAL-PORT
INITIALIZATION STRING
Allows the user to define an
initialization string of up to 25 bytes,
which is stored in the memory of the
interface and is sent to the printer at
the beginning of any printing
VALUE
1(max. 25
bytes of
ASCII hex
code)
DESCRIPTION
Defines the host-
port init string
received from the serial port.
1()
Deletes the host-
port init string
VALUE
1(max. 25
bytes of
ASCII hex
code)
DESCRIPTION
Defines the serial-
port init string
NOTES
To aid in readability, a single
space is allowed between
hex bytes but is not included
in the string.
1()
Deletes the serial-
port init string
NOTES
The host-port initialization
string is only sent to the
printer when you turn the
printer on and after printing
by the shared parallel port
has occurred.
To aid in readability, a single
space is allowed between
hex bytes but is not included
in the string.
The string could specify a
Host SCS commands and
download commands have
priority over the initialization
string instructions.
special
font-selection
command or other custom
command to be sent directly
to the printer prior to the
data that is received from the
serial shared port.
To change the initialization
string, simply input the new
command values. The old
string is automatically
erased.
48
A/C-7P RO, A/C-7S RO
To change the initialization
string, simply input the new
command values. The entire
old string is automatically
erased.
NOTE
APO
active
is
the
recommended selection. A
user can manipulate the
page dimensions using SCS
commands to control the
orientation of the printing as
long as the page size
required is 8 1/2 x 11" or
smaller.
To delete the initialization
string from the NV memory,
simply put nothing between
the parentheses.
Example: &%Z58,1( ) deletes from
NV memory any hex string that had
been previously defined for the
serial port initialization string.
Example: &%Z61,1 enables APO
COMMAND 62: PRIMARY PAPER
TRAY ORIENTATION
COMMAND 61: AUTOMATIC
PRINT ORIENTATION (APO)
HP PCL only. The SCS (LU1) PPM
command specifying the source for
the paper can have a printing
orientation assigned to the paper
tray that is assigned. Refer to the
APO flowchart (Figure 5-1) in
Section 5.7. This command
duplicates the IBM 3812 and 4028
printer’s feature with the additional
selection of option 3 below.
HP PCL only. Laser printers have
the ability to automatically control
page orientation if the user decides
to activate Auto Print Orientation
(APO). Refer to the APO flowchart
(Figure 5-1) in Section 5.3.
VALUE
0
DESCRIPTION
APO is NOT
VALUE
*0
DESCRIPTION
Computer Output
Reduction (COR)
Mode is active
when paper is
ACTIVE. Print
orientation is
controlled by the
orientation
selections specified
in Commands 62,
63, and 64.
specified to be
selected from the
primary tray
*1
APO is ACTIVE.
The page
dimensions of a
document are
checked to
determine if the
data should be
printed in
landscape because
the width is greater
than the length.
1
2
Prints PORTRAIT
orientation using
the active font
when the primary
tray is specified
Prints
LANDSCAPE
orientation using
the active font
when the primary
tray is specified
49
A/C-7P RO, A/C-7S RO
3
User Defined
mode. Documents
are printed using
the fonts and
NOTE
The value 3 is an excellent
choice when COR is not
required, since the user can
decide the fonts and
orientation he desires by
using &% font ID commands.
Example: &%Z63,2 specifies that
landscape orientation will be used
for all printing in which the SCS
(LU1) PPM code specifies the
alternate paper tray be used.
orientation that the
user specifies
through use of the
&% font ID
commands.
Example: &%Z62,3 specifies that
the document is printed as
formatted when the primary paper
tray is specified as the paper source.
COMMAND 64: MANUAL FEED
TRAY ORIENTATION
COMMAND 63: ALTERNATE
PAPER TRAY ORIENTATION
HP PCL only. This command
functions identically to Command 62
except it controls the orientation for
printing when the PPM Command
specifies the manual feed tray for the
paper source.
HP PCL only. This command
functions identically to Command 62
except it controls the orientation for
printing that specifies the alternate
tray for the paper source.
Even if the printer does not have
an alternate paper tray, the SCS
(LU1) host specifies the alternate
tray, and the interface prints the
document in accordance with the
selection in Command 63.
Values are the same as Command
62 except substitute “manual feed
tray” in place of “primary tray” in the
descriptions.
NOTE
The laser printer will, upon
receipt of the manual feed
tray command, not print until
paper is placed into the
manual feed slot. This allows
the user to insert special
forms, letter head, or colored
paper into the manual feed
slot.
Values are the same as Command
62 except substitute “alternate tray”
for “primary tray” in the
descriptions.
*Factory-default setting.
50
A/C-7P RO, A/C-7S RO
character-set selection is
changed.
Example: &%Z64,1 specifies that all
printing using paper from the
manual feed slot will be printed in
portrait orientation.
Refer to the character set
summary tables at the end of
the self test to confirm which
ASCII character is printed for
each of the 3270 hex codes.
Both the EBCDIC and DSC
tables are provided.
COMMAND 65: CHARACTER SET
SELECTION
Enables the user to select the ASCII
character set that is used in the
conversion from EBCDIC
Example: &%Z65,2 selects the Code
Page 850 character set.
(SCS/LU1) or DSC (LU3) to ASCII.
This selection automatically changes
to match the output protocol
selected through the interface’s
configuration switches if HP, PPDS,
or Proprinter II modes are chosen.
The other selections require the user
to manually select the appropriate
character set.
COMMAND 70: OVERWRITE
EBCDIC (SCS/LU1)
TRANSLATION TABLE
Custom substitutions defined by this
command and stored in permanent
memory are written into the
EBCDIC (SCS/LU1) to ASCII
translation table.
VALUE
1
DESCRIPTION
Roman 8 character
set (HP PCL)
Code Page 850
character set (IBM
PPDS, Epson
VALUE
XX
DESCRIPTION
The EBCDIC
character to be
changed (in hex)
2
ESC/P2, Generic)
IBM PC Extended
(Code Page 437)
and Epson
3
YY
The substitute
ASCII character for
the EBCDIC
Graphics (PC Set 2)
character above
NOTES
NOTES
The character-set substi-
tutions defined in Com-
mands 70 and 71 must be
adjusted if the ASCII
character set is changed.
Previously stored substi-
tutions are automatically
changed
to
the
new
selection when the same hex
location is specified in the
EBCDIC table.
All previously defined
substitutions are lost from
NV memory when the
51
A/C-7P RO, A/C-7S RO
Previously stored substi-
tutions are cancelled if an
ASCII hex sequence of 00 is
specified.
The active DSC (LU3)
translation table prints out at
the end of the interface self-
test summary.
Command Z99,0 must be
COMMAND 76: SERIAL-IN BAUD
RATE
used
to
store
the
substitutions in permanent
memory for them to be
effective when the printer is
next turned on.
Selects the Baud Rate for data
received at the serial-in port. A new
setting will not be effective
immediately. To activate the new
setting, cycle power on the interface.
The
active
EBCDIC
(SCS/LU1) translation table
prints out at the end of the
interface self-test summary.
VALUE
DESCRIPTION
38,400 baud
19,200 baud
9,600 baud
4,800 baud
2,400 baud
1,200 baud
600 baud
0
Example: &%Z70,7B,40/Z99,0
prints a 40 ASCII hex (a @ symbol)
when the interface receives an
EBCDIC 7B (a # symbol). The
command is followed by a command
Z99,0 which stores the active setup
selections in permanent memory.
1
*2
3
4
5
6
7
300 baud
COMMAND 71: OVERWRITE DSC
(LU3) TRANSLATION TABLE
Example: &%Z76,0 sets the
receiving baud rate to 38,400
Custom substitutions defined by this
command, and stored in the
permanent memory, are overwritten
into the DSC (LU3) to ASCII
translation table.
NOTES
This command functions
similarly to Command 70
except the substitutions are
applicable to the DSC (LU3)
translation table. Refer to the
Command 70 instructions.
52
A/C-7P RO, A/C-7S RO
COMMAND 77: SERIAL-IN WORD
LENGTH
COMMAND 79: SERIAL-IN
PARITY
Selects the Word Length of data
received at the serial-in port. A new
setting will not be effective
immediately. To activate the new
setting, cycle power on the interface.
Selects the Parity of a data stream
received at the serial-in port. A new
setting will not be effective
immediately. To activate the new
setting, cycle power on the interface.
VALUE
DESCRIPTION
7 Bits
VALUE
DESCRIPTION
None
7
*0
1
*8
8 Bits
Odd
2
Even
Example: &%Z77,7 sets the word
length to 7 bits
Example: &%Z79,2 sets the parity to
even.
COMMAND 78: SERIAL-IN STOP
BITS
COMMAND 84: 6 LPI STRING
Selects the number of Stop Bits of a
data stream received at the serial-in
port. A new setting will not be
effective immediately. To activate
the new setting, cycle power on the
interface.
Used when operating in Generic
output protocol. Defines the 6 LPI
string the interface sends to the
printer when the host sends a 6 LPI
command.
VALUE
1(max. 25
bytes of
ASCII hex
code)
DESCRIPTION
Defines the 6 LPI
string
VALUE
*1
2
DESCRIPTION
1 Bit
2 Bits
Example: &%Z78,2 sets the number
of Stop Bits to 2
1()
Deletes the 6 LPI
string
*Factory-default setting.
53
A/C-7P RO, A/C-7S RO
manual for the appropriate
hex value representing the 8
LPI command.
NOTES
This string represents the
printer-specific command to
set the printer to 6 LPI.
Consult your printer’s
manual for the appropriate
hex value representing the 6
LPI command.
Example: &%Z85,1(1B 30) stores
the 8 LPI command for an Epson
LQ-2500 printer (hex value 1B 30)
as the 8 LPI string.
COMMAND 86: 10 CPI STRING
Example: &%Z84,1(1B 32) stores
the 6 LPI command for an Epson
LQ-2500 printer (hex value 1B 32)
as the 6 LPI string.
Used when operating in Generic
output protocol. Defines the 10 CPI
string the interface sends to the
printer when the host sends a 10 CPI
command.
COMMAND 85: 8 LPI STRING
Used when operating in Generic
output protocol. Defines the 8 LPI
string the interface sends to the
printer when the host sends an 8 LPI
command.
VALUE
1(max. 25
bytes of
ASCII hex
code)
DESCRIPTION
Defines the 10 CPI
string
1()
Deletes the 10 CPI
string
VALUE
1(max. 25
bytes of
ASCII hex
code)
DESCRIPTION
Defines the 8 LPI
string
Example: &%Z86,1(1B 50) stores
the 10 CPI command for an Epson
LQ-2500 printer (hex value 1B 50)
as the 10 CPI string.
1()
Deletes the 8 LPI
string
NOTES
This string represents the
printer-specific command to
set the printer to 8 LPI.
Consult your printer’s
*Factory-default setting.
54
A/C-7P RO, A/C-7S RO
COMMAND 87: 15 CPI STRING
COMMAND 89: 16.7 CPI STRING
Used when operating in Generic
output protocol. Defines the 15 CPI
string the interface sends to the
printer when the host sends a 15 CPI
command.
Used when operating in Generic
output protocol. Defines the 16.7
CPI string the interface sends to the
printer when the host sends a 16.7
CPI command.
VALUE
1(max. 25
bytes of
ASCII hex
code)
DESCRIPTION
Defines the 15 CPI
string
VALUE
1(max. 25
bytes of
ASCII hex
code)
DESCRIPTION
Defines the 16.7
CPI string
1()
Deletes the 15 CPI
string
1()
Deletes the 16.7
CPI string
Example: &%Z87,1(1B 67) stores
the 10 CPI command for an Epson
LQ-2500 printer (hex value 1B 67)
as the 15 CPI string.
Example: &%Z89,1(1B 10) stores
the 16.7 CPI command for an Epson
LQ-2500 printer (hex value 1B 10)
as the 16.7 CPI string.
COMMAND 88: 12 CPI STRING
COMMAND 98: RESTORE
DEFAULTS OR PRINT
CONFIGURATION
Used when operating in Generic
output protocol. Defines the 12 CPI
string the interface sends to the
printer when the host sends a 12 CPI
command.
Restores the factory default
configuration selections, prints out a
copy of the active configuration
selections, or restores the permanent
memory selections to the active
setup status.
VALUE
1(max. 25
bytes of
ASCII hex
code)
DESCRIPTION
Defines the 12 CPI
string
VALUE
0
DESCRIPTION
Restores the factory
setup
1()
Deletes the 12 CPI
string
1
2
Prints out the active
setup selections
Example: &%Z88,1(1B 4D) stores
the 10 CPI command for an Epson
LQ-2500 printer (hex value 1B 4D)
as the 12 CPI string.
Restores the setup
selections stored in
the permanent
memory to active
status
55
A/C-7P RO, A/C-7S RO
COMMAND 99: STORE
CONFIGURATION IN
PERMANENT MEMORY
NOTES
If a document is printed
using
temporary
host
download
commands
Send this command after all desired
host download configuration
commands have been sent to the
interface. It stores the active setup in
the permanent memory of the
interface so it will be in effect
whenever the printer is powered on.
Otherwise, active configuration
commands are lost when the printer
is turned off.
(commands not stored using
the Z99,0 command), value 2
will restore the permanent
memory selections.
Put a &%Z98,2 at the end of
the document to restore the
standard setup parameters
for the next user of the
printer.
The active setup and
permanent memory setup
selections are the same after
VALUE
0
DESCRIPTION
To complete the
command, the
value 0 must be
used
a
Command Z99,0 or
a
Command Z98,2 is sent to
the printer.
Example: &%Z98,1 prints out the
active setup selections for review.
NOTES
Host download selections
followed by a Command
Z99,0 will be stored in
permanent memory and
active when the printer is
turned on.
Only use Command Z99,0
when the host download
selection needs to be
permanently stored in the
memory of the interface.
Example: &%Z99,0 stores the
currently active setup selections in
the permanent memory of the
interface.
56
A/C-7P RO, A/C-7S RO
4. Power on the A/C-7 RO. The
factory defaults are restored.
The LED lights labeled “Host
Ready” and “Printer Ready” will
blink continuously, indicating
the A/C-7 (RO) is not in
4.5 Restoring Factory Defaults
The factory-default configuration
can be restored either by sending
Host/PC Download Command
“Z98,0” or by taking the following
steps:
operating mode.
1. Power off the printer and the
A/C-7 RO.
5. Power off the A/C-7 RO and
return configuration switch
SW1:1 (on the first bank of
switches) to the “o” position.
Switch SW1:8 should be in the
“o” position as well.
2. Disconnect the host and PC
sharing cables from the
interface.
3. Set configuration switch SW1:1
(far left) to the “|” position, and
switch SW1:8 (far right of the
first bank of switches) to the “o”
position if it is not already there.
57
A/C-7P RO, A/C-7S RO
5.1 Printer Sharing
5. Operation
If the PC print job is sent while a
host job is printing, the printer
responds as “busy” to the PC print
request. The print job can be
The A/C-7P RO and A/C-7S RO
allow the printer to be shared
automatically between an attached
PC/LAN and an IBM coax host.
Simply connect the PC/LAN printer
server to the parallel/serial port.
The A/C-7P RO can supply external
devices attached to its parallel
sharing port with 5V up to 350 mA.
See Appendix E for instructions on
how to transfer power to pin 18 on
the A/C-7P RO. The A/C-7 RO uses
a timeout after each print job before
it honors print jobs from another
port.
spooled through a spool program,
sent to the printer when the host job
is finished or if the PC’s printer port
is set for infinite retry through the
DOS “Configure Printer” command
(described in the DOS manual), the
print job waits for the printer to be
available to receive the data.
By default, the A/C-7S RO sends
data at 96N81 (9,600 baud; parity =
none; word length = 8 bits; stop bits
= 1). Make sure that the printer and
the A/C-7S RO are using the same
serial parameters. The A/C-7S RO’s
Serial-Out parameters can be
changed using the second (right)
bank of switches located on the front
panel.
At the end of a host print job, the
A/C-7P RO waits for the specified
Host Port Timeout period before it
honors data streams coming in
through the parallel port. The Host
Port Timeout period is set through
Host/PC download command 51.
Also make sure that the A/C-7S
RO’s Serial-In settings are the same
as those of the PC/LAN. Note that
when printing from the share por,
the slowest baud rate (Serial-In,
Serial-Out) will determine the print
speed.
After a parallel or serial print job is
completed, the A/C-7 RO will again
wait for a period of time before it
honors host print jobs. The Sharing
Port Timeout is set through
The A/C-7S RO’s Serial In
parameters can be changed through
Host/PC download commands 76
through 79.
Host/PC download command 50.
58
A/C-7P RO, A/C-7S RO
PC printing longer than 10 to 20
minutes (depending on host
configuration) may cause the 3270
host to drop communication with
the printer (“go to sleep”).
After the host printing is
completed and before the print job
from the shared port is sent to the
printer, the A/C-7 RO will send this
initialization string to the printer
and configure it according to your
instructions. However, it is possible
that the print job coming through
the parallel or serial shared port
contains other printer instructions,
thus overriding the parallel
The output protocol specified in
the A/C-7S RO’s configuration
(through configuration-switch
settings) is irrelevant for printing
from the shared port. For PC/LAN
printing, select the appropriate
printer driver on the PC/LAN
printer server.
initialization string.
5.3 Host Port Initialization
5.2 Parallel/Serial-Port
Initialization
After shared printing, the A/C-7 RO
reconfigures the printer according
to the active configuration settings.
If you want to further modify the
printer configuration (e.g select a
different font for all host printing)
take advantage of the host port
initialization string. Unlike the
parallel- or serial-port initialization
string, which is usually overridden by
commands coming with the
If you want to change the printer’s
configuration for shared printing
(e.g. set it to PostScript mode), use
the parallel- or serial-port
initialization string (Host/PC
download command 56 for parallel;
command 58 for serial). Consult the
printer’s user’s guide for the ASCII
hex values representing the desired
configuration commands. Then
store these commands in the A/C-7
RO’s memory using Host/PC
PC/LAN print job, the host-port
initialization string is not sent to the
printer until after the A/C-7 RO has
reconfigured the printer for host
printing. The initialization string is
sent at the beginning of each
download commands 56 or 58.
printed page.
5.4 Print Position and Page Length
Table 5-1 outlines the PMPP
(Physical Maximum Print Position)
and PMPL (Physical Maximum Page
Length) for letter, legal, and A4 size
paper.
59
A/C-7P RO, A/C-7S RO
Table 5-1. PMPP and PMPL.
PMPP at
10
CPI
PMPL at
17.1
CPI
Paper Size
12
CPI
15
CPI
6
LPI
8
LPI
True True
LPI
LPI
Letter
Portrait
Landscape
COR
80
96
120
157
201
136
178
201
66
50
66
88
87
89
63
48
—
84
84
—
105
136
126
154
Legal
Portrait
Landscape
80
96
120
202
136
230
84
50
112
67
81
48
108
64
135
162
A4
Portrait
Landscape
78
93
117
167
133
191
70
49
93
66
67
47
89
62
112
134
The &% (or the alternate
5.5 Laser Printing
SELECTING FONTS
beginning delimiter selected with
command 40) is the delimiter that
signals the A/C-7 RO that the
information following is a command.
The letter “P” or “L” controls the
orientation of the printing: P for
portrait and L for landscape
You can select a printer-resident font
or a font from an optional font
cartridge in the printer by entering a
font change command in the
document. The font change
commands take the following
format:
printing. The font ID number selects
the font to be used for printing. The
font ID should be five digits in
length. Refer to Appendix A for a list
of fonts and their font IDs available
for the printer.
&%[P or L][font ID]
60
A/C-7P RO, A/C-7S RO
For example:
5.6 Computer Output Reduction
(COR)
&%L00086 selects a Prestige 12 CPI
font in landscape orientation.
Computer Output Reduction (COR)
is an IBM printer feature that
automatically rotates data processing
reports to landscape orientation and
compresses the text to fit 198
columns x 66 lines on the page.
COR is enabled by doing the
following:
The font ID number must select a
font available in the printer or in the
installed cartridge. If the proper
cartridge is not installed, or the font
does not exist on the cartridge, then
the printer will automatically select
an alternate font for printing.
Multiple font changes can be made
in a document as long as all fonts are
in the same orientation. Changes in
orientation (portrait or landscape)
automatically eject the page. A font
ID that changes the orientation from
the previous page must be on the
first line and first position of the
page or a blank page will be ejected.
A blank page at the first of a print
job is often caused by a change in
orientation. Command 61 must be
set to “1” (APO Disabled),
1. Select APO active with command
61 (value 0).
2. Select COR for the paper source
with commands 62-64 (value 0).
When COR is enabled, the
following format changes are
automatically made to data
processing reports:
• The page is printed in landscape
orientation.
Commands 62-64 must be set to “3”
(User Defined).
• Vertical line height is 70% of that
specified.
• A 0.5-inch blank area is provided
on the top and left edge of the
paper.
• The selected pitch is changed:
10 pitch to 13.3 pitch; 12 pitch
to 15 pitch; 15 pitch to 19 pitch.
61
A/C-7P RO, A/C-7S RO
A combination of control codes in
the printer data stream and the
settings in the configuration are
used to determine page orientation
when processing DSC, DSE, or LU1
(SCS) data streams.
configuration selections. In LUl
(SCS) mode, the values are specified
in the data stream by the SCS
controls. If a value has not been set
in the SCS data stream, the A/C-7
RO’s active configuration is used
instead.
The APO feature also uses the
calculated print width and length to
determine the print orientation
when the dimensions are less than 8
1/2" x 11". When the width is
greater than the length and APO is
active, the document prints in
landscape, even if the font is
specified as portrait.
Some applications will not allow
you to insert the data stream
commands required to select
orientation and format. Where the
insertion of the required data stream
commands is not possible, you can
select the orientation and format
desired by using the printer
configuration settings. Use of the
Write Control Character (WCC) in
the DSC/DSE data streams for
orientation and format selection is
not recommended.
The following steps describe
printing with the APO feature (refer
to Figure 5-1).
1. If APO is not active (command
61, value 0), the A/C-7 RO uses
the paper source selections
(commands 62-64) to control
orientation in the active font. If
APO is active, the report
5.7 Automatic Print Orientation
(APO)
When Automatic Print Orientation
(APO) is activated (command 61,
value 1), the A/C-7 (RO) notes the
format of the print image and
calculates the required print
continues to block 2.
2. The A/C-7 RO calculates the
page size. If the page size is more
than 8 1/2" x 11" the interface
uses the paper source selections
to control the orientation in the
active font. If the report is less
than 8 1/2" x 11" it continues to
block 3.
dimensions. Figure 5-1 shows how
the page size determines the
orientation for coax COR.
If a calculated paper size is larger
than 8 1/2" x 11", the paper-tray
orientation selection (commands 62-
64) determines the orientation.
3. At block 3, the interface checks
the length and width. If the
report is longer than it is wide, it
prints in portrait. If the report is
wider than it is long, the report
prints in landscape.
In LU3 (DSC/DSE) mode, the
values used in the calculations are
specified by the A/C-7 RO’s active
62
A/C-7P RO, A/C-7S RO
START
Page Orientation
Logic
1
APO
Active?
No
Print according to
Paper Tray Orientation
(Commands 62-64)
(Command 61)
Yes
2
COR Portrait Landscape
User
Defined
Print Size
Less Than
8 1/2 x 11?
No
Yes
3
Is Length
Less Than
Width?
No
Print in Portrait
Print in Landscape
Figure 5-1. Printing with the APO Feature.
63
A/C-7P RO, A/C-7S RO
5.8 Generic Mode
The A/C-7 RO stores commands
for the following CPI and LPI values:
The Generic output protocol should
be used when the other output
protocols of the A/C-7 RO are
inappropriate. This could be the
case with printers such as certain
barcode label printers or embossers,
• 6 LPI—Host/PC download
command 84
• 8 LPI—Host/PC download
command 85
®
but also with printers from Okidata ,
®
• 10 CPI—Host/PC download
command 86
Mannesmann-Tally , etc. Refer to
the printer’s user’s guide to find out
if the printer operates with one of
the output protocols of the A/C-7
RO.
• 15 CPI—Host/PC download
command 87
• 12 CPI—Host/PC download
command 88
In Generic mode, the A/C-7 RO
does not pass on the LPI and CPI
commands from the host. Rather,
it allows you to match the printer
specific CPI or LPI command with
the CPI or LPI command from the
host (through Host/PC download
commands 84-89).
• 16.7 CPI—Host/PC download
command 89
Other Printer Commands
You can also enter commands into
your document that allow you to
control true LPI and response to
host commands. These commands
(shown in Table 5-2) are similar to
font-change commands.
For example, the printer protocol
a printer requires is not available
on the A/C-7 RO. To change the
printer to 10 CPI, the printer’s user’s
guide provides the hexadecimal
value of 1B 50. Use the Host/PC
download command 88 to assign the
value 1B 50 to the 10 CPI string:
type &%Z88,1(1B 50). From now on,
when the interface receives a request
for 10 CPI from the host, it will send
the value 1B 50 to the printer and
thereby set it to 10 CPI.
If nothing is assigned to the CPI or
LPI string, the A/C-7 RO will send
nothing to the printer—it will ignore
the CPI or LPI command from the
host.
64
A/C-7P RO, A/C-7S RO
Table 5-2. Commands.
Command
¬E
Function
Sends an ASCII ESC command to the printer
Enables true LPI printing
¬TY
¬TN
¬I
Disables true LPI printing
Ignores all host formatting commands
Stops ignoring host formatting commands
¬S
Use the ¬I and ¬S commands to
remove unwanted host commands
The ¬E command allows you to
send an escape command to the
printer to control the printing. For
example, ¬E(s3B would begin bold
printing (see your printer’s manual
for a list of the printer or escape
commands).
from a print file. For example, when
printing with forms-generating
software, the files are recognized by
the host as text files and formatted
with unwanted carriage returns and
line feeds.
The printer may compress line
spacing to fit 66 lines onto the page.
This may be undesirable, as when
using pre-printed forms that must
align correctly. In these cases, the
¬TY command prevents the printer
from compressing the line spacing.
Placing the ¬I at the end of a line
and ¬S at the front of the next line
causes the interface to remove the
host carriage-return and line-feed
commands and send only the data
to the printer.
65
A/C-7P RO, A/C-7S RO
6. Advanced Features
There are several advanced features
in the A/C-7 RO for accessing
special functions of the printers,
which are not normally available on
the IBM system printers:
1. Find the command for the print
feature in the printer’s user’s
guide.
2. Convert the printer command
to hexadecimal.
• Command Pass-Thru™
• Custom User Strings
• SCS Mode Transparent Data
• Bar Code Printing
3. Place the beginning delimiter
&% (or the custom delimiter as
defined with command 40) in
the document at the point you
want the feature to take effect.
This signals the start of the print
feature. Enter the beginning
printer command, then enter
the ending delimiter &% (or the
custom delimiter as defined with
command 39). No spaces are
allowed.
• Color Printing
• I-O Graphics Language™
Each of these features is described
below.
4. Move the cursor to the point in
the text where you want to end
the print feature. Enter the
delimiter followed by the ending
printer command and then the
delimiter again, into the
6.1 Command Pass-Thru™
The Command Pass-Thru feature
allows access to all of the built-in
features of your printer, even if these
features aren’t normally available
through the host software.
document.
For example:
Command Pass-Thru lets you place
printer-specific command sequences
into the data sent to the printer. The
A/C-7 RO recognizes these special
sequences and “passes the command
through” to the printer. The steps
below describe how to use
The command ESC &d0D begins
underlining and ESC &d@ ends
underlining. First convert the start
command to the hexadecimal 1B 26
64 30 44 and the ending command
to 1B 26 64 40. And, if the delimiter
is the default &% (hex 50 6C), then
enter the commands as follows:
Command Pass-Thru.
66
A/C-7P RO, A/C-7S RO
This is an
&%1B26643044&%underlined&%1
B266440&% word.
For example, use command 55 to
define user string number 3 to send
a form feed as follows (FF = 0C in
hex):
to print on the printer as:
This is an underlined word.
&%Z55,3(0C)
Then, to send a form feed at the
end of a print job, enter the
following at the end of the
document:
NOTES
Only numbers or the upper
case letters A–F are allowed.
&%U3
Errors in the Command
Pass-Thru sequence will
cause the A/C-7 RO to ignore
the command and resume
printing at the point the error
occurred.
Print the document, and the
interface will send the 0C, or form
feed, command to the printer when
it encounters the &%U3 code.
Command Pass-Thru may
change the horizontal
spacing.
6.3 SCS Mode Transparent Data
SCS transparent mode (SCS TRN
code 35) provides a method for
transparent data transmission when
operating in LU1 mode. To use this
method, you must be connected to a
system using SNA protocol and be
operating as a Logical Unit Type 1.
6.2 Custom User Strings
Host download command 55 allows
you to define up to six (0 through 5)
custom user strings. A user string
can be a font ID, a form feed, or
another printer command that is
frequently used.
An SCS TRN sequence begins with
a one-byte binary count immediately
following the TRN code. The count
indicates the number of bytes, not
including the count byte, of
transparent data to follow. Up to 256
bytes of transparent data can be sent
in each sequence.
After the custom user string is
defined, the string is activated by
placing the delimiter (&% or the
beginning delimiter defined with
command 40), a capital letter U, and
the number of the desired custom
user string into the text of a
document.
67
A/C-7P RO, A/C-7S RO
SCS TRN data is user-defined
is not scanned for SCS control
codes. However, to emulate the
characteristics of the IBM 3287,
non-printable characters (control
characters) are converted to
For example, to print the word
“red” in the color red in the
following sentence, type:
This prints ¬C02red¬C00 in red.
hyphens. Data is translated to ASCII
with undefined characters printed
as hyphens. The A/C-7 RO offers a
configurable option to emulate the
IBM 3287 or to pass the data without
translation. Refer to command 45,
SCS TRN translate, on page for
more detailed information.
6.5 Printing Bar Codes
Using the bar-code feature, the
following bar codes can be easily
printed:
Table 6-1. Bar Codes.
Type
1
Bar Code
6.4 Color Printing
The A/C-7 RO allows printing of
color on the HP Color LaserJet or
DeskJet 1200C printers. Simply
insert the color command in front of
the text you want to colorize. Return
to the “normal” black color by
inserting _C00. The color
Code 3 of 9
Code 128
Interleaved 2 of 5
POSTNET
UPC A
2
3
commands are:
4
¬C00 - Black
¬C01 - Blue
¬C02 - Red
5
¬C03 - Magenta
¬C04 - Green
6
EAN 8
¬C05 - Turquoise/Cyan
¬C06 - Yellow
¬C07 - White
¬C08 - Black
7
EAN 13
¬C09 - Dark Blue
¬C10 - Orange _C15 - Grey
¬C11 - Purple _C16 - Brown
¬C12 - Dark Green
¬C13 - Dark Turquoise
¬C14 - Mustard
To print any of these bar codes,
use the following format:
¬B<type>,<height>,<width>,
<hr>,<chkd>,<ast>,<data>¬B
68
A/C-7P RO, A/C-7S RO
The bar-code command string
must contain all of these parameters,
even if the parameter is irrelevant
for the type of bar code being
printed. For example, POSTNET
comes in only one size, so, any
height or width specifications are
ignored. But the parameters for
height and width must be included
anyway.
<width>: Specifies the width of a bar
code module. A module is defined as
a specific combination of bars and
spaces used to represent a human-
readable character.
By changing the width parameter,
you can determine the width of the
module and the thickness of the bars
and spaces.
¬B: Identifies the strings as a bar
code command string. _B must be
placed at the beginning and at the
end of the string.
Width parameters can range from
1 to 9 when printing to a PCL
printer. When printing to an Epson
or Proprinter mode dot-matrix
printer, the width parameters can
range from 1 to 3.
<type>: Specifies the bar code type
according to the table shown on the
previous page.
To determine the total length of
the bar code, simply multiply the
module length (found in the table
on the following page) by the
<height>: Specifies the height of the
bar code. When using a PCL laser
printer driver, height is expressed in
multiples of 2.5 mm (approximately
1/10 inch). When operating in
Epson or IBM Proprinter mode,
height is expressed in multiples of
3.175 mm (1/8 inch). The height of
the bar code can range from 1 (laser
= 2.5 mm, dot-matrix = 3.175 mm) to
9 (laser = 22.5 mm, dot-matrix =
28.575 mm) inclusive.
number of bar-code characters.
NOTE
Be aware that the table gives
rounded values only.
Example: Using Code 3 of 9, you
want to bar code the word
“PRINTERS.” Assume the interface
also generates a check digit and the
start/stop characters. Setting the
width parameter to 2 will yield a total
bar code length of approximately 4
cm or about 1.5 inches.
Height values are ignored if a
POSTNET bar code is being printed,
since POSTNET uses one standard
height. However, a valid value (1-9)
must be entered for the height
parameter to ensure the bar-code
command string is complete.
Number of characters: 11 (8 letters
(PRINTERS) + 2 start/stop
characters + 1 check digit)
69
A/C-7P RO, A/C-7S RO
Module width (from Table 6-2):
3.6 mm (0.14 inches)
Calculation:
11 x 3.6 mm = 39.6
mm = 3.96 cm; or
11 x .14 in = 1.54 inches
Table 6-2. Module Width in mm (inches): PCL Laser.
Width
1
2
3
4
5
6
7
8
9
Code 3
of 9
2.6
(.1)
3.6
4.5
5.5
6.5
7.5
8.4
9.4
10.4
(.14)
(.18)
(.22)
(.25)
(.29)
(.33) (.37) (.41)
Code
128
2.2
3.1
3.9
4.7
5.6
6.4
7.3
8.1
8.9
(.09) (.12)
(.15)
(.19)
(.22)
(.25)
(.29) (.32) (.35)
Inter-
2.3 3.2
4
4.9
5.8
6.6
7.5
(.3)
8.4
9.3
leaved 2 (.09) (.12)
of 5
(.16)
(.19)
(.23)
(.26)
(.33) (.36)
Postnet
5.7 (.23)
EAN-13 1.5
2
2.5
(.1)
3.1
3.6
4.2
4.7
5.2
5.8
(.06) (.08)
(.12)
(.14)
(.16)
(.18) (.20) (.23)
EAN-8
UPC A
1.7
2.3
2.9
3.6
4.2
4.8
5.4
6.1
6.7
(.07) (.09)
(.11)
(.14)
(.16)
(.19)
(.21) (.24) (.26)
1.6
2.2
2.8
3.4
4
4.6
5.2
(.2)
5.8
6.4
(.06) (.08)
(.11)
(.13)
(.16)
(.18)
(.23) (.25)
70
A/C-7P RO, A/C-7S RO
Table 6-3. Module width in mm (inches): Epson
or IBM Proprinter Dot-Matrix.
Width
1
2
3
Code 3 of 9
2.7
5.4
8.1
(.11)
(.22)
(.32)
Code 128
2.5
(.1)
5
7.6
(.3)
(.2)
Interleaved 2
of 5
2.2
(.9)
4.4
6.6
(.18)
(.26)
POSTNET
EAN 13
6.5 (.25)
1.5
3.1
4.6
(.06)
(.12)
(.18)
EAN 8
UPC A
1.8
3.6
5.5
(.07)
(.14)
1.8
3.6
5.5
(.07)
(.14)
(.21)
71
A/C-7P RO, A/C-7S RO
Width parameters are ignored
when printing POSTNET bar codes,
since POSTNET uses one standard
width. However, a valid value (1-9)
must be entered for the width
<ast>: Specifies whether start/stop
characters are automatically
generated or manually added. This
parameter only applies to bar code
type Code 3 of 9. For all other bar
code types, the start/stop characters
are automatically generated by the
A/C-7 RO and input for the <ast>
parameter is ignored. However, one
of the following values must be
entered to ensure the bar code
command string is complete and
valid. The options for the <ast>
parameter are:
parameter to ensure the bar code
command string is complete.
<hr>: Identifies whether human-
readables are printed or not.
Human-readables are printed
underneath the bar code. Valid
values are:
0 = Do not print human readables.
1 = Print human readables.
0 = Do not automatically add
start/stop characters.
1 = Automatically add start/stop
characters.
<chkd>: Indicates whether the A/C-
7 RO automatically calculates and
causes a check digit to be printed.
The following bar codes require a
check digit, so, the A/C-7 RO
automatically generates and adds a
check digit to the bar-code data:
Code 128, POSTNET, UPC A, EAN
8, EAN 13
NOTE
If value 0 is selected, you
must
manually
enter
start/stop
characters
(asterisks) together with the
data. Failure to add the
asterisks will cause an
invalid bar code to be
printed (i.e. a bar code
without start/stop char-
acters). If human readables
are being printed, the
asterisks will also print as
human readables.
If any of the bar codes listed above
has been selected, the <chkd>
selection is ignored by the A/C-7
RO. However, one of the following
values must be entered to ensure the
bar code command string is
complete and valid. The options for
the <chkd> parameter are:
If value 1 is selected, you
must not add asterisks as
start/stop characters to the
data. Failure to omit
asterisks will cause an
invalid bar code to be
printed (i.e. a bar code with a
start/stop character pair in
0 = Do not calculate and add a check
digit.
1 = Calculate and add a check digit
to the bar code data.
the beginning and
a
start/stop character pair in
the end.)
72
A/C-7P RO, A/C-7S RO
where the mistake occurred.
<data>: The data to be printed as a
bar code. Some bar codes require a
certain number of characters.
3. Spaces in the bar-code
command string are invalid
and will lead to the same
result as mentioned in Step
2.
Others only allow alphanumeric or
numeric characters. Before the A/C-
7 RO processes the data string, it will
check the complete data string and
verify that it is valid. This is why the
¬B at the end is so important. If an
invalid data string has been entered,
the A/C-7 RO will print “Invalid
Data” in the place of the bar code.
4. If invalid data (either too
many characters or the
wrong type of characters) is
entered, the A/C-7 RO will
print the error message:
** Invalid Data **
5. Allow for sufficient vertical
spacing when printing text
data beneath the bar code.
NOTES
1. Valid values must be
entered for each of the
parameters specified above,
even if the parameter is
irrelevant for the type of bar
code being printed.
For example, when the bar code
command sting is entered on line 1
of the document with a bar code
height specified as 5 (approximately
1/2 inch or 3 lines at 6 LPI), and
text is then entered on line 2 as
follows,
2. If an invalid parameter
value (other than invalid
data) has been entered, the
A/C-7 RO will process the
bar-code command up to
that point and then reject
any information it receives
after the incorrect value.
¬B5,7,1,0,0,0,1234567890¬B
This data overrun by barcode
this will cause the bar code to
overlap the text in the second line:
For example, a bar-code
command string has been
entered, however, an invalid
<hr> value of 3 has been
specified.
¬B2,6,6,3,0,0,code128_B
The A/C-7 RO would cause
all characters after the
invalid value 3 to be printed:
,0,0,code128
This helps quickly identify
73
A/C-7P RO, A/C-7S RO
This data overrun by barcode
Figure 6-1. Bar Code Overlapping Text.
To avoid overlapping bar codes with text, always allow for sufficient vertical
line spacing (by adding line feeds, for example) to accommodate the height
of the bar code.
6. When text data is entered to the right of the bar code command sting,
the printed text will appear immediately to the right of where the bar-
code print ends.
74
A/C-7P RO, A/C-7S RO
OVERVIEW AND EXAMPLES
The examples shown on the following pages give an overview of the
supported bar code types. Note that the “maximum number of data
characters” does not include start/stop characters and check digits.
Code 3 of 9
Maximum number of data characters:
Valid numeric characters:
Valid alphanumeric characters:
Valid other characters:
30
0-9
A-Z
space ! “ # $ % & ‘ ( ) + , - . / : ; <
= > ? @
Example: ¬B1,4,1,1,1,1,0123456789¬B
0123456789
Figure 6-2. Code 3 of 9.
POSTNET
Maximum number of data characters:
Valid numeric characters:
Valid alphanumeric characters:
Valid other characters:
30
0-9
N/A
N/A
Example: ¬B4,1,1,1,1,0,0123456789¬B
0123456789
Figure 6-3. POSTNET.
75
A/C-7P RO, A/C-7S RO
UPC A
Required number of data characters:
Valid numeric characters:
Valid alphanumeric characters:
Valid other characters:
10
0-9
N/A
N/A
Example: ¬B5,5,1,1,1,0,0123456789¬B
0 01234 56789 5
Figure 6-4. UPC A.
EAN 8
Required number of data characters:
Valid numeric characters:
Valid alphanumeric characters:
Valid other characters:
7
0-9
N/A
N/A
Example: ¬B6,3,1,1,1,0,1234567¬B
1234 5670
Figure 6-5. EAN 8.
76
A/C-7P RO, A/C-7S RO
EAN 13
Required number of data characters:
Valid numeric characters:
Valid alphanumeric characters:
Valid other characters:
12
0-9
N/A
Example: ¬B7,3,1,1,1,0,012345678912¬B
0 123456 789128
Figure 6-6. EAN 13.
Interleaved 2 of 5
Maximum number of data characters:
Valid numeric characters:
Valid alphanumeric characters:
Valid other characters:
30
0-9
N/A
N/A
Example: ¬B3,3,1,1,1,0,0123456789¬B
0123456789
Figure 6-7. Interleaved 2 of 5.
77
A/C-7P RO, A/C-7S RO
NOTE
Since Interleaved 2 of 5 symbols are created from data-character pairs,
the number to be encoded must have an even number of digits. If an odd
number of data characters (including the optional check digit) is entered,
the A/C-7 RO adds an “0” to the beginning of the bar code. If an even
number of data characters (including the optional check digit) is entered,
the A/C-7 RO prints the bar code exactly as it is input.
Code 128
Code 128 has three unique character subsets (code A, B, and C) shown in the
table on the following pages. When entering data representing Code 128 bar
code, follow these two steps:
1. Define which code set you want to use: type “A” to represent code A;
type “B” to represent Code B; and type “C” to represent code C.
2. If you are using code set B, enter the data characters directly. The ~
character and other special characters are represented by the Symbol
Character Value found in the left column of Table 6-4.
If you are using code set A or C, enter the Symbol Character Value found
in the left column of the table. Each character is represented by two digits
or a ~ followed by a digit. For example, to bar code the
character “&” using Code Set A, type 06.
Maximum number of data characters:
Valid characters:
30 (includes special characters)
Differs with selected code set, see
Table 6-4.
Example: ¬B2,3,2,1,1,0,ABCDEFGHIJKLMNOPQRSTUVWXYZ¬B
ABCDEFGHIJKLMNOPQRSTUVWXYZ
Figure 6-8. Code 128.
78
A/C-7P RO, A/C-7S RO
To show how multiple character sets are used, study the following data
string. Height, width and other parameters were omitted in this example to
focus your attention on the data string. Please note that this example is for
illustration purposes only, and is not a recommended way of bar coding. The
following data string is a fairly complex way of bar coding “10A/C-7(RO)10”.
¬B2,...,A1716~6A/C-7(RO)~510¬B
A:
selects code set A
17:
16:
~6:
selects the number “1” from code set A
selects the number “0” from code set A
switches from code set A to code set B
A/C-7 (RO): selects the characters “A/C-7 (RO)” from code set B
~5:
10:
switches from code set B to code set C
selects the number “10” from code set C
79
A/C-7P RO, A/C-7S RO
Table 6-4. Symbol Character Value and Data Character.
Symbol
Character
Value
Data Character
Code B
Code A
Code C
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SP
!
SP
!
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
“
“
#
$
%
&
‘
#
$
%
&
‘
(
(
)
)
*
*
+
.
+
.
-
-
.
.
/
/
0
1
2
3
4
5
6
7
8
9
:
0
1
2
3
4
5
6
7
8
9
:
;
;
80
A/C-7P RO, A/C-7S RO
Table 6-4 (continued). Symbol Character Value and Data Character.
Symbol
Character
Value
Data Character
Code B
Code A
Code C
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<
<
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
=
=
>
>
?
?
@
A
B
C
D
E
F
@
A
B
C
D
E
F
G
H
I
G
H
I
J
J
K
L
K
L
M
N
O
P
Q
R
S
T
M
N
O
P
Q
R
S
T
U
V
W
U
V
W
81
A/C-7P RO, A/C-7S RO
Table 6-4 (continued). Symbol Character Value and Data Character.
Symbol
Character
Value
Data Character
Code B
Code A
Code C
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
X
X
Y
Z
[
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
Y
Z
[
\
\
]
]
^
^
_
`
_
NUL
SOH
STX
ETX
EOT
ENQ
ACK
BEL
BS
HT
LF
a
b
c
d
e
f
g
h
i
j
VT
FF
k
l
CR
So
m
n
o
p
q
r
SI
DLE
DC1
DC2
DC3
s
82
A/C-7P RO, A/C-7S RO
Table 6-4 (continued). Symbol Character Value and Data Character.
Symbol
Character
Value
Data Character
Code B
Code A
Code C
84
85
86
87
88
89
90
91
92
93
~0
~1
~2
~3
~4
~5
~6
~7
~8
DC4
t
84
NAK
SYN
ETB
u
85
v
86f
87
w
CAN
EM
x
88
y
89
SUB
ESC
FS
z
90
{
91
|
92
GS
}
93
RS
~
94
US
DEL
FNC3
FNC2
SHIFT
CODE C
FNC4
CODE A
FNC1
95
FNC3
FNC2
SHIFT
CODE C
CODE B
FNC4
FNC1
96
97
98
99
CODE B
CODE A
FNC1
83
A/C-7P RO, A/C-7S RO
6.6.1 I-O GRAPHICS
OVERVIEW
Table 6-5 is an overview of the I-O
Graphics Language™ (IOGL)
command strings and a brief
description of the parameters
used in the IOGL strings.
L
ANGUAGE™
6.6 I-O Graphics Language™
™
The I-O Graphics Language
™
(IOGL ) allows printing of graphical
elements and charts on PCL5
compatible printers. IOGL is
independent of other I-O features,
such as internally generated bar
codes or font change commands.
This means that if an I-O font
change command is followed by an
IOGL command to rotate text, the
text would print in the specified
font. IOGL is also independent of
regular text data. This allows text
data to be overlaid by a graphical
element, such as a shaded box.
84
A/C-7P RO, A/C-7S RO
Table 6-5. IOGL Graphics Language.
Graphical Element
IOGL Command String
Line
Box
¬GL<line width;<x start>;<y start>;<x end>;<y end>
¬GB<line width>;<x start>;<y start>;<x end>;<y end>;
<% shading>
Circles
¬GC<line width>;<x center>;<y center>;<radius>;
<% shading>
Arc
¬GA<line width>;<x start>;<y start>;<x center>;
<y center>;<angle of rotation>
Shading/Color
Pie Chart
¬GS<# of values>;<color 1>;<% shading 1>;
<color 2>;<% shading 2>;...
¬GP<line width>;<x center>;<y center>;<radius>;<# of
segments>;<segment value 1>;<segment value 2>;...
Bar Chart (Histogram)
¬GH<line width>;<x start>;<y start>;<x increment>;<y
increment>;<bar width>;<# of entries>;<value 1>;<value
2>;...
Run (Line) Chart
¬GR<line width>;<x start>;<y start>;<x increment>;
<y increment>;<# of entries>;<value 1>;<value 2>;...
Text Rotation
Comments
¬GT<x start>;<y start>;<angle of rotation>;<’text’>
¬GX<’text’>
85
A/C-7P RO, A/C-7S RO
Table 6-5. IOGL Graphics Language.
Parameter
Description
Units of
Measurement
Valid
Values
’text’
text to be rotated or to be
included in the IOGL program
as a comment
N/A
any
printable
character
% shading
percentage of shading
percentage
each
0-100,
integers
# of
number of segments to be
printed in pie chart
1 to 9,
segments
integers
# of
number of values to be printed
in bar or run (line) chart
each
1 to 12,
integers
entries
angle of
rotation
angle of rotation of arc or text
degrees
arc: 0 to
360,
integers
text: 0, 90,
180, 270
bar width
color n
width of a bar in a bar chart
n/300 inch
positive
integers
color code to select color
color command 00 to 16
numbers
of pie or bar chart segments
line width
width of any printed line (in line,
box, arc, circle, chart)
mm
any positive
number
86
A/C-7P RO, A/C-7S RO
Table 6-5 (continued). IOGL Graphics Language.
Parameter
Description
Units of
Measurement
Valid
Values
radius
radius of a circle or pie chart
n/300 inch
integer
positive
integers
segment
value n
value to be represented by a
pie chart segment
0 to 100
value n
a value to be represented by a
bar in a bar chart or a point in
a line chart
any positive
integer
any positive
integer
x start
x coordinate of start position
for lines and boxes
n/300 inch
n/300 inch
n/300 inch
n/300 inch
n/300 inch
positive
integers;
incl. 0
x end
x coordinate of end position
for lines and boxes
positive
integers;
incl. 0
x center
x increment
y center
x coordinate of center point of
circle, arc, or pie chart
positive
integers;
incl. 0
horizontal movement before
next bar (bar chart) or value
(run chart) is printed
positive
integers;
incl. 0
y coordinate of center point of
circle, arc, or pie chart
positive
integers;
incl. 0
87
A/C-7P RO, A/C-7S RO
Table 6-5 (continued). IOGL Graphics Language.
Parameter
Description
Units of
Measurement
Valid
Values
y start
y coordinate of start position
for lines and boxes
n/300 inch
n/300 inch
n/300 inch
positive
integers;
incl. 0
y end
y coordinate of end position
for lines and boxes
positive
integers;
incl. 0
y increment
height of one unit of the value
to be printed in bar or run (line)
chart
positive
integers;
incl. 0
6.6.2 HELPFUL HINTS
1. All xy values (start, end, center,
increment) are measured in
n/300 of an inch. The origin of
the xy coordinate system is the
top left hand corner of the
printable area of the page (see
Figure 6-9).
The printable area of the page
may vary with the printer model
andpaper size being used. Refer
to your printer’s user’s guide for
specific information.
88
A/C-7P RO, A/C-7S RO
Physical Page
X
Physical Page
X,Y
origin
(0,0)
X
Printable Area
X,Y
origin
(0,0)
Printable Area
X
X
Y
Y
Figure 6-9. XY Coordinate System on the Page.
2. The complete command string
must be entered as shown below.
Incomplete command strings
and command strings with
invalid values (such as spaces)
will cause the A/C-7 RO to print
the string at the place where the
error occurred.
semi-colon “;” as a separator
between parameters, you may
also enter a comma “,” or a
forward slash “/”.
4. Do not enter numeric values
with commas (for example,
50,000). The printer interface
will interpret the “ ,” to be the
end of the parameter (so that
50,000 would be interpreted as
two values: value 1 = 50, value 2 =
000).
For example, a line command
string has been entered.
However, an invalid <x start>
value has been specified.
¬GL30;A;1;1;600
International users should also
be aware that a decimal value
used to specify line width (in
mm) such as “1,5” (i.e. 1 1/2) is
also interpreted as two separate
values (i.e. value 1 = 1, value 2 =
5). To enter a valid decimal line
width use the period “.” (i.e. 1.5
mm).
The A/C-7 RO would cause all
characters, including the invalid
value “A” to be printed:
A;1;1;600
3. As an alternative to using the
89
A/C-7P RO, A/C-7S RO
6.6.3 BASIC DESCRIPTION
Lines—¬GL<line width>;<x start>;<y
start>;<x end>;<y end>
For example: ¬GL2;100;0;100;600
draws a 2 mm wide, vertical (<x
start> = <x end>) line of 2 inches in
length (<y-end> - <y-start> =
600/300” = 2”) (Figure 6-10)
Draws a line from the specified xy
start to xy end. <Line width> is
specified in mm.
X,Y start
(100,0)
2 inches
X,Y end
(100,600)
Figure 6-10. Example of Line.
90
A/C-7P RO, A/C-7S RO
Boxes—¬GB<line width>;<x start>;<y
start>;<x end>;<y end>;<%
shading>6
<line width> is specified in mm;
<% shading> can range from 0 to
100.
Draws a box from the specified xy
start to the xy end. The box cannot
be rotated.
For example:
¬GB2;300;300;600;600;30 draws a
box with 2 mm wide border and 30%
shading (Figure 6-11).
X,Y start
(300,300)
Line width = 2mm
X,Y end
(600,600)
30% shading
Figure 6-11. Example of Box.
91
A/C-7P RO, A/C-7S RO
Circle—¬GC<line width>;<x
center>;<y center>;<radius>;<%
shading>
For example: ¬GC2;900;2400;300;70
draws a circle with a radius of 1 inch
(300/300 inches) (Figure 6-12)
Draws a circle with the specified
radius (in n/300 inches) and line
width (in mm) around the xy center.
NOTE
To avoid cutting off part of
the circle, make sure that the
radius and the x,y center
values are such that the
complete circle will fit into
the printable area of the
page.
Line width = 2mm
X
70% shading
X,Y center
(900,2400)
Figure 6-12. Example of Circle.
92
A/C-7P RO, A/C-7S RO
Arc—¬GA<line width>;<x start>;<y
start>;<x center>;<y center>;<angle
of rotation>
For example:
¬GA1;500;900;900;900;180 draws an
arc (semi-circle since rotation is 180
degrees) (Figure 6-13)
Draws an arc around the xy center,
starting at xy start and ending when
the angle of rotation is completed.
(Angle is measured from theoretical
line xy center to xy start and rotates
clockwise.)
180°
X,Y center
(900,900)
X,Y start
(500,900)
Figure 6-13. Example of Arc.
93
A/C-7P RO, A/C-7S RO
Color/Shading—¬GS<# of
Pie Chart—¬GP<line width>; <x
center>;<y center>;<radius>;<#
of segments>;<segment value
1>;<segment value 2>;....
values>;<color 1>;<% shading
1>;<color 2>;<% shading 2>;...
Defines the color and shading of
the pie-chart and bar-chart
Draws a pie chart around the xy
center with the specified radius (in
n/300 inches), number of segments
(maximum of 9), and segment
values. Segment values are entered
as numerics and converted to
percentages. Segment values can
range from 0 to 100.
segments. The first value entered in
the pie and bar chart commands will
be printed in color 1 with shading 1.
The second value entered in the pie
and bar chart commands will be
printed in color 2 with shading 2.
Colors are entered as numeric
values 0-16 (corresponding to color
command scheme). Shading is
entered as a numeric value from 0-
100 (% of shading). If the attached
printer is not capable of recognizing
PCL color commands, all printing
will be black. Refer to pie and bar
charts for an example.
Each segment will have the color
and/or shading as specified in the
shading command (pie chart value 1
will get color/shading value 1,...).
<line width> is specified in mm. The
first pie segment starts at “9 o’clock,”
meaning on the far left of the circle
(Figure 6-14).
94
A/C-7P RO, A/C-7S RO
“9 o’clock”
= starting
point for first
pie segment
Figure 6-14. Color/Shading and Pie Chart.
95
A/C-7P RO, A/C-7S RO
For example:
¬GS3;01;20;02;50;04;80
The first segment (value 10) will
be 1/6 of the complete circle
¬GP5;900;2400;600;3;10;20;30 draws
a three-segment pie chart. If the
attached printer is a PCL color
printer, the first segment will be blue
(01), the second segment will be red
(02), and the third segment will be
green (04). The segments will be
shaded at 20%, 50%, and 80%
respectively.
(10/(10+20+30)=10/60=1/6), the
second segment (value 20) will be
2/6 of the complete circle (20/60),
and the third segment will be 3/6 of
the complete circle (Figure 6-15).
Figure 6-15. Segment of Circle.
96
A/C-7P RO, A/C-7S RO
Bar Chart (Histogram)—¬GH<line
width>;<x start>;<y start>;<x
increment>;<y increment>;<bar
width>;<# of entries>; <value
1>;<value 2>; ...
For example:
¬GS3;01;20;02;50;04;80
¬GH1;100;2400;300;1;100;3;500;600;
800 draws three bars. If the attached
printer is a PCL color printer, the
first bar will be blue, the second red,
and the third green. The bars will be
shaded 20%, 50%, and 80%
Draws a bar chart. xy start specifies
the bottom left hand corner of the
first bar (the origin on the chart’s xy
scale). The x increment specifies the
horizontal movement before the
next bar is printed. The y increment
(in n/300 inches) determines the
height of the bar (multiplied by the
value). The bar width (in n/300
inches) specifies the width of the
bar. Bar chart values can range from
0 to 3,000. Each bar will have the
color and/or shading as specified in
the shading command (bar 1 is
respectively (Figure 6-16).
color/shading value 1,...). A
maximum of 12 bars can be printed.
97
A/C-7P RO, A/C-7S RO
Line width 5mm
Height =
value times (*)
y increment
X,Y start
(100,2400)
x increment = horizontal distance
between values
Figure 6-16. Bar Chart (Histogram).
Each bar is 1/3 inch wide
NOTE
(100/300 inch). The distance from
the left side of one bar to the left
side of the next bar is one inch
(300/300). This allows other bars to
be added through a separate
command.
The y-increment determines
the scaling. Only integers (1,
2, 3, 4, etc.) are valid. If you
are charting sales figures in
thousands of dollars, the y-
increment should be small
(for example, 1). If you are
charting the number of
customer complaints per
period, the y-increment
should be high (for example,
100 or more). Be aware that
the bar height must not
exceed the total printable
area of the page.
Bar 1 will be 1 2/3 inches (500 x
1/300 inch) high, bar 2 will be two
inches high (600 x 1/300 inch), and
bar 3 will be 2 2/3 inches high (800
x 1/300 inch).
98
A/C-7P RO, A/C-7S RO
Run Chart—¬GR<line width>;<x
start>;<y start>;<x increment>;<y
increment>;<# of entries>;<value
1>;<value 2>; ...
For example:
¬GR3;900;2400;150;1;5;100;300;200;
500;400 draws a run (line) chart
(Figure 6-17).
Draws a run (line) chart. The xy
start specifies the origin of the
chart’s xy scale (xy axes are not
drawn). The x increment specifies
the horizontal movement before the
next value is printed. The y
increment determines the height of
the line (multiplied by the value).
Value 1 = 100
Value 2 = 300
Value 3 = 200
Value 4 = 500
Value 5 = 400
4
2
5
1
3
1/3 inch = 100
(value) x 1
(y increment)
÷ 300/inch
Line width 5mm
X,Y start
x,y start (900,2400)
(900,2400)
x increment = horizontal
distance between values
Figure 6-17. Run (Line) Chart.
99
A/C-7P RO, A/C-7S RO
Text—¬GT<x start>;<y start>;<angle
of rotation>;<'text'>
NOTE
The y-increment determines
the scaling. Only integers (1,
2, 3, 4, etc.) are valid. If you
are charting sales figures in
thousands of dollars, the y-
increment should be small
(for example, 1). If you are
charting the number of
customer complaints per
period the y-increment
should be high (for example,
100 or more).
Prints the text (“text”) in the
active font, with the specified
rotation and specified xy start. Text
will be rotated counterclockwise.
For example:
¬GT1000;1000;90;’TEXT’ prints the
word 'TEXT' in the active font with
90 degree rotation (Figure
6-18).
X,Y start
90°
TEXT
x,y start
Figure 6-18. Text.
100
A/C-7P RO, A/C-7S RO
Comments—¬GX<'text'>
2. Determine the printable area of
the page.
Allows text to be added to IOGL
commands for documentation.
Comments will not print out.
3. Determine the positioning of the
graphical elements relative to
the top left-hand corner of the
printable area.
For example: ¬GX’Pie chart with 3
elements’ can be used to document
an IOGL pie chart command.
4. PCL color printer only:
Determine the order in which to
print the graphical elements.
The lines of the last IOGL
6.7 I-O Graphics Language™ (IOGL)
in Action
6.7.1 GENERAL STEPS
I-O Graphics Language™ (IOGL)
can be used in many different ways.
It can enhance the appearance of
standard host reports through a few
simple graphical elements such as
lines, boxes, and circles; or it can be
used to present pertinent data
through charts. IOGL can even be
used to create sophisticated
element will overlap (and cover)
the previous IOGL elements.
5. Design the graphical output, one
element at a time.
6. Link the graphical output with
your host application.
6.7.2 TUTORIAL
The following example (Figure
6-19) shows how multiple IOGL
elements interact to create a bar
chart.
electronic forms. However,
programming with IOGL always
follows the same general steps:
1. Determine which IOGL
elements are needed to create
the desired output (the bar chart
shown below uses four different
IOGL elements.)
101
A/C-7P RO, A/C-7S RO
SALES CALLS PER DAY
Week of:
March 24, 1995
# OF CALLS
40
BOYD
GARY
SHAWN
30
20
10
Monday
Tuesday
Wednesday
Thursday
Friday
WEEKDAY
Figure 6-19. Bar Chart.
1. Following the above mentioned
general steps, we first
determined the makeup of this
bar chart. The example consists
of four IOGL elements: bar
charts, lines, boxes, and text.
2. To determine the printable area
of the paper, we printed a box
using 0;0 as the x;y starting
coordinates. This was done by
typing ¬GB1;0;0;300;300;50 on
the screen and sending it to the
printer. The top left corner of
the printed box marks the top
left corner of the printable area
of the page. For reference, we
drew the printable area on the
blank sheet of paper. All
references to distances are made
in respect to the printable page,
not the actual physical page.
Refer to Figure 6-9.
102
A/C-7P RO, A/C-7S RO
3. Determine where the chart
should be placed (always in
relation to the top left-hand
corner of the printable area). In
the example, the bar chart is on
the bottom half of a letter-size
page. The origin of the chart is
one inch away from the left
margin and 10 inches away from
the top margin (Figure
6-20).
Approximate
Area of
Bar Chart
1 inch
5 inches
Origin of Chart
Figure 6-20. Placement of Bar Chart.
103
A/C-7P RO, A/C-7S RO
Next, determine the
¬GH<line width>;<x start>;<y
start>;<x increment>;<y
approximate maximum height
and width of the chart. In the
example, 40 was the expected
maximum number of calls. We
chose to represent 10 calls by
one inch, resulting in a total
maximum height of four inches
(not including the title and
subtitle.) Similarly, each day was
represented by one inch,
increment>;<bar width>;<# of
entries>;<value 1>;<value 2>; ...
The bar chart shown in Figure
6-16 was created using the following
parameters:
Bar Chart Boyd
resulting in a total maximum
width of five inches (not
including the space needed for
the label “WEEKDAY”).
Shading/Color: Boyd’s calls were
plotted for each day of the business
week, so the number of values is five.
Since we printed to a black-and-
white laser printer, the color
parameters were irrelevant. The
shading was set to 10%.
4. If the chart is being printed on a
black-and-white PCL printer, the
order in which these elements
are created is irrelevant.
However, if you are printing on a
PCL color printer, the lines of
the last element will always
overlay (and cover) the element
previously printed. In the
example, the elements creating
the x- and y-axes should be
entered last when printing on a
PCL color printer.
Bar Chart (Histogram): The line
width was set to 1 mm. The x;y-start
parameters defined the bottom left
corner of the bar which is identical
with the origin of the chart.
Remember that the origin was one
inch from the left margin, and 10
inches from the top margin of the
printable area. The resulting values
were 300 (=1 inch x 300/inch) for
<x start> and 3000 (= 10 inches x
300/inch) for <y start.>.
5. Create the separate IOGL
elements based on the order
determined in Step 4. In the
example, the bar charts were
created first. Recall the IOGL
formula for the bar chart and
the preceding shading/color
command string:
The bar representing Boyd’s calls
for Tuesday was to be printed one
inch to the right of Monday’s bar.
The resulting <x increment> was 300
(= 1 inch x 300/inch). Since the
maximum height of a bar was
specified at four inches, the resulting
value for <y increment> was 30 (= 4
inches/40 max. calls x 300/inch).
To aid in readability, extra space
was left between the last bar of day
¬GS<# of values>;<color 1>;<%
shading 1>;<color 2>;<% shading
2>;...
104
A/C-7P RO, A/C-7S RO
one and the first bar of the next day.
To determine the <bar width>,
divide the available one inch (<x
increment>) into four equal sections
(three bars and one space). The
resulting value was 75 (= 300/4).
Next, count the <# of entries> (5)
and enter the respective values. The
parameters are:
Bar Chart Shawn
Shawn’s bar chart was to be printed
directly to the right of Gary’s. The
resulting horizontal starting position
<x start> was:
375
+ 75
450
(Gary’s)
(Bar width)
¬GX'bar chart Boyd'
¬GS5;01;10;01;10;01;10;01;10;01;10
¬GH1;300;3000;300;30;75;5;30;34;39;
37;28
The parameters are:
¬GX'bar chart Shawn'
¬GS5;04;50;04;50;04;50;04;50;04;50
¬GH1;450;3000;300;30;75;5;15;16;21;
20;13
Bar Chart Gary
The bars representing Gary’s calls
were to be printed directly to the
right of Boyd’s. The resulting
6.7.3 X- AND Y-AXES
The x-axis (Weekday) and the y-axis
(# of calls), along with the
horizontal start value <x start> was:
increments, were created through a
series of separate lines. Notice that
the line width of the axis is the same
as the line width of the bars. The
parameters are shown below:
300
+ 75
375
(Boyd’s)
(Bar width)
With the exception of the actual
calls, the other parameters for Gary’s
bar chart were identical to Boyd’s.
The parameters are:
¬GX'X-Axis with increments'
¬GL1;300;3000;1850;3000
¬GL.5;600;3000;600;3019
¬GL.5;900;3000;900;3019
¬GL.5;1200;3000;1200;3019
¬GL.5;1500;3000;1500;3019
¬GL.5;1800;3000;1800;3019
¬GX'bar chart Gary'
¬GS5;02;75;02;75;02;75;02;75;02;75
¬GH1;375;3000;300;30;75;5;35;36;38;
39;31
¬GC'Y-Axis with increments'
¬GL1;300;3000;300;1750
¬GL.5;281;2700;300;2700
¬GL.5;281;2400;300;2400
¬GL.5;281;2100;300;2100
¬GL.5;281;1800;300;1800
105
A/C-7P RO, A/C-7S RO
6.7.4 LABELS/TITLE/SUBTITLE/LEGEND
¬GX'Font Change Command'
¬Q4808
All text was created through text
rotation command strings. Text was
always printed in the selected font.
In the example, Universe Medium
was used in different point sizes
(¬Q...). The legend consists of three
separate boxes followed by text
rotation commands. The parameters
are shown below:
¬GX'Subtitle'
¬GT600;1550;0;'Week of:'
¬GT900;1550;0;'March 24, 1995'
6.8 Linking Graphical Output to a
Host Application
There are several ways to link the
graphical output to a host
application. One method is to simply
add the IOGL commands to the
application code. This means that
whenever the application is used and
sent to the printer, the IOGL
commands are also sent.
¬GX'Font Change Command'
¬Q4808
¬GX'Labels X-Axis'
¬GT300;3100;0;'Monday'
¬GT600;3100;0;'Tuesday'
¬GT900;3100;0;'Wednesday'
¬GT1200;3100;0;'Thursday'
¬GT1500;3100;0;'Friday'
¬GT1800;3100;0;'WEEKDAY'
Another method is to design a
separate subroutine that sends the
IOGL output to the printer as a
macro. The IOGL macro will only be
sent to the printer once and resides
in the printer’s active memory until
the printer is powered down. The
application code requires only a
macro call and does not require the
complete graphic to be downloaded
when a report is printed.
¬GX'Labels Y-Axis'
¬GT200;2700;0;'10'
¬GT200;2400;0;'20'
¬GT200;2100;0;'30'
¬GT200;1800;0;'40'
¬GX'Legend (boxes with text)'
¬GT200;1650;0;'# OF CALLS'
¬GB1;1700;1650;1750;1700;10
¬GT1760;1700;0;' = BOYD'
¬GB1;1700;1750;1750;1800;75
¬GT1760;1800;0;' = GARY'
To store the IOGL output as a
printer macro, begin the IOGL
routine with a PCL command that
begins a macro by typing: ¬E&f#y0X
¬GB1;1700;1850;1750;1900;50
¬GT1760;1900;0;'= SHAWN'
¬GX;'Font Change Command'
¬Q4813
¬GX'Title'
¬GT500;1500;0;'SALES CALLS PER
DAY'
106
A/C-7P RO, A/C-7S RO
For the # symbol, substitute a
number that identifies the macro.
Make sure this command precedes
all IOGL commands. Also, be aware
that PCL is case-sensitive.
6.9 Printing Images From The Host
It is often advantageous to include
images such as company logos or
signatures with printed output.
Logos and other images can be
stored on printer cartridges or
“Flash” SIMMs, offered through the
printer manufacturer and/or various
third party vendors. While the
process of loading the cartridge or
SIMM differs, the final result is the
same. The stored image is assigned a
macro ID number that must be
called up by the application when
the image is to be printed. Please
refer to the documentation supplied
with the cartridge or SIMM for
instructions on how to store an
image.
At the end of the IOGL routine,
stop the macro and save it
permanently (until the printer is
powered down) in the printer’s
memory. To end the macro, type:
¬E&f#y1X
To save the macro permanently
(until the printer is powered down)
type: ¬E&f#y10X. Store this macro in
the printer’s memory by “printing”
it.
A call for this macro can be used
in your application by embedding
the following PCL command in the
application code: ¬E&f#y3X
Generally, a macro stored in non-
volatile memory is called up by
sending the command ¬E&f#y3X,
where # is the macro ID.
Another command that can be
used to prevent overloading the
printer’s memory is ¬E&f#y8X. This
command deletes the macro ID #
that currently resides in the printer’s
memory.
107
A/C-7P RO, A/C-7S RO
A PCL command used to
reposition the stored image on a
page is ¬E&l#u#Z, where the first #
(l#u) specifies the “Left Offset
Registration” or horizontal
movement in n/720 inch and the
second # (#Z) specifies the “Top
Offset Registration” or vertical
movement of the image in n/720
inch.
The repositioning command must
precede the macro call. To return to
the original position, type ¬E&l0u0Z
immediately after the macro call.
108
A/C-7P RO, A/C-7S RO
7. Troubleshooting
This chapter provides instructions
for performing diagnostic tests on
the A/C-7 RO. It also contains a
problem resolution guide that
describes common problems with
the A/C-7 RO or the printer and
their solutions. If you are unable to
solve a problem by following the
procedures outlined in this chapter,
contact technical support.
dump” or “buffer print” by enabling
the Buffer Print option through the
A/C-7 RO’s configuration switches,
or Host/PC download command 42.
This causes all printing to be in
hexadecimal code, just as it’s
received from the host, to help in
tracing problems.
If you need to ship the A/C-7 RO,
use the original carton and
packaging to prevent damage.
Before calling, verify that the A/C-
7 RO is installed correctly, and that
its configuration settings are correct,
perform the appropriate diagnostic
tests outlined in this chapter, and
have the following information
ready:
7.1 A/C-7 RO Self-Test
Verify proper installation and
configuration of the A/C-7 RO by
performing an A/C-7 RO self-test.
The self-test prints out the current
software version, memory condition
(RAM and ROM), and the current
configuration selections.
• Printer and A/C-7 RO self-test
printouts
• Model number and serial
number of the A/C-7 RO
NOTE
• Description of the problem
• Results of diagnostic tests
If you are operating a label
printer, put the printer in
ASCII hex dump mode, then
follow
the
self-test
• Type of host system or controller
You may also need to print a “hex
instructions below. If the
label printer starts printing
the A/C-7 RO has passed the
self-test. To obtain a printout
of the current settings,
connect the A/C-7 RO to a
laser or dot-matrix printer.
109
A/C-7P RO, A/C-7S RO
Follow the steps below to start the
self-test from your PC or terminal.
5. Return configuration switch
SW1:8 to the “o” position, then
cycle the power one more time.
1. Verify that the printer is
connected properly to the A/C-7
RO and in “READY” mode.
Two self-test pages will print if the
A/C-7 RO is installed properly.
Sample printouts of the first page
are shown in Figures 3-1 and 3-2.
The selections in the sample are
factory defaults. The numbers at the
left margin are command numbers
used to change this setting using
host download commands.
2. Type “&%Z98,1” on the screen.
3. Send that command to the
printer (press the Print Screen
Button or print the
document/file that contains the
Host/PC download command).
The self-test will print out in a
few seconds.
If the test does not print, the A/C-
7 RO failed the self-test. Contact
technical support for more
information.
Follow the steps below to start the
self-test by setting the configuration
switches.
7.2 EBCDIC Hex Dump
1. Verify that the printer is
connected properly to the A/C-7
RO.
The A/C-7 RO can be set up to print
the buffer in hexadecimal EBCDIC
code. This can be useful for a
technician to diagnose problems
with the A/C-7 RO or the printer.
2. Power off the A/C-7 RO and the
printer.
3. Set configuration switch SW1:8
(far right of first switch bank) to
“|” and configuration switch
SW1:1 to “o”.
The EBCDIC hex data is printed
on a grid corresponding to the
data’s position in the buffer. If the
hex data represents a printable
character, that character is printed
below the hex data.
4. Power on the printer and the
A/C-7 RO. A self-test will print
within a few seconds after power
up. After the self-test prints, the
LED lights labeled “Host Ready”
and “Printer Ready” begin
blinking, indicating that the
Print Box is not in operating
mode.
To start the EBCDIC hex dump
through Host/PC Download:
1. Verify that the printer is
connected properly to the A/C-7
RO.
2. Type “&%Z42,1” on the screen.
110
A/C-7P RO, A/C-7S RO
7.3 ASCII Hex Dump
3. Send that command to the
printer (press the Print Screen
Button or print the
The A/C-7 RO can be set up to print
the buffer in hexadecimal ASCII
code. This differs from the EBCDIC
hex dump in that the buffer is first
translated into ASCII code before it
is printed. This can be useful to
diagnose problems with the interface
or the printer. The ASCII Hex
Dump can only be started through
the A/C-7 RO’s configuration
switches. To start the ASCII Hex
Dump:
document/file that contains the
Host/PC download command).
4. Send the host data in question to
the printer.
5. To stop the EBCDIC hex dump,
type “&%Z42,2” on the screen,
then send it to the printer (press
the Print Screen Button or print
the document/file that contains
the Host/PC download
command).
1. Locate configuration switches
SW1:4, SW1:5, SW1:6, and SW1:7
on the first switch bank.
Start the EBCDIC hex dump from
the A/C-7 RO’s front panel as
follows:
2. Write down their current
position (“o” or “|”).
1. With the A/C-7 RO powered on,
set configuration switch SW1:1
(far left) to “o”, and switch
SW1:8 (far right of first switch
bank) to “|”. The A/C-7 RO is
now in buffer print mode.
3. With the A/C-7 RO powered on,
set the configuration switches
SW1:4, SW1:5, SW1:6, and SW1:7
to “|”. The A/C-7 RO is now in
ASCII Hex Dump mode.
4. To end ASCII Hex Dump mode,
return the switches to their
original position (see Step 2).
2. Return configuration switch
SW1:8 to the “o” position after
printing is completed.
111
A/C-7P RO, A/C-7S RO
7.4 Problem Resolution Guide
The following is a general guide to
resolve common problems that may
occur. Please refer to this guide
before contacting technical support.
Table 7-1. Problem Resolution Guide.
Problem or Message
Probable Cause
Action
“Host Line Sync” LED is not
Host is not operating
Check host system.
on when connected to the host
Damaged or improper
cabling
Check host cabling
for damage or
improper connection.
“Printer Online” LED is off
when printer is connected
Printer not in a ready
status
Make sure printer
is on line, has paper,
etc.
Printer fault such as
paper out, paper jam,
etc.
Make sure the printer
has paper, is clear of
jams, etc.
Damaged or loose
printer cable
Check printer cable
for damage or
improper connection.
Printer loses host
communication (drops off
line)
Improper or damaged
cabling
Check host cabling
for improper
connections or
damage.
112
A/C-7P RO, A/C-7S RO
Table 7-1. Problem Resolution Guide.
Problem or Message
Probable Cause
Action
Right margin is cut off
Page width in word-
processing program is
not set wide enough
Change to a wider
page.
Page width is too wide
Select a narrower
page.
Extra blank sheets are
ejected between sheets
of printout
Form length not
correct in software
(maximum length is
66 lines)
Make sure your
document length
doesn’t exceed the
maximum number of
lines.
Page orientation was
changed
The printer may
eject a blank page
when the page
orientation (portrait
or landscape) is
changed.
Form length is incorrect
Form length incorrect
in software
Change form length
113
A/C-7P RO, A/C-7S RO
Table 7-1. Problem Resolution Guide.
Problem or Message
Probable Cause
Action
Printer won’t change fonts
Incorrect typestyle
number
Make sure the font
ID used is valid.
Invalid font IDs are
ignored by the printer.
Wrong font cartridge
loaded
Load the cartridge
with the font that
corresponds to the
font ID.
Font cartridge
damaged or not seated
into the printer
properly
If possible try a
known good
cartridge to determine
if cartridge is faulty.
Make sure the
cartridge is loaded
properly.
Printer does not print
landscape in requested
font
APO feature is ON
and page size is 8-1/2"
x 11" or less and
Turn off APO or
increase page size
so it is larger than
width is less than height 8-1/2" x 11" or
change width and
height so width is
greater than height.
114
A/C-7P RO, A/C-7S RO
Table 7-1. Problem Resolution Guide.
Problem or Message
Probable Cause
Action
APO feature is OFF
and orientation is set
to COR, portrait, or
user-defined (with
Set paper tray
orientation to
landscape or set
font orientation to
landscape or set
font orientation to
landscape.
font orientation portrait)
Printer does not print
APO feature is ON
and page size is
8-1/2" x 11" or less;
and width is greater
than height
Turn off APO or
increase page size
so it is larger than
8-1/2" x 11" or
portrait in requested font
change width and
height so width is
less than height.
Refer to the COR
and APO sections
for additional
solutions.
APO feature is OFF
and orientation is set
to COR, landscape,
or user defined (with
font orientation
Set paper tray
orientation to
portrait or set font
orientation to
portrait.
landscape)
115
A/C-7P RO, A/C-7S RO
Table 7-1. Problem Resolution Guide.
Problem or Message
Probable Cause
Action
Printer does not print COR
APO feature is ON
and page size is 8-1/2"
x 11" or less
Turn off APO or
increase page size
so it is larger than
8-1/2" x 11".
APO feature is OFF
and orientation is set
to portrait, landscape,
or user-defined
Set orientation to
“COR.”
116
A/C-7P RO, A/C-7S RO
Appendix A: Font (FGID) Reference
for HP LaserJet Printers
The following table lists the standard
HP LaserJet resident fonts and the
HP font cartridges that are available,
along with the font ID number used
to select the font.
Table A-1. Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
HP LaserJet Internal Resident Fonts
Courier
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
P/L
P/L
P/L
P/L
P/L
10
12
11
Line Printer
Line Printer
Line Printer
Line Printer
15
8.5
8.5
8.5
8.5
223
254
281
204
17.1
19
13.33
LaserJet IID, III, IIID Printers have in addition:
Courier italic R-8/CP850
P/L
P/L
P/L
10
10
12
12
12
10
18
46
85
Courier bold
Courier
R-8/CP850
R-8/CP850
117
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Courier
R-8/CP850
R-8/CP850
P/L
P/L
P/L
P/L
12
12
12
12
10
10
10
12
85
88
89
87
Courier bold
Courier italic R-8/CP850
Letter Gothic R-8/CP850
LaserJet III and IIISi Resident Scalable Fonts
CG Times
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
P/L
P/L
P/L
P/L
P/L
P/L
P/L
P/L
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
6
4605
4606
4607
4608
4609
4611
4614
4617
8
10
12
14
18
24
6
118
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
CG Times bold R-8/CP850
R-8/CP850
P/L
P/L
P/L
P/L
P/L
P/L
P/L
P/L
P/L
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
6
4625
4626
4627
4628
4629
4631
4634
4637
4645
8
R-8/CP850
10
12
14
18
24
30
6
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
CG Times
italic
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
P/L
P/L
P/L
P/L
P/L
Prop.
Prop.
Prop.
Prop.
Prop.
8
4646
4647
4648
4649
4651
10
12
14
18
119
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
R-8/CP850
R-8/CP850
R-8/CP850
P/L
P/L
P/L
Prop.
Prop.
Prop.
24
30
6
4654
4657
4665
CG Times
bold italic
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
P/L
P/L
P/L
P/L
P/L
P/L
P/L
P/L
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
8
4666
4667
4668
4669
4671
4674
4677
4805
10
12
14
18
24
30
6
Univers
medium
R-8/CP850
R-8/CP850
R-8/CP850
P/L
P/L
P/L
Prop.
Prop.
Prop.
8
4806
4807
4808
10
12
120
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
P/L
P/L
P/L
P/L
P/L
Prop.
Prop.
Prop.
Prop.
Prop.
14
18
24
30
6
4809
4811
4814
4817
4825
Univers med R-8/CP850
italic
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
P/L
P/L
P/L
P/L
P/L
P/L
P/L
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
8
4826
4827
4828
4829
4831
4834
4837
10
12
14
18
24
30
121
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Univers med R-8/CP850
condensed
P/L
Prop.
6
4845
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
P/L
P/L
P/L
P/L
P/L
P/L
P/L
P/L
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
8
4846
4847
4848
4849
4851
4854
4857
4865
10
12
14
18
24
30
6
Univers med R-8/CP850
cond italic
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
P/L
P/L
P/L
P/L
P/L
Prop.
Prop.
Prop.
Prop.
Prop.
8
4866
4867
4868
4869
4871
10
12
14
18
122
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
R-8/CP850
R-8/CP850
R-8/CP850
P/L
P/L
P/L
Prop.
Prop.
Prop.
24
30
6
4874
4877
4985
ITC Zapf
Dingbat
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
R-8/CP850
P/L
P/L
P/L
P/L
P/L
P/L
P/L
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
8
4986
4987
4988
4989
4991
4994
4997
10
12
14
18
24
30
General Font Assignments
Time
R-8/CP850
R-8/CP850
R-8/CP850
P
P
P
Prop.
Prop.
Prop.
8
157
158
159
Time
10
10
Time Bold
123
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Time Italic
R-8/CP850
R-8/CP850
P
P
Prop.
Prop.
10
155
Helvetica
Bold
14.4
34126
Courier Bold R-8/CP850
Courier Italic R-8/CP850
P/L
P/L
P/L
P/L
P/L
P/L
P/L
10
10
12
12
12
12
12
12
12
10
10
10
12
12
46
18
Prestige
R-8/CP850
86
Prestige Bold R-8/CP850
Prestige Italic R-8/CP850
Letter Gothic R-8/CP850
111
112
87
Letter Gothic R-8/CP850
Bold
110
Letter Gothic R-8/CP850
Italic
P/L
12
10
112
Helvetica
Helvetica
ASCII
ASCII
ASCII
P
P
P
Prop.
Prop.
Prop.
6
8
8
181
183
182
Helvetica
Bold
124
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Helvetica
Bold
ASCII
P
Prop.
10
12
14
12
185
188
190
34
Helvetica
Bold
ASCII
P
P
P
Prop.
Prop.
10
Helvetica
Bold
ASCII
Tax Line
Draw
LinDrw-7
Letter Gothic R-8/CP850
Letter Gothic R-8/CP850
P
P
P
P
P
10
14.4
9.4
12
40
255
19
17.1
10
OCR-A 10N
OCR-B 10N
OCR-A
OCR-B
3 of 9
10
12
3
Code 3-9
4.6N
4.6
12
240
Code 3-9
9.3N
3 of 9
UPC
P
P
9.3
12
12
61
EAN/UPC
Prop.
171
Bold Bar Code
125
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
EAN/UPC
Bar Code
UPC
P
PROP.
12
170
HP Cartridge Font Assignments
Procollection Cartridge
Line Printer
ASCII
P/L
P/L
P/L
P/L
P/L
P/L
P
17.1
10
10
12
12
12
10
10
10
12
12
8.5
12
12
10
10
10
12
12
12
10
10
253
45
17
85
108
92
51
52
53
93
94
Courier Bold ASCII
Courier Italic ASCII
Courier
ASCII
Courier Bold ASCII
Courier Italic ASCII
Courier
Legal
Courier Bold Legal
Courier Italic Legal
P
P
Courier
Legal
P
Courier Bold Legal
P
126
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Courier Italic Legal
Prestige Elite ASCII
Prestige Elite ASCII
P
12
15
12
12
10
7
95
P/L
P/L
P/L
220
83
10
10
Prestige Elite ASCII
Bold
113
Prestige Elite ASCII
Italic
P/L
12
10
114
Prestige Elite Legal
Prestige Elite Legal
P
P
P
15
12
12
7
219
97
10
10
Prestige Elite Legal
Bold
98
Prestige Elite Legal
Italic
P
12
10
99
Letter Gothic ASCII
Letter Gothic ASCII
Letter Gothic ASCII
P/L
P/L
P/L
27
3.6
6
291
281
257
19
17.1
9.5
127
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Letter Gothic ASCII
P/L
P/L
12
12
12
12
66
69
Letter Gothic ASCII
Bold
Letter Gothic ASCII
Italic
P/L
12
12
68
Times Roman ASCII
Times Roman ASCII
P
P
P
Prop.
Prop.
Prop.
8
163
164
165
10
10
Times Roman ASCII
Bold
Times Roman ASCII
Italic
P
Prop.
10
166
Times Roman ASCII
P
P
Prop.
Prop.
12
12
167
168
Times Roman ASCII
Bold
Times Roman ASCII
Italic
P
Prop.
12
169
Times Roman Legal
Times Roman Legal
P
P
Prop.
Prop.
8
173
174
10
128
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Times Roman Legal
Bold
P
Prop.
10
175
Times Roman Legal
Italic
P
Prop.
10
176
Times Roman Legal
P
P
Prop.
Prop.
12
12
177
178
Times Roman Legal
Bold
Times Roman Legal
Italic
P
Prop.
12
179
Helvetica
Helvetica
ASCII
ASCII
ASCII
P
P
P
Prop.
Prop.
Prop.
8
183
184
185
10
10
Helvetica
Bold
Helvetica
Italic
ASCII
P
Prop.
10
186
Helvetica
ASCII
ASCII
P
P
Prop.
Prop.
12
12
187
188
Helvetica
Bold
129
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Helvetica
Italic
ASCII
P
Prop.
12
14
14
189
190
191
Helvetica
Bold
ASCII
Legal
P
P
Prop.
Prop.
Helvetica
Bold
WordPerfect Cartridge
CG Times
CG Times
DskTop
DskTop
DskTop
P
P
P
Prop.
Prop.
Prop.
6
8
8
4685
4686
4706
CG Times
Bold
CG Times
Italic
DskTop
P
Prop.
8
4814
CG Times
DskTop
DskTop
P
P
Prop.
Prop.
10
10
4687
4707
CG Times
Bold
CG Times
Italic
DskTop
P
Prop.
10
4815
130
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
CG Times
DskTop
DskTop
P
P
Prop.
Prop.
12
12
4688
4708
CG Times
Bold
CG Times
Italic
DskTop
P
Prop.
12
4816
CG Times
DskTop
DskTop
P
P
Prop.
Prop.
14
14
4689
4709
CG Times
Bold
CG Times
Italic
DskTop
DskTop
DskTop
P
P
P
Prop.
Prop.
Prop.
14
18
24
4817
4711
4714
CG Times
Bold
CG Times
Bold
Univers
Univers
Univers
DskTop
DskTop
DskTop
P
P
P
Prop.
Prop.
Prop.
14
18
24
4789
4791
4794
131
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Microsoft Cartridge
Helv
R-8
R-8
R-8
R-8
R-8
R-8
R-8
R-8
R-8
R-8
R-8
P
P
P
P
P
P
P
P
P
P
P
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
8
34102
34103
34123
34231
34104
34124
34232
34125
5686
Helv
10
10
10
12
12
12
14
8
Helv Bold
Helv Italic
Helv
Helv Bold
Helv Italic
Helv Bold
TmsRmn
TmsRmn
10
10
5687
TmsRmn
Bold
5707
TmsRmn
Italic
R-8
P
Prop.
10
5815
132
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
TmsRmn
R-8
R-8
P
P
Prop.
Prop.
12
12
5688
5708
TmsRmn
Bold
TmsRmn
Italic
R-8
R-8
R-8
P
Prop.
Prop.
15
12
14
8.5
5816
5709
223
TmsRmn
Bold
P
Line Printer
P/L
Polished Worksheets Cartridge
Prestige Elite R-8
P/L
P/L
P/L
15
12
12
7
221
86
Prestige Elite R-8
10
10
Prestige Elite R-8
Bold
111
Prestige Elite R-8
Italic
P/L
12
10
112
Prestige Elite Legal
Prestige Elite Legal
P/L
P/L
15
12
7
219
97
10
133
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Prestige Elite Legal
Bold
P/L
12
10
98
Prestige Elite Legal
Italic
P/L
12
10
99
Letter Gothic R-8
Letter Gothic R-8
P/L
P/L
P/L
27
12
12
3.6
12
12
290
87
Letter Gothic R-8
Bold
110
Letter Gothic R-8
Italic
P/L
12
12
109
Letter Gothic Legal
Letter Gothic Legal
P/L
P/L
P/L
27
12
12
3.6
12
12
292
90
Letter Gothic Legal
Bold
107
Letter Gothic Legal
Italic
P/L
P/L
12
12
16
106
434
Presentation ASCII
Bold
8.1
134
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Presentation Legal
Bold
P/L
8.1
16
431
Persuasive Presentations Cartridge
Letter Gothic ASCII
Letter Gothic Legal
P/L
P/L
P/L
10
10
10
14
14
14
39
38
6
Presentation ASCII
Bold
Presentation Legal
Bold
P/L
P/L
P/L
P/L
P/L
P/L
10
14
16
16
18
18
24
7
Presentation ASCII
Bold
8.1
8.1
6.5
6.5
5.7
434
431
435
432
436
Presentation Legal
Bold
Presentation ASCII
Bold
Presentation Legal
Bold
Presentation ASCII
Bold
135
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Presentation Legal
Bold
P/L
5.7
24
433
Helv Outline
Helv Outline
Serifa
ASCII
Legal
ASCII
Legal
LinDrw
PCLin
P/L
P/L
P/L
P/L
P/L
P/L
Prop.
Prop.
Prop.
Prop.
10
24
24
24
24
14
14
34115
34116
34215
34216
31
Serifa
Line Draw
PC Line
Bold
10
32
Forms, Etc. Cartridge
Univers
Univers
R-8
R-8
P/L
P/L
P/L
P/L
P/L
P/L
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
6
33101
33102
33122
33123
33124
33125
8
Univers Bold R-8
Univers Bold R-8
Univers Bold R-8
Univers Bold R-8
8
10
12
14
136
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Helv Cond.
Black Bold
TaxNum
P/L
Prop.
24
34128
OCR-A
OCR-A
P
10
10
12
12
19
30
Tax Line
Draw
TaxLin Drw
P/L
Bar Codes & More Cartridge
Letter Gothic R-8
P/L
P/L
P/L
P
15
9.5
12
14
12
12
12
12
12
230
87
Letter Gothic R-8
12
Letter Gothic R-8
10
40
OCR-A
OCR-A
OCR-B
3 of 9
3 of 9
UPC
10
19
OCR-B
P
10
3
Code 3 of 9
Code 3 of 9
P
8.1
4.6
Prop.
60
P
240
170
EAN/UPC
10 Mil
P
EAN/UPC
UPC
P
Prop.
12
171
13 Mil Bold
137
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
USPS Zip
ZIP
P/L
P/L
Prop.
10
12
12
172
33
Line Draw
LinDrw
Text Equations
Prestige Elite R-8
Prestige Elite R-8
Prestige Elite R-8
P
P
P
P
15
7
221
256
86
17.1
12
7
10
10
Prestige Elite R-8
Bold
12
111
Prestige Elite R-8
Italic
P
12
10
112
CG Times
CG Times
R-8
R-8
R-8
P
P
P
Prop.
Prop.
Prop.
8
157
158
159
10
10
CG Times
Bold
CG Times
Italic
R-8
P
Prop.
10
155
138
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Global Text Cartridge
CG Century
Schoolbook
R-9
R-8
R-8
R-8
R-8
R-8
P/L
P/L
P/L
P/L
P/L
P/L
Prop.
Prop.
Prop.
Prop.
Prop.
Prop.
8
16950
16951
16971
17079
33335
33357
CG Century
Schoolbook
10
10
10
10
14
CG Century
Schlbk Bold
CG Century
Schlbk Italic
CG
Triumvirate
CG Trium-
virate Bold
Pretty Faces Cartridge
Microstyle
ASCII
ASCII
P
P
Prop.
Prop.
18
36
5910
5920
Microstyle
Bold
Hobo
ASCII
P
Prop.
30
5930
Medium
139
A/C-7P RO, A/C-7S RO
Table A-1 (continued). Selecting Standard Fonts.
Typeface
Symbol Set
Orient.
Pitch
Point
Size
Typestyle
No.
Hobo
ASCII
P
Prop.
14
5940
Medium
Thunderbird
ASCII
ASCII
P
P
Prop.
Prop.
54
18
5950
5960
Signet
Roundhand
Signet
ASCII
P
Prop.
14
5970
Roundhand
ITC Dingbats ITC
ITC Dingbats ITC
P
P
Prop.
Prop.
36
18
5980
5990
140
A/C-7P RO, A/C-7S RO
Appendix B: Character Sets
The IBM 3812-1 printer emulation
supports both the Roman 8
character set and Code Page 850.
The IBM 4214, 5224,5225, and 5256
printer emulations support both the
Code Page 850 and Code Page 437
character sets. The selection
between the two available character
sets decides which is used when a
font supports both. Refer to the
printer’s user’s guide for illustrations
and information on character sets.
141
A/C-7P RO, A/C-7S RO
0
1
2
3
0
1
2
3
4
5
6
7
8
9
:
4
@
A
B
C
D
E
F
5
P
Q
R
S
T
U
V
W
X
Y
Z
[
6
`
7
8
9
A
B
C
â
ê
ô
û
á
é
ó
ú
à
è
ò
ù
ä
ë
ö
ü
D
Å
î
E
Á
Ä
ã
F
NUL DLE SP
0
1
p
—
SOH DC1
!
a
b
c
d
e
f
q
r
À
Â
È
Ê
Ë
Î
STX DC2
2
"
Ø
Æ
å
ETX DC3
3
#
s
t
°
Ç
ç
D
d
EOT DC4
4
$
ENQ NAK
5
%
u
v
w
x
y
z
{
í
Í
ACK SYN
–
6
&
Ñ
ñ
¡
ø
æ
Ä
ì
Ì
1/4
BEL ETB
7
'
G
H
I
g
h
i
Ï
Ó
Ò
Õ
õ
BS CAN
1/2
ª
8
(
´
HT
EM
9
)
*
+
,
`
¿
LF SUB
VT ESC
º
A
B
C
D
E
F
J
j
ˆ
Ö
Ü
É
ï
«
;
K
L
k
l
¨
£
¥
§
ƒ
¢
S
s
FF
CR
SO
SI
FS
GS
RS
US
<
=
>
?
\
|
˜
»
-
M
N
O
]
m
n
o
}
Ù
Û
£
Ú
Ÿ
ÿ
.
^
~
ß
Ô
DEL
/
_
Figure B-1. Roman 8.
142
A/C-7P RO, A/C-7S RO
0
1
2
3
0
1
2
3
4
5
6
7
8
9
:
4
@
A
B
C
D
E
F
5
P
Q
R
S
T
U
V
W
X
Y
Z
[
6
`
7
8
Ç
ü
é
â
ä
à
å
ç
ê
ë
è
ï
9
A
á
í
B
C
D
õ
D
Ê
Ë
È
ì
E
Ó
ß
F
0
1
p
É
–
!
"
a
b
c
d
e
f
q
r
æ
Æ
ô
↕
!!
¶
§
2
ó
ú
ñ
Ñ
ª
Ô
Ò
õ
=
3/4
♥
♦
♣
♠
•
3
#
$
%
&
'
s
t
4
ö
¶
§
÷
‚
Á
Â
À
©
5
u
v
w
x
y
z
{
ò
Õ
µ
ã
6
û
Í
↕
Ã
7
G
H
I
g
h
i
ù
º
Î
↓
8
(
ÿ
¿
®
Ï
°
¨
↓
→
←
9
)
Ö
Ü
ø
£
Ú
Û
Ù
y
A
B
C
D
E
F
*
J
j
¬
•
1/2
1
+
,
;
K
L
k
l
¬
1/4
3
2
<
=
>
?
\
|
î
↔
L
¢
¥
-
M
N
O
]
m
n
o
}
ì
Ø
¡
Y
¯
Ì
.
^
~
Ä
Å
«
»
M
/
_
ƒ
’
Figure B-2. Code Page 850.
143
A/C-7P RO, A/C-7S RO
Appendix C: Serial-Port Specifications
The A/C-7S RO uses a standard, RS-232-C, 25-pin serial printer cable for
connection to a serial printer and for connection to a serial PC/LAN print
server port.
The A/C-7S RO’s input and output connectors use the same pin
assignments. They are:
Shell:
1:
Chassis Ground
Chassis Ground
2:
Transmit (TXD) .........................output
Receive (RXD)..........................input
Request To Send (RTS) ...........output
Clear To Send (CTS)................input
Data Set Ready (DSR) .............input
Signal Ground
3:
4:
5:
6:
7:
8-19:
20:
No connection
Data Terminal Ready (DTR) .....output
Figure C-1. Input and Output Connector Pinout.
The serial printer cable shipped with the A/C-7S RO has the following pin
assignments:
DB25F..............................................DB25M
Shell.................................................Shell
2.......................................................3
3.......................................................2
5, 6, 8...............................................20
7.......................................................7
20.....................................................5,6,8
Figure C-2. Serial Printer Cable Pinout.
144
A/C-7P RO, A/C-7S RO
This pin out will work with most PCs and printers (i.e. the supplied cable
can be used as either sharing cable or printer cable). When used to connect
the printer to the print box, the cable’s female side (DB25F) is connected to
the A/C-7S RO. When used as a sharing cable, the male end (DB25M) is
connected to the A/C-7S RO.
145
A/C-7P RO, A/C-7S RO
Appendix D: Parallel-Port Specifications
The A/C-7P RO uses standard 36-pin/25-pin Centronics printer cables for
connection to a parallel printer and to connect a parallel PC/LAN printer
server port.
The 25-pin connector on the A/C-7P RO label “Parallel Out To Printer” has
the following pin assignments:
Table D-1. 25-Pin Connector Pinout.
Pin Number
Direction
Output
Output
Input
Name
1
nStrobe
2-9
10
Data 1 - Data 8
nAck
11
Input
Busy
12
Input
PError
13
Input
Select
14
Output
Input
nAutoFd (always high)
nFault
15
16
Output
Output
nInit (always high)
nSelectIn (always high)
Signal Ground
Chassis Ground
17
18-25
Shell
146
A/C-7P RO, A/C-7S RO
The 36-pin connector on the A/C-7P RO labeled “Parallel In From
PC/LAN” (TxP plus) and “Parallel Setup Port From PC/LAN” uses the
following pin assignment:
Table D-2. 36-Pin Connector Pinout.
Pin Number
Direction
Input
Name
1
nStrobe
2-9
10
Input
Data 1 - Data 8
nAck
Output
Output
Output
Output
11
Busy
12
PError
13
Select
14, 15
16
No connection
Signal Ground
Chassis Ground
Optional +5V (350 mA max)
Signal Ground
17
18
Output
Input
19-30
31
nSelectIn (an Acknowledge
will be generated in response
to this input going active,
but the A/C-7P RO will
not be reset)
32
Input
nFault
34-36
Shell
No connection
Chassis Ground
147
A/C-7P RO, A/C-7S RO
Appendix E: Transferring Power
to Pin 18
To transfer power to pin 18 of the parallel input connector of the A/C-7P RO,
you must move a jumper on the A/C-7P RO board. To move this jumper do the
following:
1. Power off the printer, the A/C-7P RO, and the attached PC or LAN print
server.
2. Disconnect all cables from the A/C-7P RO.
3. Remove the two black screws from the outside of the back panel.
4. Pull out the A/C-7P RO’s back panel, together with the attached board.
5. Locate the jumper in the lower left corner, right above the parallel
connector labeled “Parallel In From PC/LAN” (see Figure E-1).
6. Remove the black jumper from the pin, then reinsert it covering both pins
(see Figures E-1a and E1-b).
Figure E-1b.
Figure E-1a.
Figure E-1. Jumpers.
148
A/C-7P RO, A/C-7S RO
7. Slide the A/C-7 RO board back
into the bottom groove of the
chassis.
8. Tighten the black screws on the
back panel.
9. Connect the printer and the
PC/LAN to the A/C-7 RO, then
connect the power cord.
10. Power on the printer, then the
A/C-7 RO.
149
© Copyright 2000. Black Box Corporation. All rights reserved.
1000 Park Drive
•
Lawrence, PA 15055-1018
•
724-746-5500
•
Fax 724-746-0746
|