[Samba] uploading printer driver using APW changes printer share name

Marcus Sobchak <lists at localguru.de> lists at localguru.de
Sat Dec 8 14:19:06 GMT 2007


I've set up a printer called "UREW-EDV" using the cups webinterface.
After that an enumprinters give the following output:

rpcclient $> enumprintershp LaserJet 1320 PCL 6

Next step is uploading a driver using APW:


This works fine, but afterwards the name of the printer is changed to
the name _of the driver_ (in this case from "UREW-EDV" to "hp LaserJet
1320 PCL 6"):

rpcclient $> enumprinters
 name:[\\server\hp LaserJet 1320 PCL 6] <- ???
 description:[\\server\hp LaserJet 1320 PCL 6,hp LaserJet 1320 PCL

Now the printer is shown as "hp LaserJet 1320 PCL 6" under \\server ->
"Printer and Faxes". Why that? To correct this I have to open the
printer properties and set the name back to "UREW-EDV" manually. Without
this correction the PrintandPoint feature for this printer doesn't work.
It took me a hole night to figure this out. Is this a normal behaviour
or is this my mistake?

System info:

  samba                        3.0.24-6etch8
  samba-common                 3.0.24-6etch8
  cupsys                       1.2.7-4etch1                         
  cupsys-bsd                   1.2.7-4etch1                         
  cupsys-client                1.2.7-4etch1                         
  cupsys-common                1.2.7-4etch1                         
  libcupsimage2                1.2.7-4etch1                         
  libcupsys2                   1.2.7-4etch1

        load printers = yes
        printing = cups
        printcap name = cups

        comment = All Printers
        browseable = no
        path = /var/spool/samba
        printable = yes
        public = no
        writable = no
        create mode = 0700

        comment = Drucker Treiber
        path = /var/lib/samba/printers
        browseable = yes
        read only = yes 
        guest ok = no   
        write list = root


More information about the samba mailing list