search for: lp_addprinter_cmd

Displaying 1 result from an estimated 1 matches for "lp_addprinter_cmd".

2002 May 29
1
BUG: when using 'addprinter command'
...= print_queue_snum(printer->info_2->sharename)) != -1) { DEBUG(5, ("_spoolss_addprinterex: Attempted to add a printer named [%s] when one already existed!\n", printer->info_2->sharename)); free_a_printer(&printer, 2); return WERR_PRINTER_ALREADY_EXISTS; } if (*lp_addprinter_cmd() ) if ( !add_printer_hook(printer) ) { free_a_printer(&printer,2); return WERR_ACCESS_DENIED; } slprintf(name, sizeof(name)-1, "\\\\%s\\%s", get_called_name(), printer->info_2->sharename); if ((snum = print_queue_snum(printer->info_2->sharename))...