printing to pdf

前端 未结 9 1224
迷失自我
迷失自我 2020-12-11 08:35

The existing system has many reports . Using a free pdf printer like dopdf or cutepdf the user can open the report , choose the pdf printer , type in the filename and save t

相关标签:
9条回答
  • 2020-12-11 08:42

    Pragnaan has a PDF Export Device for ReportBuilder: Report Builder Export Devices

    0 讨论(0)
  • 2020-12-11 08:42

    I use PDFFactory. Is a software similar to others thar work like a virtual printer. Is not very expensive. The particularity is that you can control (using the windows registry) some parámeters to print any document without the user intervention.

    I use it in my Delphi application.

    1. Select the default printer (PDFFactory)
    2. Write the FileName,... on the registry key
    3. Send to print.

    The user should not write anything and not view any config window.

    0 讨论(0)
  • 2020-12-11 08:43

    Win2PDF 10 does all of that and more.

    Check out the registry functions:

    https://www.win2pdf.com/doc/registryoverview.html

    Feature Comparison Chart:

    https://www.win2pdf.com/features.html#Win2PDF-Product-Comparison

    I've been using Win2PDF Pro for at least 20 years at home and on my workstation at work; and have always found it reliable and speedy. I just downloaded the latest version service pack and will be updating my installation at next reboot. Enjoy.

    0 讨论(0)
  • 2020-12-11 08:45

    You don't say how you are generating your reports but Gnostice have a number of tools that may of help to you.

    0 讨论(0)
  • 2020-12-11 08:52

    Win2PDF also has a registry API to print to PDF with no user interaction. From Delphi, you just need to set the "PDFFileName" registry key to the PDF file and then print to the Win2PDF printer.

    0 讨论(0)
  • 2020-12-11 08:53

    Anna, as an aside in the comments you mention you're using an older version of ReportBuilder - have you looked at the Waler TExtraDevices component? I don't have it to hand but I seem to recall back in the day we used this to get output from ReportBuilder to PDF, and because of the way it makes ReportBuilder think it's a text device, you can do this without any previewing or interaction on the part of the end user.

    Having said that, you're looking for a general-purpose method that would work with QuickReport and Excel. I really think you're going to end up with some kind of 'PDF Printer' and forcing your reports to this 'named printer'. You might be able to set-up PDF Factory such that it takes the output filename from the document title, etc - but I do think you're always going to have a bit of user interaction no matter how hard you try. :-(

    Do let us know what you do, as this is a problem I've had myself and never managed a very satisfactory solution. I'd be interested to see what you choose to do!

    0 讨论(0)
提交回复
热议问题