Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

silent printing

Options
  • 05-04-2006 9:50am
    #1
    Closed Accounts Posts: 31


    I am looking for assistance in creating a small ghostscript or component that will allow for pdfs to be downloaded from a website and send to the printer without loading acroat. This tool also need to be available for Mac & pc.

    Can anyone help ?


Comments

  • Registered Users Posts: 7,677 ✭✭✭Trampas


    We use a s/w called silent print in work


  • Closed Accounts Posts: 31 headsy


    Would that mean that each user would have to buy this software and install it on their machine beforehand ? i think it cost £249. I am looking to do this over the web. So if user needs to download & install files it needs to be something that can be distributed free.


  • Closed Accounts Posts: 31 headsy


    Would that mean that each user would have to buy this software and install it on their machine beforehand ? i think it cost £249. I am looking to do this over the web. So if user needs to download & install files it needs to be something that can be distributed free.


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 91,692 Mod ✭✭✭✭Capt'n Midnight




  • Closed Accounts Posts: 31 headsy


    I have found something that appears to silently print. I am not sure of how to apply it. but I have have listed a link to an example. If anyone can help in explaining how to make this work I would appreciate it.



    DEMO:
    http://blowagie.users.mcs2.netarray.com/servlet/silentprint

    SERVLET:
    http://itextdocs.lowagie.com/examples/com/lowagie/examples/general/webapp/SilentPrintServlet.java

    Brief description
    http://itextdocs.lowagie.com/tutorial/general/webapp/index.html#silentprint


    EXTRACT FROM
    https://vineetreynolds.wordpress.com/2005/12/12/silent-print-a-pdf-print-pdf-programmatically/

    There is however an easier but hack ‘n slash way to do it; use a document level JavaScript print action [ for more information have a look at the Adobe Acrobat JavaScript Guide(pdf) and Reference(pdf) ]. The print action is to execute on any valid action - usually a page action. But remember, JavaScript with Acrobat Reader can be disabled by the user. And it is impossible to close Acrobat Reader [not the opened document] after the print is finished - you’ll need to “deliberately crash” Reader after the print is done. And if the PDF file opens in a browser window [ on account of the Acrobat Reader BHO], then you can forget about trying to close the PDF document in a programmatic manner. One of the iText examples shows how a servlet could be written to achieve this. Try a demo here! and make sure you run it in different browsers under different settings (for example : Win XP with SP 2 and without SP2), to understand the varying functionality that it provides. Golden rule to be respected in any software : Never make it behave inconsistently; your users could have trouble describing their problems.


  • Advertisement
  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 91,692 Mod ✭✭✭✭Capt'n Midnight


    headsy wrote:
    you’ll need to “deliberately crash” Reader after the print is done.
    get pstools from www.sysinternals.com

    pskill AcroRd32


  • Closed Accounts Posts: 31 headsy


    Capt. thanks for the lead. Is that restricted to windows or would it work accross platforms


Advertisement