Date: Sun, 10 Dec 2006 13:07:41 -0500 From: John Nielsen <lists@jnielsen.net> To: freebsd-current@freebsd.org Cc: fulan Peng <fulanpeng@gmail.com> Subject: Re: samba-cups-pdf virtual printer Message-ID: <200612101307.42690.lists@jnielsen.net> In-Reply-To: <bf0f1bc90612100006h4cfb26d6i8c27fd19acdecc2a@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
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, JNhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612101307.42690.lists>
