add a HP Printer to AIX Pronto

add a HP Printer to AIX Pronto

Postby stephen » Mon Oct 06, 2008 3:44 pm

These are the steps to add a printer to Pronto running on a IBM AIX Server
1. set an ip address on the printer
2. edit /etc/hosts and enter name and ip address for printer
3. run smit
Devices
Printer/Plotter
Print Spooling
Add a Print Queue
hpJetDirect
Hewlett Packard
Other
generic Generic Printer
do not make this a bootp/tftp Server
Names of New Print Queue to add
PCL Emulation [queuename]
HOSTNAME [hostname]
PORT 9100
press ENTER

the above adds an entry in the /etc/qconfig file for the queue and device

4. Add a pronto printer name in the pronto system pointing to the queue name
vi /pro/pronto/lib/printers

5. You may need to set up a new printcap printer definition.
vi /pro/pronto/lib/printcap

6. There is a place in Pronto where you can manipulate the forms.

This is some notes regarding various PCL codes which may help decode the printcap file
laser-12cpi-land,

\EE reset,
\E&l1O portrait,
\E&l2E Top Margin 2 line,
\Ec&l8D 8 lines/inch
\Ec&l77F text length 77 lines
\E(8U roman-8,
\E(s0P mono space,
\E&k2G Sets CR=CR LF=CR-LF FF=CR-FF
\E(s0S Upright Solid
\E(s0B Bold Off
\E&d@ Underline off
\E&a1L Left Margin to column 1
\E&l5.3333C Set Vertical Motion Index to 5.3333 to get 9 lines per inch

\E(s0P Selects MonoSpacing
\E(s10H Selects 10 Characters per inch
\E(s12V Selects 12pt size


\E&a5L [1B][26][61][35][4C] Sets left margin to column 5
\E&a70M [1B][26][61][37][30][4D] Sets right margin to column 70
\E&l50P [1B][26][6C][35][30][50] Sets page length to 50 lines
\E&l2E [1B][26][6C][32][45] Sets top margin to 2 lines
\E&l42F [1B][26][6C][34][32][46] Sets text length to 42 lines
\Ec&l6D 6 lines/inch


is1=\EE\E&l1O\E(8U\E(s0P\E&k2G\E(s0B\E&d@\E&a5L,
rs1=\EE,
form=,
font0=\E(s0P\E(s10H\E(s12V
stephen
 
Posts: 507
Joined: Thu Feb 09, 2006 9:37 am
Location: Brisbane

Return to IBM AIX Support Notes

Who is online

Users browsing this forum: No registered users and 2 guests

cron