Operating System - HP-UX
1832275 Members
2245 Online
110041 Solutions
New Discussion

Printer configuration in hpux

 
David_550
Advisor

Printer configuration in hpux

Hi, i have a problem with the printer configuration. The impresion output is unlined. Mi model printer is: Hewlett-Packard Color LaserJet 4500 PCL Modelo and Jet Direct: J3110A.

I thinking map the priter configuration file with sam with this file (HPLJ4color_4Mcolor), but i can't edit (/etc/X11/C/print/attributes/printer) the tpsedit
present the following errors:
#tpsedit /etc/X11/C/print/attributes/printer
tpsconvert: error: unable to open display :0.0
tpsedit: error calling /usr/sbin/tpsconvert

Somebody know the problem,
Please help

Thanks
David
8 REPLIES 8
Geoff Wild
Honored Contributor

Re: Printer configuration in hpux

Says "unable to open display :0.0"

Are you running X?

Did you xhost + YOURHOST

Are you running telnet from Windows?

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.
Tom Maloy
Respected Contributor

Re: Printer configuration in hpux

Per "man tpsedit":

DISPLAY Used by tpsconvert to specify an X Server to use for conversion of Compound Text attributes values. Neither tpsedit nor tpsconvert use the X Server for any other reason. Setting this variable overrides the default display specification :0.0. If no X Server is found, tpsconvert will fail.

Looks like your DISPLAY variable is not set.

You will have to allow access by X (open X emulator on a PC, do xhost on Unix console), set and export your DISPLAY variable, and try it again.

Tom
Carpe diem!
David_550
Advisor

Re: Printer configuration in hpux

Thanks, i can edit it. But now when i am printing a file, the impresion is not aligned.

This is a example:

This is
a document
and test the
impresion

what is the problem? Driver???
Tanks

David
D Block 2
Respected Contributor

Re: Printer configuration in hpux

David,

can you reset the printer ? Looks like your Line Margins are causing the wrap in line-length. good luck
Golf is a Good Walk Spoiled, Mark Twain.
David_550
Advisor

Re: Printer configuration in hpux

Sorry, the impresion is not lined in this form:
this is a
---------->test the impresion
----------------------------->in hpux
------------------------------------->11.0

Is the driver the problem?

Thanks

David
Rajesh D L
Frequent Advisor

Re: Printer configuration in hpux

Hi,

The Carriage Return is not happening with this printer. Not sure if its a driver problem. Is the same printer working fine with some other server??

regards,
RDL.
David_550
Advisor

Re: Printer configuration in hpux

Yes , it works fine with my windows.

Thanks
David_550
Advisor

Re: Printer configuration in hpux

My printer is HP color laserjet 4500, i don´t see the driver for this printer. Somebody can tell me, are some depot for printer driver actualization?? or how i can emulate de printer and not present this error????

Thank