Re: Concatenating print files by Gregory
Gregory
Sat Aug 09 05:09:36 CDT 2003
John,
How do you concatenate the files ? fgets() and fputs() ar enot a good
idea. I would use fread() and fwrite() instead.. In addition, there may be
an eof marker per file (^z) which you have to skip
Having said that, what I do is to pass an array of file names to a routine,
open the printer, process the array of file names, and close the printer
I do not concatenate the files first
Gregory
____
"John Spiegel" <jspiegel@c-comld.com> wrote in message
news:OnyusNfXDHA.3232@tk2msftngp13.phx.gbl...
> Hi All,
>
> This is only tangentally VFP-related but here it goes: I've got a VFP app
> that prints a number of reports to file. I'd like to concatenate them
into
> a single file for later sending to the printer. However, just appending a
> file on as I'd do with a regular text file loses something in the
> translation and the printer does not print correctly. Anyone have a
> recommendation?
>
> Thanks (and happy weekend!)
>
> - John
>
>