- 论坛徽章:
- 0
|
建议使用raw打印,不用装驱动(ppd),
Configuration Steps for Raw CUPS Printing Support
Edit /etc/cups/mime.types to uncomment the line near the end of the file that has:
#application/octet-...
Do the same for the file /etc/cups/mime.convs.
Add a raw printer using the Web interface. Point your browser at http://localhost:631. Enter Administration, and add the printer following the prompts. Do not install any drivers for it. Choose Raw. Choose queue name Raw Queue.
In the smb.conf file [printers] section add use client driver = Yes, and in the [global] section add printing = CUPS, plus printcap = CUPS.
Install the printer as if it is a local printer, that is, Printing to LPT1:.
Edit the configuration under the Detail tab and create a local port that points to the raw printer queue that you have configured above. Example: \\server\raw_q. Here, the name raw_q is the name you gave the print queue in the CUPS environment. |
|