Re: Capture Printer
- From: "Rick" <rick@xxxxxxxxxxx>
- Date: Thu, 2 Jun 2005 13:02:56 -0700
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!!!
.
- Follow-Ups:
- Re: Capture Printer
- From: Robert L [MS-MVP]
- Re: Capture Printer
- References:
- Capture Printer
- From: Rick
- Re: Capture Printer
- From: Robert L [MS-MVP]
- Capture Printer
- Prev by Date: Re: Capture Printer
- Next by Date: Rename printer script
- Previous by thread: Re: Capture Printer
- Next by thread: Re: Capture Printer
- Index(es):
Relevant Pages
|