1829378 Members
4912 Online
109991 Solutions
New Discussion

X print server

 
SOLVED
Go to solution
Alfonso_4
Advisor

X print server

Hi, I need some help. We installed HPUX 11 in our workstations and when someone try to print from TEXT EDITOR, it display a "text editor-print setup" window asking us for a printer name, but when we type the printer name it show us an error message: "An X print server for (printer) could not be found".
But we configured printers ok, because we can print from other applications.

I will appreciate any help.

Thanks.
3 REPLIES 3
harry d brown jr
Honored Contributor

Re: X print server

What TEXT EDITOR would that be? Can you print from a unix prompt? If so, then it is a TEXT EDITOR issue.


live free or die
harry
Live Free or Die
Alfonso_4
Advisor

Re: X print server

Yes, I can print from a unix prompt.
We use the default text editor for hpux CDE. I think this text editor(dtpad) is a CDE application.
I think my problem is probably related with dtpdmd daemon that is not running on my workstations. But, I'm not so sure.
Alex Glennie
Honored Contributor
Solution

Re: X print server

I suspect this has something to do with TPS : Dtpad's default way to send output to a printer changed at 11.00 to TPS :

DocId:
KBRC00000022

Updated:
10/31/01 5:36:00 PM


PROBLEM

Printing from dtmail, dtcm and dtpad under HP-UX 11.x requires the Technical Print Service (TPS) be
configured and running.

What is the Technical Print Services (TPS) and how is it configured and used?

RESOLUTION

WHAT IS THE TECHNICAL PRINT SERVICE (TPS)?

The Technical Print Service is a new product, bundled into the HP-UX Runtime Core that was introduced
with HP-UX 10.30. The Technical Print Service (TechPrintServ or TPS) is a network-transparent printing
system which allows X applications to render to non-screen devices in the same manner they render to
displays. It may also be referred to as the X Print Service.

The Technical Print Service enables an X application to generate and send X imaging data to a non-display
device such as a printer. It provides extensions to the HP X Server that makes it capable of generating Page
Description Language (PDL) output. Applications integrated with the Technical Print Services can send
printed output to a variety of printers regardless of the associated page description language. Print drivers
provided by the Technical Print Service include postscript, PCL5+ and raster image. There is also a
Developers Kit that provides an API and example code.

Various CDE applications including dtmail, dtcm and dtpad require the configuration of TPS in order to print
under HP-UX 11.x.

If you need the whole document .... and cannot retrieve it from the Technical Knowledge base post your email and I'll send you a copy.

Also fyi :

Documents can now be printed from dtpad without being surrounded by a border (ie using TPS)
through the use of the standard lp spooler. The ability to print from dtpad
using the standard lp spooler instead of TPS was introduced by the CDE patch
[PHSS_23800/PACHRDME/English] for 11.00.

There is a new resource DTPRTSVR, which will have to be added to the
file /etc/rc/config.d/desktop. This resource provides the ability to
print from dtpad using either the standard lp spooler or TPS.

Setting this variable equal to "LP" will cause dtpad to use the standard
lp spooler, while setting it to "TPS" will result in dtpad using TPS
(the default).

The following will have to be done after installing the patch [PHSS_23800/PACHRDME/English] to
have dtpad use the standard lp spooler for printing:

Edit /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 will have to be done on each system that is affected.