* Print forms, layout
@ 2003-08-22 9:26 ejanssen
2003-08-23 19:37 ` Nico Kadel-Garcia
2003-08-25 17:25 ` Ernest
0 siblings, 2 replies; 3+ messages in thread
From: ejanssen @ 2003-08-22 9:26 UTC (permalink / raw)
In OpenVMS you can use print forms to define the layout which should be
used when the data is printed. Layout like top, bottom, left, right
margen, character size ....
In Tru64 we want to use this also because the application which ran on
OpenVMS use it. How can I define such layouts on UNIX print queues.
These UNIX print queues will use the OpenVMS systems as printservers.
--
Posted via http://dbforums.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Print forms, layout
2003-08-22 9:26 Print forms, layout ejanssen
@ 2003-08-23 19:37 ` Nico Kadel-Garcia
2003-08-25 17:25 ` Ernest
1 sibling, 0 replies; 3+ messages in thread
From: Nico Kadel-Garcia @ 2003-08-23 19:37 UTC (permalink / raw)
ejanssen wrote:
> In OpenVMS you can use print forms to define the layout which should be
> used when the data is printed. Layout like top, bottom, left, right
> margen, character size ....
>
> In Tru64 we want to use this also because the application which ran on
> OpenVMS use it. How can I define such layouts on UNIX print queues.
>
> These UNIX print queues will use the OpenVMS systems as printservers.
This sounds more like you should be doing this in PDF, to optimize the
overall format. There are tools available for doing this from the
command line, at http://www.pdf-tools.com/downloads/pdftools.pdff
And I'd consider OpenVMS as an insufficiently used and supported
platform to really handle a large variety of print services. Even on the
Tru64 boxes I deal with, I had to toss out the AT&T SysV based printing
system and migrate over to LPRng (available in a Compaq published RPM
bundle) to get network printing to work.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Print forms, layout
2003-08-22 9:26 Print forms, layout ejanssen
2003-08-23 19:37 ` Nico Kadel-Garcia
@ 2003-08-25 17:25 ` Ernest
1 sibling, 0 replies; 3+ messages in thread
From: Ernest @ 2003-08-25 17:25 UTC (permalink / raw)
The ppdof text to PostScript print filter has the capability to load lpr
options from a file. The file must be located in /usr/lbin/ppd and is
referenced in the printcap entry. Keep in mind that most of the filter
options only apply to text files.
File Format:
-----------
% File comment. Do not use between *Setup and *end.
%
*Setup option_name/Comment listed on -Oprint page:
-lpr option
-lpr option
-etc
*end
-------------
Begin Example
-------------
% Print a text file with 132 columns in portrait
% orientation. The print filter will auto-scale the
% font to make the text fit the page width.
*Setup PortraitWide/Portrait 132 columns:
-Otm=0.5
-Obm=0.5
-Olm=0.25
-Orm=0.25
-w132
*end
% Print the text file in landscape with a
% page margin of .25 inchs.
%
*Setup Landscape/Landscape with .25 inch margin:
-OLandscape
-Opm=.25
*end
% Select tray with 3 hole paper and set the margins
% wide enough to not print over the holes for either
% single or two sided printing.
%
*Setup HolePaper/Select 3 hole paper:
-Itray3
-Olm=0.5
-Orm=0.5
*end
-----------
End Example
-----------
Create the example file /usr/lbin/ppd/example.pfo and set the
protection to world read. Modify the printcap entry input filter
specification to reference the file by adding +Cexample.pfo.
For example:
:if=/usr/lbin/ppdof +OPageSize=Letter +Cexample.pfo hplj8000.rpd:\
Enter the following command to print the options page.
lpr -Pqueue -Oprint /etc/motd
If everything was configured correctly the printed options page
will list 'Setup=' options 'HolePaper', 'Landscape', and 'PortraitWide.'
To print a file using PortraitWide enter:
lpr -Pqueue -Osetup=PortraitWide file.txt
The option PortraitWide is case insensitive.
Ernest
------
"ejanssen" <member36604@dbforums.com> wrote in message
news:3273445.1061544417@dbforums.com...
>
> In OpenVMS you can use print forms to define the layout which should be
> used when the data is printed. Layout like top, bottom, left, right
> margen, character size ....
>
> In Tru64 we want to use this also because the application which ran on
> OpenVMS use it. How can I define such layouts on UNIX print queues.
>
> These UNIX print queues will use the OpenVMS systems as printservers.
>
>
> --
> Posted via http://dbforums.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-08-25 17:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-22 9:26 Print forms, layout ejanssen
2003-08-23 19:37 ` Nico Kadel-Garcia
2003-08-25 17:25 ` Ernest
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox