Export a file to jpeg
In reportbuider you can export a report to a jpeg using PsRBExportDevices by
Pragnaan Software. I have a report that is two pages which produces a jpeg
for each page when I do an export. I want to export only the first page to
a jpeg. Is there a way to do this?
Thanks,
Jay Sperry
Pragnaan Software. I have a report that is two pages which produces a jpeg
for each page when I do an export. I want to export only the first page to
a jpeg. Is there a way to do this?
Thanks,
Jay Sperry
This discussion has been closed.
Comments
If you just need to print the first page, simply set the Page Range when
printing. If you would like to export the first page to jpeg and all the
remaining pages to another format, you may need to print the report more
than once, creating two print jobs. I'm not sure if Pragnaan has a built in
setting for this type of action.
--
Thanks for supporting ReportBuilder! Please vote for ReportBuilder in the
Delphi Informant Readers Choice awards!
http://www.delphizine.com/ballot2004/
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for the quick response. For a follow up question, what if I had
enough data that my first page grew to two or more pages so now I have a
report with multiple pages and a summary. This summary could be an embedded
sub report.
Two Questions:
1) How can I capture these pages into one image without the summary?
2) How can I capture these pages into one image w/o the summary by customer?
(So each customer's invoice will generate a jpeg )
Basically, we have a report that list invoices group by a customer ID and
the report will show a list of invoices for a particular customer w/ an
associated report (this is the embedded subreport) and then within the same
report we show the invoices for the next customer an so on...
Here is how this looks like:
customer 1 ( we would like a jpeg for this report )
invoice 1
invoice 2
invoice 3
Summary -> subreport
customer 2 ( we would like a jpeg for this report )
invoice 4
invoice 5
Summary -> subreport
Customer 3 ( we would like a jpeg for this report )
invoice 6
summary -> subreport
Thanks,
Jay Sperry
Please forgive me, I do not have much experience using PsRBExportDevices. I
assume when you export to a jpeg, it separates each page into a separate
file. I'm not sure if there is a setting to combine multiple pages into
one jpeg file, but this would have to be done on the device, not
ReportBuilder. If you need to remove the summary band from the images, use
the Report.BeforePrint event to set the summary band's Visible property to
False.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
As a follow up to my last comments that had the two questions, can we do
this with a raf file instead of a jpeg?
Here's the synopsis on my last comments:
Basically, we have a report that list invoices grouped by a customer ID and
the report will show a list of invoices for a particular customer
and then within the same report we show the invoices for the next
customer an so on...
Here is how this looks like:
customer 1 ( we would like a raf for this report )
invoice 1
invoice 2
invoice 3
Summary -> subreport ( You told us how to remove this)
customer 2 ( we would like a raf for this report )
invoice 4
invoice 5
Summary -> subreport ( You told us how to remove this)
Customer 3 ( we would like a raf for this report )
invoice 6
summary -> subreport ( You told us how to remove this)
Thanks,
Jay Sperry
This may be possible to do using Archive files however it would not be an
easy task to export each individual page to a new file. This is why
exporting to JPEG may be the best option in your case since each page is
separated into it's own file automatically.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Ok.
Again we have a multiple page report. Do you know how to archive a single
page of the report to a file then archive the next page and so on. At
certain times we will want to archive multiple pages if the pages all go
with one client.
Sorry if I was misleading. Currently there is no built in way to separate
each page of a report into separate files (archive, rtm, etc.) on the same
print job. This is why I recommended using the Pragnaan jpeg export as the
device simply renderes the page canvas to a jpeg file for each page
automatically.
If you are trying to print these reports on demand, one at a time, you may
want to take a look at the AutoSearch feature in ReportBuilder. This will
allow you to automatically filter your dataset so only certain information
shows up for each report. See the AutoSearch demos located in the
\RBuilder\Demos\AutoSearch\... directory.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
If I understand this right, you want to export only selected pages of a report
to other formats (JPEG...). You may want to take a look at eDocEngine VCL. You
can do this and even export multiple reports to a single file (PDF, JPEG - in a
single file numbering sequence). You can even pick what pages you want to export
from the various reports (if you are exporting multiple reports).
If you need any help, please do let us know. We'd be happy to look at your needs
and recommend the solution.
--
Girish Patil
Gnostice Information Technologies www.gnostice.com
---------------------------------------------------------------------
Gnostice eDocEngine (http://www.gnostice.com/edoc_engine.asp) -
Electronic document creation, PDF eForms and report export components
Gnostice PDFtoolkit (http://www.gnostice.com/pdftoolkit.asp) -
PDF document management and PDF eForms processing components
---------------------------------------------------------------------