[KLUG Members] (no subject)

Miles Pschigoda miles.j.pschigoda at wmich.edu
Sun Sep 12 12:42:55 EDT 2004


I am having some problems with a2ps and ps2pdf.  The same problems
manifest themselves on my gentoo, up to date installed last month
system as on my slack 8.0 hopelessly out of date fileserver.  Here's
my problem:

I am trying to make these text files PDF files.  I've got some papers
I have written for my English classes and a few Gutenberg books.  I
know I can just go to Gutenberg.net and download the pdfs, but I just
started using those as tests when I started having problems with my
papers.

If the paper is three pages or less everything goes fine, but if the
paper is longer then that ps2pdf dies out and I only get a half-formed
or empty pdf.

Googling has turned up help for problems with "Error: /invalidfont in
/findfont", but those fixes don't help me.  Ghostscript should be able
to find all the fonts it needs, all of it's paths are correct and I
can find the files it would be trying to find within them.

If anyone knows of another plain-text to pdf program/program chain I
could use, or if anyone can help with this, I'd be very happy.


--MilesP




Here's the commands I run with output:

(command line: three pages)
a2ps -1 test3.txt | ps2pdf - test3.pdf
(output)
[test3.txt (plain): 3 pages on 3 sheets]
[Total: 3 pages on 3 sheets] sent to the standard output
[76 lines wrapped]

(command line: five pages)
a2ps -1 test5.txt | ps2pdf - test5.pdf
(output)
[test5.txt (plain): 5 pages on 5 sheets]
Error: /invalidfont in --show--
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--  
--nostringval--   --nostringval--   false   1   %stopped_push   1   3
  %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop  
.runexec2   --nostringval--   --nostringval--   --nostringval--   2  
%stopped_push   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
    --dict:1051/1417(ro)(G)--   --dict:0/20(G)--   --dict:70/200(L)--
  --dict:89/200(L)--   --dict:11/18(L)--
Current allocation mode is local
Last OS error: 25
ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1
a2ps: received signal 13: Broken pipe

I have also run the commands as seperate commands, as opposed to
pipes, put that dosn't change anything. The test1.txt and test5.txt
are simple text files, containing plain text formated as a letter,
like "Dear Suchandso,..."


More information about the Members mailing list