hitmedia on Wed, 27 Nov 2002 19:20:58 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: recommended way to print PDF files to PostScript printer?


Yep!  Results:

# file 100001.pdf 
100001.pdf: PDF document, version 1.3

# more 100001.pdf 
%PDF-1.3

THIS FILE (from FreeBSD manual) WORKS:  (lpr TestPostScript)
# more TestPostScript 
%!PS
100 100 moveto 300 300 lineto stroke
310 310 moveto /Helvetica findfont 12 scalefont setfont
(Is this thing working?) show
showpage


... but still the PDF file doesn't.  Just pages and pages of ASCII junk.


Any other thoughts?  Perhaps did a PDF converter not get installed?




>  > How do I troubleshoot a PostScript printer (HP LaserJet 1200)
>  > that, when doing the `lpr 100009.pdf` you suggest below,
>  > is printing many many pages of ASCII characters in the first 2 lines?
> 
> That sounds like the file is being interpreted as an ASCII file
> instead of as a PDF.  Check to make sure it's being recognized as a
> PDF file.  If you look at the first line of the file in a text editor,
> it should start with
> 
> %PDF-1.3
> 
> Also, the command
> 
> $ file  100009.pdf
> 
> should give a response something like
> 
> 100009.pdf: PDF document, version 1.3
> 
> (of course, it may be a version 1.2 or something).
> --