Valid papersizes for selected printer

J

Jeffrey Lewis

I have a form that allows the user to select a printer,
paper size and orientation, among other things. I
populate the list of printers using the
Application.printers collection and see references to a
Papersizes collection but can't find any information that
describes how to determine the valid papersizes for a
selected printer. Anybody have some insights?
 
S

SA

Jeff:

Determining Paper Sizes available requires calling an API, there really
isn't a collection. If you want to investigate that api then it is called
"DeviceCapabilities". It can return an array of printer paper sizes
supported. You can look it up in MSDN (http://msdn.microsoft.com) searching
for the api and VB and you should find a discussion as well as code....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top