After weeks of searching, I finally discovered that the printer does not support ZEBRA, that the IGP (which is DOES support) does not support paper out detection, that accessing the printer queue does not work either, that any of the other available pseudo programming languages don't work either. I also discovered a way to fix my paper out issues by accessing the parallel port and reading one of the pins out directly. Ofcourse I couldn't do this directly because I am using Windows XP. I needed some kind of kernel driver. I eventually found a DLL and was able to read out the pin status. Ofcourse it took some time for the client to send me some test data so it took me even more time to fix any layout issues I still had.