Subject Re: printer paper source
From Ken Mayer <>
Date Sun, 9 Aug 2020 07:27:39 -0700
Newsgroups dbase.getting-started

On 8/9/2020 7:06 AM, Ken Mayer wrote:
> On 8/9/2020 1:33 AM, Mervyn Bick wrote:
>> On 2020-08-09 06:37, Ken Mayer wrote:
>>> Thanks, Rich. Did a search through misc code in the dUFLP hoping
>>> maybe something was there, but ...
>> I took Rick Millers PaperSize.prg in the dUFLP and made the necessary
>> changes to it so as to retrieve the available paper bins.
>> It works but it has only been tested on my little Canon printer
>> because that's the only one available.
>> This should sort out Mustansir's problem and you may want to include
>> it in the dUFLP.
> The one thing I noticed, both with this and with Rick's is that the last
> item doesn't show any text, just the number. So with my HP 1020, it shows:
> HP LaserJet 1020
>           7 - Auto Select
>           4 -
> Not quite as useful ...

Using the same printer, in the Command Window:

inspect( _app.printer )
selecting paperSource and clicking the tool button, the dialog shows
both "Auto Select" and "Manual Feed", so the information has to be there


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