Wrapper module around Ghostscript, for PostScript and PDF processing.
Converts PostScript file input to PDF file output by executing
ps2pdf(1). On error, an empty PDF file may be created. This
function requires Ghostscript to be installed locally.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | input |
Path of PostScript file. |
||
| character(len=*), | intent(in) | :: | output |
Path of PDF file. |
Reads PDF file input, adds meta data using pdfmark, and writes
result to output. The output path must be different from the input
path. The output document will be in PDF 1.4 format and printing
quality. List the meta data with pdfinfo(1):
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | input |
Path of PDF input file. |
||
| character(len=*), | intent(in) | :: | output |
Path of PDF output file. |
||
| character(len=*), | intent(in), | optional | :: | title |
Document title. |
|
| character(len=*), | intent(in), | optional | :: | author |
Document author. |
|
| character(len=*), | intent(in), | optional | :: | subject |
Document subject. |
|
| character(len=*), | intent(in), | optional | :: | creator |
Document creator. |
|
| character(len=*), | intent(in), | optional | :: | producer |
Document producer. |
Returns Ghostscript version as allocatable string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in), | optional | :: | name |
Add prefix |
|
| logical, | intent(out), | optional | :: | found |
Returns |
Version string.