The client configuration is similar to Linux to Linux printing.
The simplest way to do it is to add an entry to /etc/printcap. As a quick example, the entry for a generic matrix printer would be:
# EPSON LX300 epson:\ :sd=/var/spool/lpd/epson:\ :mx#0:\ :sh:\ :if=/var/spool/lpd/epson/filter:\ :lp=/dev/null:
Make sure you are using the correct filter, or the right generic one.
Be sure you have created the directory /var/spool/lpd/epson, and the users you wish to use the printer have the right access to this.
For example, assume the Windows print server is named meriadoc, with an IP address of 192.168.1.49, and the printer is shared from Windows as epsonLX.
So, you have to configure /var/spool/lpd/epson/.config like this:
Once your /etc/printcap is configured, you have to enable the print share:
[localhost]$ lpc up epson [localhost]$ lpc enable epson
If everything is ok, you can send jobs to the queue:
[localhost]$ lpr -Pepson file
Закладки на сайте
Проследить за страницей
Created 1996-2022 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру