Jump to content

Sending an image to a printer

Recommended Posts

Is it possible to print an image (send it to a users printer) that is not on the current page?


I have an application which uploads an image to a server, then a js function which currently opens the image alone in a new window, where I am then printing the image from. However instead of this, I would prefer the user stay on their current page, and have the print dialogue pop up there, rather than sending them to a new window with just an image.


Any help or advice is much appreciated.

Edited by beennn
Link to post
Share on other sites

You can use CSS to use different stylesheets for web and print. So, you could have the image on the page but hidden with the web stylesheet, and the print stylesheet would hide everything else and only show the image.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...