|
|
 | | From: | Rod Jones | | Subject: | ChoosePrinter in dBASE 2.5 | | Date: | Tue, 30 Nov 2004 16:30:08 -0000 |
|
|
 | I've just been experimenting with the revised ChoosePrinter() method in dBASE PLUS 2.5, using it to display the standard Windows Print dialog box before printing a report with r.Printer.ChoosePrinter('PRINT REPORT',false). The dialog box enables me to select the start and finish pages and the number of copies without problems. However, if I select a printer other than the Windows default, this is ignored and the default printer is always used. This applies regardless of the report's PrinterSource setting. I'm using Windows XP. Is this a limitation with this function? Any comments would be appreciated.
Rod Jones
|
|
 | | From: | Marty Kay | | Subject: | Re: ChoosePrinter in dBASE 2.5 | | Date: | Tue, 30 Nov 2004 15:22:33 -0500 |
|
|
 | Rod,
> The dialog box enables me to select the start and finish pages and the > number of copies without problems. However, if I select a printer other than > the Windows default, this is ignored and the default printer is always used.
Are you saying it always prints to the default printer regardless of the one you've chosen?
If yes, this is a bug.
Thanks,
- Marty Kay (dBI) -
|
|
 | | From: | Rod Jones | | Subject: | Re: ChoosePrinter in dBASE 2.5 | | Date: | Thu, 2 Dec 2004 11:05:53 -0000 |
|
|
 | Marty,
Yes, that's what happens for me.
I've been trying this in an application that also uses the Printer Setup dialog - via CHOOSEPRINTER('PRINTER SETUP', true) - to be able to globally select a different 'specific' printer for the application. This normally works fine. However, if I subsequently use the 'new' Windows Print dialog for a specific report, the previously-selected printer is ignored and the default printer is reverted to.
Another point is that, using the Windows Print dialog, if you try to change any properties for the default printer (eg print resolution), these are ignored.
Rod
"Marty Kay" wrote in message news:FYITQpx1EHA.2372@news-server... > > Are you saying it always prints to the default printer regardless of the one > you've chosen? > > If yes, this is a bug.
|
|
|