Setting up printer in AIX 6.1

Thread Tools Search this Thread
Operating Systems AIX Setting up printer in AIX 6.1
# 1  
Old 03-26-2014
Setting up printer in AIX 6.1

Hi All,

I have been trying to configure an HP laserjet printer on an AIX6.1 server through network as well as remote.
This is the first time i am configuring a printer on AIX.
I had been using smitty butwhile configuring, i am getting blank/stuck at "software to support the printer attachment type you selected is not installed".
I had compared with other server on which hp printers were configured and still there was no software there also and the packages for both this servers are same.
Need your valuable knowledge and help in configuring this.

# 2  
Old 03-26-2014
You can use a short cut (smitty spooler --> add a print queue) or
Run smitty printer --> print spooling --> add a print queue --> remote --> standard processing

                           Add a Standard Remote Print Queue

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* Name of QUEUE to add                               [HPLaserJet]
* HOSTNAME of remote server                          []
* Name of QUEUE on remote server                     [AIX-HPLJ]
  Type of print spooler on remote server              AIX Version 3 or 4             +
  Backend TIME OUT period (minutes)                  []                               #
  Send control file first?                            no                             +
  Restrict port used below 1023?                      no                             +
  To turn on debugging, specify output               []
      file pathname
  DESCRIPTION of printer on remote server            []

* Where Name of queue is your printer name (you can choose any name) and you will use this name to print any job.
* Hostname of remote server is IP address of the HP LaserJet printer.

Once you configured it, you can check it by printing a job
lpstat   --> to check the status of queue(s)
lp -d <print queue>  file name  --> to print
the file which is updated is "/etc/qconfig" (here in this file you should see the queues you just added.

Hope this helps.
This User Gave Thanks to ibmtech For This Post:
# 3  
Old 04-03-2014
Hi Sarfaraz,

Thanks for the post. This has helped me but i am unable to give test prints.
Can you please let me know how to give test prints and understand how it is working.
I had given test print but not sure why it hasnt been generated. Checked the queue using lpstat -p<printer> but the status shows as down and when i restart from smitty, for sometime it will be connect and again it will be down.

I checked with the printer and it is up and running but not sure where i am getting wrong that i am not able to print.

Can you please let me know how to give test print and check the job number and status and does it show any output after the printing.

# 4  
Old 04-03-2014
But id you got other servers configured cant you see how the printers are defined?

I would like to help but the AIX I use is configured with CUPS... because I could not get the printers to understand the options... ( at the time.. but I have been fooled by AIX team...)
The only other servers I administer are legacies 4.3 and 4.2.1 no one else interested in them ( though very important things run on them...
# 5  
Old 04-03-2014
Hi Vbe,

This is the first server on this server as well as in AIX environment.
Earlier we had in solaris servers but there i had used hppi for configuring hp printers.

Any help would be appreciated a lot.
As i am configuring on a test server first to make sure so that i can proceed on prod server later but the client is in a hurry..Smilie

# 6  
Old 04-03-2014
To take the queue up use

qadm -U <queue>

To quickly check if a network-attached printer is reachable (communication can be interrupted because of a lot of things - firewalls blocking the port, misconfigured routing, ....) use the following: the lpd operates on port 515 (see also /etc/services) and the telnet client allows to specify a port:

telnet <printer-ip> 515

This will NOT let you establish a connection or print something, but a banner from the printers network interface (usually a JetDirect Card) should greet you. It states the firmware revision, hostname of the printer, etc.. (Sorry, no test hardware to try it, so i have to be a bit vague.) This way you can verify the connection itself is unobstructed.

Another pointer: queues and queue devices are defined in the file /etc/qconfig. This is a clear-text file but it has to be translated into a binary form to be used (/etc/qconfig.bin). /usr/lib/lpd/digest does this, see man qconfig for details.

I hope this helps.

# 7  
Old 04-03-2014
What did you enter in HOSTNAME of remote server, I say you better enter the IP address.
Also, make sure you follow the steps properly.

To print enter the below command
lp -d <print queue name> <filename>

I just did a test on my HP LaserJet Printer 4200 Series and AIX7.1, it worked like a charm.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Setting Printer margins

Hi, I have Aix 6.1. Installed the Ricoh Unix print filter, to allow us to print to a Ricoh 5001. So I send text documents to the printer using the qprt command and set the print job finishing options using the Ricoh commands passed using -o options. Eg. qprt -Pfin200 -o collate=on -o text... (7 Replies)
Discussion started by: max5000
7 Replies

2. UNIX for Advanced & Expert Users

Printer setting in Solaris

I have Solaris-10 server and want to change default printer setting to Simplex (Instead of duplex, which is set currently). I am not able to see anything in conf file related to this setting. Please help (2 Replies)
Discussion started by: solaris_1977
2 Replies

3. Emergency UNIX and Linux Support

Change printer setting

I have Solaris-10 server and want to change default printer setting to Simplex (Instead of duplex, which is set currently). I am not able to see anything in conf file related to this setting. Please help. (1 Reply)
Discussion started by: solaris_1977
1 Replies

4. HP-UX

Setting printer paper length using unix commands

Hi Guys, I have been trying to resolve a printing problem but nothing works out . I have an Epson LQ 680 (dot matrix printer) . I need to print a file . The paper length should be 34 .Left margin should be 5. I have tried the following things after researching from the man pages. pr -t... (24 Replies)
Discussion started by: Kar1234
24 Replies

5. AIX

Setting up Printer

Hi All, This is katherine and I am kind of new to AIX and has got the following request to set up the printer. Can anybody guide me to fullfill the following request step by step. The request is as follows: "We have been asked to set up the following printer in Oracle: UNIX queue ... (1 Reply)
Discussion started by: katherine2008
1 Replies

6. AIX

Setting up Local printer AIX 5

Hi folks need some help here. We have a RS6000 running AIX. It is almost never used anymore, but we need to print off some data. I have a paralell printer conected to the parrallel port, but have no idea where to go from here. The printer was originall named named LP01. If the users telnetinto the... (2 Replies)
Discussion started by: prator
2 Replies

7. AIX

AIX Printer problem

Hi, Has anyone encountered the error below. I have tried to startup the printer but the error keep showing up. Please help. Thanks. Queue Dev Status Job Files User PP % Blks Cp Rnk ------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---... (1 Reply)
Discussion started by: sodapop
1 Replies

8. UNIX for Advanced & Expert Users

Solaris 8 setting up a remote printer queue

I have a printer installed over ADSL to a router at a remote location. A Windows printer queue has been setup and working and I can ping the IP address from the Solaris server. I now want to add a printer queue for this printer under Solaris, but I am unsure how to setup a remote printer queue.... (0 Replies)
Discussion started by: miredale
0 Replies

9. UNIX for Dummies Questions & Answers

Setting a HP printer under Solaris 9

Hello. I am trying to make work HP printer Deskjet 692C. I have Solaris 9 x86. I tried to use admintool: I choosed 'HP-printer' and 'Postscript filter' options. When I want to print something, instead of the text, the printer prints many pages of some kind of code or whatever... ... (1 Reply)
Discussion started by: Peter123456789
1 Replies

10. UNIX for Dummies Questions & Answers

setting up a network printer

Hello people, I'm attempting to setup a printer connection to a printer running off the NT printer server, but with little success. I'm using the admintool, go to ADD printers...where it offers 'local' and 'access to printer'. I have chosen the 'access to printer' option as i'm attempting to... (1 Reply)
Discussion started by: colesy
1 Replies
Login or Register to Ask a Question