Prevent acrobat reader from opening after printing to pdf

10,842 views
Skip to first unread message

Nyall Dawson

unread,
May 9, 2011, 7:27:58 PM5/9/11
to mapi...@googlegroups.com
Hi all,

Does anyone here know of a way to prevent Acrobat Reader from opening after printing to a PDF file in MapInfo (using the built-in MapInfo PDF Printer)?

I'm trying to batch print a stack of maps through a MapBasic routine which re-centers a map window, then prints to pdf - but after every PrintWin command Acrobat opens with the new print output. If I leave the routine to run unsupervised, it gets through about 60 pdfs before Acrobat starts throwing up errors about too many windows being open and the printing halts till I close the acrobat windows.

I'd love to be able to stop acrobat from opening so I can leave this routine to run overnight!

Cheers,

Nyall Dawson



Natalie Bennett

unread,
May 9, 2011, 7:26:37 PM5/9/11
to mapi...@googlegroups.com
Instead of actioning the save, try acting the Wait - Collect option instead, then you can go and batch print them when finished?

>>> Nyall Dawson <ny...@zombiepigs.net> 10/05/2011 9:27 am >>>
Hi all,

Cheers,

Nyall Dawson

--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en


_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning Services - powered by MessageLabs. For further information
visit http://www.mci.com

Erin Comparri

unread,
May 9, 2011, 7:54:20 PM5/9/11
to mapi...@googlegroups.com
IIRC, you can edit this behavior in Acrobat, or maybe the print driver settings?  It has a checkbox for opening the newly printed results. 

-Erin

Nyall Dawson

unread,
May 10, 2011, 12:39:35 AM5/10/11
to mapi...@googlegroups.com


On Tuesday, 10 May 2011 09:54:20 UTC+10, Erin Comparri wrote:
IIRC, you can edit this behavior in Acrobat, or maybe the print driver settings?  It has a checkbox for opening the newly printed results. 

-Erin

I've looked everywhere throughout the Acrobat and MapInfo PDF printer settings, but can't see this option anywhere... Have you got any more details?

Cheers,
Nyall
 

Nyall Dawson

unread,
May 10, 2011, 12:43:23 AM5/10/11
to mapi...@googlegroups.com


On Tuesday, 10 May 2011 09:26:37 UTC+10, Wellington Council wrote:
Instead of actioning the save, try acting the Wait - Collect option instead, then you can go and batch print them when finished?

Looks like that option is for pdfcreator, not for the built in MapInfo PDF printer. But this did lead me to an option in the printer settings to append pages to a pdf without overwriting - possibly I could use this option if there's no better solution!

Regards,
Nyall

Graeme

unread,
May 10, 2011, 6:37:15 PM5/10/11
to MapInfo-L
Nyall,

Is "preview the document" unticked on the configuration tab in the
mapinfo pdf printer properties options?

It can do it as I print using the mapinfo pdf printer and it does not
open the document on completion. Also make the change in the Windows
printer preferences rather than just for the mapinfo layout page
setup. It depends on how your code works if you are creating a new
layout each time it will use the default settings as set in the
Windows printer preferences.

Also if the mapinfo pdf printer preferences make sure on the
"Destination" tab that file system is selected and the options for
file system set to "Document Title" (users the layout window name so
change this for each map in your code), default directory set to "C:
\temp" or something similar, overwrite option set to "overwrite
without asking"-or what ever you feel like, and print to set to "do
not print". Just remeer to do this in windows not mapinfo and restart
mapinfo once all set if you had it running otherwise the settings wont
take effect.

I am not sure if this could happen but once all the above is checked
could you be printing to some sort of abobe acrobat watched directory?

Hope this works for you,
Graeme

David R Sherrod

unread,
May 16, 2011, 2:18:09 PM5/16/11
to mapi...@googlegroups.com, Nyall Dawson

Nyall, did this question get answered?  Some other programs do the same thing----that is, automatically open the newly created pdf through the Acrobat software (Pro or Reader).

I ran a query on the Internet and found some hints that may help.  If so, the matter is solved by setting preferences within the Adobe PDF printer, as follows:

1.  start menu - settings - printers and faxes - adobe pdf - properties - printing preferences - uncheck view adobe pdf results

2. Deselect "Open PDF in Acrobat" in the printer settings.

The above pasted in from: http://www.justskins.com/forums/disable-opening-adobe-document-108174.html

SUM: If these solutions work, it means the automatic opening is not within the MapInfo workflow but instead within your computer's Printer instructions, and then not even in your default printer but instead in the Acrobat virtual printer.


Dave S.
-----------------------------------------



From: Nyall Dawson <ny...@zombiepigs.net>
To: mapi...@googlegroups.com
Date: 05/09/2011 04:28 PM
Subject: [MI-L] Prevent acrobat reader from opening after printing to pdf
Sent by: mapi...@googlegroups.com


Nyall Dawson

unread,
May 17, 2011, 6:18:10 PM5/17/11
to mapi...@googlegroups.com

On Wednesday, 11 May 2011 08:37:15 UTC+10, Graeme wrote:

Is "preview the document" unticked on the configuration tab in the
mapinfo pdf printer properties options?

I've just double-checked and this option is turned off in both the Windows printer settings under preferences and defaults, so unfortunately that's not the solution. 

I did discover an acceptable workaround though. I've noticed that if I manually print a map to a PDF using the "File->Print to PDF" option, then click on the "PDF" button, there's a tick box for "Automatically open the PDF". I can then switch off this option and print a dummy page to save the setting. Following this, if I run my MapBasic automated printing routine, the PDFs created by the PrintWin command don't automatically open in Acrobat and I can run through my whole routine without user intervention. 

Unfortunately, I can't find any way of setting this option to be the default, or of accessing it via MapBasic. So, every time MapInfo is restarted I need to go through the routine of printing a dummy page to change this setting before running the MapBasic. That's not a huge drawback though and at least now I can leave the routine to run on it's own!

Many thanks to all the replies which helped lead me to this solution!

Kind regards,
Nyall



 


Peter Horsbøll Møller

unread,
May 18, 2011, 2:04:15 AM5/18/11
to mapi...@googlegroups.com
Nyall,
I would recommend that you raise a request/Create an idea on the PBBI Ideas Community.
The request should state that it should be possible to turn off "Automatically open PDF" when printing thru MapBasic.

Peter Horsbøll Møller
Pitney Bowes Business Insight - MapInfo


2011/5/18 Nyall Dawson <ny...@zombiepigs.net>

Ruchi Mishra

unread,
May 18, 2011, 2:21:20 AM5/18/11
to MapInfo-L
Hello Nyall,

There is an option in MapInfo Professional to prevent acrobat reader
from opening.

Got to File>Print
Click on PDF button and uncheck automatically open the PDF

Thanks
Ruchi

Cummings, Mike

unread,
May 18, 2011, 11:41:27 AM5/18/11
to mapi...@googlegroups.com

I just wanted to note that I found that I had to reboot my system after I changed my windows printer settings for the change to take effect.  I don’t know if it changes things in mapinfo- I don’t have it installed on this machine. 

--

Reply all
Reply to author
Forward
0 new messages