Re: Print (write) TQuickRep in PDF format
- From: Chris <criro1961@xxxxxxxx>
- Date: Tue, 05 Apr 2005 15:51:57 -0400
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
>
.
- Follow-Ups:
- Re: Print (write) TQuickRep in PDF format
- From: Maarten Wiltink
- Re: Print (write) TQuickRep in PDF format
- References:
- Print (write) TQuickRep in PDF format
- From: Chris
- Re: Print (write) TQuickRep in PDF format
- From: Maarten Wiltink
- Print (write) TQuickRep in PDF format
- Prev by Date: Re: srv5.pas
- Next by Date: TaskBar Icon doesn't show
- Previous by thread: Re: Print (write) TQuickRep in PDF format
- Next by thread: Re: Print (write) TQuickRep in PDF format
- Index(es):
Relevant Pages
|