[AccessD] Specific Printer

Andy Lacey andy at minstersystems.co.uk
Thu Feb 5 04:54:48 CST 2009


Oh God is it that stuff still in A2K? That's horrible. Think I'll go with
Gustav's plan.

Andy

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan
Sent: 05 February 2009 10:51
To: Andy Lacey; Access Developers discussion and problem solving
Subject: Re: [AccessD] Specific Printer


On 5 Feb 2009 at 10:12, Andy Lacey wrote:

> Hi folks
> How do I supply an MDB with a report set to print to a specific 
> printer which I don't have? The report is used by several people in an 
> office and needs to print on their one colour printer which is not the 
> default for any of them. So it's a network printer and I'm not on 
> their netowrk of course. Can this be done, by code if necessary?
> 
> Oh and this is A2K.
> 
Problem  - the Printer object only came in in Access2002!

I haven't got any examples, but try googling PrtDevMode and PrtDevNames  
- you will need to manipulate these to do it.


> Cheers
> 
> Andy Lacey
> 
> PS Deep snow today here. A very pretty English scene as long as you 
> don't have to try to negotiate the roads, which I don't tee hee.

So much for Global Warming :-)

-- 
Stuart
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list