Subject Re: printer paper source
From Ken Mayer <dbase@nospam.goldenstag.net>
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

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


Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0