How I can print simultaniously on physical & logical pri

If you are a VB developer and have questions about using our products from VB, here is the place to post them.
Post Reply
kamleshvgujarathi
Posts: 39
Joined: Fri Jan 09 2004
Location: Bombay ( INDIA)
Contact:

How I can print simultaniously on physical & logical pri

Post by kamleshvgujarathi »

URGENT !!!

Hello 8)

I am using PDF suite 2.10i on the WinXP,2000,98 and
I am trapping the event of the CommonDriverInterface.

ie. EnabledPre
StartDocPre
StartDocPost
StartPage
EndPage
EndDocPre
EndDocPost

When user is selecting amyuni printer I have shown one form in enablepre
event of the CDIntf210 That is working fine.

But at the same time that document I want to print on physical printer then How can print ? Inthis case I have physical printer name on which
I have to print the document simultaniously so I dont want to show
any printer dialog box here.

Inshort My need is
I have pdf document with path I have physical printer name then how I can print it directly to that printer without showing printer dialog box
at the time of trapping cdintf210 enablepre and otherevents.

Code Snippet will be prefered.

Thanking You

That is all


:?:
Kamlesh Gujarathi
kamlesh@itshastra.com
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

You can not print to two printers using the same print Job.

If you have the Professional version of the PDF Converter, you can generate the PDF file first by printing your documents or reports to the PDF Printer. And then use the PrintPDFDocument function of CDIntf to print the pdf file to a physical printer. For for more information about the PrintPDFDocument function please check the developers' manual "Common Driver Interface 210.pdf" Postprocessing section.

Hope this helps.
Post Reply