Printers.DLL - NSIS extension DLL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Enumerates available local printers (all printers on Win9x).

Code Example
~~~~~~~~~~~~

; printers enumeration starts at 1
StrCpy $R0 1
enum_printers:
	Printers::GetPrinterInfo /NOUNLOAD $R0
	Pop $0
	; First pop == 0, no more printers
	StrCmp $0 "" enum_printers_done
		Pop $1
		Pop $2
		Pop $3
		MessageBox MB_OK "Name: $0$\nServer name: $1$\nShare name: $2$\nPort name: $3"
		IntOp $R0 $R0 + 1
		Goto enum_printers
enum_printers_done:
	; unload the DLL
	Printers::GetPrinterInfo $R0

Credits
~~~~~~~

Copyright (c) 2002 Amir Szekely