Prevent printing to PDF file

Hi,
I'm trying to prevent the user to print a protected PDF document to a PDF file.
My questions:
- How do I detect that the user prints to a specific printer?
  My replacement callback for AVDocDoPrint is called before the print dialog is viewed. But after the dialog is closed I have no chance to find out, which printer the user has chosen.
  My replacement callback for AVDocPrintPagesWithParams is never called..
  Or how can I find out the properties of the selected printer, like it is a "PDF printer" or a "postscript printer"?
If I print a protected document with the "Adobe PDF" printer, I get the message
%%[ ProductName: Distiller ]%%
This PostScript file was created from an encrypted PDF file.
Redistilling encrypted PDF is not permitted.
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%"
How do I achieve this for every other printer?
Best regards,
Stefan

That's (for the most part) impossible, unfortunately.
Since there is no way to identify a given printer as a "PDF printer", the only thing you could do would be to get the name of the printer and compare it against some list that you've built.  If it matches, then using the provided hooks for printing in the Acrobat SDK Plugin API, you could then disallow printing to that particular printer.
But given the NUMEROUS 3rd party PDF printers on the market – many of which are themselves OEM'd out and rebranded – I think you have a long road ahead :(.
Can I ask what you are REALLY trying to achieve?  Is it some form of protection/right management?  Perhaps there is a better way if we understood your underlying need.

