application.printers port problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cddeboer@gmail.com

    #1

    application.printers port problem

    I am using MS-Access XP and am using the following syntax Set
    Application.Pri nter = Application.Pri nters("PrinterN ame") to change the
    default printer.
    Then when I go to check the associated printer port for any of the
    printers (using application.pri nters("differen tprintername"). 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

    #2
    Re: application.pri nters port problem

    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

    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.goo glegroups.com.. .[color=blue]
    >I am using MS-Access XP and am using the following syntax Set
    > Application.Pri nter = Application.Pri nters("PrinterN ame") to change the
    > default printer.
    > Then when I go to check the associated printer port for any of the
    > printers (using application.pri nters("differen tprintername"). 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?
    >[/color]


    Comment

    Working...