Custom Printer Trays

G

Guest

Hi all,

I have a VB.NET app that sets up the default tray for reports to print to.
Values returned from Papersource.Kind are stored in a table for the user
group and report. This all worked fine until the users bought a new printer
with four trays, two of which tray 3 and Tray 4 return the value 257
(Custom). This is not the correct value and so reports cannot be set to to
auto print to tray 3 or 4.

Does anyone know how I can retrieve the correct values for the custom trays?

Many Thanks

Geoff.
 
G

Guest

Have I completely missed something here or is the fact that Papersource.Kind
is an enum a bit of a problem? Surely there is a way round this or another
method that I can use to identify trays on a printer?

Geoff
 

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