DWF Viewer

Reply
Active Member
jkapgs
Posts: 9
Registered: ‎10-06-2009
Message 1 of 7 (260 Views)

Printer service

260 Views, 6 Replies
10-08-2009 12:53 AM
Hallo,

I want to write .Net Win service. This service open a DWF, make something and print document.

I want to use PrintEx or DrawToDC functions ( EPlotViewer.IAdPageViewer.PrintEx function from BatchPrinter).

I have studied BatchPrinter 1.8. I can't able print document without a CExpressViewerControl class. I can't make EPlotViewer(EPlotViewer.IAdPageViewer) class.

Is it good way to use this API for "not control" printing?
Do you any advice for me: How to print DWF without "control" class?

Thank you for your help.

JKA
Active Member
jkapgs
Posts: 9
Registered: ‎10-06-2009
Message 2 of 7 (260 Views)

Re: Printer service

10-09-2009 04:22 AM in reply to: jkapgs
I'm sorry,

is this question clear? Is this thred appropriate for this question?

Does someone experience with "not control" print DWF files?

Thank a lot.

JKA
Employee
whtank
Posts: 119
Registered: ‎06-16-2009
Message 3 of 7 (260 Views)

Re: Printer service

10-28-2009 06:29 PM in reply to: jkapgs
Thank you for your question.
I am not sure I have understood your question.
If you want to print DWF file without creating any control object, you can do following:
1. Create a file to describe what and how you will print. More information about the file format please refers to the blog.
2. Create a SHELLEXECUTEINFO structure and fill this structure like
SHELLEXECUTEINFO shInfo;
...
shInfo.lpVerb = L"open";
shInfo.lpFile = wcExePath; // the exe path of Autodesk Design Review
shInfo.lpParameters = printdescfile; // the file path described on the step 1.
shInfo.nShow = SW_SHOWNOACTIVATE;
shInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
3. Create a new Design Review process by calling ShellExecuteEx(&shInfo).
4. New process will print as the file description which you support on step 1.
Please let me know if I can be of any further help.
-Tank


Tank
SW Engineer
PSEB-GE-ACRD-CPG
Autodesk, Inc.

Active Member
jkapgs
Posts: 9
Registered: ‎10-06-2009
Message 4 of 7 (260 Views)

Re: Printer service

11-05-2009 11:35 PM in reply to: jkapgs
Thank for your answar.
It is bpj file what decribe printing ( point1 of your answer)?

I have to make some modification in dwf before printing. The task list is:
1. draw water-mark into DWF
2. draw stamp into DWF
3. select appropriate printer
4. print dwf


My question is: How to make point 1 and 2?

Thank a lot for your answer.
Employee
whtank
Posts: 119
Registered: ‎06-16-2009
Message 5 of 7 (260 Views)

Re: Printer service

11-08-2009 09:23 PM in reply to: jkapgs

Yes, it is BPJ file.
With regard to the two points you would like to make, you can use markup tools in Autodesk Design Review (ADR).
You can download the latest ADR version from here.
Please let me know if I can be of any further help.
-Tank



Tank
SW Engineer
PSEB-GE-ACRD-CPG
Autodesk, Inc.

Active Member
jkapgs
Posts: 9
Registered: ‎10-06-2009
Message 6 of 7 (260 Views)

Re: Printer service

11-10-2009 07:45 AM in reply to: jkapgs
Thank for your answar.

I've looked for API for ADR - 2010, but there aren't any API for markup tools. Is this posible to make this by service?

If not, how can I make this?
Employee
whtank
Posts: 119
Registered: ‎06-16-2009
Message 7 of 7 (260 Views)

Re: Printer service

11-11-2009 10:22 PM in reply to: jkapgs
ADR 2010 has not supported API to create markups.
However since our nice customer has reported this requirement we will log a new issue in the WISHLIST database. Edited by: whtank on Nov 12, 2009 6:22 AM


Tank
SW Engineer
PSEB-GE-ACRD-CPG
Autodesk, Inc.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.