Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing using form files
Message
De
10/11/1999 09:41:24
 
 
À
10/11/1999 09:02:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00279467
Message ID:
00289541
Vues:
37
>We have Version 4.6 of Crystal Reports that came with an earlier version of Visual Studio but I could not find a way to use PCL files or metafiles. Is there a newer version of Crystal Reports included with Visual Studio 7 and does it add this import capability?
>

To date, there is no VS 7 - the most recent MS product is VS6. Seagate now sells the commercial version of Crystal Reports. The version of Crystal reports installed to my system with VS6 was Crystal Reports 4.5

Since PCL and metafiles (I'm assuming that you mean WMF-formatted files) are graphic rendering formats, and PCL in particular requires you to use a PCL-compliant printer (AFAIK, there aren't any PCL-PostScript converters for example.)

>The programmer who wrote the DOS version used COPY "taxformfile" TO LPT1, sent the FOXPRO data to the printer, then issued an eject command to get data and form on a single page. Is there anyway to do something similar in Windows?

I use stored macros on HP LaserJets to generate pre-printed forms, but this pretty much precludes the use of the native report writer without a tremendous amount of work. If your 'PCL file' were actually a laser macro, you could either pre-load it and trigger it in the header/footer of your output, or output to file and use something like the CopyFile() API to send the two files out to the printer without involving the WIndows spooler (I have a FAQ entry showing how to copy a file to a port or UNC using the CopyFile() API you can look at. I'd not recommend this in a network print environment, since you can't guarentee the order of output easily for multiple files sent to a remote printer; there's a spooler and print manager standaing between you and the printer that might queue up something between jobs, or if it's a pooled printer (multiple printers on a single common queue) that the same printer would service both files. In these situations, you'd want to concantenate the two files into a single output stream and send the concatenation as a single stream.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform