Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Joining Reports
Message
De
08/01/2000 09:44:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00314917
Message ID:
00314920
Vues:
17
>Hi,
>
> I have 3 different reports of which I have to run in sequence.
>
> When printing, there is no problem but when previewing I inevitably get 3 previews.
>
> Is there a way to join the report previews together? May I can print them to a file one after the other and then display the file?
>
> Any ideas would be greatly appreciated.
>

If your reports don't have any formatting (IOW, straight ASCII output) you could send them to a single file and then view the file at the end. The problem here is that if the output is formatted for printing, the output may well be gibberish, since at a minimum, control codes will be added to the output stream, and the output stream may well be graphical rather than text - sizable Windows fonts are unlikely to be directly implemented by the printer, so the Windows GDI will render the output in a graphical format understood by the printer based on the Windows printer driver information.

You might try sending the output to a ubiquitous foramt that can be viewed on the PC (ie create a .PDF document viewable with Adobe Acrobat, or Encapsulated PostScript, viewable using something like the GhostScript viewer) for display, and then either print the document through the third-party viewer, or repeat the print process, sending the output straight to the printer of your choice.

I've found the EPS/GhostScript combination to be very effective where the print devices are PostScript printers - you can send the file to the printer after viewing using the Win32 API CopyFile() function without needing to rerun the report. If the printers aren't PostScript-capable, and there is no software PostScript preprocessor available to convert a PostScript print stream to something understood by your printer (there are software PostScript processors that can be used to process EPS into PCL, for example) the easiest thing may well be to repeat the print process.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform