Home > Archive > MS Access database support > February 2006 > application.printers port problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author application.printers port problem
cddeboer@gmail.com

2006-02-20, 8:25 pm

I am using MS-Access XP and am using the following syntax Set
Application.Printer = Application.Printers("PrinterName") to change the
default printer.
Then when I go to check the associated printer port for any of the
printers (using application.printers(" differentprintername
").port, they
all return the same printer port as the printer that I switched to,
even though some printers have different ports associated.
Anyone know what is going on here?

Stephen Lebans

2006-02-20, 8:25 pm

This is a known bug/feature. IF you search the Access NG's via GoogleGroups
you will find several relevant threads and an API based solution.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


<cddeboer@gmail.com> wrote in message
news:1140472265.057317.181710@g44g2000cwa.googlegroups.com...
>I am using MS-Access XP and am using the following syntax Set
> Application.Printer = Application.Printers("PrinterName") to change the
> default printer.
> Then when I go to check the associated printer port for any of the
> printers (using application.printers(" differentprintername
").port, they
> all return the same printer port as the printer that I switched to,
> even though some printers have different ports associated.
> Anyone know what is going on here?
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com