Shooting from the hip here in MapBasic and not checking syntax:

        'Simply loop through the windows, check for layout windows, and
print them non-interactive 
        dim i, thiswid as integer
        For i = 1 to NumWindows()
                thiswid = WindowID(i)   
                If WindowInfo(i,Win_Info_Type) = Win_Layout then
                        PrintWin Window thiswid
                End If
        Next

There may be a bug in this but thats the basic idea. Good luck.

-----Original Message-----
From: John Polasky [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 9:54 AM
To: [EMAIL PROTECTED]
Subject: MI-L Printing Layouts


Greetings Listers-

Does anyone out there have any tips on setting up a quick loop to print
all layouts within a workspace?  Thanks!

John

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12095


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12103

Reply via email to