Similar Messages

  • How do i prevent people from copy paste or printing a pdf file when it is uploaded online

    i secured a pdf file through acrobat pro ix, with password thus preventing it from being printed and copy paste. But when i upload it to a website, people are able to print and copy paste... how do i prevent people from copy paste or printing a pdf file when it is uploaded online

    You can make sure that you use Adobe Reader as a PDF Viewer in the browser, although some browsers do not work with Adobe Reader.

  • Cannot print a PDF file after upgrading to Windows 8.1

    Cannot print a PDF file after upgrading to Windows 8.1
    I can print anything else from either the Desktop or Start but not a PDF.  No error message but just does not print.
    Update: down loaded Adobe Reader which runs on the desktop so when I read a PDF file it now runs on the desktop and I can print it.

    Cannot print a PDF file after upgrading to Windows 8.1
    I can print anything else from either the Desktop or Start but not a PDF.  No error message but just does not print.
    Update: down loaded Adobe Reader which runs on the desktop so when I read a PDF file it now runs on the desktop and I can print it.

  • I am trying to print a PDF file to a legal size paper and I would like for it to fill up the page. How do I do this? I went into the settings and changed it from letter to legal, but it's still printing out the same size. Can someone help me, please?

    I am trying to print a PDF file to a legal size paper and I would like for it to fill up the page. How do I do this? I went into the settings and changed it from letter to legal, but it's still printing out the same size. Can someone help me, please?

    Are you trying to Print to PDF or are you trying to Print a PDF file to a physical printer?

  • How do I download and print a pdf file in osx mountain lion

    How do I download and print a pdf file?

    control click on your PDF to download option
    Open it on your desktop Command-P is the short cut for print option.

  • How to Print  a PDF file from within a ABAP ( from gui input)

    Hi champions,
    This is Client requirement:
    "We need to print a PDF file from within a ABAP"
    We first need to test whether it is even feasible, and then if it 
    is, then write a small test ABAP which can accept a PDF file
    name as input (from GUI) and then print it to a SAP print
    device (printer).”
    Please Can any body help me on this.......
    It's urgent
    Thanks
    Basu

    Check following blog for PDF output from SAP
    /people/thomas.jung3/blog/2005/04/28/setting-up-an-adobe-writer-for-abap-output
    anya

  • Print a pdf file from sap

    Hello,
    I'm looking for a way to print a .pdf file from sap . The file  was created manualy and is in a newtwork folder.
    I have to send the print to a network printer . Is it possible to use the AcroRd32.exe as a command line?
    Thank you.

    hii,
    try this
    CONVERT_OTFSPOOLJOB_2_PDF
    http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/content.htm
    PDF - Printing a PDF file from ABAP or SAP Script
    regards,
    Sri.

  • How can I print multiple PDF files at once using Windows 7?

    How can I print multiple PDF files at once, on an HP LJ Pro 400 xcolocr printer without opening each
    one separately using Windows 7?

    I am sorry, but to get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial printer. You can do this at http://h30499.www3.hp.com/hpeb/
    I hope this helps.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Why can't I print a PDF file?  message says no pages selected to print

    When I try to print a PDF file I get two messages 'This document could not be printed.' Then 'There were no pages selected to print.'  How do I select a page to print?  or is there something else?

    What is your operating system?  Reader version?

  • Why can't i print a pdf file, it's asking for a password and i have no idea what it is it's never asked me before?

    why can't I print a pdf file, it's asking for a password and I have no idea what it is it never asked for one before?

    Good afternoon SaraThanks for responding. Yes, I have been able to open these files before without a password. Funny thing is it is happening on both my husband's laptop as well as mine. I'd appreciate any help you could give me but the file is very personal. So, if you can assist in a way that won't compromise the security I would be grateful for your help.Thanks and have a great day!Kim Morse 

  • How can I print a pdf file in Windows 8?

    I'm new to Windows 8. How can I print a pdf file in Windows 8?

    Well, you can install Adobe Reader XI - not the version for Windows 8 tablets, but the one for regular PCs. This is just the same in Windows 8 as other systems, and can print. The tablet reader, which also runs on PCs, can't print.

  • Can I print a pdf file from an email on an HP printer Deskjet 5100?

    Can I print a pdf file received through Email on an HP Deskjet 5100 printer and how?

    Save the file to your hard drive, open it in Adobe Reader and print.  Unless the file has security restrictions against printing, those steps should work.
    -David

  • I can not print a pdf file that was sent in an email.  I get the error message that adobe could not

    I can not print a pdf file that was sent in an email.  I get an adobe error message that it can not print with an ok to check and when i do I get another adobe error message that says I did not select a page to print. I have downloaded the latest adobe download.  I forwarded the email to my husband and he printed the document just fine.

    This first question which comes to mind is how do you display the pdf file in the browser?
    For this the browser uses a plug in (e.g. adobe reader) which already has the ability to print the pdf file. Depending on the version of your plug in, printing is started differently.
    Timo
    Ps: which jdev version do you use?

  • Printing problems (PDF files-HP Color Laserjet 1518ni: return the printer?

    Hi everyone, I recently switched platforms and became a Mac user and had to buy a new
    printer because my old HP deskjet is not compatible with my computer. So, I bought an HP
    Color Laser printer, supposedly Mac compatible, but every time I try to print a PDF file it only
    prints the first page. And then stops printing. I spent hours with the HP customer service, reinstalled
    the driver, changed configurations, but it still does the same thing. The customer service representative could not solve the problem. I was wondering if there is any one else who had a similar issue with printing? Is it Mac OS X 10.5.5 that causes the problem? I am about to return the laser printer; it would be so helpful if I got some feedback. If it is a printer issue, then, which printer would you folks recommend that is not too expensive but efficient (I use the printer a lot and need an efficient one) and a printing speed of around 12-20ppm that actually does work with the Mac?
    Thanks in advance!
    Asli

    Asli Igsiz wrote:
    Thank you for calling my attention to the Adobe issue. I did try and print a PDF file with Preview and it worked! How was the issue solved with Adobe 7? Maybe Adobe pro7 also similar bug issues; is it to Adobe that I should be reporting this or to Apple?
    Thanks again.
    It's definitely an Adobe problem. The only solution I ever saw was either to print from Preview or to use later versions of Adobe Reader 8 or any version of Reader 9. I asked Adobe support what the problem was. I never got a reply.
    You should know that Preview (and any other application which reads PDFs using Apple's PDF engine) has a problem with displaying Times Roman Italic, and only Times Roman Italic when launched under OS X 10.5.5. All other fonts appear to work normally; at least I haven't found one which has a problem, including other Times Roman font faces, including Times Roman Bold Italic. Preview seems to print properly, but the on-screen display has problems. The same files display properly with apps which don't use Apple's PDF engine, and also with apps which use Apple's PDF engine under versions of the OS earlier than 10.5.5, going back to at least 9.2.1. Apple is aware of the problem.
    There seems to be at least two problems with the main PDF engines for OS X, Apple's and Adobe's.

  • HP LaserJet 8000N 'print' blanks PDF files.

    HP LaserJet 8000N 'print' blanks PDF files.
    Tried different PDF programs - same result.
    PDF files prints OK on my other printer
    Any idea why and how to fix?
    Thanks
    Sam

    Hello @samdolev,
    Welcome to the HP Forums!
    To get your issue more exposure I would suggest posting it in the commercial forums since the HP LaserJet 8000N is a commercial product. You can do this at HP Enterprise Business Community.
    The support page for your product may be helpful in the meantime:
    HP Support Center.
    I hope this helps! 
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

Maybe you are looking for

  • Archive Source Files with Errors

    Hi All, I need to archive my sending file in repective directory, if it has errors.. It is mentioned in library that A permanent error occurs either during the conversion of the file content, or in a module in the module processor. What is permanent

  • Payment pending status

    Hi there, I wanted to order a skype number but I have problem while processing to pay. Then I tried again and again by choosing new number but I didn't noticed that that it reserved the number and each time I failed, the payment status changed to pen

  • Can description of material type be put in display mode(t.code-OMS2) ?

    hi mm gurus, Is there any possibility to put the description of material type gray mode (display mode) so that it cannot be changed in t.code.OMS2 because my client doesn't want it in change mode. pl give your valuable suggestion. thanks raj

  • WebLogic 7 and ANT

    Has anybody successfully gotten the WLRUN task to start WebLogic 7.0? It complains of not knowing where my config.xml file is, even though the path it complains about is the correct one. I'm running JDK 1.3.1 in a Windows 2000 environment with WebLog

  • Single instance of a BPEL process

    Hi, We are using BPEL 10.1.3.3.0 for integration between a vendor product and Oracle E-Business Suite. Is there a way of ensuring that only one instance of the BPEL process is active at any one time? The reason behind this is because the process take