Problem:
Using the PC_PRINTER routines in Net Express, how to set the margins of the output?
Resolution:
(1) To control the margins of reports generated then there is an advice that instead of using the PC_PRINT_FILE call to "manually" control the printing of the reports by using a combination of the PC_PRINTER_OPEN, PC_PRINTER_CONTROL, PC_PRINTER_WRITE and PC_PRINTER_CLOSE calls. This would mean that the program would have control over each line of the reports.
(2) Another way to control this and still to use the PC_PRINT_FILE call would be to create the report file with the appropriate leading spaces that would fulfill the needs.