Hi,
very good, so is invoking $GDCDIR/bin/printerinfo a workable solution for you? You could perhaps retrieve the output of the executable using a front call.
May I ask why you need the list of printers in the 4GL? I am guessing that you will then prompt the user with a 4GL dialog containing the list of choices based on that list. Should that be the case, why don't you use the option fgl_report_configureSVGPreview("ShowPrintDialog") which prompts the user for the printer showing the standard print dialog? That way the 4GL application would never have to know the local printer names.
Kind regards,
A. Geller