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

Printing color to Adobe PDF printer Driver Problem

119 100+
Hi there,

I have some code that prints a report to a pdf driver (Adobe). I am using this code on two different machines, and hence two different installations of Access. On one machine the pdf prints in color, on the other it prints only in black and white.

I have traced the problem to the Adobe PDF printer properties menu WITHIN Access. On the machine that works, the color button is selected on the "Paper/Quality" tab by default, whether I view this property from within Access or from the Printers folder via that Start menu.

However, on the machine for which only black and white pdf's are printed, when viewing the Adobe PDF printer properties from within Access, the default color option selected is always black and white, even though this contradicts the printer properties viewed through the Printers folder on the machine.

It therefore seems that in one case Access is modifying the default properties of the printer driver. Does anyone know how to prevent this from happening?

Thanks
Sep 25 '07 #1
3 3375
billelev
119 100+
Well, I've managed to fix the problem, but I'm still not really sure what is going on.

I tried changing Application.printer.color property, and while this did indeed change the printer driver property within the Access application it did not produce color pdf's. I then tried changing the printer.color property of the report I was opening (and therefore printing to the pdf) and this fixed the problem. For some reason it appears that you have to explicitly set the color printing properties of a report in order to get the same result on all reports.

If anyone has any thoughts on this I would be interested in hearing them.
Sep 25 '07 #2
NeoPa
32,556 Expert Mod 16PB
You have (accidentally) posted this question in the Access Articles section. This is NOT an article.
I'm moving this to the main Access questions forum.

MODERATOR.
Sep 25 '07 #3
NeoPa
32,556 Expert Mod 16PB
...
For some reason it appears that you have to explicitly set the color printing properties of a report in order to get the same result on all reports.
...
Do you mean on all installations?
That would be the intended effect I would have thought. The ability to set defaults for the printers on a PC should override the convenience of a coder coding for various machines. It is probably possible to get a Domain Administrator to force this, but surely the correct approach when insisting that the result is defined by the coder rather than the choice of the user should be to include it in the code.
Sep 25 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: news.microsoft.com | last post by:
Hi Everyone, I am using the API of a particular printer driver, to pre-specify settings specific to that printer driver. After which the API has methods to create a printer driver context, which...
2
by: Ryan Gregg | last post by:
I've got a dot matrix printer that I need to print a line at a time to. This is being used for an audit log on an application and every event that occurs needs to print out right as it occurs. ...
4
by: Support | last post by:
Hello: I would like to create my own printer driver so that it is available in all applications through the file ->Print menu of applications. The driver will essentially take the contents of what...
3
by: Bob | last post by:
I need to create a program that is essentially a special fax sender using multi line Dialogic cards. I figure that the best way to do this so that it can be used from any app is to create someting...
0
by: Tull Clancey | last post by:
Hi all. I'm having difficulty getting the page settings out of one particluar printer driver. It's a driver that was written bespoke for a large international corp. It's a 16 bit installation...
0
by: jay | last post by:
Dear friends, I have a new task to do that I know nothing about. I am to design a printer driver (I think). The requirements of the project are: 1. design a printer driver - the printer...
0
by: Robert Dufour | last post by:
I have an application that is a IVR (intercative voice response) application that can use multiple telephone lines simultaneously using a dialogic card. One of the things I need to do is use a...
3
by: Steve | last post by:
Hi All I have a Windows forms POS program and have windows xp printer drivers for the Posiflex printers the customers use Is it possible to automatically install a windows printer driver (and...
2
by: wassimdaccache | last post by:
Dear all I am using windows server 2003 sp1. I am connecting a printer called BIRCH prp080 to my pc using the serial port. the printer is working well when I install the driver but the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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
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...

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.