Create Local Printer Ports - Script/on the fly

C

Chris McKeever

I have an army of laptop users that come and go into a remote office
with thier _personal_ laptops. I want to let them set-up their own
printers for the office.

This should be fairly straight forward becuase there is a set-up
program for the printer (konica 7045), but in order to make it work,
they need to have a local port pointing to printer-share on the server
(ie \\server\sharename).

If there is a way to make a small script to add that, it would take a
lot of explaining out of the equation, since the rest is just a setup
file, pick the port and you are done.

I have tried a registry setting file, but it doesnt seem to work all
the time
below is a registry file for a standard tcp/ip port that I tried to
make this way, and it just doenst always seem to work..it seems very
install dependent (so mabe winxp is hiving it differently based on the
install)

thanks -
cgmckeever


Registry Edit for Standard TCP/IP (doesnt always behave):

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Standard
TCP/IP Port\Ports\192.168.10.201_lp2]
"Protocol"=dword:00000002
"Version"=dword:00000001
"HostName"=""
"IPAddress"="192.168.10.201"
"HWAddress"=""
"PortNumber"=dword:00000203
"SNMP Community"="public"
"SNMP Enabled"=dword:00000000
"SNMP Index"=dword:00000001
"Queue"="lp2"
"Double Spool"=dword:00000000
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top