This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Printing without print dialog in HTML5/Javascript on chrome Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Printing without print dialog in HTML5/Javascript on chrome" Watch "Printing without print dialog in HTML5/Javascript on chrome" New topic
Author

Printing without print dialog in HTML5/Javascript on chrome

Mahesh Kedari
Ranch Hand

Joined: Nov 28, 2009
Posts: 111
Hi,
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?


Regards,
Mahesh Kedari - Fidus Technologies Ltd.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
http://www.youtube.com/watch?v=D6UHjuvI7IE
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Printing without print dialog in HTML5/Javascript on chrome
 
Similar Threads
Java code to Download a file from Server
Printing HTML using Java
Printing Jasper Reports in Local and Network Printer
How to Print Document without opening document?
Java Printing (automated)