The basic command to print to a windows printer is from a linux client is: cat FileFormattedForYourPrinter | smbclient //servername/printershare \ PasswordStuff -c "print -" If you leave off the password stuff you will be prompted for it. If this doesn't work, then, you have to find out why. You can also just: smbclient //servername/printershare and log on to the share. You print files with: print LocalFileFormattedForYourWindowsPrinter Crank up the debugging information with -d6 (after printershare) or whatever. Remember that windows doesn't filter anything for you. Remember you don't need a samba server to run smbclient. Joel
On Fri, May 03, 2002 at 05:17:29PM -0400, Miguel Arellano (ht) wrote: > Hello ... > > I've configured a printer in linux using printconf-gui as a windows shared > printer via smb. But when I send a job it doesn't print ... > > Any comments? I'm using RH 7.1 with samba that came bound with RH CDs. > > Thanks a lot ... > > > -----BEGIN GEEK CODE BLOCK----- > Version: 3.12 > GCS/E d+(++) s: a C+++ UCL*+++$ P L+++$ E--- W+++$ N++ o K++ w$ > O- M- V- PS+ PE Y PGP t 5 X+ R* tv+ b++ DI--- D++ > G e++ h--- r+++ y+++ > ------END GEEK CODE BLOCK------ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
