Printing to a Samba Printer

Michael S. Dunsavage mikesd at frontiernet.net
Tue Oct 26 04:59:19 UTC 2004


In my smb.conf I haev
[printers]

path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr -P %p -o raw %s -r
lpq command = lpstat -o %p
lprm command = cancel %p-%j


>
>
> Alejandro Calbazana wrote:
>
>> Hello,
>>
>> I have a problem with printing to a Samba printer... I see my print jobs
>> spool but I can not get them to print!  I've been able to print 
>> directly to
>> the printer using lpr -P %p %s, but when I send the job over through 
>> Samba,
>> the file spools, windows notifies of printing, but nothing prints.
>>
>> I've checked access on the spool directory... The necessary 
>> permissions are
>> there.
>>
>> I am running:
>> Samba 2.2.7a
>> RH 9 2.4
>> HP Photosmart 7550 printer
>>
>> My smb.conf file:
>>
>>   [global]
>>           server string = Samba Running %v
>>           socket options = TCP_NODELAY
>>           keep alive = 30
>>           print command =  lpr -P %p %s
>>          lpq command = /usr/bin/lpq %p
>>          ;debug level = 4
>>          use client driver = yes
>>
>>     [printers]
>>          comment = Printers
>>          path = /tmp
>>          printable = yes
>>          browseable = no
>>          create mode = 0700
>>
>> [HPPS7550]
>>         comment = HP Photosmart 7550
>>          printer = HP_Photosmart_7550
>>          path = /tmp
>>          printable = yes
>>          browseable = no
>>          printable = yes
>>          use client driver = yes
>>
>> Any help is appreciated.
>
>
> Smells like the known raw printing option problem.
>
> Try setting the printer up for raw printing.
>
> Regards,
> Ed.
>




More information about the redhat-list mailing list