ghostscript command does not work on my hardy system
I was trying to run gs command on the ubuntu8 system to convert a Japanese PDF. The command i was using is:
gs -dSAFER -dBATCH -dNOPAUSE -dQUIET -dFirstPage=1 -dLastPage=1 -sDEVICE=jpeg -sOutputFile=a.jpg a.pdf
and I am getting following error
Error: /undefinedresource in findresource
Operand stack:
--nostringval-- --dict:8/17(L)-- 2 MSPGothic 8 --dict:5/5(L)-- --dict:5/5(L)-- MSPGothic --dict:
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 --nostringval-- --nostringval-- 5 1 4 --nostringval-- %for_pos_
Dictionary stack:
--dict:
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.61: Unrecoverable error, exit code 1
I have did some research on this particular error. And everything leads me to the conclusion that I have some CMAP that is missing. I think i have install all the cmap debians I could find (cmap-acrobat-
Thanks so much.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Charles for more information if necessary.