Why do I obtain countless 'programming' pages of characters/numbers when printing pdf/png files using lpr? -
i've got silly problem literally driving me mad:
when try print file using lpr file.pdf
depending on file obtain 1 of following issues:
- the printer not recognise a4 format
- the file printed countless number of pages of programming code ( 'real' face of pdf file guess), characters , numbers.
the same happens png files.
i'm using mac os x el capitan , xerox colorqube printer. if open file acrobat or preview , make printing manually have no problem @ all.
i hope can give me clues because couldn't find useful on web.
ps: if use option -l
printer prints sheet saying printer not configured print pdf files directly.
lpr
sends file directly printer, may not understand pdf as-is, since pdf successor postscript - can contain familiar commands gets printed, rest, embedded preview , on - gets printed raw text
try using ghostscript convert postscript before sending printer:
gs -dsafer -dnopause -sdevice=(your printer name) -soutputfile=\|lpr file.pdf
Comments
Post a Comment