473,395 Members | 1,454 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,395 software developers and data experts.

Printing PDF files created with ADobe 7.0

We have been printing pdf files through Adobe, from Access for
several years. Adobe version 5.0 is currently installed. Recently we
have received PDF files that were created under the Adobe 7.0 version.
When trying to view a file manually Adobe 5.0 displays a pop up
message:

"This file may contain newer information than this viewer can
support. It may not open or display correctly". There is a check
box with the pop-up that says, "Do not show this message again" but
it only lasts for the current instantiation of Adobe. If Adobe closes,
that flag is lost.

When printing a list of file with VBA, the earlier version PDFs
print but the newer versions do not. There is no pop-up so the
situation is not obvious to the user.

To sum that up, the pdf files could be printed manually, but when
printing from VBA a list of files that are intermixed 5.0 and 7.0, the
7.0 files do not print.
I use the following call:
ShellExecute Calling.hwnd, "print", PathName, "", 0, SW_SHOWNORMAL

This is in the Declaration area:
' From Google News Group - How to Hyperlink 08/21/05
Private Declare Function WinAPI_ShellExecute Lib "shell32.dll" Alias _
"ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, _
ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long

Of course, upgrading to Adobe 7.0 would work but there is
resistance from our users to make the change. Is there any switch
setting in the above call, or a way to use the Parameters string to
suppress error messages? I am checking the return value but I get 42
whether it prints or not.

Hank Reed

Sep 5 '06 #1
0 1668

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

Similar topics

8
by: Chris | last post by:
Hello all, I wish to automate printing of PDF documents in a C# application. Is there an Adobe .net object? I tried to create a reference to the COM Object Adobe Type Library, but I get error...
2
by: SJM | last post by:
I am currently at a site where some users have Adobe Reader/Distiller 6 installed on their PC's and I need to provide the ability to save reports as pdf files. Searching the internet I found a...
1
by: S Taylor | last post by:
I have looked through many newsgroups to see how I can print several pdf documents to a printer, from Access using vba. The documents are scans of images, so I don't think they can be open through...
16
by: cyranoVR | last post by:
This is the approach I used to automate printing of Microsoft Access reports to PDF format i.e. unattended and without annoying "Save As..." dialogs, and - more importantly - without having to use...
11
by: cybertof | last post by:
Hello, Is there a way to easily print a .pdf file to the printer ? (without an external component) Thanks.
13
by: Sumant | last post by:
printing text in VB6 can be done just by "Printing.Print". is there any replacement for this in .NET? Drawing.Print won't work coz it converts text into image and then prints. so when we use Adobe...
3
by: crashonyou | last post by:
hello again..i've been searching for quite some time now already looking for a solution to printing word documents with python..same thing for internet explorer..i was experimenting around with some...
3
by: annoir | last post by:
I am trying to print PDF documents using the code below and I get the following error: "Object reference not set to an instance of an object." Am totally stumped. Can anybody help? I am...
1
by: billelev | last post by:
Here is some code that I have adapted slightly. It allows a report to be printed to a specific location. It works by calling SaveReportAsPDF and specifying the access report name, and the root...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.