Operating System - HP-UX
1820475 Members
2987 Online
109624 Solutions
New Discussion юеВ

Text Editor Printing in 11.0

 
Don Dawson
Occasional Contributor

Text Editor Printing in 11.0

Receintly we installed hpux 11.0. One of the associated problems with doing the install is that now when we print the text is miniscule and there is a line(box) around the text that is printed. I found the fix for the text size (font server needs to be running) but I have yet to find a way to eliminate the box that surrounds the text. Has anyone who runs 11.0 figured out how to elimate this problem?

Thanks!
3 REPLIES 3
Charles Slivkoff
Respected Contributor

Re: Text Editor Printing in 11.0

The solution to the "small-font" problem, as you have probably discovered already, is to us a font-server. The must be started before the X print server is started.

It is not possible to print from the CDE text editor (dtpad) without using the X print server. It is also quite difficult to configure the output from the X print server beyond the options provided in the dialog box (header, footer, etc). The border cannot be removed. The fonts can be changed, but it is rather difficult.

If you wish to print plain text, use the command-line "lp", or drag-&-drop the file from the file-manager to the printer icon of choice. This will display the CDE lp front-end (dtlp) which is NOT the same as the X print server.

I know this isn't what you wanted to hear... :-(

Shannon Petry
Honored Contributor

Re: Text Editor Printing in 11.0

I have seen this problem hundreds of times now, and it has nothing to do with the lp commands or arguments!!!!!!!!!!!!!!!

The problem is that you are not running two requirements for CDE DTPAD in 11.0! which are X technical print server(tps), and X font server(xfs).

Here is a basic quickie to get you printing!.
> vi /etc/rc.config.d/xfs
RUN_X_FONT_SERVER=0
needs to be changed to
RUN_X_FONT_SERVER=1

Next, run
>/sbin/init.d/xfs start

Next, run sam....go to "printers and plotters" -> "print server configuration"
select "create" if there are no defined printer servers "hostname:1". Use the defaults, and if it does not startup on it's own, then start it manually.

HP recommends that you reboot to start, but I have not had to.......
Now your print's should look better!

Regards,
Shannon
Microsoft. When do you want a virus today?
Don Dawson
Occasional Contributor

Re: Text Editor Printing in 11.0

Thanks for the advice Shannon, but maybe you missread my problem.

"Receintly we installed hpux 11.0. One of the associated problems with doing the install is that now when we print the text is miniscule and there is a line(box) around the text that is printed. I found the fix for the text size (font server needs to be running) but I have yet to find a way to eliminate the box that surrounds the text. Has anyone who runs 11.0 figured out how to elimate this problem?"

I have both Set-up Fontserver and X Print Server. My problem now is that there is a box around all text that is printed from the CDE Text Editor. As was explained in the prior reply there is nothing that can be done about this and you just have to LP it from the command line.

No need to kill the ! =)