Strange problem with ArchiveReader
Hi,
I am using RB 7.02 entreprise.
I use a ArchiveReader to view existing RAF reports to SCREEN.
If I print the report with the "print" button from my Printpreview form, it
prints. But all other reports displayed are displayed to screen AND printed
to printer ! I don't want to print to printer, but only to see them to
screen.
The problem exists in many computer but not all.
Thanks.
--
Serge Chelli
www.aceinformatique.com
www.cactusvision.com
www.securisave.com
www.e-fastmag.com
www.ipscript.com
I am using RB 7.02 entreprise.
I use a ArchiveReader to view existing RAF reports to SCREEN.
If I print the report with the "print" button from my Printpreview form, it
prints. But all other reports displayed are displayed to screen AND printed
to printer ! I don't want to print to printer, but only to see them to
screen.
The problem exists in many computer but not all.
Thanks.
--
Serge Chelli
www.aceinformatique.com
www.cactusvision.com
www.securisave.com
www.e-fastmag.com
www.ipscript.com
This discussion has been closed.
Comments
I am unclear about what exactly is happening. When you preview the report
archives, are they all automatically printing as well? Are you loading more
than one archive at once? Please clarify the exact behavior you are getting
so I can perhaps recreate it on my machine and find a solution for you.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I generate a unique .RAF file with a special paper size (for samsung SRP 350
printer, pos priter)
When I view the report in a preview form all is OK.
If I try to print it from the preview form, it prints OK.
When I try to VIEW again the same file, it PRINTS again to printer !
If I exit from the EXE program and reload it again, no problem until I try
to print the report.
Thanks
--
Serge Chelli
www.aceinformatique.com
www.cactusvision.com
www.securisave.com
www.e-fastmag.com
www.ipscript.com
I can reproduce the problem on my computer when using a SAMSUNG SRP 350
printer :
Before I print the report, there is only 1 device.
After I print the report, there is 2 devices and the report is printed to
both devices !
I correct the problem by removing the TppArchiveReader component from my
form and create it at runtime before each use.
I know that's not the best solution, but that's a good one for wait a good
patch.
--
Serge Chelli
www.aceinformatique.com
www.cactusvision.com
www.securisave.com
www.e-fastmag.com
www.ipscript.com
"Serge Chelli" a ?crit dans le message de
This is not a bug. When multiple devices are connected to a report and a
report prints, all the devices will be printed to. For some reason, one of
your devices is not being freed when you close your report. Check your code
to be sure you are properly freeing all devices connected to your report
before trying to preview it for the second time.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
TppArchiveReader.Reset and TppArchiveReader.ResetDevices don't work !
Thanks
--
Serge Chelli
www.aceinformatique.com
www.cactusvision.com
www.securisave.com
www.e-fastmag.com
www.ipscript.com
If you are attaching devices to your report you are assigning the device
Publisher property to the Report.Publisher. To disconnect a device, simply
set the device Publisher equal to nil.
Device.Publisher := nil;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com