Can't get printer comment right

Ben Stuyts benst at
Tue Nov 25 11:25:45 GMT 1997


I am setting up a FreeBSD 2.2.5  machine with Samba 1.9.17p2 as a print  
server. For this it is important to get the printer comments right, but I  
can't get it to work properly. This is my printcap file:

#       @(#)printcap    5.3 (Berkeley) 6/30/90
# $Id: printcap,v 1.5 1996/10/13 16:52:33 joerg Exp $

lp0|Graphtec GP2002:\
lp1:HP Laserjet III:\
lp2:OKI ML380:\

This is what I get when running smbclient -L on that machine:

Server=[ANDREW] User=[benst] Workgroup=[WORKGROUP] Domain=[WORKGROUP]

        Sharename      Type      Comment
        ---------      ----      -------
        IPC$           IPC       IPC Service (Samba 1.9.17p2)
        lp0            Printer   Graphtec GP2002
        lp1            Printer
        lp2            Printer
        printers       Printer

As you can see, it only gets the comment right for lp0. How can I get the  
comments for lp1 and lp2 right? I've tried various combinations in the  
printcap file, but didn't succeed. According to the documentation, a print  
alias that has a space in it is taken as a comment, but it doesn't seem to  
work for lp[12].

Any idea what I'm doing wrong?


More information about the samba mailing list