Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Faxing from VFP
Message
From
02/06/1997 10:49:26
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
 
 
To
02/06/1997 10:41:29
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00034030
Message ID:
00034502
Views:
31
>> 2) This can also be a general question: Each time I issue a SET PRINTER
>> TO, an empty page gets sent to the printer. I don't know how to prevent
>> this. It's not a big issue, just a matter of convenience and some wasted
>> paper.
>>
>> HTH
>
>Haven't fiddled with reports in VFP yet (strange but true), but I
>remember that the older versions of FoxPro defaulted to PageEjectBefore
>when you design a new report. I did write a report wizard with different
>defaults (for FPD2.6) and for old reports I used a thing like this:
>
>* Proc Scanfrx
>n=adir(_c,'*.frx')
>for i=1 to n
> if file(strt(_c(i,1),".FRX",".FRT"))
> do it with _c(i,1)
> endif
>endf
>
>
>proc it
>para fajl
>sele 0
>use (fajl)
>?fajl
>go top
> repl EjectAfter with .t.;
> EjectBefor with .f.
>use in (fajl)
>retu
>
>Not sure if this will work in VFP, but that may be the approach.

Dragan,

That may work for a report, but this happens before I even identify a report. Before issuing a REPORT FORM, I issue a SET PRINTER TO NAME myprintername. This sends a single page to myprintername.

Matt
Matt McDonnell
...building a better mousetrap with moldy cheese...
Previous
Reply
Map
View

Click here to load this message in the networking platform