Post in reply to: SunflowerBabe
I'll assume the port creation through scripting is the portion of foreign
origin.
You will need a network configuration page printed from your device. Each
device is different so you will need to read the manual if you do not know
how to do this. Locate the hostname or IP for the network card. I'd use
the hostname since this will also get to the device when the IP address
changes.
open an elevated command prompt Start /Accessories /Command Prompt right
click, Run as administrator
this should open in c:\windows\system32. Then navigate to
printing_admin_scripts\en-us
at the prompt type cd printing_admin_scripts\en-us
at the prompt type
cscript prnport.vbs -a -h YOURHOSTNAME -r HOSTNAME
If you have a network card included in tcpmon.ini the port configuration is
read from this file. If the port is not autoconfiged and fails use raw and
9100 (this is the default for HP and Lexmark).
cscript prnport.vbs -a -h YOURHOSTNAME -r HOSTNAME -o raw -n 9100
once the port is created launch the network Add Printer wizard
in the same command windows type
printui /ip
use the port you just created.
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/search/?adv=1
This posting is provided "AS IS" with no warranties, and confers no rights.