Search found 7 matches

by Riccardone
Mon Jul 17 2006
Forum: C/C++/C# Community
Topic: Aborting a printing process
Replies: 2
Views: 19167

Hello, You are calling AbortDoc correctly but the problem might be that the printer has timed out before you get to call abortdoc. The proper way to do what are doing is to prompt for filename in startdocpre. On EnablePre you should only call EnablePrinter. Hi Joan, I tryied your suggestion unsucce...
by Riccardone
Mon Jul 03 2006
Forum: C/C++/C# Community
Topic: Aborting a printing process
Replies: 2
Views: 19167

Aborting a printing process

Hello, due a selection file name dialog box that I put in the Converter activation fire event, I have to "trap" the user selection of "Cancel" button. So, I'd like to abort the "print process" while is in progress but I don't understand how to handle the HDC argument fi...
by Riccardone
Mon Jan 10 2005
Forum: C/C++/C# Community
Topic: StartDoc fails in VC++ Applications
Replies: 4
Views: 11762

Hallo!
The problem is gone! Everythings is all right.
This mistake was very stupid, and simple! Was an error in the code activation... :shock:

Thank you very much!

Riccardo
by Riccardone
Thu Dec 23 2004
Forum: C/C++/C# Community
Topic: StartDoc fails in VC++ Applications
Replies: 4
Views: 11762

Hallo Joan! I try to apply one more EnablePrinter to my code... { . . . // Init my pdf printer m_hPDF.Create("", WS_CHILD, CRect(0,0,0,0), this, 10000001); m_hPDF.DriverInit("Amyuni Document Converter"); m_hPDF.EnablePrinter("company", "activation"); VERIFY(m_...
by Riccardone
Tue Dec 21 2004
Forum: C/C++/C# Community
Topic: StartDoc fails in VC++ Applications
Replies: 4
Views: 11762

Re: StartDoc fails in VC++ Applications

This vc++ code try to save rtf file in PDF. I'm using my personal editor (CWritexTB) and before printing StatDoc of this editor always fails. void CDlgGestDoc::OnSavepdf() { m_hPDF.Create("", WS_CHILD, CRect(0,0,0,0), this, 10000001); m_hPDF.DriverInit("Amyuni Document Converter"...
by Riccardone
Tue Dec 21 2004
Forum: C/C++/C# Community
Topic: StartDoc fails in VC++ Applications
Replies: 4
Views: 11762

StartDoc fails in VC++ Applications

This vc++ code try to save rtf file in PDF. I'm using my personal editor (CWritexTB) and before printing StatDoc of this editor always fails. void CDlgGestDoc::OnSavepdf() { if ( !m_pCurrentDoc ) return; CString csFile = m_pCurrentDoc->GetPath(); CString csNomeFilePdf = csFile.Left(csFile.ReverseFin...
by Riccardone
Fri Dec 17 2004
Forum: Amyuni PDF Converter (PDF Printer Driver)
Topic: Create Pdf file from application (VC++)
Replies: 1
Views: 4015

Create Pdf file from application (VC++)

Hallo, I'm trying to convert a rtf file to pdf file in a VC++ applications using word. I had install the PDF Printer on my control pannel using install.exe. In the source code I had insert the automation class CCDIntfEx (CCDIntfEx.h, CCDIntfEx.cpp), and using this code: #include "cdintfex.h&quo...