[AccessD] Specific Printer

Stuart McLachlan stuart at lexacorp.com.pg
Thu Feb 5 04:51:01 CST 2009


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



More information about the AccessD mailing list