On Sat, Dec 29, 2001 at 11:23:45PM +0100, Jens Müller wrote: | I am using cupsys 1.1.12-3 and samba 2.2.2-2. | | I set up my printer (HP DJ 840 C, USB) using CUPS. | | I can print from Linux (well, the lpr program is not there ...).
cupsys-bsd | I set the following in smb.conf: | | | [printers] | comment = All Printers | browseable = yes | path = /tmp | printable = yes | public = yes | writable = no | ; writable = yes | create mode = 0700 The share needs to be world writeable. | # Following print command uses client side printer drivers. | print command = lp -o raw %s | | # Following print command using cups own drivers | # (use generic PostScript on clients). | ; print command = lpr-cups -P %p %s | lpq command = lpstat -o %p | lprm command = cancel %p-%j | # ----------------------------------------------------------------------- These are only needed if you don't have the *BSD tools (IIRC). | When trying to access the printer (show printer queue) or print from | Windows, it says: | | Zugriff verweigert; keine Verbindung möglich | (in English: Access denied; no connection possible) | | Why is that so? The windows machine must first write the data to a file in the directory specified in the [printers] section (/tmp). Then the "print command" sends that file to the print spooler and removes it. (note: the command must remove the file, otherwise they just keep building up) | What do I have to change in my config? Set "writeable = yes", install 'cupsys-bsd' and comment out your command specifiers. -D -- How great is the love the Father has lavished on us, that we should be called children of God! 1 John 3:1