Operating System - HP-UX
1834391 Members
1975 Online
110066 Solutions
New Discussion

Re: Text editor printing problem

 
Stoicho Valkov
Advisor

Text editor printing problem

At the begining I couldn't print from text editor, when I logged in the HP-UX server with CDE session because i had no X Print Server configuring. After that I configuring and starting X Print Server from SAM (hostname:displaynumber). My hostname is os50p2. If I start X Print Server os50p2:1 for example, when I try to connect in my mashine , the displaynumber 1 is missed and I logging with CDE session with number 2(os50p2:2), where I haven't starting X Print Server.
What is the reason?
Text editor
1 REPLY 1
Alex Glennie
Honored Contributor

Re: Text editor printing problem

My advise is don't use TPS it seems an unnecessary overhead imo :

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. It must be entirely entered
in uppercase.

B. Stop and Restart CDE

NOTE: insure that all users are currently logged out of CDE

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

However if you wish to pursue this could you elaborate on "when I try to connect in my mashine , the displaynumber 1 is missed and I logging with CDE session with number 2(os50p2:2), where I haven't starting X Print Server."

What h/w , o/s are involved, echo $DISPLAY ? etc ....