Home All Groups Group Topic Archive Search About
Author
15 Jan 2007 4:55 PM
Seth
I ran this command. The printer was installed but port settings are not
activated. How can i do port settings with a script or command. I need
activate LPR setting.

cmd /c rundll32 printui.dll,PrintUIEntry /if /b "PRINTERNAME" /x /n /if /f
C:\PCL440_W2K\XR440PCL.INF /r "10.166.7.239" /m "Xerox Document Centre 440"
/Z

Author
15 Jan 2007 5:59 PM
Alan Morris [MSFT]
prnport.vbs in system32

This uses the WMI print provider in XP and later

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Show quoteHide quote
"Seth" <s***@cityofangels.com> wrote in message
news:unDDubMOHHA.3552@TK2MSFTNGP03.phx.gbl...
>I ran this command. The printer was installed but port settings are not
>activated. How can i do port settings with a script or command. I need
>activate LPR setting.
>
> cmd /c rundll32 printui.dll,PrintUIEntry /if /b "PRINTERNAME" /x /n /if /f
> C:\PCL440_W2K\XR440PCL.INF /r "10.166.7.239" /m "Xerox Document Centre
> 440" /Z
>
Author
15 Jan 2007 7:03 PM
Seth
I don't mean that port.
Go to properteis of a printer. Go to ports tab. Configure port option is not
enabled. In there LPR option must be enabled but "Configure port" is not
enabled after i installed the printer with the command:

cmd /c rundll32 printui.dll,PrintUIEntry /if /b "PRINTERNAME" /x /n /if /f
C:\PCL440_W2K\XR440PCL.INF /r "10.166.7.239" /m "Xerox Document Centre 440"
/Z


Show quoteHide quote
"Alan Morris [MSFT]" <ala***@online.microsoft.com> wrote in message
news:uEo8c7MOHHA.4260@TK2MSFTNGP02.phx.gbl...
> prnport.vbs in system32
>
> This uses the WMI print provider in XP and later
>
> --
> Alan Morris
> Windows Printing Team
> Search the Microsoft Knowledge Base here:
> http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> "Seth" <s***@cityofangels.com> wrote in message
> news:unDDubMOHHA.3552@TK2MSFTNGP03.phx.gbl...
>>I ran this command. The printer was installed but port settings are not
>>activated. How can i do port settings with a script or command. I need
>>activate LPR setting.
>>
>> cmd /c rundll32 printui.dll,PrintUIEntry /if /b "PRINTERNAME" /x /n /if
>> /f C:\PCL440_W2K\XR440PCL.INF /r "10.166.7.239" /m "Xerox Document Centre
>> 440" /Z
>>
>
>
Author
16 Jan 2007 12:45 AM
Alan Morris [MSFT]
LPR ports cannot be reconfigured.  Change the port to LPT1, then delete the
current port before creating a new LPR port with the proper settings.

Or use a Standard TCP/IP Port which one can configure after creation.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Show quoteHide quote
"Seth" <s***@cityofangels.com> wrote in message
news:u7mSNjNOHHA.324@TK2MSFTNGP06.phx.gbl...
>I don't mean that port.
> Go to properteis of a printer. Go to ports tab. Configure port option is
> not enabled. In there LPR option must be enabled but "Configure port" is
> not enabled after i installed the printer with the command:
>
> cmd /c rundll32 printui.dll,PrintUIEntry /if /b "PRINTERNAME" /x /n /if /f
> C:\PCL440_W2K\XR440PCL.INF /r "10.166.7.239" /m "Xerox Document Centre
> 440" /Z
>
>
> "Alan Morris [MSFT]" <ala***@online.microsoft.com> wrote in message
> news:uEo8c7MOHHA.4260@TK2MSFTNGP02.phx.gbl...
>> prnport.vbs in system32
>>
>> This uses the WMI print provider in XP and later
>>
>> --
>> Alan Morris
>> Windows Printing Team
>> Search the Microsoft Knowledge Base here:
>> http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> "Seth" <s***@cityofangels.com> wrote in message
>> news:unDDubMOHHA.3552@TK2MSFTNGP03.phx.gbl...
>>>I ran this command. The printer was installed but port settings are not
>>>activated. How can i do port settings with a script or command. I need
>>>activate LPR setting.
>>>
>>> cmd /c rundll32 printui.dll,PrintUIEntry /if /b "PRINTERNAME" /x /n /if
>>> /f C:\PCL440_W2K\XR440PCL.INF /r "10.166.7.239" /m "Xerox Document
>>> Centre 440" /Z
>>>
>>
>>
>
>