Hello, we have a DLL where we produce Rave Reports. We use this DLL in our desktop Delphi program to print and produce PDF files. We also adopted it (with a different entry point) to be called from a C# ASP.net program.

Hello, we have a DLL where we produce Rave Reports. We use this DLL in our desktop Delphi program to print and produce PDF files. We also adopted it (with a different entry point) to be called from a C# ASP.net program.

our QA want to use beyond compare to compare the PDF files produced by our desktop and web apps. At one point, I determined that the Web app couldn't get access to the printer that the desktop has (as a matter of fact, there is no default printer running under IIS). This resulted in the memo texts wrapping differently. It's not necessarily a big deal in production, because the wrapping doesn't really matter, but in the beyond compare, it flags these differences.

So I changed the DLL to always (as a test), select the XPS Document printer (since the IIS process can only see XPS and Fax) on both the desktop and the web. It works a little better, but there a still some minor differences (in extra spaces, which you can turn off in Beyond compare.

But does anyone know what could be the difference? Could the desktop have a different font/aspect ratio, etc from the C# / IIS environment?
http://ASP.net

Comments

  1. Phillip Woon But IIS runs as a different user no?

    ReplyDelete
  2. I wish I could give you more input (even on your last post on this topic)... Let's see... You should check what Adrian Gallero recommended. Pressing Ctrl+D in Acrobat and looking at the fonts tab, do you see the same in both PDFs? That would tell you if the same fonts are being used. Also are the fonts embedded? Do you have a PDF printer that you can install on the system that you print to rather than the reporting tool producing PDF?

    ReplyDelete

Post a Comment