Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page layout doesn't change...
Message
De
06/08/2009 04:27:07
 
 
À
05/08/2009 16:54:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01416315
Message ID:
01416404
Vues:
71
>Hi friends:
>
>Part I
>
>VFP 5.0
>
>For printing in a different printer from the one I program I had to browse (hack) report file to change 3 fields and exclude such files from the proyect and distribuite them separately.
>
>VFP 9.0
>
>One of you told me this problem was solved but I had to open the report form and unselect "printer environnement"
>
>I did it
>
>I forgot about the problem (I believe about Santa Claus) I rebuild the project.
>
>But...
>
>You know...
>
>I wouldn't be here if it would had work...
>
>My client has to do what he doesn't want to do... Changing the paper size properties to print correctly every time he has to print a report.
>
>Is there any way the report takes the default printer settings no matter my printer settings?

Hi Hector,

Blanking out printer settings from FRX is not enough, you got to do it in a way which preserves page size and orientation.
Have look at XDIR download here, among other things you will find function which clears up printer settings from FRX in
the way suitable for distribution.
Subclass of XDIR provided there can clean up not only one FRX report, but all frx found along given path.

After you cleaned up FRX properly, issuing
set printer to name ( set('printer',2) )
report form ...
Should sent printing to default printer without problems you are describing.

HTH

Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform