1832510 Members
4380 Online
110043 Solutions
New Discussion

Re: Printing on CDE!

 
SOLVED
Go to solution
Jonathan Caplette_1
Super Advisor

Printing on CDE!

Hi guys!!

I'm using HP-UX 11 and when I'm using CDE and I try to print a text file or any other file, I get this error message: "An X server for could not be found" ... What is that means????

Thanks!
Jonathan
5 REPLIES 5
Sachin Patel
Honored Contributor

Re: Printing on CDE!

Hi Jonathan,
How are you trying to print?

Sachin
Is photography a hobby or another way to spend $
Rick Garland
Honored Contributor

Re: Printing on CDE!

Do you have a printer defined for the system?
Alex Glennie
Honored Contributor
Solution

Re: Printing on CDE!

It sounds as if TPS which took over from lp at 11.x is installed but not configured correctly ... TPS = technical Print server and requires opening up an Xserver display prior to printing.

NB Current CDE patches allow configuring CDE to revert to the older HP-UX 10.20 behavior of routing the text to the lp spooler rather
than using TPS.

(Starting with [PHSS_25138/PACHRDME/English] for HP-UX 11.00 and[PHSS_25197/PACHRDME/English] for HP-UX 11.11)

If the system has a current CDE patch installed:

A. Edit the file "/etc/rc.config.d/desktop" and add the following line:

DTPRTSVR=LP

or run the following command:

ch_rc -a -p DTPRTSVR=LP /etc/rc.config.d/desktop

NOTE: This environment variable does not exist by default; therefore, it must be added and set to "LP" in order to overwrite
the system-default setting of TPS.

B. Stop and Restart CDE

'/sbin/init.d/dtlogin.rc stop'
'/sbin/init.d/dtlogin.rc start'

However if you really want to use TPS let me know but I'd recommend trying the above.




V. V. Ravi Kumar_1
Respected Contributor

Re: Printing on CDE!

Hi,
Install latest patch PHSS_27869. Then add the following line in ur /etc/rc.config.d/desktop
DTPRTSVR=LP
Reread the configuration file.
ch_rc -a -p DTPRTSVR=LP /etc/rc.config.d/desktop

Then logoff and login from CDE.

Regards
Never Say No
Jonathan Caplette_1
Super Advisor

Re: Printing on CDE!

Added DTPRTSVR=LP at the /etc/rc.config.d/desktop file!!

Thanks!