PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
[WD8] Setting/getting info about report paper?
[WD8] Setting/getting info about report paper?
Started by Raimund Schuldhaus, Jun., 14 2004 7:53 PM - 1 reply
Connect yourself…
Raimund Schuldhaus
#1
Posted on June, 14 2004 - 7:53 PM
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
Report
0
0
Guenter Predl
#2
Posted on June, 14 2004 - 9:59 PM
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
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text