Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hostname in remote queue

Status
Not open for further replies.

janvdv

Technical User
Nov 18, 2002
2
NL
Hi,

Where moving our novell queuebased printing to microsoft queues. In order to make this work we did change the queue and hostname in smit or with the chque command. After this it works fine!
But:
When asking for the queue status, the old hostname is displayed like this:
The old servername is fs1



epc02:/>lpstat -opr001
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
pr001 @fs1 READY
pr001: prn001 status: Idle

How can i change this, maybe you can tell me how to change a lot of queues without using smit.


Thanks
 
FYI
We are running aix 4.3.3 on a Bull escala
 

With remote queues without formatting (if the backend is rembak), then the only place that the information is stored is in /etc/qconfig (and then later in /etc/qconfig.bin). The key to the status message is the status filters. Often people use the AIX status filters when they should actually use the att or bsd short and long filters. First change the status filter through smit for the queue, then when you get what you want (you only have 3 choices, and basically AIX will be different, but bsd and att will often be the same.
If you are going to edit /etc/qconfig directly be very carefull, or you will have no printing. First make a backup copy. The tabs and spaces are very particular.
The lines you will change are like:
s_statfilter = /usr/lib/lpd/aixshort

You can try bsdshort or attshort for example.
These are shell scripts and you could even make your own. It seems to my memory that an AWK script is used to format the output.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top