Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User Defined Pages
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00144534
Message ID:
00144854
Vues:
19
Abdul,
Have you deleted the default printer information from your report? To do this, make a backup copy of your report FRX and FRT files. Then open them as a table with USE MyReport.FRX. In the FIRST record, remove all code from the TAG and TAG2 fields. Open the EXPR field and remove date that is printer or page specific - printer name, page length, etc. You may want to leave some of this, but you may be able to delete it all.

Then let the client set the page length with GetPrinter(). It should work just as the client wishes.

HTH
Barbara

>Hi,
>I have created labels which have un-conventional page sizes. The client needs to print these labels every day. I have also set the printer to custom page size. The problem is that the printer does not adjust itself to the custom paper size of the label or report, but the paper size which was set through the properties of the printer.
>
>Is there a way to programatically set the printer's custom page size to my report's before I print my report???
>
>
>Thanks,
>
>Abdul Ahad
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform