Operating System - HP-UX
1834711 Members
2253 Online
110069 Solutions
New Discussion

check toshiba printer configuration on HPUX

 
SOLVED
Go to solution
Sunny Jaisinghani
Trusted Contributor

check toshiba printer configuration on HPUX

Hello All,

I had to create a NON HP spooler on a HPUX server.
The printer model was Toshiba eStudio850

there is a similar printer which exists on that server.

i used the below command to configure the printer

/usr/sbin/lpadmin -pXX99 -mrmodel -ocmrcmodel -osmrsmodel -v/dev/null -ormXX99.xx.xx.xx.com -orpXX99

the printer was configured and enabled

Later on i declared the printer in oracle application

Now the problem is that the new printer i configured is not printing oracle reports but can print normal requests.
The printer which was already present is working fine for oracle appliaction.

So before i chcek the issue with oracle application i want to make sure if the printer configuration is correct in HPUX. I want to check the printer configuration for both printers. old and new one

How do i do it. hppi or hpnpadmin wont work as the printer is non HP

Awaiting your response

Thanks in advance

Sunny
11 REPLIES 11
Rasheed Tamton
Honored Contributor

Re: check toshiba printer configuration on HPUX

Hi Sunny,

Check /var/adm/lp/log for msgs/errors.

Did you check the permission of the new printer files.

Rgds.
Sunny Jaisinghani
Trusted Contributor

Re: check toshiba printer configuration on HPUX

Following are the permissions of the printer files in /etc/lp/interfaces

-rwxr-xr-x 1 lp lp 5265 Dec 1 2006 XX98
-rwxr-xr-x 1 lp lp 5265 May 28 16:46 XX99


Which other files and their permissions do i need to check

I do not see any errors in the /va/adm/lp/log

Also 1 thing i noticed... the printer gets disabled after some time... even if i enable the printer it shows it is disabled in lpstat -p
also there are many lpsched processes running.
I did lpshut and lpsched and then enabled the printer.. now it is enabled but i am sure after some time it will get disabled...
how do i resolve this behaviour

Thanks
sunny
Rasheed Tamton
Honored Contributor

Re: check toshiba printer configuration on HPUX

Restart the lpsched with lpsched -v -a. Try to print and look the log files in /var/adm/lp

Files to check:
/etc/lp/interface
/var/spool/lp/interface/
Rasheed Tamton
Honored Contributor

Re: check toshiba printer configuration on HPUX

Check this link and look for Steve's script. Might help.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=34912
Sunny Jaisinghani
Trusted Contributor

Re: check toshiba printer configuration on HPUX

Whenever i try to print a file the printer gets disabled. it doesn't get enabled unless i restart the lpsched.

the messages in /var/adm/lp/log shows the following output

***** LP LOG: Jun 1 15:24 *****
FIFO: Jun 1 15:24 e XX99
FIFO: Jun 1 15:24 r XX99 9 root euxp13 0

and i see lots of lpsched processes running when the printer gets disabled.
Sunny Jaisinghani
Trusted Contributor

Re: check toshiba printer configuration on HPUX

I get a return code of 1

euxp13:root:/var/adm/lp> lpstat -pXX99
printer XX99 disabled since Jun 1 15:32 -
error 1 returned
fence priority : 0

Rasheed Tamton
Honored Contributor

Re: check toshiba printer configuration on HPUX

Is there any communication problem with this printer.

Is it defined on the /etc/hosts.

Can you re-define the printer again, after removing all the queues.
Sunny Jaisinghani
Trusted Contributor

Re: check toshiba printer configuration on HPUX

There is no problem in communication with the printer...

It is defined in DNS and gets resolved properly.

I have tried redefining the printer but there is no change.

Rasheed Tamton
Honored Contributor

Re: check toshiba printer configuration on HPUX

I think the disabling is because of either powersave feature of the printer or some idle timout value. Can you check the printer menu to check whether any values are defined for timeout.

Also check the
/etc/lp/interface/


Rasheed Tamton
Honored Contributor
Solution

Re: check toshiba printer configuration on HPUX

Hi Sunny,

I was looking my old notes. Can you test it by adding through SAM as remote printer and see whether you get any difference. May be it needs more options to pass to the lpadmin command.


Rgds.
Sunny Jaisinghani
Trusted Contributor

Re: check toshiba printer configuration on HPUX

Hello Rasheed,

Configuring the printer through SAM worked.

The command that i had used created a local printer.

I created a new remote printer and it is printing now.

Thanks a lot.