Print driver

A

Andy newland

Hi Guys,

Have been developing a VBA app from which I would like to
change printer driver settings to allow the user to print
in duplex and in colour.

I have been using code from KB article Q230743 which calls
the API function SetPrinter. For duplex this works fine.
However, the DEVMODE property dmColor seems to have no
effect on any of my printers.

Do any of you have any experiance of using dmColor? Has
anyone made this work?

Andy
..
 
J

Jonathan West

Andy Newland said:
Thanks Jon,

It's a lightly adapted version of your code that I am
using! As I say I find that the duplex stuff works 100%
but the dmcolor property returns incorrect values AND has
no effect when I change it.

I presume that this has never given you any problems in
the past?

Not me personally, but printer control is notoriously flaky, as it depends
on the printer driver playing nice with Windows, and some reputable
companies who darn well ought to know better write some truly awful drivers.
I suggest that you check to see if there is an updated driver available for
your printer.

--
Regards
Jonathan West - Word MVP
MultiLinker - Automated generation of hyperlinks in Word
Conversion to PDF & HTML
http://www.multilinker.com
 

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