janke99 / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 0 forks source link

Printing without print dialog, using default printer #163

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call to CefFrame::Print() shows a printer settings dialog
2.
3.

It would be good to have an option to print without printer dialog, using 
default printer, e.g, for a kiosk soft.

What version of the product are you using? On what operating system?
Cef trunk. Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by Nemat.Ra...@gmail.com on 7 Jan 2011 at 9:43

GoogleCodeExporter commented 9 years ago
This is first version of patch.

Original comment by Nemat.Ra...@gmail.com on 7 Jan 2011 at 9:45

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, it would be a good improvement
Mathias

Original comment by mathias....@gmail.com on 7 Feb 2011 at 8:22

GoogleCodeExporter commented 9 years ago
I second that motion!

Original comment by nathan.m...@gmail.com on 19 Jan 2012 at 8:40

GoogleCodeExporter commented 9 years ago
Agreed.  I own a Web POS software that uses mainly Chrome and have an issue 
with that.  I need to by pass the print window and need it to go directly to 
the default printer.

Original comment by rami.tan...@gmail.com on 19 Jan 2012 at 6:42

GoogleCodeExporter commented 9 years ago
Updated for revision 439.

Original comment by nathan.m...@gmail.com on 20 Jan 2012 at 9:19

Attachments:

GoogleCodeExporter commented 9 years ago
Some comments on your patch:

1. Please develop your patch against trunk.
2. All class variables should be under_score instead of camelCase.
3. Default parameter values are not allowed.

Please also check your changes with the check_style tool.

Original comment by magreenb...@gmail.com on 20 Jan 2012 at 8:23

GoogleCodeExporter commented 9 years ago
I've attached the patch against trunk. I ran it against the check_style tool 
and it purrs like a helpless kitten.

Original comment by nathan.m...@gmail.com on 26 Jan 2012 at 7:08

Attachments:

GoogleCodeExporter commented 9 years ago
10 months later..

Original comment by nathan.m...@gmail.com on 7 Oct 2012 at 4:34

GoogleCodeExporter commented 9 years ago
This can be relatively easy to implement by adding a method to one of the 
handlers (CefPrintHandler obviously prime candidate). Mine is 
bool ShouldAskUserForSettings() which default returns true. A kiosk software 
client handler implementation simply will return false. 

Original comment by cristian...@gmail.com on 23 May 2013 at 8:09

GoogleCodeExporter commented 9 years ago
CEF1 has entered bug-fix-only maintenance mode. See 
http://magpcss.org/ceforum/viewtopic.php?f=10&t=10647 for details. If this 
issue applies to the current version of CEF3 please create a new issue.

Original comment by magreenb...@gmail.com on 11 Oct 2013 at 1:49