Debian Planet








Welcome to Debian Planet

Search

Apt-get into it.
Main Menu

  • Home

  • Topics

  • Web Links

  • Your Account

  • Submit News

  • Stats

  • Top 10

  • Debian

    These are important Debian sites one should not be without!

  • Official Debian site

  • Package search

  • Mailing list archives

  • Bug reports

  • Debian on CD

  • Unofficial woody CD ISOs

  • Unofficial APT sources

  • Developers’ Corner

    Other great Debian news sources:

  • Debian Weekly News

  • Kernel Cousin Debian

    (Debian mailing lists digested)
  • Community Groups

    Need help? You’re not alone on this planet.

  • debianHELP

    (User support site)

  • Debian International

  • DebianForum.de

    (Deutsch)

  • EsDebian

    (español)

  • DebianWorld

    (français)

  • MaximumDebian

    (Italiano)

  • DebianUsers

    (Korean)

  • Debian-BR

    (Português)

  • IRC

    The place to get help on a Debian problem (after reading docs) or to just chat and chill is #debian on irc.debian.org.

    Many of the Debian Planet staff live there so pop by and say hello.

    Wanna write?

    Got that latest or greatest scoop? Perhaps you have some important news for the Debian community? Submit a news item!

    Or perhaps you’ve written a rather ground breaking insight into some aspect of Debian and you feel compelled to share it with others? Knock up a longer editorial article and send it to the editors.

    Sponsorship

    DP is sponsored by Xinit Systems and kieser.net.

    Domains paid for and hosted by uklinux.net.

    Buy your Debian merchandise at DebianShop.com.

    Who’s Online

    There are currently, 72 guest(s) and 3 member(s) that are online.

    You are Anonymous user. You can register for free by clicking here.

      

    CUPS and Samba problems
    by jocknerd on Thursday, January 03 @ 08:49:56 GMT

    I’ve set up CUPS on my Debian system at home. I’ve installed the cupsys, cupsys-client, cupsys-bsd, cupsys-pstoraster, and cupsys-driver-gimpprint packages. I’ve got an Epson Stylus Color 600 connected to my machine’s /dev/lp0 port. Printing works great from here. But I’m having trouble printing from my wife’s Windows 2000 machine. I’ve configured Samba to make the printer available with the following lines:

    [Global]
    printing = cups
    printcap name = lpstat

    [epson600]
    browseable = yes
    path = /var/spool/cups
    printer name = epson600
    writable = yes
    public = yes
    create mode = 0777
    printable = yes
    print command = lp -P %p -o raw %s
    lpq command = lpstat -o %p
    lprm command = cancel %p-%j

    I noticed when cups is installed that the cups spooling directory has the following permissions:
    drwx—— 3 lp sys
    I saw from the cups website that it normally installs as root owner and lp group with 777 rights.

    This causes a problem when I try to install the printer on my wife’s Windows 2000 machine. It says Access Denied. So I change the permissions on the /var/spool/cups to be 777 with owner root and group lp. Then I add my wife to the lp group. This seems to work somewhat. She can now print, even though it still says access denied to the printer. But she can’t delete print jobs. Plus, whenever I restart cups it reverts back to the old permission settings.

    Has anyone else setup Cups to work with Samba printing? What’s the secret? DanielS: I was never able to convince CUPS to work with my remote (hosted on WinNT) printer, because it had both a space and amphersand in the name; I just use lprng and a modified version of smbprint.


    Your Name: Anonymous [ New User ]

    Subject

    Comment

    Allowed HTML:
    <p> <b> <i> <a> <em> <br> <strong> <blockquote> <tt> <li> <ol> <ul>