From: Chris Sharman [Chris.Sharman@CCAgroup.co.uk]
Sent: Wednesday, October 06, 1999 7:03 AM
To: Info-VAX@Mvb.Saic.Com
Subject: Re: Xpdf on OpenVMS and Netscape. (Print PDF)

Olivier Duffey wrote:
> 
>  We use Xpdf for viewing PDF files directcly in Netscape 3.03 for
> openVMS. Well it works OK, but our users wanted to Print the PDF file.
>  OK, print option can convert PDF to a Postscipt file, but no
> possibility to send the PRINT/QUEUE=...
> command. Our common users don't have acces to DCL command line!
>   Is where any possibility, to send directly the file to printer queue?

You can send the file to any device. Set up a default via either
the xpdf.psFile resource, or the -ps command line option.

Eg xpdf -ps mypsdev:

where mypsdev is a spooled device.

To create the spooled device:
mcr latcp create port/logical=(name=mypsdev,table=system,mode=exec)
set dev/spool=(mypsqueue,myspooldisk:) mypsdev

Where mypsqueue is a suitable queue for printing postscript files to,
without qualifiers, and myspooldisk has sufficient space for the
temporary
.ps files.
mypsdev can be a real device used by the queue, or a pseudodevice used
purely for spooling, as here. The latcp syntax is slightly different
on old versions of VMS. You can also apparently use a pipe, but I
haven't
tried that.

Chris
