Hi everyone,
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.
Best regards,
Paolo
If you want black & white (monochrome) prints, why not create a plot drive that is set to monochrome?
Microstation CONNECT - 10.17.2.61
ORD - 2021 R1 10.10.1.3
ORD 2022 R1.1 - 10.11.3.2
ORD 2022 R3 - 10.12.2.4
Microstation v8i SS 10 - 08.11.09.919
Power InRoads v8i - 08.11.09.615
ProjectWise - 10.0.3.453
Paolo,
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
Rod WingSenior Systems Analyst
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