樹心幽徑

20200309讓Ubuntu可列印成pdf檔案
2020/03/09,20:00

(1)$ sudo apt-get install cups-pdf

(2)$ sudo chmod +s /usr/lib/cups/backend/cups-pdf

(3)System/Administration/Printing/New Printer/

(4)解決無法列印的問題訊息「cups-insecure-filter」:

$ sudo chown -hR root /usr/lib/cups/filter
$ sudo chown -hR root /usr/lib/cups/backend
$ sudo chgrp -hR root /usr/lib/cups/filter
$ sudo chgrp -hR root /usr/lib/cups/backend

(5)終於列印成pdf檔成功如下:

ls  ~/PDF -l
總計 376
-rw------- 1 treehrt treehrt 381672  3月  9 20:19 252.pdf

 

 

REF: https://www.itread01.com/content/1548432908.html

 
Accessible and Valid XHTML 1.0 Strict and CSS Powered by LifeType