Parse a PRINTER_INFO_2 structure

Stefan (metze) Metzmacher metze at
Mon Sep 30 11:00:00 GMT 2002

Hi Jerry,

I was playing a bit with the addprinter command...

I got this parameters:

printer->info_2->printername  =  \smb-1\PRT02SW
printer->info_2->sharename   =  PRT02SW

Shouldn't it be:

printer->info_2->printername  =  PRT02SW
printer->info_2->sharename   =  \smb-1\PRT02SW

maybe the PRINTER_INFO_2 structure isn't parsed in the right order???

I use a win XP machine and HEAD

It would also fine to give the add printer command the 
printer->info_2->comment as parameter.

Stefan "metze" Metzmacher <metze at>

More information about the samba-technical mailing list