[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Using Devicecapabilities API

Posted on 2001-08-17
3
Medium Priority
?
386 Views
Last Modified: 2008-03-17
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
Comment
Question by:tonybm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
Ark earned 400 total points
ID: 6403093

>>HOWTO: Determine Available PaperBins with DeviceCapabilities API<<
http://support.microsoft.com/support/kb/articles/Q194/7/89.asp
0
 
LVL 28

Expert Comment

by:Ark
ID: 6403099
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
 

Author Comment

by:tonybm
ID: 6629704
Very Sorry  for the delay in marking.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question