At 08:47 29.03.99 -0800, you wrote:
>I have a mbx that creates a series of maps with a couple of layouts and
>automatically prints the layouts to a file using a HP8500 printer driver.
>Not to belly ache about it, since my program saves me a lot of time anyway,
>but when I print the driver asks for a file name and I have to manually
>type a name for each print file. Is there any way to have the program give
>the print driver a file name (preferably an different one for each layout)
>thus enabling me to go to the break room and goof off while still doing
>"work"?
>
Add another copy of your printer driver which is connected to a constant
file as the "printer port". You could define a new printer port named
e.g. "\\.\c:\tempfile.prn" that may then be used instead of "lpt1",
"FILE:", etc. With this new port defined in the printer's properties
the driver won't ask for a file name but will always print to the
defined file (overwrites without notification).
In addition to that, you would need to rename your output file after
completion of each print job in your MBX using the "Rename File ..."
statement to save your print files from being replaced.
I have used this method with WinNT -- haven't checked with Win95/98.
Regards,
Christian Singer
Ing.-B�ro
Christian Singer
Singerhoffstr. 14
D-44225 Dortmund
Germany
E-mail: [EMAIL PROTECTED]
WWW : www.icsinger.de
Phone : +49 231 791464
Fax : +49 231 791460
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]