Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Printing without print dialog in HTML5/Javascript on chrome

Mahesh Kedari
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've seen may posts on web saying it is not possible to send a data directly to printer from a web page without using print dialog.
I understand that there could be a security threat if such feature is provided in browser.
But I need this feature for my web application (Web based Point of Sale).

Is there any tip or trick using which I can print a specific content without showing print dialog?
I am thinking to develop a plugin for chrome which will allow this feature only for specified URLs.
So if some print request is coming from that specified URL, chrome should not display any print dialog and it should directly print the content on default printer.
Can somebody help me for that? Is there any plugin already available in market with such feature?
Eric Pascarello
Posts: 15385
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic