Thursday, April 24, 2008

How to install new printer in IBM AIX box

How to install new printer in IBM AIX box

Step I:

To add hostname add by doing
#vi /etc/hosts
add the ipaddress and hostname there:
for example 172.16.0.157 26-75

Step II:

The file set is: printers.hpJetDirect.attach.
We need to install it from the AIX Base Media cd's volume 3.
Only need to re-install that one fileset.
Will not lose any settings.

#smitty install_all

select input device of cdrom drive or hit f4 to bring up a list and select cdrom for software to install.
Type in: printers.hpJetDirect.attach <--- dont forget the capital J and D.
Press "ESC 0" to get out.

Step III

To add printq:


#smitty mkpq

hpJetDirect Network Printer
IBM
Other
Generic
select number 2 (Do NOT make this system a BOOTP/TFTP server )
PCL Emulation--> enter any name (26-75)
then enter the HostName of the Jet card. --> enter the host name (26-75)

hit enter, the printq should be created.

run lpstat--> to make sure that printq in the ready state.
or lpstat -a26-75

To print:

#qprt -P q_name file_name_to_print