dc_printfile problem and workaround
Posted: Fri Sep 27, 2013 8:19 am
Due to a significant number of customers having print spooler crashes with dc_printfile, I've had to go to the DCPRINT ON function.
I have my report writing to a text file (report.txt) and then I'm loading that into an array via DELDBE singlefield. and printing the array a line at a time, with an DCPRINT EJECT inserted whenever the line contains '[ Continued ]'.
I'm running into some issues with that method when quotes and commas are in the data. Is there a better way of printing the file?
Perhaps a better way to load the report.txt file into an array than treating it as a single record ascii data file?
thanks,
bruce
I have my report writing to a text file (report.txt) and then I'm loading that into an array via DELDBE singlefield. and printing the array a line at a time, with an DCPRINT EJECT inserted whenever the line contains '[ Continued ]'.
I'm running into some issues with that method when quotes and commas are in the data. Is there a better way of printing the file?
Perhaps a better way to load the report.txt file into an array than treating it as a single record ascii data file?
thanks,
bruce