Hi Urs,
Unfortunately this does not seem to be a common application. I was not able to find any specific information about using a printer like yours with LabWindows/CVI.
While I am not able to test them with such a printer, there are two attributes available with SetPrintAttribute that may be useful.
The ATTR_PRINT_AREA_HEIGHT attribute will allow you to set the vertical size of the page to be printed, and ATTR_PRINT_AREA_WIDTH will allow you to set the length of a line. Setting these to appropriate values should allow the other functions you mentioned to behave as you expect. That is, lines will be printed as 40 characters, and the SetPrintAttribute(ATTR_EJECT_AFTER,1) will only eject the paper an amount that makes sense for your ATTR_PRINT_AREA_HEIGHT setting.
Scott Y
NI