1832552 Members
5838 Online
110043 Solutions
New Discussion

Re: Printer issue

 
Ragu_5
Occasional Contributor

Printer issue

Hi
I have a weird printer setup. The physical HP printer is located in Dallas and has an IP address. The HPUX 11.0 system managing the print queues is located in Atlanta, GA. The TCP/IP port for these printqueus is located on a Windows 2003 box in California. There is a firewall between Atlanta and California but ports are wide open. I tested by pinging from the HPUX machine to the Windows 2003 box.
Now I have an existing printque called prndal1 on the HPUX box that points to the Windows 2003 box & works fine. Using SAM, I added 2 other printqueue (s) called prndal2, prndal3 exactly similar to prndal1 (remote printer). It asked me for the printer name (prndal2), remote system name (IP address of Windows 2003 server) and remote printer name (prndal2). Stopped lpsched and re-started for grins. However when I print from the HPUX machine (lp -dprndal2 test.txt) and check status using lpstat -p, it does not work. Can someone help here. Where does HPUX store printer configuration. Thx
Ragu
2 REPLIES 2
Geoff Wild
Honored Contributor

Re: Printer issue

Try adding from the command line instead:


lpadmin -v/dev/null -mrmodel -pprndal2 -ormwindowsserver.yourdomain.com -orpprndal2

Don't use ip address - use DNS - that way if they change the ip address - you don't have to re-create the queue...

As far as where things are:

/etc/lp
/var/spool/lp
/var/sam/lp
/var/adm/lp

Check for errors in /var/adm/lp/log

Run the scheduler with -v:

lpsched -v

Compare the interface scripts in /etc/lp with prndal1

Rgds...Geoff



Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Ragu_5
Occasional Contributor

Re: Printer issue

Thx, Geoff for your reply. I removed it from SAM and did it by command line. I presume no model info is required. I still cannot print. /var/adm/lp/log shows the name of the printjob.
Here is what I need. Help me "duplicate the existing printque prndal1 to prndal2. I need to change the IP, but everything else should be status quo. SAM does not have an option to edit or copy an existing printque. I looked at /etc/lp/interface and did a diff of prndal1 and prndal2, but it did not return anything. Where is the IP info stored. Thx
Ragu