Subject Re: Print to PDF
From Ken Mayer <>
Date Fri, 14 Jul 2017 04:55:29 -0700
Newsgroups dbase.getting-started

On 7/13/2017 11:05 PM, Akshat Kapoor wrote:
> On 13/07/2017 03:29, Ken Mayer wrote:
>> On 7/12/2017 11:52 AM, Akshat Kapoor wrote:
>>> In windows nowadays there is an option of "print to pdf" just like
>>> XPS document writer. If it is not there you can install pdf995 (I use
>>> cutepdfwriter which installs just like any other printer driver ) and
>>> makes available saving to pdf as an option in windows print dialog.
>> The advantage to PDF995 is that you can "command line" it, work with
>> it in your own code, where a lot of the others don't, they just act
>> like printer drivers. If that's all you need, great, but PDF995 is
>> customizable and so on.
> Hi Ken,
> I was just explaining my method.
> I avoid hard coding of printers as far as possible,
> I try to give the option to the user i.e. me so that I can choose i want
> a hard copy or a soft copy. Most of the time I just save as pdf , do the
> required work and then delete it.
> Your method vs mine method will totally depend upon the requirements of
> the end user. If printout or pdf ratio is 90% i.e. then the required
> selection should be hard coded otherwise I will prefer choice to user.

Depends on your needs of course. In some cases, it is useful to just do
what I did with the code I posted -- where I don't have to monitor it,
the files are created in a specific location, the filenames are
automatically pulled from the report's properties, etc.


*Ken Mayer*
Ken's dBASE Page:
The dUFLP:
dBASE Books: