[Samba] INTERNAL ERROR

Ivan Novosad ivan_novosad at ses.sk
Fri Apr 1 13:04:02 GMT 2005


Hi,

You must apropriate set these settings:
printing = cups or LPRNG and
lpq command = %p or echo hhh > /dev/null




[global]

......
    printing = cups
    printcap name = /etc/printcap
    lpq cache time = 10
    lpq command = %p
    lprm command =
    lppause command =
    lpresume command =
....

[str-hplj4050tn]
    comment = STR - 3.posch. (velka,duplex)
    path = /var/spool/samba
    printable = yes
    printing = cups
    lpq command = %p
    valid users = @admins @S41000 @S44020 @S44040 @S44060

[pdf_printer]
    comment = HP Color LaserJet 8500 PS(A3)
    path = /tmp
    printable = yes
    printing = LPRNG
    guest ok = no
    print command = /usr/local/samba_tools/printpdf.sh %s %U %J
    # This is not very nice solutions, but it's work OK
    lpq command = echo hhh > /dev/null

Ivan



More information about the samba mailing list