Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing to postscript driver
Message
From
24/05/2006 20:19:50
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
24/05/2006 15:36:52
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01124658
Message ID:
01124750
Views:
11
>I am trying to print a VFP9 report to a file using "Apple Color LW 12/660 PS" printer driver. However, my .PS file always comes back as zero bytes.
>
>Here is my code:
>
>***My code.
>SET PRINTER TO NAME "Apple Color LW 12/660 PS"
>SELECT temp
>REPORT FORM testpdf.FRX TO FILE c:\apps\junk\myfile.ps NOCONSOLE
>***
>
>Why is my .PS file always being created with zero bytes?
>
>I do have Acrobat PDFWriter, Acrobat Distiller and Apple Color LW 12/660 PS all installed. Is there a setting I am missing somewhere that prevents my .PS file from getting created?

It should get to full length once it's closed. Try adding the line

set printer to

That should close the output. Though I really don't understand why doesn't it close automatically after you're done.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform