Envelope objects Feedsource Property

J

Joel Dooris

Hi All,
I am working with Word's Envelope object and I've found
some bizarre behavior. This is totally dependent on the
print driver. When you query a print driver using the API
call getdevicecaps it returns printer tray ids as longs. I
can then set the Envelope.feedsource = to one of these
tray id's. All is good in the world, until. If the print
driver returns anything above a number 15, setting this
property will fail. Now for the bizarre part. If you query
this property for the default tray and it happens to be
above 15 it won't fail. So I have a situation where the
property = 257 and when I try to set it to 257 I get a
message telling me that the parameter is outside of
acceptable limits. Anybody else run into such a beast?
 

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