Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Form ... To File Question !?
Message
 
To
11/12/2006 05:36:36
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italy
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP
Miscellaneous
Thread ID:
01176474
Message ID:
01176476
Views:
9
lcPrtName = GETPRINTER() && Choose you GS printer here
SET PRINTER TO NAME (lcPrtName)
Report Form Goofy To File Goofy.Ps
Also, Remove ALL printer info from report. In VFP 6 you must open the report as a table. In first record (ONLY THERE) clear TAG and TAG2 fields, and in Expr filed leave only these:
ORIENTATION=xxxxxxx 
PAPERSIZE=xxxxxxxxx
COLOR=xxxxx
Where xxxxx is the original values of these lines.


>Hi All.
>
>I'm trying to create a postscript file form a report.
>I have a default window printer that have a PCL Driver
>I have installed a PS driver on a Printer named GS
>So i try to use this code
>
>
>SET Printer to GS
>Report Form Goofy To File Goofy.Ps
>
>but the filegenerated is a PCL File.
>
>the only way hat i found is setting/restoring the default windows printer (API) before/after report form to file command ....
>
>I know that i can usa other ways (ie using a port in a fix ps file and avoiding to fiel clausole), but my first question now isn't how can i create a ps fiel.
>
>My qyestion is :
>Is true that the "TO FILE" clausole use the default windows printer even if the default VFP printer is a different printer ? or i'm drunk ?
>
>Hi All
>And thanx in Advance!
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform