Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Faxing from VFP
Message
De
02/06/1997 10:49:26
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
 
 
À
02/06/1997 10:41:29
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00034030
Message ID:
00034502
Vues:
29
>> 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...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform