Thanks, your response did the trick. how ever the system fails on layout number 23 out of 35. I think is because a lack of PC memory while waiting for the printer to finish printing.
I will have to do an other loop just for printing, after the 35 layout are created. I will sum (if have time) TIA Juanse ----- Original Message ----- From: Patrick Palmier <[EMAIL PROTECTED]> To: Juan S. Barros J. <[EMAIL PROTECTED]> Cc: MIL <[EMAIL PROTECTED]> Sent: Wednesday, January 16, 2002 7:13 AM Subject: Re: MI-L Layout to printer > if you have mapinfo 6.0 or 6.5, you can configure the printer for each > layout window a by a "set window <window_id> printer ..." clause. > you can test if a window is a layout window or not and have its window_id by > the windowinfo() function by scanning the numwindows() windows of you > workspace. > > if you are working on a version prior to 6.0, you can define in your windows > control panel->printers the default printer where you want to print your > layouts and configure all the characteristics, paper format, orientation and > so on > > Patrick Palmier > Lille M�tropole Communaut� Urbaine > Mission Plan de D�placements Urbains > 1, rue du Ballon BP749 > 59034 LILLE cedex > FRANCE > T�l: 33 / 03 20 21 31 78 > Fax: 33 /03 20 21 30 14 > mailto:[EMAIL PROTECTED] > > http://www.cudl-lille.fr/fr/accessibilite/pdu/index.htm > > > > ----- Original Message ----- > From: "Juan S. Barros J." <[EMAIL PROTECTED]> > To: "MapInfo" <[EMAIL PROTECTED]> > Sent: Wednesday, January 16, 2002 7:10 AM > Subject: MI-L Layout to printer > > > > > > > > Hi there > > > > for using Printwin statement how can I define the printer in advance? > > > > I have a for next loop that creates secuentialy 35 layout. I will like = > > to print each one to a given printer after the layout window is created = > > and therefore is the frontwindow one. > > > > how can I do that? > > > > juanse > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.314 / Virus Database: 175 - Release Date: 11/01/02 > > > > > > > > _______________________________________________________________________ > > List hosting provided by Directions Magazine | www.directionsmag.com | > > To unsubscribe, send e-mail to [EMAIL PROTECTED] and > > put "unsubscribe MapInfo-L" in the message body. > > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.314 / Virus Database: 175 - Release Date: 11/01/02 _______________________________________________________________________ List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MapInfo-L" in the message body.
