[Samba] Printing W2K net use lpt

James Hubbard jhubbard at mcs.uvawise.edu
Tue Oct 15 19:07:01 GMT 2002


Hello,

I've got a problem with printing on a Windows 2K box.  Printing from 
that box to a samba server via the normal print mechanism works fine. 
The problem is when the person needs to print to a lpt port.  The 
capture succeeds, but when the file is copied to lpt2 it never gets 
printed.

There are other machines that can do the capture and copy to the lpt 
port but they are Win 9x.  The files being copied are plot files 
generated by a cad program.

I noticed in the How-To that using enumports might be needed to make 
using lpt ports work. It's not working though and I'm still getting the 
same error message.  I've just started using disable spoolss = yes but 
that doesn't seem to help either.

All relevant information is below. Any help is appreciated.

James Hubbard



This is the command being used to capture the port.
net use lpt2: \\server-bristol\hp450c

Samba version 2.2.5
RedHat 7.2
Windows 2K with the latest service packs.

smb.conf
[global]
......
    printcap name = /etc/printcap
    load printers = yes
    enumports command=/home/samba/ports.sh
    disable spoolss = yes
    printing = lprng

...
    security = share

[printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    guest ok = yes
    writable = no
    printable = yes
    public = yes
    use client driver = yes

This is the error messages that I'm getting in the log file for that 
machine.

[2002/10/15 14:27:22, 0] lib/fault.c:fault_report(39)
   INTERNAL ERROR: Signal 11 in pid 28282 (2.2.5)
   Please read the file BUGS.txt in the distribution
[2002/10/15 14:27:22, 0] lib/fault.c:fault_report(41)
   ===============================================================
[2002/10/15 14:27:22, 0] lib/util.c:smb_panic(1092)
   PANIC: internal error
[2002/10/15 14:27:26, 0] lib/fault.c:fault_report(38)
   ===============================================================
[2002/10/15 14:27:26, 0] lib/fault.c:fault_report(39)
   INTERNAL ERROR: Signal 11 in pid 28631 (2.2.5)
   Please read the file BUGS.txt in the distribution
[2002/10/15 14:27:26, 0] lib/fault.c:fault_report(41)
   ===============================================================
[2002/10/15 14:27:26, 0] lib/util.c:smb_panic(1092)
   PANIC: internal error




More information about the samba mailing list