Issue 339416 in chromium: Silent printing with --kiosk-printing argument not working as expected

1,267 views
Skip to first unread message

chro...@googlecode.com

unread,
Jan 30, 2014, 5:57:55 AM1/30/14
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Cr-UI Pri-2 Via-Wizard Type-Bug OS-Linux

New issue 339416 by matija.j...@gmail.com: Silent printing with
--kiosk-printing argument not working as expected
http://code.google.com/p/chromium/issues/detail?id=339416

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/32.0.1700.77 Safari/537.36

Steps to reproduce the problem:
1. Run with --kiosk --kiosk-printing
2. Try to print (window.print() or Ctrl+P)
3. Shows printer dlg (ignores --kiosk-printing parameter)

What is the expected behavior?
To show a flash of the print dialog for ~1 sec.

What went wrong?
Chrome opens in kiosk mode (full screen) but when I send programmatically
or with Ctrl+P it opens chrome preview dialog and doesn't start to print to
default printer without manually pressing print button.

So it ignores --kiosk-printing parameter, but behaves accordingly to
--kiosk parameter.

Print preview dialog appears and DOES NOT print as soon as it loads.

I tried on latest Chrome on Windows Vista and there was same problem.
Started in kiosk mode but it ignores --kiosk-printing parameter

Did this work before? N/A

Chrome version: 32.0.1700.77 Channel: stable
OS Version: Debian 7
Flash Version: Shockwave Flash 12.0 r0

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Mar 13, 2014, 8:43:30 AM3/13/14
to chromi...@chromium.org
Updates:
Status: Assigned
Owner: abod...@chromium.org
Cc: ellyjo...@chromium.org
Labels: Cr-UI-Shell-Kiosk Cr-UI-Browser-PrintPreview

Comment #2 on issue 339416 by ellyjo...@chromium.org: Silent printing with
--kiosk-printing argument not working as expected
http://code.google.com/p/chromium/issues/detail?id=339416

Reproduced on Ubuntu 12.04 LTS.

$ google-chrome --kiosk file:///home/ellyjones/print.html
# Print dialogue shows as normal, no console output
$ google\-chrome --kiosk --kiosk-printing file:///home/ellyjones/print.html
[5751:5751:0313/081521:ERROR:CONSOLE(26)] "Uncaught Error: Assertion
failed: Document ready to be sent to the cloud when not in printing state:
ready", source: chrome://resources/js/util.js (26)
# Print dialogue shows

It looks like this was broken by abodenha's
4e2fbb6c9dd4f2c227309c975ce055b62ec818eb in 2012 (!). Assigning to him.

chro...@googlecode.com

unread,
Mar 13, 2014, 2:23:00 PM3/13/14
to chromi...@chromium.org
Updates:
Owner: aleks...@chromium.org

Comment #4 on issue 339416 by rltosc...@google.com: Silent printing with
--kiosk-printing argument not working as expected
http://code.google.com/p/chromium/issues/detail?id=339416

Aleksey is new owner of the print preview code.

chro...@googlecode.com

unread,
Mar 27, 2014, 9:50:22 PM3/27/14
to chromi...@chromium.org

Comment #5 on issue 339416 by bugdro...@chromium.org: Silent printing with
--kiosk-printing argument not working as expected
http://code.google.com/p/chromium/issues/detail?id=339416#c5

------------------------------------------------------------------
r260041 | alek...@chromium.org | 2014-03-28T00:32:28.403460Z

Changed paths:
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/resources/print_preview/print_preview.js?r1=260041&r2=260040&pathrev=260041

In kiosk printing mode, start printing when destination is ready.

BUG=339416

Review URL: https://codereview.chromium.org/214223002
-----------------------------------------------------------------

chro...@googlecode.com

unread,
Mar 27, 2014, 11:27:29 PM3/27/14
to chromi...@chromium.org
Updates:
Status: Fixed

Comment #6 on issue 339416 by aleks...@chromium.org: Silent printing with
--kiosk-printing argument not working as expected
http://code.google.com/p/chromium/issues/detail?id=339416

(No comment was entered for this change.)

chro...@googlecode.com

unread,
Apr 25, 2014, 11:03:28 AM4/25/14
to chromi...@chromium.org

Comment #9 on issue 339416 by ellyjo...@chromium.org: Silent printing with
--kiosk-printing argument not working as expected
http://code.google.com/p/chromium/issues/detail?id=339416

It should, yes. This bug is fixed.

chro...@googlecode.com

unread,
Sep 8, 2015, 7:15:13 PM9/8/15
to chromi...@chromium.org

Comment #10 on issue 339416 by morton....@gmail.com: Silent printing with
--kiosk-printing argument not working as expected
https://code.google.com/p/chromium/issues/detail?id=339416

target: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
--kiosk --kiosk-printing --enable-print-preview

not skipping print preview on 45.0.2454.85 m

chro...@googlecode.com

unread,
Sep 20, 2015, 9:29:24 AM9/20/15
to chromi...@chromium.org

Comment #11 on issue 339416 by brentla...@gmail.com: Silent printing with
--kiosk-printing argument not working as expected
https://code.google.com/p/chromium/issues/detail?id=339416

Can report the same, is this broken again?

chro...@googlecode.com

unread,
Sep 21, 2015, 9:50:42 AM9/21/15
to chromi...@chromium.org

Comment #12 on issue 339416 by jason.es...@gmail.com: Silent printing with
--kiosk-printing argument not working as expected
https://code.google.com/p/chromium/issues/detail?id=339416

Not working with 45.0.2454.93 m
Reply all
Reply to author
Forward
0 new messages