Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you set a report to print on 11 by 17 paper?
Message
 
 
À
25/09/2020 18:28:00
Antonio Lopes (En ligne)
BookMARC
Coimbra, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01676242
Message ID:
01676249
Vues:
41
>>>>Hi,
>>>>
>>>>A customers wants me to create a report that will print on 11 by 17 (inches) paper in landscape format. I don't seem to be able to find this in the designer.
>>>>
>>>>Can it be done? If yes, how?
>>>>
>>>>TIA
>>>
>>>Hi, Dmitry,
>>>
>>>Go to Settings in your Windows system, select a capable printer, choose printing preferences, add a custom paper of the size you need (I used a PDF printer, for that). The new size will be available in the page setup of the Report editor (you may choose portrait and landscape at your will).
>>>
>>>Required update: the above solution would apply if your customer could replicate exactly the identification of the new custom paper size.
>>>
>>>A more general solution is to fill (by hand or programmatically) the first "Expr" field of the report (opened as a table) with the following content:
>>>
>>>ORIENTATION=1
>>>COLOR=2
>>>PAPERLENGTH=4318
>>>PAPERWIDTH=2794
>>>
>>
>>Antonio,
>>
>>Thank you very much!
>>
>>Question, how did you determine that 4318 is 17" and 2794 is 11"?
>
>17'' = 43.18 cm, but the unit used in the report metrics is tenth of millimetre. Therefore, 4318.
>
>(I hope this is right...)

Thank you!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform