[Info-vax] Looking for VAX SCAN (programming language) documentation
Phillip Helbig undress to reply
helbig at asclothestro.multivax.de
Fri Feb 23 00:10:03 EST 2018
In article <slrnp8umav.3ok.brown at greenslade.gmcl.internal>, Rob Brown
<brown at greenslade.gmcl.internal> writes:
> I think you can tell bookreader to output the decw$book file as a
> postscript file. Sort of clunky. You might have to create a separate
> postscript file for each chapter or something to get pleasing output.
>
> I think other tools can create pdf from ps.
GhostScript:
$ GS == "$DISK$SOFT:[GHOSTSCRIPT_9_2]GS.EXE"
$ IF P1 .EQS. "" THEN GOTO USAGE
$ IF F$PARSE(P1,,,"TYPE") .EQS. "." THEN P1 = P1 + ".PS"
$ IF P2 .EQS. "" THEN P2 = F$PARSE(P1,,,"NAME") + ".PDF"
$ IF F$PARSE(P2,,,"TYPE") .EQS. "." THEN P2 = P2 + ".PDF"
$ GS "-dNOPAUSE" "-sDEVICE=pdfwrite" "-dBATCH" "-sOutputFile=''P2'" 'P1'
$ EXIT
$USAGE:
$ TYPE SYS$INPUT
P1: PostScript file (required), default type .PS
P2: PDF file (optional), default type .PDF, default name <name_of_P1>.PDF
$ EXIT
More information about the Info-vax
mailing list