Null PrinterName

Richard Hogue hogue at bnl.gov
Wed Oct 27 13:30:28 GMT 1999


Hi,
I'm running Samba 2.0.4b on a Debian Linux (v2.2) PC.  If I look at the
"log.smb" file there are many messages:

Attempt to locate null printername!  Internal error?

We have a number of print queues defined and they work fine.

Here is a portion of the /etc/printcap:
=================================================
#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of California at Berkeley. The name of the
University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
#       @(#)etc.printcap        5.2 (Berkeley) 5/5/88
#
# This file was generated by /usr/sbin/magicfilterconfig.
#
lp|hplj5si|RCF HPLJ5Si:\

:lp=/dev/null:sd=/var/spool/lpd/hplj5si:rm=rcfhp0.rhic.bnl.gov:rp=hplj5si:\

        :sh:pw#80:pl#66:px#1440:mx#0:\
        :if=/etc/magicfilter/psonly600-filter:\
        :af=/var/log/lp-acct:lf=/var/log/lp-errs:
rhicqms|PHEN QMS-1725:\

:lp=/dev/null:sd=/var/spool/lpd/rhicqms:rm=rcf.rhic.bnl.gov:rp=rhicqms:\

        :sh:pw#80:pl#66:px#1440:mx#0:\
        :if=/etc/magicfilter/psonly600-filter:\
        :af=/var/log/lp-acct:lf=/var/log/lp-errs:
===================================================

The only definition in "smb.conf" file is:

    printcap name = /etc/printcap

and

[printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        guest ok = Yes
        print ok = Yes
        browseable = No



The rest of the "print..." definition are default and verified by
running "testparm"

===================================================

Greatly appreciate any help.

Richard Hogue
hogue at bnl.gov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hogue.vcf
Type: text/x-vcard
Size: 288 bytes
Desc: Card for Richard Hogue
Url : http://lists.samba.org/archive/samba/attachments/19991027/2313793d/hogue.vcf


More information about the samba mailing list