emendelson / pdftoprinter

AutoIt project for a PDF-to-printer application for Windows
32 stars 12 forks source link

An error is reported, what should I do? #8

Closed fdjkdf closed 1 month ago

fdjkdf commented 5 months ago

DllOpenO error: Can't open C:\Users\admin\AppData\Local\Temp\PDFPrinterTmp\qpdf28 dll.

xx.pdf: getPageCount() error, pdf file Corrupted?

emendelson commented 5 months ago
  1. You did not specify the command that produced that error.

  2. I did not write the part of the code that uses qpdf28.dll, so I probably will not know the answer. The relevant code was written by a programmer who wants to remain anonymous. I have not been in touch with that person for more than three years.

  3. I strongly recommend that you use a different program for printing PDF files, because this one causes problems for you.

felps-dev commented 1 month ago

I found out the problem, it's because qpdf has dependency on latest MSVCP dll's, and the PDFtoPrinter does not bundle them together. https://github.com/emendelson/pdftoprinter/pull/10

emendelson commented 1 month ago

Good - thank you!

fdjkdf commented 1 month ago

我发现了问题,这是因为 qpdf 依赖于最新的 MSVCP dll,而 PDFtoPrinter 没有将它们捆绑在一起。 #10

You are awesome!

I would also like to ask, do you know how to solve this problem? How to print multiple copies of a document? https://github.com/emendelson/pdftoprinter/issues/7

emendelson commented 1 month ago

Please read the entire thread in https://github.com/emendelson/pdftoprinter/issues/7