Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pl2ps question

72 views
Skip to first unread message

Randy Winfrey

unread,
Mar 12, 2002, 11:18:10 PM3/12/02
to
I am doing some consulting for a local company which is using version
4 of Interleaf on a VAXstation running VMS. (Yes, I tried to tell them
to upgrade a long time ago.) They have used it for a long time and
have written a number of programs specific to their business which
generate ASCII markup input for Interleaf.

We need to generate a Postscript output file, which we then want to
convert to PDF file, maybe with Ghostscript. (This version of
Interleaf does not have an option to generate Postscript directly from
the desktop.)

It seems like the pl2ps filter ought to do the trick: just generate
the Printerleaf file and use pl2ps (Version 4.0.5) to generate the
Postscript. I have tried

pl2ps -usage

and got a list of the options. I have tried the obvious

pl2ps -i my_file.pl -o my_file.ps

and the less obvious (from a logical name IWS4_??_ARGV, didn't write
down the name)

pl2ps -i my_file.pl -o my_file.ps -v -T pslw+ -r 1270 -RV

In either case, the program prints the contents of a file,
pspro.ps_4_0_5, to the screen, then prints an error message

unable to figure which lfu to use

No output file is produced.

A search through this group and other places revealed that pl2ps has a
well deserved reputation for user hostility. Does anyone know what the
proper
options/syntax would be?

Thanks!

Tim O'Neill - BudJit Graphics

unread,
Mar 13, 2002, 3:47:07 PM3/13/02
to
At first glance, you need to designate a valid postscript driver such
as generic.ppd in the command string. Are you running the command on
the vms op system? If you would like to send me a Printerleaf file I
will try it for you in Windoze environment.

Tim O'Neill
BudJit Graphics


dn...@ccvms.concord.edu (Randy Winfrey) wrote in message news:<fa75e3a4.02031...@posting.google.com>...

Richard Perkin

unread,
Mar 14, 2002, 5:56:26 AM3/14/02
to
"Tim O'Neill - BudJit Graphics" <bud...@excel.net> wrote in message
news:71d3bfaa.02031...@posting.google.com...

> At first glance, you need to designate a valid postscript driver such
> as generic.ppd in the command string. Are you running the command on
> the vms op system? If you would like to send me a Printerleaf file I
> will try it for you in Windoze environment.

> dn...@ccvms.concord.edu (Randy Winfrey) wrote in message


news:<fa75e3a4.02031...@posting.google.com>...
> > I am doing some consulting for a local company which is using version
> > 4 of Interleaf on a VAXstation running VMS. (Yes, I tried to tell them
> > to upgrade a long time ago.) They have used it for a long time and
> > have written a number of programs specific to their business which
> > generate ASCII markup input for Interleaf.
> >
> > We need to generate a Postscript output file, which we then want to
> > convert to PDF file, maybe with Ghostscript. (This version of
> > Interleaf does not have an option to generate Postscript directly from
> > the desktop.)

It's a long time now since I used Interleaf 4 on a VAXstation under VMS +
DECwindows. It worked fine - indeed, DEC used to distribute the product and
badged it as their own, if I remember correctly.

VMS has no software support for PostScript - the interpreter is in the
printer. So to generate a PostScript file, all you have to do is to tell
Interleaf that a specific printer is a PostScript printer. You don't really
need to have such a printer (by the way, what do you print on now?). The
resulting ASCII text file generated by Interleaf will be a PostScript
program to be interpreted by the printer...

What you are asking for is pretty straightforward - I'm sure we used to do
it as follows, if memory serves me:
- define a print queue for a PostScript printer. I remember we used a DEC
LN03R. You need to have both the print queue defined via DCL, and the
printer defined in Interleaf. The commands
SET/PRINTER, SET/DEVICE SPOOLED, SET/TERMINAL (for LAT attached printers)
come to mind
- print to it, with the device offline or otherwise unavailable
- find where on disk the spooled printer output file is, and copy it to
somewhere useful
- do whatever you want with it

Sorry the details are a little sketchy, but this was 13 years ago!

--
Hope this helps

Richard Perkin
richard.perkinATatosorigin.com

It's is not, it isn't ain't, and it's it's, not its, if you mean it
is. If you don't, it's its. Then too, it's hers. It isn't her's. It
isn't our's either. It's ours, and likewise yours and theirs.
-- Oxford University Press, Edpress News --


ajur...@gmail.com

unread,
Apr 10, 2016, 11:41:28 AM4/10/16
to
0 new messages