Hello there! I am really frustrated. I try to get samba printer share to work since like 4 days now. No luck yet. Here is my problem: Windows 2000 can connect to a shared printer, but when it comes to printing I fail. Is samba able to print with cups? (I installed the printer with cups and there it works great.) How can i find out which print command I need to use? I tried playing with lpr on the command line, but all I get are segmentation faults. Also, my printcaps file has one entry as follows: DJ880c: that's it. nothing more. Shouldn't there be more? Thnaks for your help guys! I really appreciate it! Klaus
Hi, I want to mail a notification to a user once a print job has been completed through a samba share. I take it i would add it to the end of the print command parameter. Has anyone got any idea how i can get it to send an e-mail to a user. Cheers ------------- Kristyan Osborne IT Technician Longhill High School 01273 391672 ------ Computers are like airconditioners: They stop working properly if you open windows. Win95: A 32-bit patch for a 16-bit GUI shell running on top of an 8-bit operating system written for a 4-bit processor by a 2-bit company who cannot stand 1 bit of competition. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.372 / Virus Database: 207 - Release Date: 20/06/2002 -------------- next part -------------- HTML attachment scrubbed and removed
There are a lot of ways. The simplest might be a postexec command. read the man page on smb.conf Or, you could have a compound print command with the mail comand part of the printing command itself. Fancier still is to edit the print filter. If you want to notify users whether or not the print job succeeded, that will involve some trickery. Look at the variables in the printing shell with set (put into your print filter, eg. set > variables) to see which variables are available. Your user and his host ought to be in there. Joel On Tue, Jul 09, 2002 at 03:32:34PM +0100, Kristyan Osborne wrote:> Hi, > > I want to mail a notification to a user once a print job has been completed through a samba share. I take it i would add it to the end of the print command parameter. Has anyone got any idea how i can get it to send an e-mail to a user. > > Cheers > > ------------- > Kristyan Osborne IT Technician > Longhill High School > 01273 391672 > > ------ > Computers are like airconditioners: They stop working properly if you open windows. > Win95: A 32-bit patch for a 16-bit GUI shell running on top of an > 8-bit operating system written for a 4-bit processor by a > 2-bit company who cannot stand 1 bit of competition. > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.372 / Virus Database: 207 - Release Date: 20/06/2002 >