Re: Capture Printer

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



thank you for the update.
 
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.

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@xxxxxxxxxxxxxxxxxxxx...
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@xxxxxxxxxxxxxxxxxxxx...
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: Could not start Windows Firewall/ Internet Connection Sharing(ICS)
    ... Posting on MS newsgroup will benefit all readers and you may get more help. ... Networking, Internet, Routing, VPN, Anti-Virus, Tips & Troubleshooting on ... >i have networked my PC and my laptop both using Windows XP service pack 2. ...
    (microsoft.public.windowsxp.network_web)
  • Re: RAS Problem
    ... Posting on MS newsgroup will benefit all readers and you may get more help. ... Networking, Internet, Routing, VPN, Anti-Virus, Tips & Troubleshooting on ... I can ping the server by name. ...
    (microsoft.public.windows.server.networking)
  • Re: XP Home - Connecting 2 computers on a LAN
    ... (from JAC)". ... Posting on MS newsgroup will benefit all readers and you may get more help. ... Networking, Internet, Routing, VPN, Anti-Virus, Tips & Troubleshooting on ...
    (microsoft.public.windowsxp.network_web)
  • Re: VPN in Win2003 Server
    ... Posting on MS newsgroup will benefit all readers and you may get more ... Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net ... This posting is provided "AS IS" with no warranties. ... NICs in the Win2003 server. ...
    (microsoft.public.windows.server.networking)
  • Re: Issue with routing in Win2K3 VPN and Windows XP client
    ... Posting on MS newsgroup will benefit all readers and you may get more help. ... Networking, Internet, Routing, VPN, Anti-Virus, Tips & Troubleshooting on ... There is a static route defined on the VPN server to allow this and it ...
    (microsoft.public.win2000.ras_routing)