473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Generating PDFs undesirably leaves files open

I have an Access 97 database that has a routine to generate a unique
report as a PDF file and email it to one person, and loops about 300
times. Each instance through the loop uses a registry entry to
pre-populate the desired filename for the PDF file it generates. The
PDFs are generated, attached and emailed in the loop as they're
intended.

As it progresses, the focus tends to show the Acrobat window and the
PDFs briefly appear as they are being generated, until it reaches the
last one that stays on top. The problem is that each PDF file remains
open in Acrobat, and it bogs down severely by the time you have dozens
of files open simultaneously there. When the loop finishes, one can
click "Window" in Acrobat's menu and see dozens of open files listed.

I guess the PDF Writer print driver insists on opening the PDFs for
review the instant it's done generating it. I don't want to review
them; I just want them to be generated.

How can I prevent this from occurring? I'm using Acrobat 5. (I know
this functionality was crippled in version 6, but that it not at issue
in this case.)

Regards,

Todd

Nov 13 '05 #1
2 1614
You might have better luck with this http://pdf995.com/

On 2 Dec 2004 06:29:29 -0800, go**************@iid.state.ia.us wrote:
I have an Access 97 database that has a routine to generate a unique
report as a PDF file and email it to one person, and loops about 300
times. Each instance through the loop uses a registry entry to
pre-populate the desired filename for the PDF file it generates. The
PDFs are generated, attached and emailed in the loop as they're
intended.

As it progresses, the focus tends to show the Acrobat window and the
PDFs briefly appear as they are being generated, until it reaches the
last one that stays on top. The problem is that each PDF file remains
open in Acrobat, and it bogs down severely by the time you have dozens
of files open simultaneously there. When the loop finishes, one can
click "Window" in Acrobat's menu and see dozens of open files listed.

I guess the PDF Writer print driver insists on opening the PDFs for
review the instant it's done generating it. I don't want to review
them; I just want them to be generated.

How can I prevent this from occurring? I'm using Acrobat 5. (I know
this functionality was crippled in version 6, but that it not at issue
in this case.)

Regards,

Todd


Nov 13 '05 #2
> I guess the PDF Writer print driver insists on opening the PDFs for
review the instant it's done generating it. I don't want to review
them; I just want them to be generated.


If it's feasible for your number of users, on each client computer go
to the Printer Properties -> Printing Preferences and uncheck the box
labelled "View PDF Results." This should prevent the PDF file from
automatically opening when a PDF is generated.
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Martin Emanuelsson | last post by:
Hello, I have a problem with a small asp-solution that searches for PDF-documents with indexing service. For some files in the search result I get gibberish returned, such as...
14
by: BlueDolphin | last post by:
Hello all. I'm looking for some opinions on using snapshot files or ..pdf for some reports. We are in the initial stages of creating some reports in access that will be pulled online through Cold...
0
by: musicloverlch | last post by:
I used to be able to create PDFs, automatically save them to a file, and mail them out to people. This was on Access 97 with Windows NT. We've changed to Windows XP and Access 2003. Doesn't work...
3
by: Mike Kingscott | last post by:
Hi there, I'm writing an app in which a punter buys some PDFs online. After purchasing said PDFs, they will be given a token (bless them Guids) to go to a download .ASPX page from which they can...
3
by: daniele.balducci | last post by:
Hi All, I'm generating XLS files from ASP(.Net) code using the usual code chunks ... Response.ContentType = "application/vnd.ms-excel" Response.AppendHeader("Content-Disposition", "attachment;...
6
by: (PeteCresswell) | last post by:
User wants to go this route instead of storing pointers in the DB and the documents outside. Only time I tried it was with only MS Word docs - and that was a loooong time ago - and it seemed to...
6
by: Jackie | last post by:
Hi, all, There are 50 folders in my hard driver C: C:\01.c:\02,...,c:\50 There are 4 pictures in each folder: 1.jpg,2.jpg,3.jpg,4.jpg For each folder, I want to print the 4 pictures into a...
20
MMcCarthy
by: MMcCarthy | last post by:
This problem was proposed to me but not really my area of expertise so I thought I would open it up to the forum to see if anyone had any bright ideas. The problem is generating Microsoft Word...
2
by: Riak | last post by:
Hellow Helpers: I am doing data entry job manually and data is huge. Now I was told to write/get some sort of program/script which can do this job quickly, otherwise I will loose job. I am good...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.