Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Special format using
Message
De
08/09/1999 23:13:44
 
 
À
08/09/1999 08:11:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00262313
Message ID:
00262721
Vues:
11
>I try to change the format of a report using special format (2100 mm * 4100 mm)
>
>When I save it, the format is reinitialized to 127 * 127 !!
>
>I've setup a printer wich supports the format 2100 * 4100 mm but .......;
>
>Can you help me ?
>
>
>Thanks you !



Type to EDIT the 1st record of myReport.frx Expr and change to your need!
Of cos you can use prg to do so!!
* BU.prg 
* [Blank non-need fields and Use (close after run!)
Lparameters lReport

IF PCOUNT()<>1
   return
ENDIF

USEMACROS = "USE " + lReport + ".FRX"
&USEMACROS

REPLACE expr with "PAPERSIEZ=256" + CHR(13) + "PAPERLENGTH=2100" + CHR(13) + "PAPERWIDTH=4100" + CHR(13)

USE && Close after edit!

* end of bu.prg



Have you try to use Custom Paper size instead of hack the frx file?

Because the printer setup RANGE both lower and upper limit of custom paper size!!

So, you can't set the right value even your printer support so Hardwarely...
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform