DWF Viewer (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

VB6 Black and white is printed in color DwfViewer 7sp1

12 REPLIES 12
Reply
Message 1 of 13
Anonymous
359 Views, 12 Replies

VB6 Black and white is printed in color DwfViewer 7sp1

In the readme of 7sp1 I can read:
"The ECompositeViewer.ColorMode API for plotting Black & White now
handles black and white printing correctly."
http://download.autodesk.com/esd/dwfviewer/installer/readme_sp1.htm

This problem is still NOT fixed!
Older dwf files are still printed in color ignoring the
EcompositeViewer.ColorMode setting.

Now that DwfViewer 6.5 can not be used with IE7 there will be no
DwfViewer that can be used with my application!

Jan
12 REPLIES 12
Message 2 of 13
Anonymous
in reply to: Anonymous

We will be releasing an IE7 hotfix for DWF Viewer 6.5. Stay tuned.

"Jan T" wrote in message
news:5408685@discussion.autodesk.com...
In the readme of 7sp1 I can read:
"The ECompositeViewer.ColorMode API for plotting Black & White now
handles black and white printing correctly."
http://download.autodesk.com/esd/dwfviewer/installer/readme_sp1.htm

This problem is still NOT fixed!
Older dwf files are still printed in color ignoring the
EcompositeViewer.ColorMode setting.

Now that DwfViewer 6.5 can not be used with IE7 there will be no
DwfViewer that can be used with my application!

Jan
Message 3 of 13
Anonymous
in reply to: Anonymous

Scott Sheppard (Autodesk) wrote:
> We will be releasing an IE7 hotfix for DWF Viewer 6.5. Stay tuned.

Good to read that.

When will this black and white issue finally be solved?
Message 4 of 13
Anonymous
in reply to: Anonymous

The next likely candidate is in the spring.

"Jan T" wrote in message
news:5408809@discussion.autodesk.com...
Scott Sheppard (Autodesk) wrote:
> We will be releasing an IE7 hotfix for DWF Viewer 6.5. Stay tuned.

Good to read that.

When will this black and white issue finally be solved?
Message 5 of 13
Anonymous
in reply to: Anonymous

> The next likely candidate is in the spring.

And that is ONE FULL YEAR after Autodesk got informed about this bug. :(((

In previous DwfViewers I could always use the Whip! viewer to print old
dwf versions in VB but the DwfViewer 7 did kill the printing in Whip!
(always an emply second paper) along with it own printing capacity.

It is obvious that Autodesk don't care about dedicated users of the dwf
format.
Message 6 of 13
Anand Iyer (Autodesk)
in reply to: Anonymous

Hi,

I tried out the case you mentioned here in a VB6.0 program. I couldn't reproduce the issue. Please find the program attached. If you couldn't get this to work, please let me know. I would need the exact scenario you are trying to work with, in that case...

REgards,
Anand Iyer
Autdesk
Message 7 of 13
Anonymous
in reply to: Anonymous

Anand Iyer (Autodesk) wrote:
> Hi,
>
> I tried out the case you mentioned here in a VB6.0 program. I couldn't reproduce the issue. Please find the program attached. If you couldn't get this to work, please let me know. I would need the exact scenario you are trying to work with, in that case...
>
> REgards,
> Anand Iyer
> Autdesk

Hi Anand,

I still see the problem here using your VB6 program. See attached zip
file with a dwf file and the 'printed' pdf.

Regards,
Jan
Message 8 of 13
Anand Iyer (Autodesk)
in reply to: Anonymous

Oops...I send you the test code.

Please correct the line

CompositeViewer.ColorMode = 2

to

CompositeViewer.ColorMode = 1.

you will be good to go...

So, this is what happens. ColorMode has 3 options - 0 means color, 1 means black and white and 2 means greycolor.
Message 9 of 13
Anonymous
in reply to: Anonymous

Anand Iyer (Autodesk) wrote:
> Oops...I send you the test code.
>
> Please correct the line
>
> CompositeViewer.ColorMode = 2
>
> to
>
> CompositeViewer.ColorMode = 1.
>
> you will be good to go...
>
> So, this is what happens. ColorMode has 3 options - 0 means color, 1 means black and white and 2 means greycolor.

ColorMode = 1 does have the same effect as colormode = 2: greycolor.
See my previous post with an example dwf.

Jan
Message 10 of 13
Anand Iyer (Autodesk)
in reply to: Anonymous

I am unable to reproduce this with the example DWF you sent - attached is the mdi file created when I printed the example DWF in black and white (using ColorMode = 1).

In case of questions, please contact me at anand.iyer@autodesk.com
Message 11 of 13
Anonymous
in reply to: Anonymous

Anand Iyer (Autodesk) wrote:
> I am unable to reproduce this with the example DWF you sent - attached is the mdi file created when I printed the example DWF in black and white (using ColorMode = 1).
>
> In case of questions, please contact me at anand.iyer@autodesk.com

.MDI is a format that only Office 2003 can read; I have Office 2002.
Please use a format that is common accepted.
Message 12 of 13
Jan_T
in reply to: Anonymous

I did found a workaround to print black and white:

'for Dwf Viewer 7
Dim cViewer As ExpressViewerDllCtl.IAdECompositeViewer
Set cViewer = CExpressViewerControl1.ECompositeViewer
cViewer.PaperColorAsPublished = False
cViewer.PaperVisible = False
cViewer.PaperColor = 16777215 'is white
On Error Resume Next 'colormode does not work using Dwf Viewer 6.5
cViewer.ColorMode = 1 'for Dwf Viewer 7 only
On Error GoTo 0

Remarks:
1) ColorMode does not work using Dwf Viewer 6.5 so the old code must be used there. The error handling prefend a crash when Dwf Viewer 6.5 is used.
2) The ColorMode = 1 code must placed AFTER the other code, else it does not work.
3) code to restore the Dwf Viewer settings after printing is not included in the code above.
Message 13 of 13
Anonymous
in reply to: Anonymous

In vb6 the DWF Viewer 7 API .colormode settings 2 and 3 both give greyscale.

Also, .SetBlackandWhite gives greyscale.

The .SimplePrint API prints greyscale when the black and white flag is set
to true.



wrote in message
news:5422326@discussion.autodesk.com...
I am unable to reproduce this with the example DWF you sent - attached is
the mdi file created when I printed the example DWF in black and white
(using ColorMode = 1).

In case of questions, please contact me at anand.iyer@autodesk.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report