Back to the original post...Below is how I would handle the PrintInstall function. This seems to return the correct count of printer, regardless of blank lines in the INI file.

 Code:
$iniFile = @ScriptDir+"\test.ini"
$Section = "Accounting Printers"

PrintInstall($iniFile, $Section)

Function PrintInstall($iniFile, $Section)
	$PrintServer = ReadProfileString($iniFile, "PrintServer", "Printer")
	$printerKeys = Split(Left(ReadProfileString($iniFile, $Section, ""), -1),chr(10))
	FOR each $printerKey in $printerKeys
		$printer = ReadProfileString($iniFile, $Section, $printerKey)
		? "Install the $Printer"
	NEXT
EndFunction