Print Preview: How to enable in chromium

3,143 views
Skip to first unread message

Vivek Galatage

unread,
Jun 20, 2013, 10:16:41 AM6/20/13
to Chromium-dev
Hello chromium-dev,

I was able to build the chromium on windows finally :) So now I am trying to play around with print preview and this feature seems to be disabled in chromium build.

According to "Print Preview" [1] document, the chrome is shipping the PDF plugin along with chromium to leverage the preview feature... So is there a way to enable the same for chromium build?

Please correct me if I am wrong!

Thank you,
Vivek

Vivek Galatage

unread,
Jun 20, 2013, 10:20:06 AM6/20/13
to Chromium-dev

Vivek Galatage

unread,
Jun 20, 2013, 10:40:58 AM6/20/13
to Chromium-dev
Doing some more code searching, I figured out [1] so as to enable GOOGLE_CHROME_BUILD in order to make print preview enabled.

Mike Wittman

unread,
Jun 20, 2013, 12:28:58 PM6/20/13
to vivekg...@gmail.com, Chromium-dev
In a Chromium build, passing --enable-print-preview on the command line will also work.

-Mike

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
 
 
 

Lei Zhang

unread,
Jun 20, 2013, 1:48:58 PM6/20/13
to vivekg...@gmail.com, Chromium-dev
You can drop in a pdf.dll from a Google Chrome build of similar
vintage and pass --enable-print-preview in your Chromium build, as
mentioned. You don't have to do a Chrome branded build.
Reply all
Reply to author
Forward
0 new messages