Subject Re: printer paper source
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Sun, 9 Aug 2020 07:06:24 -0700
Newsgroups dbase.getting-started

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 ...

Ken
--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm