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

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to