Password protected PDF open in Adobe Reader on server fails to print to Universal

Get help with troubleshooting issues
Post Reply
spmnemrc
Posts: 61
Joined: Sat Mar 04, 2017 3:00 pm

Password protected PDF open in Adobe Reader on server fails to print to Universal

Post by spmnemrc » Thu Oct 11, 2018 3:09 pm

We have some password protected PDF's that open on our server in Adobe reader. When you select print in adobe reader and select Universal Printer the two pages are generated and downloaded, the first is 100% blank the second is in the error message attached. We use CutePDF. We are not using GhostScript due to multi-user issues.

I do have TSPrint and it does print OK to that driver.
Untitled.jpg
Untitled.jpg (9.58 KiB) Viewed 7328 times

juwagn
Site Admin
Posts: 239
Joined: Wed Oct 15, 2014 8:25 pm

Re: Password protected PDF open in Adobe Reader on server fails to print to Universal

Post by juwagn » Thu Oct 11, 2018 4:52 pm

Hello,

is it Universal Printer (redirected ***)? What is if you decrypt your pdf firstly? I assume pdf file gets sent in encrypted and so in RAW format and of course it can't be handled so.

Sincerely yours, JW.
TSplus HTML5 and Java web engineer

spmnemrc
Posts: 61
Joined: Sat Mar 04, 2017 3:00 pm

Re: Password protected PDF open in Adobe Reader on server fails to print to Universal

Post by spmnemrc » Fri Oct 12, 2018 2:57 pm

Regardless of Universal or Universal redirected the results are the same. The actual PDF that the universal generates is the blank page and error. I do not want my system to have any built in decrypt methods. I am thinking this will take a modification to the CutePDF drive to make this work. Let me know.

juwagn
Site Admin
Posts: 239
Joined: Wed Oct 15, 2014 8:25 pm

Re: Password protected PDF open in Adobe Reader on server fails to print to Universal

Post by juwagn » Fri Oct 12, 2018 10:42 pm

Hello,

use any pdf viewer not from Adobe, as example from Foxit, there is no problem with such password protected pdfs. Even Firefox and Chrome used as pdf viewers instead Adobe worked fine too. Strange however that Adobe makes such troubles.

Update
PS: there is probably solution but that will slow down the converting by big pdfs due no compression in default settings, seems to have issues with protected pdfs+Adobe.

1. locate and open with Notepad.exe
C:\Windows\System32\spool\drivers\x64\3\MSGENBW.PPD

2. look for
*LanguageLevel: "3"
and finally change it to
*LanguageLevel: "1"

3. delete MSGENBW.BPD in same directory
(attention here, BPD extension and not PPD)
Now restart your html5 rdp session.

Sincerely yours, JW.
TSplus HTML5 and Java web engineer

Post Reply