1833818 Members
2697 Online
110063 Solutions
New Discussion

dtpad on HPUX 11

 
SOLVED
Go to solution
Russ Hancock
Occasional Contributor

dtpad on HPUX 11

Hi Guys,

Simple one for you.. Where are the printers setup for dtpad? and the help doesn't tell me! Currently I have none defined, and so can't print.

Cheers
Russ
2 REPLIES 2
Alex Glennie
Honored Contributor
Solution

Re: dtpad on HPUX 11

At 11.00 dtpad will by default require the technical print server set up (TPS) BUT

Documents can now be printed from dtpad without being surrounded by a border
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.

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.

that should cover it ;)

Stefan Saliba
Trusted Contributor

Re: dtpad on HPUX 11

Well firstly you have to install a new printer for the system. Use sam for this job. If you have the printer on a local port it is even simpler.

IF you have an HP printer then it has all the drivers you need. If you have a dotmatrix printer then the dumb driver should work. Part of the setup in setting a printer is to give it a name say lp1

having set up the printer test the printer say using lp -dlp1 /etc/inittab to print say the inittab file.

IF this works go to dtpad , click on print and in the Printer field enter the name of the printer say lp1 in our case.

That's all .. you will then print from dtpad..

good luck