SASS_Shooter
SASS_Shooter

Reputation: 2216

characters missing when printing

We have a WPF application which can perform either a report preview or a report print. Both requests use the same code.

The result is then written to a temporary file as a binary stream, and either popped into a window to preview or start a Process to print.

In both cases the temporary file is passed.

Print Preview works flawlessly! But Print Report will print with all occurances of 'ti' disappearing. I see there is a printer escape sequence of ESC t NUL/SOH and I assume that if, for some reason, an escape character gets into that stream that ti will result in an ignored print sequence. Thus the missing characters.

My first question is if anyone has ever experienced this with generated PDF reports?

My second question (obviously) is if anyone knows of a utility I can use to view the binary data in the file being printed, to see what is in the file just before every 'ti' sequence?

Upvotes: 1

Views: 5781

Answers (5)

Abhishek DaEvil
Abhishek DaEvil

Reputation: 11

Surprisingly this bug is still there in 2021. Adobe cannot be relied upon printing documents properly. This takes away all the allure of features it had if it cannot do the most basic stuff it is required for.

Printing as image reduces the quality and blur the document.

Simply open the document with Safari or Chrome and print from there. E

Upvotes: 0

jaydeepsb
jaydeepsb

Reputation: 557

I had a similar problem while printing directly from the firefox (acrobat reader within). I downloaded the file and then printed. The problem was solved.

Upvotes: -2

user2136470
user2136470

Reputation: 11

I realize this is an old post but I wanted to add some updated info from the above comment stating that it's a problem with Acrobat 8. We are using Acrobat 10.1.6 and still have the same problem. From what I've read, it's a problem with the adobe product itself. The only real fix I've seen (actually work around) is to print as an image. LAME

Upvotes: 1

SASS_Shooter
SASS_Shooter

Reputation: 2216

After a great deal of searching I came across a post on the Adobe forum that states that version 8 had a bug where it was not printing character combinations. Once I dug deeper it seems that it has returned and the suggested workaround fixed our issue.

Workaround: Do a print as image.

Adobe seems to be unable to do the most basic of what their software must do, print the exact content!

Upvotes: 3

Kurt Pfeifle
Kurt Pfeifle

Reputation: 90335

Answer for your second question:

  • First, do one of the following two things:
    1. Set the Windows print spooler properties to not delete printed jobs.
    2. Pause the target print queue.
  • Then, grab the spool file from the Windows printspool directory (which location that is you can find out by looking at the (right-click) 'Properties...' dialog of the 'Printers and Faxes' folder).

Upvotes: 2

Related Questions