Subject Re: SET PRINTER TO <file>?
From Gene Moore <chrtsi@aol.com>
Date Fri, 27 Nov 2015 12:17:31 -0500
Newsgroups dbase.getting-started

Mervyn Bick Wrote:

> On 11/26/2015 07:37 PM, Gene Moore wrote:
>
> >
> > Redid test with reboot. Same result.. Good thought, though..
>
> If it works for Marty it should work for you.  It is perhaps just a
> question of finding out why your computer insists on using a printer
> driver when outputting to the "Generic/Text only" printer.  This may,
> however, be easier said than done. :-(
>
> Instead of spending an unknown amount of time trying to fix something
> that shouldn't be broken in the first place you could perhaps put the
> time to better use by rewriting your programs using a file object to
> write the text direct to a file.  This should be simple enough as all
> the heavy lifting of getting the data for the file was done when you
> wrote the XDML version.  Once you've created the file object all you
> basically need to do is replace your ? "whatever" print statements with
> oFile.puts("whatever")
>
> Nothing is impossible if you don't have to do it yourself. :-)
>
> Mervyn.
>
>
Rewriting is my backup plan, but I have 25 or more .prg files using this convention, so it would be nice if the function worked as it did for him, not only to save me some work, but to save my client some money. I came on here to solve that problem. I already know what the alternative is.