[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

CUPS, SAMBA and Windows

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 ...).

I set the following in smb.conf:

   comment = All Printers
   browseable = yes
   path = /tmp
   printable = yes
   public = yes
   writable = no
; writable = yes
   create mode = 0700

# ----------------------------------------------------------------------
# From:  http://www.troubleshooters.com/linux/samba.htm#samba_with_cups

# 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
# -----------------------------------------------------------------------


printing = cups

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?

What do I have to change in my config?

Reply to: