[samba] cups & samba

Salavat Yarmukhametov salavat на regiongarant.ru
Ср Дек 8 14:58:58 MSK 2004


есть принтер подключенный к LPT-порту. Печатает через cups нормально.
через самбу расшарен для виндовых машин:
smb.conf
[global]
    printcap name = /etc/printcap
    load printers = yes

[printers]
    writable = no
    path = /tmp
    printable = yes
    auto services = Printer

[Printer]
    comment = Printer
    path = /var/spool/samba
    printer driver= HP DeskJet 895Cxi
    read only = No
    create mask = 0700
    guest ok = Yes
    printable = Yes
    print command = lpr -r -P'%p' %s
    lpq command = lpq -P'%p'
    lprm command = lprm -P'%p' %j
    lppause command = lpc hold '%p' %j
    lpresume command = lpc release '%p' %j
    queuepause command = lpc stop '%p'
    queueresume command = lpc start '%p'
    printer name = Printer
    use client driver = Yes
    oplocks = No
    share modes = No

	При попытке печати с виндовой машины в логе самбы:
[2004/12/08 14:51:25, 0] printing/print_cups.c:cups_job_submit(779)
  Unable to print file to Printer -
client-error-document-format-not-supported

В /etc/var/log/cups/error_log
E [08/Dec/2004:14:51:25 +0300] print_job: Unsupported format
'application/octet-stream'!
I [08/Dec/2004:14:51:25 +0300] Hint: Do you have the raw file printing
rules enabled?


Подскажите пожалуйста - где включить raw file printing rules?

[salavat на salavat salavat]$ rpm -qa |grep samba
samba-doc-3.0.5-alt3.M24
samba-vfs-3.0.5-alt3.M24
samba-client-3.0.5-alt3.M24
samba-client-cups-3.0.5-alt3.M24
samba-swat-3.0.5-alt3.M24
samba-common-3.0.5-alt3.M24
samba-3.0.5-alt3.M24
samba-client-control-1.0-alt1
[salavat на salavat salavat]$ rpm -qa |grep cups
libcups-1.1.20-alt6.1
cups-common-1.1.20-alt6.1
samba-client-cups-3.0.5-alt3.M24
ghostscript-cups-7.07.1-alt4.1
cups-1.1.20-alt6.1

--
Salavat Yarmukhametov		
Jabber: salik на jabber.ru	
ICQ:	21144441


Подробная информация о списке рассылки Samba