Miguel Arellano (ht)
2002-May-03 14:16 UTC
[Samba] Printing from linux to windows shared printer
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------ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2867 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20020503/5c1df84f/smime.bin
Bradley W. Langhorst
2002-May-03 14:31 UTC
[Samba] Printing from linux to windows shared printer
On Fri, 2002-05-03 at 17:17, 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 ...This is not a problem with samba - instead it is a problem with smbclient. That might help you in your google search. read your log files, look in your queue directory "it doesn't print" is not much information brad
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------