Hello,

Under version 5.5 of Mapbasic I had a dialog box where the user was asked what
layout size and orientation they wanted for a print.
The user selected from a radio button the paper size (A4 -> A0) and clicked on a
 button which accessed M_FILE_PAGE_SETUP
where they could select the orientation and also select the printer / paper
size.
On returning from M_FILE_PAGE_SETUP I knew what paper size the user wanted (from
 the radio button) and could also
detect the orientation by  using the windowinfo() function as follows:-

     MORIENTATION=WINDOWINFO(FRONTWINDOW(),WIN_INFO_PRINTER_ORIENT)

I then went off and loaded a layout which was of the correct size and
orientation (A3 Landscape for example) and
contained borders, logos, titles etc.

My question is how do I reproduce this functionality under version 6.0?
The documentation suggests now using M_EDIT_PREFERENCES_PRINTER, but I cant get
this to work.
Mapinfo still seems to return the orientation that has been set using page setup
 not the one set under Options/Printers.

I'd really appreciate someones help on this as its driving me mad!!

Kind Regards

Owen
Analyst Programmer
UK



----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to