Search found 6 matches

by Jonners
Thu Jun 29 2006
Forum: C/C++/C# Community
Topic: EnabledPre message not sent when using Print Setup dialog
Replies: 3
Views: 10534

Joan, I am able to capture EnabledPre before printing, but not before the "Properties" dialog appears. Maybe there was something wrong with my code. I have solved my problem in a different way - Deriving a class from CPrintDialog and disabling the "Properties..." button when the ...
by Jonners
Mon Jun 26 2006
Forum: C/C++/C# Community
Topic: EnabledPre message not sent when using Print Setup dialog
Replies: 3
Views: 10534

Hello, I think my description above was perhaps too detailed and maybe confusing. Let me simplify it: Is the "EnabledPre" message fired by the Amyuni driver when the user selects the "Properties..." button in MFC's standard "Print Setup" dialog (CPrintDialog class). I w...
by Jonners
Tue Jun 20 2006
Forum: C/C++/C# Community
Topic: EnabledPre message not sent when using Print Setup dialog
Replies: 3
Views: 10534

EnabledPre message not sent when using Print Setup dialog

Hello all, My program uses a Print Setup dialog derived from CPrintDialog. It allows the user to set advanced options (i.e. Printer Properties) on any of the printers installed (just like you would see in any Windows program that has a printing capability). My problem is that when the user has selec...
by Jonners
Mon Jun 19 2006
Forum: C/C++/C# Community
Topic: Sharing Violation when deleting pdf file after cancelling
Replies: 2
Views: 8707

Thanks Joan. I have used an AfxMessageBox between the call to AbortDoc() and the call to DeleteFile() to tell the user that their file will be deleted. The user's delay in pressing 'OK' gives the spooler enough time to release the file before I come to deleting it. Not an ideal solution, and it migh...
by Jonners
Fri Jun 16 2006
Forum: C/C++/C# Community
Topic: Sharing Violation when deleting pdf file after cancelling
Replies: 2
Views: 8707

Sharing Violation when deleting pdf file after cancelling

Hello, I am using the evaluation version of the pdf converter v2.5 (Developer). My program allows the user to cancel a print job before the pdf file is fully created. I must delete the half-created pdf file, so in my abort procedure I use the following code: m_pDC->AbortDoc(); pApp->DisablePDFPrinte...
by Jonners
Wed Apr 07 2004
Forum: Amyuni PDF Converter (PDF Printer Driver)
Topic: Installshield problems
Replies: 5
Views: 8247

Hello, Try using the escape character '\' to escape double quotes in your Installshield script szAppName = TARGETDIR ^ "Install.exe"; szPrinterName = "\"My PDF Printer\""; szLicensee = "\"Evaluation Developer License\""; szActivationCode = "\&qu...