Operating System - HP-UX
1826460 Members
3334 Online
109692 Solutions
New Discussion

remote printer; printer model

 
SOLVED
Go to solution
Georg Fritsch
Occasional Advisor

remote printer; printer model

Hi all

HPUXv11.11
connected remote printer - HPdj1220C on CUPS/Linux
via SAM; using default parameters

Printing text from CDE-editor
-File-print: only a small print job is generated which produces an empty page
-File-print-setup, in printer tab all options are greyed out
Same text file via drag&drop prints without problem.
Graphical output from a GIS application or Mozilla prints nicely.

Might have to do with not having been able to assign a printer model?
How can that be done afterwards?

Thanks
Georg
3 REPLIES 3
Steve Steel
Honored Contributor
Solution

Re: remote printer; printer model

Hi

The remote printers all use the same script and there is no other model. Since drag and drop works it also seems unlikely that there is a printer problem.

Look at

PHSS_34101
s700_800 11.11 CDE Applications Patch


especially special instructions
Printing using TPS and LP:
Programs affected - dtcm, dtmail and dtpad

Introduced first in the patch - [PHSS_25197/PACHRDME/English]

Printing of text files can be done through TPS
(default printer service in 11.*) and through
dtlp (default print service in 10.20) both, on
the basis of a new variable DTPRTSVR in system
configuration file /etc/rc.config.d/desktop which
will have two possible values TPS and LP.

By default, there will be no entry for DTPRTSVR
in the desktop file and dtpad will use TPS for
printing. System administrators will use ch_rc to
define the variable to an appropriate value. ch_rc,
a utility for changing system configuration file,
is already available on HP-UX 11.*

If DTPRTSVR is set to LP, TPS configurations will
be ignored and text file will print without border
and use ASCII-like font. In case of DTPRTSVR set
to TPS, the user will be able to print text through
TPS. Man pages for dtcm, dtmail, and dtpad have been
updated to include this information. It might be
necessary to re-run the catman utility to generate
indices for the man pages.




This may be your problem if you use TPS


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Georg Fritsch
Occasional Advisor

Re: remote printer; printer model

Thanks Steve

So far I've verified that I really use TPS.
Would it be ok to simply edit the /etc/rc.config.d/desktop adding
DTPRTSVR=LP
or do I have to use the ch_rc tool?

In latter case I'm not really sure about the syntax.

Georg
Georg Fritsch
Occasional Advisor

Re: remote printer; printer model

Hi
Many thanks to Steve.

Just edited the /etc/rc.config.d/desktop adding DTPRTSRV=LP and it worked!

Realized that now in the CDE-editor the 'File-print setup' is missing.
Any possibility to define basic settings e.g. margins ?

Georg