You are not logged in.
i'm trying to convert some plain text to pdf using a2ps to no avail...
~> a2ps -=pdf somefile
[somefile (plain): 1 page on 1 sheet]
Error: /invalidfont in --scalefont--
Operand stack:
euc-jpdict fCourier --dict:17/19(L)-- 0.909091
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1905 1 3 %oparray_pop 1904 1 3 %oparray_pop 1888 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1152/1684(ro)(G)-- --dict:0/20(G)-- --dict:72/200(L)-- --dict:59/200(L)-- --dict:9/14(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 16700
GPL Ghostscript 8.63: Unrecoverable error, exit code 1
[Total: 1 page on 1 sheet] sent to the printer `pdf'
a2ps seems to think it's doing its job when i try doing it the long way
~> a2ps -o somefile.ps somefile
[somefile (plain): 1 page on 1 sheet]
[Total: 1 page on 1 sheet] saved into the file `somefile.ps'
~> ps2pdf somefile.ps
...
then instead of the ... i get the same error dump as before and a blank pdf file
so... a2ps is broken?
Last edited by ironbug (2008-12-29 19:54:15)
Offline
What encoding do you use?
Try add this line to your ~/.a2ps/a2psrc file:
Options: --encoding=iso1
if you use latin letters…
Last edited by Nikitka (2008-12-30 14:37:09)
Offline