I tried using the 'pdf2ps' Obey file from the GhostScript distribution
to convert a PDF file back to PostScript, but I get the error "Unknown device: pswrite"
The file reads:
wimpslot -min 15124K
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite -sOutputFile=%1 %*2 -c save pop -f %0
if "%1" <> "" then ifthere %1 then settype %1 ff5
The GhostScript documentation lists 'ps2write' as a 'high-level device'
under its list of valid devices, and the RISC OS distribution evidently expects it to exist.
I tried using the 'pdf2ps' Obey file from the GhostScript distribution
to convert a PDF file back to PostScript, but I get the error "Unknown device: pswrite"
The file reads:
wimpslot -min 15124K
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite -sOutputFile=%1 %*2 -c
save pop -f %0
if "%1" <> "" then ifthere %1 then settype %1 ff5
The GhostScript documentation lists 'ps2write' as a 'high-level device'
under its list of valid devices, and the RISC OS distribution evidently expects it to exist.
In article <7175d4e55b.harriet@bazleyfamily.co.uk>,
Harriet Bazley <harriet@bazleyfamily.co.uk> wrote:
I tried using the 'pdf2ps' Obey file from the GhostScript distribution
to convert a PDF file back to PostScript, but I get the error "Unknown device: pswrite"
Have you tried PDFutils? Kevin Wells has a front end for PDF utils which
I have just tried converting PDF to Postscript and it worked without
causing and error. You can get it here:
http://kevsoft.co.uk/
Look for KPDFutil
In message <7175d4e55b.harriet@bazleyfamily.co.uk>
Harriet Bazley <harriet@bazleyfamily.co.uk> wrote:
I tried using the 'pdf2ps' Obey file from the GhostScript distribution
to convert a PDF file back to PostScript, but I get the error "Unknown device: pswrite"
I tested this command:
Dir <Obey$Dir>
pdf2ps exo1pdf ex02
it works!
I tried changing the currently selected directory to point directly into !GhostScr.bin
I still get the 'unknown device' error; apparently something isn't
defined that GhostScript expects to have been defined.
On 27 Jan 2025 as I do recall,
Harriet Bazley wrote:
[snip]
I tried changing the currently selected directory to point directly into
!GhostScr.bin
I still get the 'unknown device' error; apparently something isn't
defined that GhostScript expects to have been defined.
*gs -v
reports the version number as GPL Ghostscript 9.26 (2018-11-20)
which is slightly confusing, as PackMan only seems to know about
GhostScript 8.71-2....
On 27 Jan 2025 as I do recall,
Harriet Bazley wrote:
[snip]
I tried changing the currently selected directory to point directly into
!GhostScr.bin
I still get the 'unknown device' error; apparently something isn't
defined that GhostScript expects to have been defined.
*gs -v
reports the version number as GPL Ghostscript 9.26 (2018-11-20)
which is slightly confusing, as PackMan only seems to know about
GhostScript 8.71-2....
Be warned I think in 9.26 and/or 9.27 it does not like a space in the filename when being converted to a PDF
In article <1dd2e8e55b.chris@mytardis>,
Chris Hughes <news13@noonehere.co.uk> wrote:
Be warned I think in 9.26 and/or 9.27 it does not like a space in the
filename when being converted to a PDF
Does anyone?
John
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 01:58:40 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
10 files (20,373K bytes) |
| Messages: | 264,321 |