var x, y;
img = getImage("placeholder");
x = getImagePageLeft(img);
y = getImagePageTop(img);
There are currently, 64 guest(s) and 5 member(s) that are online.
You are Anonymous user. You can register for free by clicking here.
CUPS and Samba problems Contributed 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:
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.
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?