Přidat do čtečky RSS

 

Ubuntu

Jak se žije s přátelskou veverkou

Jak doinstalovat "Print Preview" pro Chromium

Launch Chromium, then navigate to https://www.google.com/intl/en/chrome/browser/

Click on the blue "Download" button. Depending on your architecture, select either "32-bit .deb" or "64-bit .deb". Move the .deb file to a build directory (things will get messy after you unpack it). After closing Chromium, run the following commands:

$ cd google-chrome
$ ar vx *.deb
$ tar --lzma -xvf *.lzma

Look for a directory called "opt":

$ ls
$ cd opt/google/chrome

Copy all the *.so files into Chromium's directory in /lib:

$ ls
$ sudo cp -vr *.so /usr/lib/chromium-browser

Update the file /etc/chromium-browser/default and adding it to the variable CHROMIUM_FLAGS, such that:

CHROMIUM_FLAGS=""

becomes:

CHROMIUM_FLAGS="--enable-print-preview"

Verification
Launch Chromium. In the URL, type about:plugins. You should now see the Chrome PDF Viewer plugin (along with the others you copied over). Also, try printing a web page; you should be able to see a print preview of that page.

Zdroj
http://vm89.blogspot.com/2013/06/print-preview-and-view-pdf-files-in.html 


Komentáře

Napište komentář


Hidden


Příkazy Textile