Support » Plugin: Print, PDF, Email by PrintFriendly » Intercept Print command in browser?

  • Resolved James Carroll

    (@jcarroll)


    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?

    Thanks!

    James Carroll
    [sig moderated as per the Forum Rules]

    http://wordpress.org/extend/plugins/printfriendly/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Print & PDF by PrintFriendly

    (@printfriendly)

    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.

    Best,

    Taylor

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Intercept Print command in browser?’ is closed to new replies.