Operating System - OpenVMS
1828491 Members
2220 Online
109978 Solutions
New Discussion

Re: Can you change the font size of a text file sent to a Postscript printer?

 
SOLVED
Go to solution

Can you change the font size of a text file sent to a Postscript printer?

I have a DCPS queue attached to an HP8100 printer. I want to be able to print a text file in different font sizes. I've tried using setup modules and forms, but the document always comes out 9-point Courier.

How can I tell DCPS to use a different font size when it translates the text file to PostScript?
6 REPLIES 6
Karl Rohwedder
Honored Contributor

Re: Can you change the font size of a text file sent to a Postscript printer?

Why not use PCL controlsequences in the text (or in a setup form) and print via TELNETSYM?

regards Kalle
Peter Zeiszler
Trusted Contributor

Re: Can you change the font size of a text file sent to a Postscript printer?

I used to use a script that called one of the freeware images that did text to postscript. I haven't used it in about 7 years. You might check in the freeware CD to see if there is anything there.

Re: Can you change the font size of a text file sent to a Postscript printer?

I am going to need time to try your suggestion, Karl.

My goal was to switch printer queue management from a third-party commercial product to DCPS in order to simplify the way the queues were handled and to save money.

Every thing else that I need to do, like landscape, two-up, or double-sided, DCPS can do through print command qualifiers or parameters.

I am amazed that DCPS doesn't handle font size as easily. Am I missing something obvious?
Karl Rohwedder
Honored Contributor
Solution

Re: Can you change the font size of a text file sent to a Postscript printer?

Michael,

when converting text to PS in order to print it DCPS supports the 'old' LN03 controlsequences.
You may e.g. change the current font size with
[nC, where n is in between 1..100.
Maximum seems to be the normal fontsize.
Tp print 'bigger' you need to load other fonts, if that is supported I do not know.
Perhaps you should try to get a LN03 programing handbook and experiment a little.

regards Kalle

Re: Can you change the font size of a text file sent to a Postscript printer?

Kalle,

Thanks for the escape sequence; it works fine.

I think the biggest problem I had was using an escape sequence in a setup file. I needed to use it as a page_setup file attached to a form instead of a file_setup file.


Mike

Re: Can you change the font size of a text file sent to a Postscript printer?

Thanks