Help with /etc/qconfig file


 
Thread Tools Search this Thread
Operating Systems AIX Help with /etc/qconfig file
# 1  
Old 08-16-2012
Help with /etc/qconfig file

Hi

Initially our printers are directly connected to SAA. But now connections to the printers go through a VPN. Therefore it is necessary to modify the IPs declared on the server to go through the NATTED adress corresponding to the VPN, instead of the real address of the printer.

We got a list of new IP addresses which has to be updated in the /etc/qconfig file by replacing the old IP addresses.

Also I found that qdaemon is running in the server. My doubt is that will it impact anything if I edit the /etc/qconfig file?
# 2  
Old 08-16-2012
Quote:
Originally Posted by newtoaixos
My doubt is that will it impact anything if I edit the /etc/qconfig file?
Most probably (and hopefully!) editing the /etc/qconfig file will "impact anything" because otherwise the file would be superfluous, no?

Edit the file, then stop and empty all the queues. Restart the queueing system to read in the new configuration.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 3  
Old 08-16-2012
Thanks bakunin.

Can you please let me know the commands to ge given after editing the /etc/qconfig file.
# 4  
Old 08-16-2012
Quote:
Originally Posted by newtoaixos
Can you please let me know the commands to ge given
AIX maintains several parallel command frontends (Sys-V-like, BSD-like, AIX-own) to the printing system and you can use any of them. See the man page of (my personal favourite) qadm for how to restart the print queues.

For the really daring there is still the "classical" way of sending a kill -1 to the queue manager to make it read in the new configuration. Last time i checked this worked too, but in all honesty i haven't had anything to do with printing in AIX in years - AIX makes for a very poor print server, IMHO.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script (sh file) logic to compare contents of one file with another file and output to file

Shell script logic Hi I have 2 input files like with file 1 content as (file1) "BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt File 2 contents as fle(2) "BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt I want to get... (22 Replies)
Discussion started by: pottic
22 Replies

2. Shell Programming and Scripting

Compare 2 text file with 1 column in each file and write mismatch data to 3rd file

Hi, I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file. File1 - file2 = file3 wc -l file1.txt 58112 wc -l file2.txt 55260 head -5 file1.txt 101214200123 101214700300 101250030067 101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies

3. Shell Programming and Scripting

Match list of strings in File A and compare with File B, C and write to a output file in CSV format

Hi Friends, I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving... File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies

4. AIX

defining a printer in qconfig

I've got a modified samba script (named it winprint) that I can use to print out to a to a shared Win Network printer from an AIX machine. This is a modification of the samba provided smbprint script changed to work under AIX as the backend for a queue. It does not read a config file I can print... (0 Replies)
Discussion started by: matheeq
0 Replies
Login or Register to Ask a Question