[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 397
  • Last Modified:

Using Devicecapabilities API

I need to get an enumeration of the Bin Type Numbers and PaperSize Numbers for a selected printer. I have the printer's Device Name and its Port. I have managed to get the Text Listings for the Items above using the DC_BINNAMES and DC_PAPERNAMES. My problem is I cannot get the API to work using the DC_BINS and DC_PAPERS settings.

0
tonybm
Asked:
tonybm
  • 2
1 Solution
 
ArkCommented:

>>HOWTO: Determine Available PaperBins with DeviceCapabilities API<<
http://support.microsoft.com/support/kb/articles/Q194/7/89.asp
0
 
ArkCommented:
PS For PaperSize code is the same, just change

Private Const DC_BINS = 6
Private Const DC_BINNAMES = 12

to

Private Const DC_PAPERSIZE = 3
Private Const DC_PAPERNAMES = 16

Cheers
0
 
tonybmAuthor Commented:
Very Sorry  for the delay in marking.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now