From: Marc Verkade [Marti IT] on 16 Nov 2009 15:02 We use BullPDF with great succes. Free, easy and completely configurable. Just create an INI file in the right folder and print to the PDF printer: // Header oPDFSettings:WriteLine("[PDF Printer]") // Output path oPDFSettings:WriteLine("output =C:\TestPDF.pdf") // Dont show the preview oPDFSettings:WriteLine("showpdf = no") // Overwrite without confirmation oPDFSettings:WriteLine("confirmoverwrite=no") // Dont show the "Save as" window oPDFSettings:WriteLine("showsaveas=nofile") // Dont show the "pdf settings" window oPDFSettings:WriteLine("showsettings=never") -- Grtz, Marc "Stavros Spanos - www.orbit.gr" <ss(a)orbit.gr> schreef in bericht news:d70eb64b-7fbd-4b3f-b100-d18ef3dcbd4d(a)k17g2000yqh.googlegroups.com... > Hi all! > > We are in a need to automate the creation and attachment of a PDF that > comes from ReportPro3. The problem is that RP3 doesnt create PDF so we > don't have a way to by pass the problem. > > We tried to find a way to do it in the background using an activex > that could turn ReportPro's RTF to a PDF and then attach it to an > email. Unfortunatelly we didn't find any... > > Does anybody have any experiance on this? > > TIA > > Stavros
From: Marc Verkade [Marti IT] on 16 Nov 2009 15:05 http://www.bullzip.com/products/pdf/info.php -- Grtz, Marc "Marc Verkade [Marti IT]" <marcatM(a)rtidotnl> schreef in bericht news:4b01b323$0$767$58c7af7e(a)news.kabelfoon.nl... > We use BullPDF with great succes. > Free, easy and completely configurable. > > Just create an INI file in the right folder and print to the PDF printer: > // Header > oPDFSettings:WriteLine("[PDF Printer]") > // Output path > oPDFSettings:WriteLine("output =C:\TestPDF.pdf") > // Dont show the preview > oPDFSettings:WriteLine("showpdf = no") > // Overwrite without confirmation > oPDFSettings:WriteLine("confirmoverwrite=no") > // Dont show the "Save as" window > oPDFSettings:WriteLine("showsaveas=nofile") > // Dont show the "pdf settings" window > oPDFSettings:WriteLine("showsettings=never") > > > -- > Grtz, Marc > > > "Stavros Spanos - www.orbit.gr" <ss(a)orbit.gr> schreef in bericht > news:d70eb64b-7fbd-4b3f-b100-d18ef3dcbd4d(a)k17g2000yqh.googlegroups.com... >> Hi all! >> >> We are in a need to automate the creation and attachment of a PDF that >> comes from ReportPro3. The problem is that RP3 doesnt create PDF so we >> don't have a way to by pass the problem. >> >> We tried to find a way to do it in the background using an activex >> that could turn ReportPro's RTF to a PDF and then attach it to an >> email. Unfortunatelly we didn't find any... >> >> Does anybody have any experiance on this? >> >> TIA >> >> Stavros >
From: mot on 20 Nov 2009 01:56
On Nov 16, 5:07 pm, "Stavros Spanos - www.orbit.gr" <s...(a)orbit.gr> wrote: > Hi all! Hi, Stavros, we use the free Pdfcreator with Rp2.14. We print first to the default printer (to get a paper copy), then use lOnn:= oReport:PrinterDevice:SetPrinterByName("Pdfcreator"), check if lOnn is true, issue a oReport:print(), start a loop checking if the pdf has been created and what its size is (the printing to pdf will take some time and I have not found a way to get a message from the printer saying it is ready so you just have to poll). When we know the pdf exists and is of the right size then just attach it to a message, check the attachmentinfo to see it is there for sure and send it. The pdfcreator is configurable so you can make it work totally transparent. HTH, mot > We are in a need to automate the creation and attachment of a PDF that > comes from ReportPro3. The problem is that RP3 doesnt create PDF so we > don't have a way to by pass the problem. > > We tried to find a way to do it in the background using an activex > that could turn ReportPro's RTF to a PDF and then attach it to an > email. Unfortunatelly we didn't find any... > > Does anybody have any experiance on this? > > TIA > > Stavros |