Interestingly when I execute:

 Code:
$aColors = Split(ReadProfileString('PrinterData.ini', $PModel), @CRLF)


I get a message from Kix saying "ERROR : invalid method/function call: missing required parameter 3!"

It only seems to allow the line to execute if it's specified like this:

 Code:
$aColors = Split(ReadProfileString('PrinterData.ini', $PModel, ''), @CRLF)


but then the array is empty!

I'm guessing I've missed something else somewhere so am taking a look through the code now (although I've now cut the script right down to simply printing the contents of the array on the screen, unfortunately empty at the moment). I've tried specifying the complete path to the .ini file as well, just in case that was it. But still the same.