1837002 Members
1788 Online
110111 Solutions
New Discussion

HP-UX 11.0 printer issue

 
SOLVED
Go to solution
Kelli Ward
Trusted Contributor

HP-UX 11.0 printer issue

Hi all,

I've heard tell of an HP-UX 11.0 SAM & CDE issue where if you have to set up a remote printer a second time, it will not be recognized. I was asked to repair an issue with a printer. When I came upon it, it was misconfigured. I removed it and reconfigured it. Now neither CDE nor SAM will recognize the printer, even after a restart. I can print to the printer just fine on the command line. Has anyone heard if this issue is true? If so, does anyone know if there is an available repair patch? If not, I'll keep plugging away.

Thanks,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
13 REPLIES 13
Mark Vollmers
Esteemed Contributor

Re: HP-UX 11.0 printer issue

Kelli-

I havn't heard of this, but have you tried to configure it through jetadmin from a prompt as opposed to thru SAM? Maybe you can see the printer there.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
S.K. Chan
Honored Contributor

Re: HP-UX 11.0 printer issue

I'm not sure how the printer was configured, I'm assuming you're using SAM ? Lets cleanup with the following process ... (eg: printer name is mylj4
Only do this if the printer exist in spooler. For example
# lpstat -t|grep mylj4
shows it's there
Now do ..
# lpshut
# touch /etc/lp/member/mylj4
# chown lp /etc/lp/member/mylj4
# touch /etc/lp/interface/mylj4
# chown lp /etc/lp/interface/mylj4
# cd /var/spool/lp/request
# mkdir mylj4
# chown lp mylj4
# lpadmin -xmylj4
# lpsched

Now go to SAM again and add it.
Kelli Ward
Trusted Contributor

Re: HP-UX 11.0 printer issue

I don't believe this system has jetadmin installed. I can check however.
Thanks,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Sanjay_6
Honored Contributor

Re: HP-UX 11.0 printer issue

Hi Kelli,

I don't think i've heard of anything like the one you are mentioning. It is true you have to configure the print manager under CDE to use the lp printers, but that does not seem like an issue over here. You problems seems like you had a remote printer, you removed the printer because you had some problem. Now you have added it again and it doesn't work with SAM or CDE. It was working okay with SAM and CDE earlier. Am i right.

If you are looking at Jetadmin, Jetadmin is to configure remote hp printer connected directly to the network. You cannot use jetadmin to configure a printer connected locally to another system. Such a printer should be configured as a remote printer only.

If you don't have jetadmin on your system and you want to download and install jetadmin, you can download it in this manner,

ftp ftp.hp.com
User: anonymous
Password:
bin
cd pub/networking/software
get HP10d621.SD (for hp-ux 10.20)
get HP11d621.SD (for hp-ux 11.0)


These files are in swinstall format.

Hope this helps.

Regds

Sanjay_6
Honored Contributor

Re: HP-UX 11.0 printer issue

Hi Kelli,

What is the error message you get from sam when you try to access this printer.

Regds
Kelli Ward
Trusted Contributor

Re: HP-UX 11.0 printer issue

Update - Hmmm. Maybe my engineering guy bamboozled me on the printer issue. :) He told me it was a documented problem.

At any rate, the remote printer never actually worked, as it was initially misconfigured. I rebuilt it and can get it to print via command line. I also now know I can (sneakily) execute dtlp and can print a file through CDE. The problem appears to be with Text Editor. It can't find the "X print server". I will check into installing JetAdmin on this machine. In the mean time, I will also see if I can't find out why text editor is being a pain.Points to follow.
Thanks all,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Sanjay_6
Honored Contributor

Re: HP-UX 11.0 printer issue

Kelli Ward
Trusted Contributor

Re: HP-UX 11.0 printer issue

That thread looks like it may just be what I need. I will check it as soon as I have a chance and post points accordingly.
Thanks Sanjay,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Kelli Ward
Trusted Contributor

Re: HP-UX 11.0 printer issue

Hi,
Unfortunately, my system was configured as stated in the thread.
Any more suggestions welcome.
Thanks All,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Sanjay_6
Honored Contributor
Solution

Re: HP-UX 11.0 printer issue

Hi Kelli,

Edit the file /etc/rc.config.d/desktop and add this line in the file,

DTPRTSVR=LP

Comment the line

DTPRTSVR=TPS

if it exist and try the print again. Do have the latest CDE patch on the system.

Hope this helps.

Regds
Kelli Ward
Trusted Contributor

Re: HP-UX 11.0 printer issue

I will check the line and let you know.
I doubt this system has the latest patches on it since it is someone's test system.
Would you happen to have the link to the patches? It would be greatly appreciated.
Thanks,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Mark Vollmers
Esteemed Contributor

Re: HP-UX 11.0 printer issue

Hi Kelli-

If you are looking to patch, you can do it a couple of ways. All of them are in the Maintenence page ( http://us-support2.external.hp.com/common/bin/doc.pl/sid=054f1a7801927a7817/screen=commonHome ). You can do a single patch, if you know what it is. You can grab a bundle, too. But the easiet way, if you want to do full-out, is to do the custom patch manager. This will allow you to run a script on your system and then have HP tell you what patches it suggests. It can be a large file, but you can remove what you don't want to bring.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
Kelli Ward
Trusted Contributor

Re: HP-UX 11.0 printer issue

That sounds like a great idea! Unfortunately, this particular system is behind a firewall and inaccessible to the internet. (My life is never that easy.)I will try the bundle idea. I can get it over to my system and then place it to the ailing server. I will call this message closed for the moment and bug you again if I have other question. I won't be able to get back to this problem for another couple of days. Thanks for all you help,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!