FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD8] Setting/getting info about report paper?
[WD8] Setting/getting info about report paper?
Débuté par Raimund Schuldhaus, 14 juin 2004 19:53 - 1 réponse
Connectez-vous…
Raimund Schuldhaus
#1
Posté le 14 juin 2004 - 19:53
Hello,
I want to know how to get or set the paper size (A4, letter a.s.o.) of a report. I didn't found properties for such task!?
Best regards
http://www.invitec.com
Signaler
0
0
Guenter Predl
#2
Posté le 14 juin 2004 - 21:59
Hi Raimund,
afaik, page dimensions of a report cannot be retrieved because - as you can read under associated processes - the report will be resized to the paper size before printing. So, to my eyes, there is nothing like a fixed 'size' of a report. I do not know whether that really works like a zoom while printing the report, but according to manual, it does.
Dimensions of the paper can be retrieved with iPageHeight() and iPageWidth() as know for sure and they can be set with iPaprameter(..) if necessary and support of the printer is there ..
So, if you want to know whether the report will be printed on the desired page size, it should suffice to retrieve the current printer settings and compare them to the desired ones. If not, you could return a warning or even reject the print job.
Best regards,
Guenter
Hello,
I want to know how to get or set the paper size (A4, letter a.s.o.) of a report. I didn't found properties for such task!?
Best regards
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte