Subject Re: printer paper source
From <rich@autotraker.com> <<rich@autotraker.com>>
Date Wed, 12 Aug 2020 13:51:53 -0400
Newsgroups dbase.getting-started

Thanks, I thought it may be of some use.

I'll just test it since I do have a network printer.
Instead of the report object I tested with
choosePrinter() and _app.printer.chooseprinter()
cPrinter = _app.printer.printerName
If you select a specific printer it works ok but if you just take the
Windows default printer, it fails to return useful information because dBASE
fails to populate the printerName.
I don't know if I ever reported it as a bug but that's probably how I ended
up rolling my own form for selecting a printer.

When you use it with the r.printer.chooseprinter() you don't have the same
issue because it’s a different dialog and you can't select the default
printer except by name.
You also can not select the source using the r.printer.chooseprinter()
So if you need to select source you'll have to roll your own form.
Rich...




"Mervyn Bick"  wrote in message news:r65uSPLcWHA.2624@ip-AC1E04A7...

On 2020-08-11 21:29, Mervyn Bick wrote:

> It's getting late now but looking at the .cc is on the "to do" list for
> tomorrow.

gerBINinfo.cc works like a charm.  Attached is a little demo program
which allows the user to select one of the available printers.

I don't have access to a network so I haven't tried that side of the .cc

Mervyn.