• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: is it a bug in NSNetService?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is it a bug in NSNetService?


  • Subject: Re: is it a bug in NSNetService?
  • From: Marc Krochmal <email@hidden>
  • Date: Fri, 10 Feb 2006 10:42:32 -0800


On Feb 10, 2006, at 4:31 AM, Ayyapu Reddy wrote:

I am trying to set the name of my printer (Rendezvous protocol) using NetService Class method "name".

(NSNetService *)netservice;
[self setNameToPrinter : [ netservice  name ] ] ;

If the name of the printer is set to any of the following for Eg: "XYZ 10.255.115.191" , then the netservice name returned is "XYZ 10 \.255\.115\.191". It appends a '\' to each of the dot character in my printer's name Or if printer name is "XYZ - 123" then the netservice name returned is just "XYZ".

Is this a bug on NSNetService ? Has anyone of you faced a similar problem ?

Any help would be appreciated.

This sounds like a bug in your printer. What kind of printer is it? What does the printer name look like when displayed in Printer Setup Utility?


-Marc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >is it a bug in NSNetService? (From: Ayyapu Reddy <email@hidden>)

  • Prev by Date: Re: Calling TransitionWindowWithOptions on a WindowRef returned from a [NSWindow windowRef]
  • Next by Date: Re: Calling TransitionWindowWithOptions on a WindowRef returned from a [NSWindow windowRef]
  • Previous by thread: is it a bug in NSNetService?
  • Next by thread: remove blue highlight in NSTextField
  • Index(es):
    • Date
    • Thread