Tech Off Thread

1 post

.Net and Networked Printers---BUG?

Back to Forum: Tech Off
  • User profile image
    risu

    Printer settings does not all give a complete list of the PC's printers.

    ---

    System

    WinXP SP1 
    VS 2003 ver 7.1.3088 
    .net framework ver 1.1.4322


    Pc has one local printer attached to Lpt1:
    and three networked printers through a microsoft printserver. Default printer is local printer.

    Ran the following code:


    Dim
    pd As New Printing.PrintDocument

    Dim prt As New PrintDialog

    prt.Document = pd

    prt.PrinterSettings = New Printing.PrinterSettings

    prt.ShowDialog()

    Only the local printer shows up in the drop down box on the print dialog.

    Changed the default printer for the machine to a networked printer. Re-ran the test and all printers (4) showed up in the drop down box on the print dialog.

    Reset default to local printer. Ran test and again only one printer.

    ---

    Has anyone else encountered this. I repeated the test on another XP machine and got same result. We have had some issues with the networked printers and other programs prompting us to install the drivers locally but this is not a preferred solution.

    Any advice or thoughts on this would be greatly appreciated.

    If this has been seen before is this a Bug or a "Feature"?

    Thanks,
    Risu

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.