WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. James Carroll
    Member
    Posted 1 year 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?

    Thanks!
    --
    James Carroll
    [sig moderated as per the Forum Rules]

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

  2. printfriendly
    Member
    Plugin Author

    Posted 1 year 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.

    Best,

    Taylor

  3. James Carroll
    Member
    Posted 1 year 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

About this Topic