Print Friendly and PDF Button
[resolved] Intercept Print command in browser? (3 posts)

  1. James Carroll
    Posted 3 years ago #

    Thank you for your great service. Your plugin makes my website look good on 8.5 x 11" paper. One question: can you intercept the browser's built-in Print command? I have tested it in Chrome, Safari, and Firefox, all on OS X 10.6.8. I imagine this could be accomplished with some Javascript, right?

    James Carroll
    [sig moderated as per the Forum Rules]


  2. printfriendly
    Plugin Author

    Posted 3 years ago #

    JavaScript cannot be used to intercept built-in browser commands AFAIK. However, a browser plugin or extension can have this kind of control.

    Let me know if you hear anything different.



  3. James Carroll
    Posted 3 years ago #

    Thank you for "confirming" this, especially so quickly; my solution was to both use printfriendly and a set of CSS print directives, modified from the Styling for Print WordPress codex article. Same here, please let me know if you learn more. Feel free to mark this as resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Print Friendly and PDF Button
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic