in Printer:
Go to printer pysically -> "test print" by pushing the button which generates an info page => record the ip and hostname (and queue name if exist)
in AIX:
A. run : vi /etc/hosts -> add the ip and hostname
test ping hostname of the printer
B. smit mkpq
configure remote printer
go to 3rd line options : local printer filtering (dont choose the 1st line -> standard printer)
Put the queuename : infoprint (just an example)
Put the hostname : XXXXXX (printer's ip or hostname listed /etc/hosts)
Put the remote queue : pr1 (this is a common queue name, other printer would be same or maybe lp1)
Choose the printer brand -> IBM -> Others -> Generic -> do not make BOOTP or network start
Note : we choose other as driver becuase this is an old printer
C. Tested by:
lpstat -> Checking if the status is READY, not DOWN.
lp -dtest2 /etc/hosts -> will print a singe line
lp /etc/hosts -> will print whole file
lpr -P queuename /etc/hosts -> will print a file in particular queue name
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment