Re: Print (write) TQuickRep in PDF format



On Tue, 5 Apr 2005 19:42:08 +0200, "Maarten Wiltink"
<maarten@xxxxxxxxxxxxxxxxxx> wrote:

>"Chris" <criro1961@xxxxxxxx> wrote in message
>news:6i755193rif4ra306705bnrlt5mn82hv6k@xxxxxxxxxx
>
>> I am looking for a solution to re-direct a <<Report :(TQuickRep)
>> Report.Print>> to a document a PDF file.
>> In other words, when I call the ".Print" procedure I need to save
>> the report content into a PDF file.
>>
>> I tried to use the PDFCreator printer driver which allow you to do
>> this somehow (using autosave option) but does not responds well.
>
>Printing is traditionally a hard subject with many opportunities for
>errors to occur. Separate your hurdles and make sure you can take
>each one separately before taking them all at once. Can you print PDF
>documents from simpler materials?
Yes, I can print a TQuickRep on a pdf file, using PDFCreator as
driver. PDFCreator has the autosave function which allow you to use a
predefined name for the document.
In my case I need to play with different names. For that I choosed the
way to rename the default file create by PDFCreator (not the best
way, but works)
>Can you print to a file using
>another driver?
I am using PDFCreator (as default printer).
> How exactly are you instructing the printer driver
>to print to a file, and which file to print to?
When I call "Report.Print;" the file will be generated as PDF with a
generic name. Then I rename it.
The problem for me is whan I tried to print multiple reports into a
loop. I put some conditions (<<If (not Printer.Printing)then>>) and
some timers (sleep) in order to leave enough time for printing and
renaming. Works OK, but for big reports sometimes is a problem.
>
I would like to find another solution or if exists others free PDF
drivers.

Thanks for reply.

Chris
>Groetjes,
>Maarten Wiltink
>

.



Relevant Pages

  • Re: Word 2007 has stopped working on Vista Home Premium
    ... I have tried to remove the offending Word Add-ins, ... On the Toolbar commands is "Print to PaperPort (PDF). ... templates, macros, customizations and the printer driver are all bypassed ... new driver for my Officejet 7400. ...
    (microsoft.public.word.application.errors)
  • virtual printer for converting .doc --> .pdf
    ... I'm using PDF creator,, and ... PDFCreator", converted to .pdf. ... printer driver and not a virtual printer driver. ...
    (microsoft.public.win2000.printing)
  • Re: Any book recommendations for building print drivers?
    ... PDFCreator is user mode virtual printer driver Or image process ... it depends on another openSource printing library for printing ... than a common protocol for rendering and redirecting the print stream ...
    (microsoft.public.development.device.drivers)
  • Re: Passing a file name to PDF Printer
    ... If you can 'print' to the Jaws driver, and you can setup the driver to ... automatically assign the filename from the document then as the add-in saves ... That's if "save to PDF" is selected - and it's always the ...
    (microsoft.public.word.vba.general)
  • Re: Avoiding formatting changes when moving documents between computer
    ... Microsoft MVP (Word) ... When you use Adobe Acrobat (or any other pdf distiller, for that matter), ... document formatted on the same PC using, say, a PCL driver for the current ... that this is often the cause of a document's page layout / formatting ...
    (microsoft.public.word.docmanagement)