Sunday, March 2, 2014

Print Preview and View PDF Files in Chromium on Windows


Instructions:

Although this was only tested to work on Windows 8.1, in the past, I have had success with this method on Windows 7.

Download Chromium’s mini installer (64-bit) at:

The 32-bit installer is here:

After installing Chromium, download & install Google Chrome Dev (Channel) version:

On your Windows desktop, right-click on the Chromium icon, select “Properties”.



In the “Target” field, add the following:
--enable-print-preview

It should look like this:
C:\Users\aco\AppData\Local\Chromium\Application\chrome.exe --enable-print-preview

Once finished, click “OK” to save your settings. You can verify that your settings are in effect by opening Chromium and typing “about:version” in your URL bar. You should see the following:

Command Line: "C:\Users\aco\AppData\Local\Chromium\Application\chrome.exe" --enable-print-preview -

Next, close Chromium and browse to Google Chrome’s (dev version) installation directory:
C:\Program Files (x86)\Google\Chrome\Application\35.0.1862.2
The version number highlighted in bold blue can change depending on what the current development version of Google Chrome is.

Look for a file called “pdf.dll”. Copy that file to Chromium’s installation directory:
C:\Users\aco\AppData\Local\Chromium\Application\35.0.1856.0
Again, this version number can change depending on what the current version of Chromium is.

Verification:
Once done, run Chromium and test as follows:
Type “about:plugins” in your URL bar. You should see the following:




You can test Print Preview via “CTRL P”, then from there, changing your (printer) “Destination” to “Save as PDF”

Courtesy of:

No comments:

Post a Comment