NT printing

Alan Hourihane alanh at pinacl.co.uk
Wed Sep 22 10:53:49 GMT 1999


Found the error.

I'm getting..

[1999/09/22 11:34:52, 1] printing/nt_printing.c:add_a_printer_2(592)
  cannot create printer file [/usr/local/samba/lib/NTprinter_Services]
[1999/09/22 11:39:49, 1] rpc_parse/parse_spoolss.c:spool_io_printer_driver_info_
level_3(2863)
  lecture: memoire ok
[1999/09/22 11:39:49, 1] printing/nt_printing.c:add_a_printer_driver_3(297)
  cannot create driver file [/usr/local/samba/lib/NTdriver_W32X86_HP LaserJet 4#
4M Plus PS 600]
[1999/09/22 11:39:49, 1] printing/nt_printing.c:add_a_printer_2(592)
  cannot create printer file [/usr/local/samba/lib/NTprinter_Services]

But I don't know why yet.

Alan.
-----Original Message-----
From:	Dave.Stevenson at durham.ac.uk [SMTP:Dave.Stevenson at durham.ac.uk]
Sent:	22 September 1999 11:13
To:	Multiple recipients of list SAMBA-NTDOM
Subject:	Re: NT printing

I'm not authoritative on this but have played a little..

I browsed the server, opened the printers folder and used "Add Printer"
then when prompted "Have disk" and loaded the drivers from the CD on
my workstation (NT4/SP5). (Make a print$ share to hold the drivers)
The files were created by samba. Can make
changes to forms etc. from workstation. 

(Get multiple entries for forms in the ntforms.def file but a simple
sort -u removes the duplicates.

I can then mount printers and print....but

1/ Spoolss on thee workstation crashes out when you add printer. ( But
seems to get to the end of add printer process OK. restarting spoolss
works and printer is seen.

2/ the print queue display code is not there yet apparently so the queue display
does not refresh.

3/ Found the NT printing unworkable at the moment but interesting :)
It is experimental code after all and a priviledge to play with it.

The 2.0.5 mainline code I found works well with printers as LANMAN connections and
by creating a print$ share I can download drivers from the server (though
not automatically...anyone done this?) 

> 
> How do you create the NTprinter_??? and NTdriver_???
> files with the correct entries for Samba 2.1prealpha ?
> 
> I can see things like 
> 
> starttime
> printername
> servername
> 
> etc, but how do I create them ?
> 
> Thanks.
> 
> Alan.
> 



More information about the samba-ntdom mailing list