Hello people, I am having trouble with one unique printer using Samba and CUPS, for Windows 2000 clients. Versions: CUPS 1.1.10, Samba cvs source (2.2.2-pre) and RH 7.1 (2.4.3-12) I noticed I could only print the way I wanted using the default Windows 2000 driver (HP Color LaserJet 8500 PS) AND setting the printer as a raw queue in cups. Print test pages from CUPS are perfect (if the queue is set as laserjet). If I set the printer as a Laserjet in CUPS, the output from windows clients is really low quality. If I set the printer as raw in cups, the output is normal quality, but sometimes it comes out normal, sometimes comes out mirrored. I have tried HP's PCL and PS drivers for 8500N also. Both do not work under Samba, jobs will only print if the user is declared admin user (root) in smb.conf , otherwise there's an error (the page failed to print), like if the samba spool dir was not 777. I do have several Laserjets here, including 4550N, 4000N, 1100A, all print perfectly from CUPS (queues set as Laserjet) and Windows 2000 clients, using HP's PCL drivers. Anyone could give me a light? cheers Gustavo
Not quite sure what you are asking, but would adding the following line, print command = lpr -P %p -o raw %s to the printer share in /etc/samba/smb.conf help? This would allow you to leave the printer defined as laserjet in CUPS, but would provide raw printing only to those accessing the printer via samba. I am not sure if this will accomplish anything different than simply setting the printer as raw in CUPS, though. Bruce
Hello, Hummm, sure, I guess that really would work. The problem is I don't declare every printer I have, I simply let Samba load all printers from the printcap, so I can't set that print command for this one printer without messing with the rest. Anyway, I just left it that way, looks like I can live with that! :) Thanks for the reply. cheers Gustavo> -----Original Message----- > From: Bruce Best (CRO) [mailto:bestb@lao.on.ca] > Sent: quinta-feira, 18 de outubro de 2001 11:01 > To: 'samba@lists.samba.org' > Subject: Re: Samba + CUPS + HP8500N > > > Not quite sure what you are asking, but would adding the > following line, > > print command = lpr -P %p -o raw %s > > to the printer share in /etc/samba/smb.conf help? This would > allow you to > leave the printer defined as laserjet in CUPS, but would provide raw > printing only to those accessing the printer via samba. > > I am not sure if this will accomplish anything different than > simply setting > the printer as raw in CUPS, though. > > > Bruce > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >