I developed a macro to print.
I use the following sentence:
SetCExpressionValue "plotUI.uiColorMode", 0, "PLOTDLG"
to set the printer color. Unfortunaly, I got color prints.
Could you kindly help me, please?
Thanks a lot.
If you want black & white (monochrome) prints, why not create a plot drive that is set to monochrome?
Power InRoads v8i V08.11.07.615
Microstation CONNECT U11 10.11.00.36
I'm not sure if this works in 2004 Edition, but I use it in later editions of MicroStation.
You can load the print dialog with the key-in mdl load plotdlg
Once loaded you can change the printing options using print key-ins.
In your case use cadinputqueue.sendkeyin "print colormode monochrome" in your vba to change the color mode
Paolo Maggiani said:I developed a macro to print
A better place to post questions about VBA programming is the Programming Forum.
Meanwhile, take a look at this article about Printing with VBA.
Regards, Jon Summers LA Solutions