搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

how do I save as a PDF?

  • 2 回覆
  • 2 有這個問題
  • 8 次檢視
  • 最近回覆由 THUFIR

more options

The adobe plugin will display a file correctly, and it will print correctly. However, selecting "print to file" generates, not a PDF, but a PCL type file:


thufir@dur:~/Documents$ thufir@dur:~/Documents$ file mystery.pdf mystery.pdf: HP Printer Job Language data thufir@dur:~/Documents$ thufir@dur:~/Documents$ pdfinfo mystery.pdf Syntax Warning: May not be a PDF file (continuing anyway) Syntax Error: Couldn't find trailer dictionary Syntax Error: Couldn't read xref table thufir@dur:~/Documents$ thufir@dur:~/Documents$ head -n 2 mystery.pdf %-12345X@PJL @PJL ENTER LANGUAGE = HBP thufir@dur:~/Documents$


how do save this as a PDF? Was it a PDF when Adobe reader read it, or was that something else? Was it always a PJL file?

HBP is "Host Based Printing" which makes me think that host is generating non-human readable data. Yet, if the Adobe Reader plug-in can read it, correctly, and send it to the printer, it must be, at some point, either postscript or something similar for fonts....

How do i get the text data? This is on Windows XP. I'm suspecting that even "print to pdf" with PDFCreator will still result in gibberish...

The adobe plugin will display a file correctly, and it will print correctly. However, selecting "print to file" generates, not a PDF, but a PCL type file: thufir@dur:~/Documents$ thufir@dur:~/Documents$ file mystery.pdf mystery.pdf: HP Printer Job Language data thufir@dur:~/Documents$ thufir@dur:~/Documents$ pdfinfo mystery.pdf Syntax Warning: May not be a PDF file (continuing anyway) Syntax Error: Couldn't find trailer dictionary Syntax Error: Couldn't read xref table thufir@dur:~/Documents$ thufir@dur:~/Documents$ head -n 2 mystery.pdf %-12345X@PJL @PJL ENTER LANGUAGE = HBP thufir@dur:~/Documents$ how do save this as a PDF? Was it a PDF when Adobe reader read it, or was that something else? Was it always a PJL file? HBP is "Host Based Printing" which makes me think that host is generating non-human readable data. Yet, if the Adobe Reader plug-in can read it, correctly, and send it to the printer, it must be, at some point, either postscript or something similar for fonts.... How do i get the text data? This is on Windows XP. I'm suspecting that even "print to pdf" with PDFCreator will still result in gibberish...

所有回覆 (2)

more options

On Linux there is usually possibility to get a PDF file (Output: PDF) available. Are you using that choice? If you print to an HP printer that supports PCL then you likely get output in that print language. So make sure to select the correct printer output.

more options

the file came to me as-is, unfortunately.