Subject Re: printer paper source
From Ken Mayer <>
Date Sat, 8 Aug 2020 21:37:23 -0700
Newsgroups dbase.getting-started

On 8/8/2020 1:19 PM, wrote:
> You have to query the spooler driver to get the sources or bins. You can
> get info on any connected printer, even networked printers.
> You need to use DeviceCapabilities API from winspool.drv
> I wrote a CC some years ago to return that data. Not sure exactly where
> it is but I'll look Monday.
> I might have even posted it on the newsgroup so try a search for
> DeviceCapabilities
> It was part of my "roll your own" choosePrinter( ) so I could select and
> store printer information.
> You can also get the information from WMI and Win32_Printer using
> OleAutoClient("WbemScripting.SWbemLocator")
> I might have code to at least get someone started writing a solution
> using that.
> Like I said, I'll look around Monday and see if I can find anything.
> Rich....

Thanks, Rich. Did a search through misc code in the dUFLP hoping maybe
something was there, but ...


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