I have been following this topic with interest as it's something I need to
do as well. One extra question - Does anyone know if you can add extra pages
to an existing pdf? So that every time a loop in MB is finished and a layout
is created the new layout is printed to the existing pdf file?
Thanks,
Jim
Jim Wilson
Hilton of Fern,
Brechin. Angus, Scotland
> -----Original Message-----
> From: DPC [mailto:[EMAIL PROTECTED]]
> Sent: 23 April, 2002 01:45 AM
> To: Jonathan Stavis; [EMAIL PROTECTED]
> Subject: RE: MI-L mapbasic - adobe distiller printing
>
>
> 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]
>
>
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]