Printing woes

Mike Brodbelt m.brodbelt at acu.ac.uk
Thu Jan 13 11:14:09 GMT 2000


Hi,

I've been using Samba for a while, and I'm now running all network
printing here from Samba. However, while printing itself works fine, my
users can neither view the print queue, nor delete jobs from it, and
this is beginning to get annoying. I'm using LPRng to do all the
printing. All the clients are NT4 workstations. Here's some selected
bits of /etc/smb.conf and /etc/printcap:-

# Global parameters
[global]
        workgroup = MY_DOMAIN
        server string = Samba Server
        security = DOMAIN
        encrypt passwords = Yes
        password server = my_pdc
        username map = /etc/smb.map
        log file = /var/log/samba/log.%m
        max log size = 50
        dns proxy = No
        hosts allow = 123.45.67. 127.
        printing = lprng

[LJ4-RM24]
        comment = LaserJet 4 in Room 24
        path = /var/spool/smb_print
        min print space = 10000
        print ok = Yes
        print command = lpr -r -b -P%p %s
        printer driver = HP LaserJet 4


and the printcap entry for that printer:-

LJ4-RM24:\
  :cm=LaserJet 4 in Room 24:\
  :sd=/var/spool/lpd/lp:\
  :lp=123.45.67.89%9101:\
  :sh:sf:\
  :lf=log:af=acct:\
  :if=/usr/libexec/filters/ifhp -Tmodel=hp4,status@:\
  :mx=0

Any help on how to fix this would be much appreciated...

Mike.


More information about the samba mailing list