That's not normal ReadProfileString() behavior - can you post the code that you use to read these entries?

I use INI files extensively, including my Universal Login Script, and that product in particular is delivered with a sample INI file where almost each line is described with a comment (or two). Two of my current commercial apps use INI files, and again, the sample files are heavily commented, and I've not had any issues. The ULS caches the file locally but then uses direct ReadProfileString calls to first return a list of sections, then it enumerates each section to return a list of values. The values found are then read. My latest app is a performance-sensitive server app and it uses the ReadIniArray() library, which loads the entire INI file into an array, then Read/WriteIniArray calls simply replace the corresponding Read/WriteProfileString function calls.

Your code should probably be something like
 Code:
$aPrinters = Split(ReadProfileString($IniFile, 'Group1'), Chr(10))
For Each $Printer in $aPrinters
  $PData = ReadProfileString($IniFile, 'Group1', $Printer)

  ; for testing:
  $Printer ' returned "' $PData '"' @CRLF

  ; do your printer stuff...
Next
If you try this code by itself (define $IniFile with the name of the flie) it should show all of the non-commented printers. If you are not using ReadProfileString but using some other method to read the file, that could be exiting on the first line that doesn't begin with "Printer".

Glenn
_________________________
Actually I am a Rocket Scientist! \:D