I am attempting to print reports using @ SAY commands to an NT4 network printer from a WIN98 workstation. If I run the report generating code from inside my compiled app, it sends gibberish to the printer. However,if I run the same code outside the application, it seems to print just fine.
I'm pretty sure the gibberish is a result of both the WIN98 and NT print drivers processing the report text, but I don't know how to fix the problem or why it works ok under circumstances that seem identical. Any help would be much appreciated.
PS - This is not a printer hardware/setup/escape code problem, because the unprintable characters show up in the NT print spooler before they get to the printer.
I'm pretty sure the gibberish is a result of both the WIN98 and NT print drivers processing the report text, but I don't know how to fix the problem or why it works ok under circumstances that seem identical. Any help would be much appreciated.
PS - This is not a printer hardware/setup/escape code problem, because the unprintable characters show up in the NT print spooler before they get to the printer.