[Samba] printing fails
Stefan Schilling
mail.suse at gmx.de
Sat May 11 06:47:03 GMT 2002
Guten Tag Joel Hammer,
Am Samstag, 11. Mai 2002 um 13:53 schrieb Joel Hammer:
> I assume that the printer is not a postscript printer.
> Do you realize that you will need (usually) two queues on your samba
> server? One will be a queue which will filter the print job (the jobs
> sent directly from the samba server in postscript) and a second queue which will simply
> passthrough the print job to the windows printer share.
> If you have a queue with a good filter which handles postscript files
> (originating from your samba server) for your printer, you can use that
> queue for all your printing. You could install a postscript driver on your
> windows boxes (HP laserjet3 plus seems to work fine) and send these postscript
> formatted jobs to the same queue as you use for jobs originating on the
> samba server.
> I know all this stuff because I have never had success using those
> GUI printer installation programs.
> Joel
Hi!
Thanks for this suggestion! But I wanted to let the sending Win98
box prepare the data to be printed. If that´s too complicated:
all right: how can I do this?
Thanks, Stefan
> On Sat, May 11, 2002 at 01:24:48PM +0200, Stefan Schilling wrote:
>> Hello!
>>
>> I´ve got trouble to print via Samba. But read to the end to
>> understand:
>> My printer (a Canon BJC 620) is connected to a Win98 box. Its
>> network name is canon. The /etc/printcap entry is:
>>
>> ---/etc/printcap---
>>
>> lp|smb|canon:\
>> :cm=unser Drucker:\
>> :sd=/var/spool/lpd/smb:\
>> :af=/var/spool/lpd/smb/acct:\
>> :if=/usr/local/samba/bin/smbprint:\
>> :mx=0:\
>> :lp=/dev/null:
>>
>> ---/etc/printcap---
>>
>> I´m using the standard /etc/smb.conf printer settings as the
>> follow:
>>
>> ---/etc/smb.conf---
>> [global]
>> printing = BSD
>> printcap name = /etc/printcap
>> load printers = yes
>> workgroup = WOHER
>> interfaces = eth*
>> map to guest = Bad User
>> keepalive = 30
>> logon script = %U.bat
>> domain logons = Yes
>> os level = 2
>> domain master = True
>> kernel oplocks = No
>>
>> [printers]
>> path = /tmp
>> comment = All Printers
>> printable = yes
>> create mask = 0700
>> ---/etc/smb.conf---
>>
>> Now I can print text files from the Linuxbox to win98. This works
>> fine BUT that´s not, what I want to archieve. I´ve got a 2nd
>> Win98 box that is supposed to use this printer via Samba (the
>> Win98 boxes work on different times). So Samba´s job is to spool
>> the printing job.
>> I can see the printer in the "Neighbourhood", I can install it
>> and it also starts to print the first 2 lines, but no more. It
>> just stopps. Do you have any idea, what can be changed to make it
>> usable. The orig. Printertool cannot be used, it´s looking for a
>> second share "wps", but copying the files doesnt work. Also
>> printer drivers without this tool dont help.
>>
>> Thanks for any idea.
>>
>> Bye. Stefan
More information about the samba
mailing list