[95389] in RedHat Linux List
RE: samba printing
daemon@ATHENA.MIT.EDU (gdoris@shaw.wave.ca)
Sat Oct 17 20:18:43 1998
From: gdoris@shaw.wave.ca
In-Reply-To: <199810180013.KAA20173@spice.idl.com.au>
Date: Sat, 17 Oct 1998 20:18:21 -0400 (EDT)
Reply-To: gdoris@shaw.wave.ca
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Double check your permissions for the printer. I'd guess the system error
stuff is that Win95 isn't able to send because it doesn't have the permission.
Gerry
On 17-Oct-98 Pete wrote:
> Hi everyone,
>
> I have been busy for the last few days trying to get printing under
> samba to work. The closest I came was that the 95 machine was
> sending it's print job to the samba spool, and there it stayed. I
> printed out the spooled files using lpr -r -P bj200 /var/spool/samba/*.
>
> Now, since then I have done something and now nothing is sent to
> the samba spool at all.
>
> Windows is coming up with an error that goes along the lines of:
>
> There was an error printing to \\piglet\bj200 there was a problem
> printint to the printer due to an unknown system error. Restart
> windows and try printing again, the printer is set to offline.
>
> Now I have been over the man pages and the samples, and nothing
> is helping here. The worst thing of all is that my wife is really giving
> my a hard time about this.. sigh.. :)
>
> The things that work:
>
> The printcap is fine, I can print from the linux box and I can print
> remotely from another linux box.
>
> For a while there the print jobs were spooling to /var/spool/samba.
> Printing these proved that printing in general is working.
>
> What doesn't work:
>
> Printing from windows clients. I have been getting the above error
> EVERYTIME I print, even when the job were spooling.
>
> Help required:
>
> Pointers about settings on both the client (win95) and server (linux)
> please. I'm obviously missing something, or stuffed up my
> smb.conf big time.
>
> Here are the printer part of it:
>
> GLOBAL settings:
>
> ; printing = BSD or SYSV or AIX, etc.
> printing = bsd
> printcap name = /etc/printcap
> load printers = yes
>
> ; added lines for printing
> ; this will print a line to the print.log and then print out and remove
> the prin
> ; t job.
>
> ; print command = echo Printing %s >> /var/log/print.log; lpr -r -P
> %p %s
> lpq command = lpq -P %p
> lprm command = lprm -P %p %j
>
> ; print command = cp %s /tmp/tmp.print
>
> the BJ200 share:
>
> [BJ200]
> comment = Bubble Jet 200
> printer driver = Cannon Bubble-Jet BJ-200
> printer name = BJ200
> printable = yes
> browseable = yes
> public = no
> writeable = no
> create mode = 700
> path = /var/spool/samba
> print command = echo Printing on BJ200 %s >>
> /var/log/print.log ; lpr -r -P%
> p %s
>
> Now some observations:
>
> When connecting to the print share, I'm not seeing BJ200( the
> share name above) , but bj200 (dunno where this is)
>
> Also, I have setup the printer driver line to the Exact string you see
> when win95 wants a printer driver, yet I'm still asked for it, I'm
> guessing that my [BJ200] isn't setup right.
>
> Each change to the smb.conf is followed by a smb restart.
>
> Thanks for your time and help,
>
> Pete
>
> In a world with out fences, who needs Gates?
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-list-request@redhat.com with
> "unsubscribe" as the Subject.
----------------------------------
E-Mail: gdoris@shaw.wave.ca
Date: 17-Oct-98
Time: 20:17:05
This message was sent by XFMail
----------------------------------
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.