View Single Post
  #4 (permalink)  
Old 06-24-2008, 11:57 PM
Alan Morris [MSFT]
 
Posts: n/a
Re: Unable to diffrentiate between TCP/IP and LPR port
enumports API . You will need to get port_info_2 data.

http://msdn.microsoft.com/en-us/libr...97(VS.85).aspx

--
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.

"XML SAVE" <XMLSAVE@discussions.microsoft.com> wrote in message
news:0AF07CAA-A4AC-4D5C-B9AB-F0685BD4E07A@microsoft.com...
> HI ,
>
> Thanks for u r response..
>
> i am using TCP/IP port in vista not the software.
>
> Problem description:
>
> 1. Install the driver in Vista, connect it Printer Using TCP/IP
> port(windows
> port not software)
> 2.Down Load it to Client Machine(XP).
> 3. after Downloading it in client , i am not able to recognize what port
> the
> driver is connected.
> 4. if server is XP instead of vista then i am able Identify this is
> becuase,
> in Xp when TCP/IP port is created it will cretae registry enrty With
> header
> IP_ , But this will not happen in Vista.
> 5. so is there any API or some other way to know the connected port is
> TCP/IP port(if we see ports tab in printer and goto some port in
> description
> it shown as TCP/IP port , how windows is able to regnise this).
> 6. Please provide me the info.
>
> Thanks & Regards,
> koti
>
> "Alan Morris [MSFT]" wrote:
>
>> Are you using Standard TCP/IP Port in Vista or software that came with
>> the
>> network card?
>>
>> It's unclear what you are attempting to do.
>>
>> --
>> 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.
>>
>> "XML SAVE" <XMLSAVE@discussions.microsoft.com> wrote in message
>> news:E00A0C51-FDCC-4E3A-9E8B-2BD261138A0B@microsoft.com...
>> > HI,
>> >
>> > i have installed prinetr in Vista using TCP/IP port , and down loaded
>> > into
>> > a XP client. and in client side i am not able to diffrentiate the
>> > address
>> > as
>> > TCP/IP.
>> >
>> > If we Create TCP/IP Port locally in Xp machine, It will cretae a
>> > regitry
>> > entry with IP_ header, with this we can diffrentiate in Xp, but Incase
>> > of
>> > Vista this is not happening, so is there any API , or some way to
>> > diffrentiate TCP/IP port from others. if any bodyu has info Please
>> > provide
>> > it
>> > me.
>> >
>> > Thanks in advance.
>> >
>> > Thanks&Regards,
>> > koti

>>
>>
>>



Reply With Quote