這裏顯示兩個版本的差異處。
| 下次修改 | 前次修改 | ||
|
linux:printer [2007/05/15 02:15] wenpei 建立 |
linux:printer [2007/05/15 02:57] (目前版本) wenpei |
||
|---|---|---|---|
| 行 7: | 行 7: | ||
| # apt-get install cups-pdf | # apt-get install cups-pdf | ||
| - | 預設 CUPS 就有啟動,到 http://localhost:631 有網頁管理介面,「Administration」→「(Add This Printer)PDF Printer (Virtual Printer)」,Make 選「Generic」→「Continue」,Model 選「Generic PostScript Printer Foomatic/Postscript (recommended)(en)」→「(Add Printer)」,之後在「Printers」這個 tab 中就可以看到新增的印表機,或者到「桌面」→「管理」→「Printing」中也可看到。 | + | 預設 CUPS 就有啟動,到 http://localhost:631 有網頁管理介面, |
| + | |||
| + | 「Administration」→「(Add This Printer)PDF Printer (Virtual Printer)」, | ||
| + | |||
| + | Make 選「Generic」→「Continue」, | ||
| + | |||
| + | Model 選「Generic PostScript Printer Foomatic/Postscript (recommended)(en)」→「(Add Printer)」, | ||
| + | |||
| + | 之後在「Printers」這個 tab 中就可以看到新增的印表機, | ||
| + | |||
| + | 或者到「桌面」→「管理」→「Printing」中也可看到。 | ||
| 列印出來的 PDF 檔案會放在家目錄下的 PDF 資料夾中。檔名的中文支援可能會出問題。 | 列印出來的 PDF 檔案會放在家目錄下的 PDF 資料夾中。檔名的中文支援可能會出問題。 | ||
| + | |||
| + | ====== 讓 Windows 使用 PDF 印表機 ====== | ||
| + | ===== 修改設定檔 ===== | ||
| + | /etc/cups/cupsd.conf | ||
| + | <code> | ||
| + | Port 631 | ||
| + | |||
| + | <Location /> | ||
| + | ...... | ||
| + | Allow From 192.168.*.* | ||
| + | </Location> | ||
| + | </code> | ||
| + | |||
| + | 重新啟動 CUPS | ||
| + | # /etc/init.d/cupsys restart | ||
| + | |||
| + | 在 WindowsXP 中,「新增印表機」→「網路印表機」→「連線到網際網路...」, | ||
| + | |||
| + | URL 輸入「http://printer_ip:port/printers/Virtual_printer」, | ||
| + | |||
| + | 可先在網頁介面查好路徑,驅動程式選「Apple」的「Apple Color LW 12/660 PS」。 | ||
| + | |||
| + | 印出來的資料會放在 CUPS 主機上的 | ||
| + | /var/spool/cups-pdf/ANONYMOUS | ||
| + | 目錄中 | ||