Note
On CUPS-enabled systems there is a facility to pass raw data directly to the printer without intermediate
processing via CUPS print filters. Where use of this mode of operation is desired, it is necessary to
configure a raw printing device. It is also necessary to enable the raw mime handler in the
/etc/mime.conv and /etc/mime.types files. Refer to
CUPS Printing Support,
Explicitly Enable raw Printing
for application/octet-stream.
The example in
the Anonymous Printing example uses CUPS for direct printing
via the CUPS libarary API. This means that all printers will be exposed to Windows users without need to
configure a printcap file. If there is necessity to expose only a sub-set of printers, or to define a special
type of printer (for example, a PDF filter) the
printcap name = cups
can be replaced
with the entry
printcap name = /etc/samba/myprintcap
. In this case the file specified
should contain a list of the printer names that should be exposed to Windows network users.
|