Re: Capture Printer

Tech-Archive recommends: Fix windows errors by optimizing your registry



Acualy I knew about this but what I wanted to do was capture lpt1 to a
certain printer. I did figure it out I used AddPrinterConnection.

Thanks so much for taking the time to reply!!!

"Robert L [MS-MVP]" <noreply@xxxxxxxxxxx> wrote in message
news:uF%23mbn6ZFHA.2496@xxxxxxxxxxxxxxxxxxxxxxx
this quotation based on setup default printer for network group, but it is
the same idea. quoted from www.chicagotech.net/print.htm

How to setup a default printer based on a network group
' Add a network printer if the computer is a member of the group.
' Make this printer the default.
If IsMember(objComputer, "information_system") Then
objNetwork.AddWindowsPrinterConnection "\\chicagotech\cc041hp4050"
objNetwork.SetDefaultPrinter "\\chicagotech\cc041hp4050"
End If
Don't send e-mail or reply to me except you need consulting services.
Posting on MS newsgroup will benefit all readers and you may get more help.

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.
"Rick" <rick@xxxxxxxxxxx> wrote in message
news:eYWNp%235ZFHA.2788@xxxxxxxxxxxxxxxxxxxxxxx
Is there a way when using a login script written in vbscript to capture a
printer?

In a batch file I just use net use lpt1 .... command but I am not sure in
vbscript.

Thanks for any help you can give!!!


.



Relevant Pages

  • Re: Setup default printers for users?
    ... How to setup a default printer based on a network group ... ' Add a network printer if the computer is a member of the group. ... > How do I setup default printers for users of the network within Windows> Server 2003? ... That is, when a user logs on, I want all printers that I> setup ...
    (microsoft.public.windows.server.active_directory)
  • Re: Setup default printers for users?
    ... How to setup a default printer based on a network group ... ' Add a network printer if the computer is a member of the group. ... > How do I setup default printers for users of the network within Windows> Server 2003? ... That is, when a user logs on, I want all printers that I> setup ...
    (microsoft.public.windows.server.networking)
  • Re: Setup default printers for users?
    ... How to setup a default printer based on a network group ... ' Add a network printer if the computer is a member of the group. ... > How do I setup default printers for users of the network within Windows> Server 2003? ... That is, when a user logs on, I want all printers that I> setup ...
    (microsoft.public.windows.server.general)
  • RE: Securing a Local Network
    ... Show the Management of your company the insecurity of the Peer to Peer ... setup and discuss what risks are they willing to accept. ... -Cost of getting the web server and the mail server internally versus having ... -Use an older box for Intrusion Detection on the internal network as well. ...
    (Security-Basics)
  • Re: Client computer wont connect to internet ATTN: Joe Crown
    ... for my host/client setup. ... >When I supported Windows 98 & Windows ME the most common cause of ... >> When I try to connect to the internet using Firefox or Internet ... >> 7) In the Manufacturers box, click Microsoft, in the Network Protocols ...
    (microsoft.public.windowsxp.network_web)