1827802 Members
2272 Online
109969 Solutions
New Discussion

printing issues

 
SOLVED
Go to solution
Brent Hardesty
Advisor

printing issues

I recently copied over my printer queues from my 10.2 to 11.0 HP-UX.
1. I used SAM to save my printer configuration
2. I tared /var/sam/lp
3. Used FTP to send over the tar file
4. Untared the file on new server
5. Used SAM to restore printers.
6. I copied over /etc/hosts file as well.

On new server...
1. I installed Jetdirect
2. I can enable/disable printers
3. Diagnostics in Jetdirect can see the printers

However when I print a file to the printer(s) (lp -d ) it hangs in the queue (lpstat -o).

Any ideas on what I am missing here....

Also, when I do an lpstat -o I get "no entries" ...on my current server I get "ready and waiting".....

Thanks
Brent
11 REPLIES 11
A. Clay Stephenson
Acclaimed Contributor

Re: printing issues

1) Do an lpshut on both boxes.

2) You need to tar /var/spool/lp and /etc/lp.

If you changed the path of JetAdmin your interface scripts in /var/spool/lp/interface
and /var/spool/interface/model.orig will need to be changed.

You also need to make sure than usr/spool is sybolically linked to /var/spool.

Perhaps the easist method is to usr sam to save the printer configuration and transfer the saved configuration file to the new box and then use sam to restore the configuration.

Regards, Clay
If it ain't broke, I can fix that.
Brent Hardesty
Advisor

Re: printing issues

Clay: I used SAM to save and restore my configuration from 10.2 to 11.0. So I shouldn't need to tar /etc/lp and /var/spool/lp....correct? /usr/spool is linked....

I am using JetDirect vs. JetAdmin....I dont believe the path has changed though....

Thanks,
Brent
A. Clay Stephenson
Acclaimed Contributor

Re: printing issues

The other than that can cause big problems with lp is file ownership and missing setuid bits.

Check permissions very carefully.

The puzzling thing is that since you used SA\M it should have worked. Perhaps you did not do an lpshut before the save or before the restore? Also, did you do an enable on each printer? You may also need to issue an accept command for each printer as well.

If it ain't broke, I can fix that.
Brent Hardesty
Advisor

Re: printing issues

Clay: Permissions are correct and printers are accepting...already checked...but thx for the ideas...

However, the one thing you mention, which I did not do was the lpshut on the 10.2 or the 11.0. However, I believe the spooler was not running on 11.0 when I did the restore. But when I did the save config on 10.2 it was running. Would that cause the issue?
A. Clay Stephenson
Acclaimed Contributor

Re: printing issues

Hi Brent,

It could though it usually works. I typically do the move manually and do not rely on SAM.
Also, I much prefer JetAdmin on UNIX boxes.

At this point, your first step is to check /var/spool/lp log and look for any clues after submitting a spool job. This will usually point you to the error.
I assume you have simply done an lpshut and an lpsched to force a reset of the lp subsystem.


If it ain't broke, I can fix that.
Brent Hardesty
Advisor

Re: printing issues

Clay: The log only contains the following...

Start: ssc-3 Mon Jul 2 13:42:59 EDT 2001
Start: ssc-3 Mon Jul 2 13:43:19 EDT 2001
Start: ssc-3 Mon Jul 2 13:43:39 EDT 2001
Start: ssc-3 Mon Jul 2 13:43:59 EDT 2001
Start: ssc-3 Mon Jul 2 13:44:19 EDT 2001
Start: ssc-3 Mon Jul 2 13:44:39 EDT 2001
Start: ssc-3 Mon Jul 2 13:44:59 EDT 2001

This start message repeats every 20 seconds until I 'cancel' the print job.....

As to Jetadmin...we use(d) it on 10.2 but it is being discontinued....
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: printing issues

Hi Brent,

The missing piece of data - I think you will find that your interface files are calling JetAdmin routines that do not exist.

You can still get the latest version of JetAdmin for 11.0 and 11i and they are as current as the 10.20 versions. They still work very well and im my humble opinion are better routines.

If it ain't broke, I can fix that.
Brent Hardesty
Advisor

Re: printing issues

Clay: That makes a lot of sense....I have searched for the latest Jetadmin but always came across the discontinuance page....do you know where I can download it?

Thanks for all of your help!!!! I will install JetAdmin and see if fixes my problem...
A. Clay Stephenson
Acclaimed Contributor

Re: printing issues

Hi:

Here's a link to the latest JetAdmin Software:
http://www.hp.com/cposupport/networking/software/hpwebjet_hpux11.selfx.html

The bad news is that only the Web Interface Version is now available. The character interface was discontinued on June 15, 2001.
If it ain't broke, I can fix that.
James_18
Valued Contributor

Re: printing issues

there is still a command line version much like Jetadmin, called Jetdirect Printer Installer. It is pretty much the same printer model scripts used and same communication stuff, just different directory names for the software.
Jim Turner
HPE Pro

Re: printing issues

Brent,

Courtesy of Rita Workman:
==========
ftp ftp.hp.com
cd /pub/networking/software
ls HP*

.... and voila...Jetadmin (HP10d621.SD or HP11d621.SD) software for your HPUX server.
==========

All The Best!
Jim