Connect to a printer via TCP connection with wifi

Hi,
what i would like to do, is to connect a printer to the iPhone via wireless.
The printer is in the same wifi as the iPhone and the ip adress is known.
So what i started to to is, to create a SocketConnection with CFStreamCreatePairWithSocketToHost(...). But if i switch of the printer, the inputstream is created too, and is not NULL as expected.
Is this the right approach im using or is there a better possibilty to send strings to my printer using a tcp connection over wifi?
Regards,
Grinarn

Welcome to Apple Discussions!
In the Help menu of the Finder is a little app called Mac Help. Most Apple apps and many 3rd party apps also use Mac Help. In Mac Help is an article called *Adding a printer shared by a Windows computer via SMB/CIFS*. This article is regarding sharing a printer that is connected to a PC over a network however, and not to a router, but may have info useful to troubleshooting. You might also check with your Linksys user guide for info on sharing this printer with a Mac over the network.

Similar Messages

  • Problem connecting laptop to printer via wireless connection

    I installed my HP Photosmart D110 series and the printer is not detecting my wireless internet (which is a Verizon Wireless card) . I only know the basics when it comes to computers, internet, etc. Therefore, this might be a completely stupid question, but is it possible to connect only through my Verizon card or do I need to purchase a router as well?
    When I print my Wireless Network Test Report from my printer it tells me that it's recommended to change my network name to make it unique? I have no idea how to do this. And is it even applicable here?
    I would greatly appreciate some feedback here.Thank you!

    OK,
    1. On the printer: Setup > Network > Reset network Defaults
    2. On your PC, go to Start > Control Panel > Network and Sharing Center.  Look for a wireless network that starts with 'hp" or "HP".  Join it.  There is no password.  On the printer: Setup > Network > WIreless Network Test.
    3. Now, in Start > Control Panel > Printers, Click the Add a printer
    4. Select Local printer
    5. Select Create a new port and select Standard TCP/IP Port and click Next button.
    6. Under Device type, select TCP/IP Device. Under Hostname or IP address, enter the printer's host name (found on the printer's network configuration report the generated above). Click Next.
    If you get a message about Additional Port Information Required, then the printer was not found using the host name. You can go back and retry or using the printer's IP address instead of the host name.
    7. Select Hewlett-Packard from the list of manufacturers and select and select your printer model. Click Next.
    If your printer model was not listed, then select Have Disk, browse the HP CD that came with your printer and select the first file that starts with hp and ends with inf. Click Open then OK. Select your printer model. Click Next.
    8. If you are asked, use the currently installed driver.
    9. It will ask for the Printer name -- enter a new name or use the existing one. This will be the name of the printer that you select from other applications.
    10. You may be asked to share the printer. Make a choice and click Next.
    11. The Print Test Page box appears. Go ahead and print it.
    12. Click Finish.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Am considering buying a Time Capsule.  But all specs I read about it (re: printing) is how to hook up a printer via USB connection.  Need to confirm...that a wireless printer will work with the router feature of the Time Capsule.  I assume yes...?

    Am considering buying a Time Capsule.  But all specs I read about it (re: printing) is how to hook up a printer via USB connection.  Need to confirm...that a wireless printer will work with the router feature of the Time Capsule.  I assume yes...?

    A wireless printer connects to the network just like your computer, or iPhone/iPad, etc. connects using wireless.
    The printer must be set up intially to scan to "find" available wireless networks, then your specific wireless network needs to be selected. Then the password for the network needs to be entered.
    Once the printer is configured to join the network, it is always connected to the network. No further configuration is required.

  • Java source which makes connection to IP printer on TCP/IP network. URGENT!

    I want to develop a Java application which makes connection to IP printer on TCP/IP network and sends data to be printed as string. The printer can be at other location or in other country but it should be able to print the data in the string. It should not be necessary to install printer on the machine, when you open your printer attached to your computer from control panel you will not find the printer. Programming should be in socket programming. When connection is been made between machine and the printer, what ever you write in your string gets printed automatically at printer. I don't want to use printer name just its IP address. Printer can be of any type postscript or pcl. Thank you.

    pour some money

  • HT3728 My Time Capsule is working fine with ethernet connection, but it is no longer working with wifi, probably because of my wrong setting; is there a way to reset wifi setting without losing backuped data? Thanks you all

    y Time Capsule is working fine with ethernet connection, but it is no longer working with wifi, probably because of my wrong setting; is there a way to reset wifi setting without losing backuped data? Thanks you all

    Giancarlo Messalli wrote:
    1) are you sure a reset holding the reset button will not delete my data?
    Absolutely sure.. There is no connection at all.. reset is only the router side of the TC.
    For the hard disk to be erased you need to access the airport utility disk page.. request erase and confirm the operation.
    2) I can access to time capsule by ethernet but I am not able to input the corret setting by myself
    Thank you again
    I am uncertain why if you have access you cannot change settings.. but that is why you reset things so any of those problems should be fixed.
    Here is the Apple info on reset.
    http://support.apple.com/kb/ht3728
    And here is the quote from the horse's mouth so to speak.
    Factory default reset: Perform this reset if you wish to repurpose the AirPort Base Station or Time Capsule and want to remove all personal profiles and settings first. This reset resets the device to its state when you first purchased it. Data stored on internal or external hard drives connected to the device will not be erased. If you choose, you may manually erase the hard drive using AirPort Utility.

  • Connecting MacBook to printer via wireless network

    I have a wireless network via cable modem with some PCs attached and a printer but am having trouble connecting my new MacBook to the HP LaserJet 2100 printer via wireless. I do not have airport express and not sure I need it to have the MacBook print to this printer. Please advise.

    Hi topgunner,
    How is the printer connected? Are you trying to share it via a PC through wireless? Or is it connected directly to a router/hub that is enabled for printer sharing?

  • How do I connect an HP printer via Linksys printserver to a wireless network

    Hi:
    I have an HP laptop running Windows Vista 32-bit Home Premium.
    It is connected wirelessly to the Internet via a Motorola SBG6580 cable Gateway.
    I have an HP C6280 All-In-One printer/copier/scanner: wireless is  not  built-in.
    A Linksys WPSM54G Printerserver is connected (hardwired) to the printer.
    Currently, the printer is connected to the laptop via USB cable, and I am able to print.
    (Previously, my wireless network connectivity was via a Linksys WRT54G router, 
    along with a modem. These were replaced with the Gateway.)
    How do I setup wireless connectivity between the Printserver and the Gateway ?
    I am not very network savvy (yet) , so I am not familiar with wireless connectivity details.
    Any ideas ???
    Thank you
    DaleBr

    From what I can tell you need help connecting the Linksys printer server to your network.  Linksys has good instructions for the configuring the printserver.  I've linked that site.
    After the printer server is on line you might need to change the printer driver setings to reflect the new settings.  A driver software reinstall should do that.
    Please mark the post that solves your problem as "Accepted Solution"
    Sometimes it takes several posts back and forth to get to a solution - please be patient.
    I am employed by HP

  • New Officejet Pro 6830 will not print via USB connection. It scans great to PC. It copies.

    New HP Officejet Pro 6830 for user to have local USB printer/scanner at desk.  User runs win 7 64 bit on a network.  Raninstall through setup.exe.  Followed steps, connected printer via USB when it said to and it detected it and finished install.You can use HP Scan software and it scans to the PC perfectly.  It will not print from any application or even a testpage from the Printer Properties page.  If you go to the maintenance application it will print status and test page.  If you run HP Scan and Print doctor it does it's thing, gives all Green Check marks and lets you print a test page fine, but it stillwill not print even a test page from the printer properties page (start/Devices and  Pritners/right click on Officejet Pro 6830, select Printer Properties for Officejet Pro 6830 (not the Fax 6830), and click print test page.   It does not seethe printer.  It is a networked PC and has network defined HP network printers as well but user wanted a printer/scanner at his desk.   I actually took the unit and connected to my laptop which is same win 7 64 bit platform and it does the same thing.   I disable the virus protection to do the install so that is not an issue.  It clearly sees and installs the printer, andlike I said the HP Scan works fine so it is connected via the USB to the PC, but it will not print.   I have tried to install from the CD, and removed device and tried to install from the new downloaded drivers as well and it just does not want to print.I have conected to different USB ports, and like I said actually tried it on a different PC and had same results. Guidance certainly would be appreciated.

    Hi , I see by your post that you can scan, but are unable to print over the USB connection. I would be happy to help you.
    I have provided a document for setting Security permissions for printing to see if that will help. If the issue persists, reinstall the printer on the Administrator Account to see if you have the same results.Unlock Hidden Administrator Account and install the printer on this account:  Go to your Start menu and under the 'search programs and files' box type CMD. CMD will populate as a search option above, just right click on it and 'run as administrator'. Once CMD (Command Prompt) opens, type net user administrator /active:yes and hit enter. Next, close CMD and restart your computer. When your computer comes on log into the new account that should show. It will be called Administrator and will not have a password on it. If your computer automatically logs into your account after restart than go to your start menu click the arrow beside 'shutdown' and choose 'switch user'. Now log into the Administrator account we just unlocked.Under the Administrator account, install the printer software. Test the printer. To turn off the Admin account start back at step 1 and type in net user administrator /active:no.Please let me know the outcome. If you appreciate my efforts, please click the 'Thumbs up' button below. Thank You.

  • Connection printer to time capsule with wifi ... Problem

    Sorry i am french... so my english is verry bad
    I have buy yesterday a new printer with wifi connection, my problem is the wifi software into the printer dont find the time capsule...
    Can you find a solution?

    The new 7.6.3 firmware and 6.2 utility is supposed to provide WPS which is probably what the printer is requesting to do connection.. but you can use WPS without the new firmware. WPS is available.. just tricky to get at.
    http://support.apple.com/kb/HT3500
    The manual setup method suggested in the above article is the best.. just plug the printer into the computer by usb and use the setup disk that came with the printer.. I have done a few of these and it works fine.
    I do recommend before you start.. setup TC with SMB type names.. ie short, no spaces and pure alphanumeric.

  • Printing via windows 7 with printers hosted on xp machines

    Hi im having a real issue with my windows 7 machines when printing
    I have a hp colour laserjet cp5225n that is set up locally on a windows xp machine, from the local machine that it is connected to it prints colour fine but if you try to print from any of the machine connected via the network it will only print parts of the page in colour and the rest in black and white.
    I have checked the drivers and they all have the hp universal pcl6 driver installed, also on the features tab some are set to colour whist other are set as no against colour.
    can anyone help please?

    This seems to be a commercial product. For the best chance at finding a solution I would suggest posting in the forum for HP Business Support!
    You can find the Commercial Laserjet board here:
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Why do I get error "The LDAP server is unavailable" while connecting to external domain via sync connection in SharePoint UPSA ?

    Hello,
    I am trying to connect to external domain via UPS Account having "Replicate Directory changes" permission on external domain while creating sync connection in UPSA.
    I have checked below URLS :
    http://social.technet.microsoft.com/Forums/en-US/1912bf88-8fec-4b5d-9d1e-a42db8318e33/ldap-server-is-unavailable-sharepoint-2010-user-synchronization?forum=sharepointadminprevious
    http://social.technet.microsoft.com/Forums/en-US/6525d3aa-9197-42a2-aea0-190b84ac8356/the-ldap-server-is-unavailable?forum=sharepointadminprevious
    And looks like its network connectivity issue - and hence I have verified that port 389 is open by infra team.
    Note : I am able to connect to local AD , does it make sense that port is not open for external domain ? 
    Can anyone please let me know what can be the issue ? 
    Your help will be highly appreciated as I am struggling to fix this issue since  quite long time but no luck yet.
    Thank you in advance.
    Kind regards,
    Dipti Chhatrapati

    Hi Dipti,
    If you have Two-Way trust relationship then not sure if you have tried below:
    Create a folder on the SharePoint server
    Go to Folder properties - Security tab
    Try adding user of the external domain on the folder
    Please let us know if you are able to add the user or not. If you are able to add then it means that the connection and trust is proper and you should be able to create sync connection in UPA without any issues or else there is some issue with the connectivity
    or the trust which is configured.
    Please also make sure that you have given permissions to sync account as per below TechNet:
    http://technet.microsoft.com/en-us/library/hh296982(v=office.15).aspx
    Replicate Directory changes permissions are also required on cn=configuration container, below are the steps:
    Grant Replicate Directory Changes permission on the cn=configuration container
    Use this procedure to grant Replicate Directory Changes permission on the cn=configuration container to an account.
    To grant Replicate Directory Changes permission on the cn=configuration container
    On the domain controller, click Start, click Run, type adsiedit.msc, and then click OK.
    If the Configuration node is not already present, do the following:
    In the navigation pane, click ADSI Edit.
    On the Action menu, click Connect to.
    In the Connection Point area of the Connection Settings dialog box, click Select
    a well know Naming Context, select Configuration from the drop-down list, and then click OK.
    Expand the Configuration node, right-click the CN=Configuration... node, and then click Properties.
    In the Properties dialog box, click the Security tab.
    In the Group or user names section, click Add.
    Type the name of the synchronization account, and then click OK.
    In the Group or user names section, select the synchronization account.
    In the Permissions section, select the Allow check box next to the Replicating
    Directory Changes (Replicate Directory Changes on Windows Server 2003) permission, and then click OK.
    Kind regards,
    Bhavik K Jain
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • I am having trouble printing via wireless with HP Office Jet 6500A printer in our new residence. It worked in our other house but not here. I have to print via USB connection

    Any ideas on how I can get a regular wireless connection with HPOffice Jet 6500A from my Mac Book Pro? It used work well and wirlessly in our previous home with a Broadband conection through the router. Would moving to ADSL have caused the issue now or is it the printer? I have had it work about three times but have resorted to plugging in via USB port. Two viviting techos have not been able to fathom it out either.

    It is very difficult to offer troubleshooting suggestions when the "os version" you are using is unknown as each os has their own troubleshooting solutions.
    Please complete or update your system profile so the users here can properly help you.

  • Connecting PC to Printer VIA Time Capsule?

    I have an HP Printer that's running Windows 7, I have it connected via ethernet cable to my Time Capsule. I also have an HP C5180 printer connected to the Time Capsule via USB cable.
    I have the printer connected to the Time Capsule so I can also access it with my Macbook Pro. That part is working fine, BUT... Windows is not detecting the printer. How do i set everything up so I can use the printer with the PC?
    Any help would be greatly appreciated!

    Welcome to Apple Discussions.
    Perhaps if you post [here|http://discussions.apple.com/forum.jspa?forumID=1014] you might get some helpful responses.

  • How to print A3 from Xerox WCP 7337 printer via wireless connection?

    I connected my Macbook v10.6.8 to Xerox WCP 7337 manually by typing the Ip address of the printer. I can see the printer, everything is fine but i want to print A3 from Tray 4. When choosing the paper size, he neither shows me A3 nor the Tray? I tried to manually type in the sizes (297mmx420mm) but it doesn´t work.he chooses from Tray 2 automatically, saying the paper size is wrong of course....
    Can someone help me, please?

    OK,
    1. On the printer: Setup > Network > Reset network Defaults
    2. On your PC, go to Start > Control Panel > Network and Sharing Center.  Look for a wireless network that starts with 'hp" or "HP".  Join it.  There is no password.  On the printer: Setup > Network > WIreless Network Test.
    3. Now, in Start > Control Panel > Printers, Click the Add a printer
    4. Select Local printer
    5. Select Create a new port and select Standard TCP/IP Port and click Next button.
    6. Under Device type, select TCP/IP Device. Under Hostname or IP address, enter the printer's host name (found on the printer's network configuration report the generated above). Click Next.
    If you get a message about Additional Port Information Required, then the printer was not found using the host name. You can go back and retry or using the printer's IP address instead of the host name.
    7. Select Hewlett-Packard from the list of manufacturers and select and select your printer model. Click Next.
    If your printer model was not listed, then select Have Disk, browse the HP CD that came with your printer and select the first file that starts with hp and ends with inf. Click Open then OK. Select your printer model. Click Next.
    8. If you are asked, use the currently installed driver.
    9. It will ask for the Printer name -- enter a new name or use the existing one. This will be the name of the printer that you select from other applications.
    10. You may be asked to share the printer. Make a choice and click Next.
    11. The Print Test Page box appears. Go ahead and print it.
    12. Click Finish.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Airport Express - unable to print via USB connected HP1505 laserjet

    Hi all - I have an HP Laserjet 1505 connected to my airport express USB port. I can 'see' the printer and set it up without issue. However, whenever I try printing to it, nothing happens. The printer appears 'on hold' but nothing ever prints. I have tried restarting everything, uninstalling and reinstalling the printer and alternative print drivers (GIMP) with no luck. Love to hear from someone who has the same setup working. Thanks in advance.

    could be you find pointers in the _*Printer Troubleshooting Guide*_.
    good luck !
    JGG

Maybe you are looking for