View and/or Print Archive file with WMF?
I am using rb6.02 with Delphi 5:
I had a report that print to a preprinted form and I want to save it to an
archive file (raf) that can be printed later on a plain paper.
Is it possible to view and print a report archive file with WMF image? if so
how I can do it?
Thanks,
Vinh
I had a report that print to a preprinted form and I want to save it to an
archive file (raf) that can be printed later on a plain paper.
Is it possible to view and print a report archive file with WMF image? if so
how I can do it?
Thanks,
Vinh
This discussion has been closed.
Comments
and Tiff graphic device output, not WMF.
RB does have an ArchiveReader component which can display and print report
archive files.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
You misunderstood my question.
I am printing report a an archive files. My question is can the
ArchiveReader print the archive report along with a WMF file(window image
file)?
In one of your tutorial you have a w2 and paycheck report that has a WMF
file included. What I try to do is to not have the image file included in
the report archive.
Thanks,
Vinh,
demo#151 is using the archive reader. If you open dm0023.raf from the
reader, you'll see that it is priting a wmf. If you do not want to archive
the image in the .raf then in the Report.BeforePrint event you can check the
Report.DeviceType = dtArchiveFile to set the visibility of the image
component to false so that it won't be generated in the report.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
print from the archive file?
that there are page objects which hold drawcommands for each component which
is generated on that page. If the image isn't generated as part of the
report when it is archived, then no draw command for it is created, hence
the report can't be regenerated f rom archive with the image. You will have
to archive the report with the image if you want the image to appear when
printing from archive.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com