The key here, if I remember correctly, is the following. It's been a while since we set this up so my memory is a little rusty...
- within MI, set Distiller as the default printer - set the printer properties within MI by unchecking "prompt for PDF filename" - make sure you are giving each layout a unique name, using a routine something like Dim layout_win as Integer Dim sFileName as string ' do all your stuff to create the map and layout ' put in some code to set sFileName based on your project layout_win = frontwindow() Set CoordSys Layout Units "in" Set Window layout_win Title sFileName printwin window layout_win - then loop through this program and each pdf will get it's own unique name - [sFileName].pdf - and you'll never get prompted to hit "enter" to save the file (unless you get a duplicate file name) -----Original Message----- From: Jonathan Stavis [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 4:30 PM To: [EMAIL PROTECTED] Subject: MI-L mapbasic - adobe distiller printing Hello, I am writing a mapbasic program which generates a number of layouts in MI and then prints them to Adobe Distiller. Does anyone know of a way to specify a path for each pdf file, so as to not have to dismiss the Save As dialog for each layout printed? Printing to a .ps file with Distiller running in the background is also a viable solution. Is there any way to do this with MapBasic? Thanks in advance, Jon ------------------------------------------------------------ --------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
