samba-cups-pdf virtual printer
John Nielsen
lists at jnielsen.net
Sun Dec 10 10:07:51 PST 2006
On Sunday 10 December 2006 03:06, fulan Peng wrote:
> I am using 6.1. I just went /usr/ports/net/samba3 and print/cups-pdf
> and did make clean installs. I made samba_enable="YES" and
> cupsd_enable="YES" in /etc/rc.conf file. I managed to make swat
> running and the cupsd listening at 631. I went http://192.158.0.1:631,
> I clicked printer and add button, it showed Name, Location,
> Description, then there is an add button. From Samba's swat, I could
> not find any printer either. I added a printer named cups. Now I do
> not know what I should do in cupsd at http://192.168.0.1:631/admin.
> When making Samba, I just selected CUPS and no other options and I
> choose share for the security options.
> Please help to give some hint to make Samba-Cups-pdf writer work!
I have this working. In my /usr/local/etc/smb.conf file I have (among other
things):
[global]
printing = CUPS
printcap name = cups
On the cups side, you have to go through and add the virtual printer through
the web interface. Just select "Add New Printer" and follow the prompts.
Give it a name, and for "Device" select "Virtual Printer (PDF Printer)".
The defaults should be fine for the other screens (it should
show "cups-pdf:/" as the device URI).
You should then have a CUPS printer which will also be exported
(automatically) via Samba.
Note that the resulting PDF documents will be stored locally on your print
server (in /var/spool/cups-pdf by default), so you should also make that
directory available over the network somehow. (Samba is an obvious
candidate for your Windows clients.)
HTH,
JN
More information about the freebsd-current
mailing list