1847023 Members
4153 Online
110258 Solutions
New Discussion

printer problem

 
ricky_1
Frequent Advisor

printer problem

HI All,

I have a problem with my printer configuration,It is network laser jet printer.
When i configure it as remote it works fine. but if try to configure it thru jetadmin it does not print giving following error.
-----------------------------------------------
psgbp130-513 root psgbp130 Nov 20 10:59
psgbp130_1-514 root psgbp130_1 Nov 20 11:00
/opt/hpnp/bin/xjjm :0 psgbp130_1-514 &
/etc/lp/interface/model.orig/psgbp130_1
/opt/hpnp/bin/hpnpf -j psgbp130_1-514+root -b 883 -a1 -x psgbp130
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can't open display: :0
Error: Couldn't find per display information
-----------------------------------------------

where as the status shown is as follows:

# lpstat -v
device for psgbp130_1: /dev/null


Please help!

thanxs
Believe in Yourself!!
3 REPLIES 3
Scott Van Kalken
Esteemed Contributor

Re: printer problem

it looks as though you're trying to run an Xwindows version of jetadmin and you don't have a valid xserver running on your PC / workstation. It could also just be the display variable being incorrectly set.

just try jetadmin as one word.

This should bring up the connamd line version of jetadmin.
Rob Galloway_1
Frequent Advisor

Re: printer problem

If you are trying to run the X version ensure that your DISPLAY variable is set and exported.
Also ensure that the host you are running jetadmin from is allowed to serve X to you local host.
This can be done permanently by creating an /etc/X0.hosts file with the following line
INET:remotehostname
or
temporarily by typing
xhost + remotehostname

to remove this type xhost - remotehostname.
Experience is a hard teacher. It tests first and teaches afterward.
ricky_1
Frequent Advisor

Re: printer problem

I dont have problem in configuring it thru jetadmin,the command line version works and i go thru this configuration.Everything seems fine after configuration.But then printer does not print !.Whereas the same printer if configured as remote printer works.........Mind you it is a network printer.
Believe in Yourself!!