I posted a free application to quickly batch print DWF files almost a year ago. Now with the release of Autodesk DWF Viewer 7 it had to be updated to work. For those that would like to use it it's still free and the setup of DWF Print version 2 is here. DWF Viewer 7 introduced a Print option but then you have to live with seeing the viewer popping up for each DWF you print. Print DWF opens the viewer hidden instead and prints the DWF's. DDE is supported so you can use it Print DWF in applications like document handling systems.
If you like it and would like to support the work to provide tools like this please use PayPal below.
Restored comments
ReplyDeleteAnonymous said...
I am writing an application that needs to programmatically open a dwf file and then print it to a specified printer. With DWF viewer 7.0, there is no longer an API accessible Print command. I was wondering how you got around this problem?
Thanks
jun
December 13, 2006
JTB World said...
I use Viewer.SimplePrint True, False
December 13, 2006
Anonymous said...
I looked for that method, but I don't see it in the composite viewer object. Can you tell me which class you are getting the SimplePrint method from?
Thanks
December 13, 2006
JTB World said...
ExpressViewerDllCtl.CExpressViewerControl
December 13, 2006
pl said...
I'm writing a VB6 application that needs to print dwf files, all users have DWF Viewer 6.0 installed (not 7.0).
There should be no UI, code goes into a DLL.
Could you please provide me with an example how to do this?
Regards...
January 04, 2007
JTB World said...
pl - use the method SimplePrint as described in the comments above.
Mike Tuersley have a good column here http://management.cadalyst.com/cadman/article/articleDetail.jsp?id=151149
Some other samples are found here: http://dwf.blogs.com/beyond_the_paper/2006/02/dwf_programming.html
January 05, 2007