onpointsystems

Q: Intermittent AirPrint Issues

I am trying to figure out why an iPad, iPhone and a Mac Desktop sometimes prints and then the devices are not able to find the printer again. The printer is an Epson WF-3620 which is AirPrint ready and has the latest firmware per manufacturer. The printer is connected to the same WiFi as all the devices. All Apple devices have the latest iOS and OS versions (yosemite 10.10.2, etc..).

 

The WiFi is configure as follows:

4 Access points using the same SSID each on its own channel with a 3-4 channel separation between each channel. The reason for this type of configuration is to provide WiFi coverage through a large area and allow devices to connect to the access point with the strongest signal (for WiFi roaming). However this issue was pre-existing even when the built WiFi from the ISP modem was being used. The AP are connected to a dumb switch and the switch is connected to a Motorola Surfboard.

 

At first I thought the printer may have an issue with the wireless config so I created a new SSID on the closest AP to the printer (about 2 feet away) and connected the printer to that new SSID with a lower security type (went from WPA2 to WPA). Still Airprint issues, worked for a bit, allowed to sit for 10 minutes, then tried to print and now the devices are not able to find the printer (sleep setting on printer is set for 4 hours). Restart the AP and then we can print again but then the issue appears again. I installed a Lantronix xPrintserver Home device (it works like AirPort) so that we could connect the printer to the USB port then I connected the xPrinterserver to the LAN (cable) and disabled the WiFi on the printer.

 

Bingo, all devices were able to print but again, after waiting a few minutes of no activity the devices could no longer find the printer or if it found it when you click on print it would hang on connecting to printer. So I concluded, with AirPrint same issue over WiFi, same issue wired (LAN) and a different AirPrint capable device still the same issue. I did forget to add the same exact issue also occurred with a Canon printer that was AirPrint ready.

 

I did notice on the Mac Desktop that has Yosemite 10.10.2 when you open the printer queue to see the print job you can click on the settings gear. Once you do this there is a button that says open printer web settings or something like that, can't remember right now. When you click on this button it opens up safari and tries to connect to the printers webpage but I noticed it is using the hostname.local name as opposed to the IP. I also noticed the printer page would not load but if I typed the IP instead the page opens with no issues. I have contacted Apple support and no one really has any idea of the actual workings of AirPrint (technical level) to let me know if the AirPrint feature uses name resolution to find the printer or does it use "specifically" just the IP or a combination of both. The reason I ask this question is because on the Mac Desktop if you try to ping hostname.local it is not able to ping the printer, however, if I use the IP of the printer it responds with no issues. If I do an nslookup of hostname.local it shows it is trying to resolve to an IP that is not part of the internal network but an IP from the ISP's DNS server that is not routable. For example, the internal network is 192.168.0.x but the nslookup shows 198.150.x.x for hostname.local. This of course means the desktop is using the ISP DNS servers for name resolution. So I added the printer IP and hostname.local to the Mac desktop hosts file and now we are able to ping hostname.local with the correct IP but of course I am assuming the OS will use the hosts file first before the DNS servers for name resolution. This seem to work for the Mac Desktop for a little but then the issue appeared again. I  know, I know, this is turning into a novel with suspense and thriller.

 

At the end of all this I decided to wait until the Mac Desktop started having the printer issue again. This time I decided to turn off WiFi and turn it back on and presto the desktop can now print. I did the same to the iOS device (iPad, etc..) and presto they started to print with no issues. I waited until the issue started again and turned off/on WiFi on the iOs and OS X devices and presto, we can print again. I did this a few times and every single time the printer was not found I turned off/on the WiFi on the devices and printing worked with no issues. I am not able to figure, explain or conclude why doing this would cause the printing to function correctly. This is currently the workaround we have for this issue but of course it is a band aid. I did forget to add that although the printer is not found the devices still have internet access and connected to the WiFi; just in case that question comes up.

 

I was able to find another discussion where the user stated they turned off/on their WiFi and they were able to print.

 

Does anyone have any ideas as to what can be causing these intermittent issues?

If you fell asleep I understand.

iMac, OS X Yosemite (10.10.2), null

Posted on Mar 18, 2015 8:38 AM

Close

Q: Intermittent AirPrint Issues

  • All replies
  • Helpful answers

  • by Eric Root,Apple recommended

    Eric Root Eric Root Mar 18, 2015 1:46 PM in response to onpointsystems
    Level 9 (69,659 points)
    iTunes
    Mar 18, 2015 1:46 PM in response to onpointsystems

    Not much, but some things you can check.

     

    Printer Troubleshooting - Yosemite

  • by PAHU,

    PAHU PAHU Mar 18, 2015 10:52 PM in response to onpointsystems
    Level 6 (16,610 points)
    Mar 18, 2015 10:52 PM in response to onpointsystems

    onpointsystems wrote:

     

    When you click on this button it opens up safari and tries to connect to the printers webpage but I noticed it is using the hostname.local name as opposed to the IP. I also noticed the printer page would not load but if I typed the IP instead the page opens with no issues.

    The hostname.local is relying on a component of the discovery daemon process known as mDNSResponder - aka Bonjour. This is a broadcasting protocol that allows your iOS and OS X to find the printer on the network.

    onpointsystems wrote:

     

    I have contacted Apple support and no one really has any idea of the actual workings of AirPrint (technical level) to let me know if the AirPrint feature uses name resolution to find the printer or does it use "specifically" just the IP or a combination of both. The reason I ask this question is because on the Mac Desktop if you try to ping hostname.local it is not able to ping the printer, however, if I use the IP of the printer it responds with no issues.

    So with AirPrint using Bonjour to locate the printer on the local network, it uses a name resolve to determine the IP address. If there is an issue with Bonjour, which btw many users of Yosemite have experienced, then you won't be able to resolve the name to IP. And thus you cannot ping the printer by name but you can by entering its direct IP. Note that if Bonjour is working, then you can ping by hostname.local.

    onpointsystems wrote:

     

     

    If I do an nslookup of hostname.local it shows it is trying to resolve to an IP that is not part of the internal network but an IP from the ISP's DNS server that is not routable.

    This is normal. The name server lookup queries the DNS addresses entered in the Network > DNS page. This will typically be the local router and the ISP.

     

    You can use arp hostname.local to check the IP address being used by the device.

    onpointsystems wrote:

     

    At the end of all this I decided to wait until the Mac Desktop started having the printer issue again. This time I decided to turn off WiFi and turn it back on and presto the desktop can now print. I did the same to the iOS device (iPad, etc..) and presto they started to print with no issues.

    Up till now I have only read about users who upgraded to Yosemite having this issue with printer connections via Bonjour. So with you also having the issue with iOS I wonder if there is a bigger issue with Bonjour. Are you using iOS 8.x on these devices?

    onpointsystems wrote:

     

    I am not able to figure, explain or conclude why doing this would cause the printing to function correctly.

    My thought is that the cycling of the wifi setting on the device causes a refresh of the local Bonjour reference table. I'm no expert on this but I'm trying to learn why Yosemite users who were printing fine on a previous version of OS X are now having this issue. If you would like to read some of the info I've been using, such as how Bonjour works, here is a link to the Apple Developer site.

  • by Unloadedone,

    Unloadedone Unloadedone Apr 26, 2015 2:06 PM in response to PAHU
    Level 1 (4 points)
    Apr 26, 2015 2:06 PM in response to PAHU

    I've been having the same issues with my XP-400.  AirPrint worked intermittently.  Many times, I'd have to restart the printer for my iPad to find it. Very frustrating.  This seems to be a common issue where the connection is lost between devices.

     

    So until Apple fixes this, I've connected my printer via USB, switched off the printer's wifi, and download an app called HandyPrint to my mac and this software turns the printer into an air printer even though my printer is airport ready. Ridiculous, yes, but I'm out of workarounds at the moment.

  • by jfeiner,

    jfeiner jfeiner Sep 6, 2015 11:59 AM in response to onpointsystems
    Level 1 (0 points)
    Sep 6, 2015 11:59 AM in response to onpointsystems

    I have found the exact same issue. And it doesn't matter if my printer is connected wifi or with the Ethernet cable. Once it goes to sleep or any time has passed I have to toggle the wifi off then on on my Macbook Pro or my iPhone. The printer shows it's connected to the network I am using an Airport Extreme router and a Macbook Pro with Yosemite 10.10.5. My iPhone is got the latest OS running. My printer is an HP Officejet 6700. But I've seen this on other setups as well at other peoples houses. Mine though now occurs every time. So I am toggling the wifi anytime I want to start printing. This didn't used to happen and it's become quite annoying.

     

    If anyone has a setting change that might help please respond

  • by christiansmet,

    christiansmet christiansmet Dec 17, 2015 4:18 AM in response to onpointsystems
    Level 1 (0 points)
    Dec 17, 2015 4:18 AM in response to onpointsystems

    Hi,

     

    I've been looking for a solution for the same problem.

    My NAT is setup by a Draytek V2860.  It's a bit advanced because it has VPN integrated. (L2PT & IPSEC)

     

    My brother MFC-L8850 is in my office at the attic of my house.

    So the intention was to print from ipad/iphone through airprint towards the printer on the attic.

    Seems airprint is using the bonjour protocol.  I think it's the same protocol that airplay uses.

    I've added 3 access points that do dhcp forwarding from the DHCP server on my Draytek.  Wireless neither wired it prints.  Only when I'm connected to the wifi access point at the attic... it works.

    On top of that... when I'm connected through VPN I have the same issue. No airprinters found.  However "fing" does find the printer.

     

    A workaround that I'm using now is cloud printing from google.  It's free and my printer supports it. Next I payed 4,99€ for the ios app Print Central Pro.

    Now I'm able to print from any device without the need of any VPN or Airprint.

     

    If you want to digg further in solving the problem on airprint/bonjour with multiple access points, I would encourage you in looking in to search for ap's that support "ssid roaming".  Also ensure that multicast is allowed by your router in the lan.(not blocked)

    Seems unifi has cheap ap's, but I didn't test this.

     

    Please update the forum if you have other findings,

     

    br,

    Christian Smet

  • by rccharles,

    rccharles rccharles Dec 17, 2015 10:38 AM in response to onpointsystems
    Level 6 (8,439 points)
    Classic Mac OS
    Dec 17, 2015 10:38 AM in response to onpointsystems

    Get Bonjour Browser.  Will show that status of your Airprinters and other network doings.  Great app.

    Re: Bonjour Support

     

    Install on ios:

    https://itunes.apple.com/us/app/discovery-bonjour-browser/id305441017?mt=8

     

    Install on mac os:

    http://www.tildesoft.com/

     

    This doesn't computer, but...

    I could not reach my airprinter.  Tried for weeks. Installed Bonjour Browser on my mac.  Finally was able to print from my iPhone 4.

  • by zacharyepps,

    zacharyepps zacharyepps Dec 26, 2015 7:50 AM in response to rccharles
    Level 1 (0 points)
    Dec 26, 2015 7:50 AM in response to rccharles

    I continue to have the same trouble with multiple printers. both our iOS and Mac devices will intermittently print to the new Canon Airprint printer. All devices are running the latest versions of their respective OS software.

    Installing Bonjour Browser did reveal various connections and devices such as our Airport Extreme and Apple TV's but still can not print today (I did easily yesterday) from any device.

     

    I've restarted the printer, rebooted all iOS (4 iPhone 5s, and 4 iPad Mini's)  and Mac OS devices (4 MacBook Airs), toggled off and back on the WiFi on each device.

     

    I still can not print from any Apple devices today.

     

    How did this affect the change so you were able to print?:: "" Installed Bonjour Browser on my mac.  Finally was able to print from my iPhone 4.""

  • by rccharles,

    rccharles rccharles Dec 26, 2015 10:33 AM in response to zacharyepps
    Level 6 (8,439 points)
    Classic Mac OS
    Dec 26, 2015 10:33 AM in response to zacharyepps

    How did this affect the change so you were able to print?:: "" Installed Bonjour Browser on my mac.  Finally was able to print from my iPhone 4.""


    I do not know.  Suddenly, my airprinter began to print after not working for several months.  Do not know what I did.  I disconnected the usb cable from another computer to the priner. The last thing I did was to install bonjour browser on my mac mini. I have not powered down my airprinter since I got it working.


    I did these things:

    -- install the latest firmware on airprinter.  The firmware added airprint support.

    -- power off all devices.

    -- pull printer power cable out of printer then plugged in.

    -- power off router & all devices.

    -- disconnect usb cable to another computer

    -- power off all devices & router

    -- reset power on printer. printer has no connection other than power.


    === didn't work.  Could not see printer with bonjour printer from iphone 4

    -- waited one day.

    -- mac mini is connected via ethernet cable to wifi router.

    -- installed and ran bonjour browser on mac mine. Saw airprinter in bonjour browser.


    Was able to print from iPhone 4 and mac mini to this day.  I have not powered off printer since.


    I kind of think the printer was confused.  Don't know what got it into the correct state.


    good luck.


    R

  • by Floop1977,

    Floop1977 Floop1977 Aug 14, 2016 2:37 AM in response to onpointsystems
    Level 1 (4 points)
    Mac OS X
    Aug 14, 2016 2:37 AM in response to onpointsystems

    Thank you. I have the exact same issue as you on my Canon MX920, printing over AirPrint from my MacBook Pro.

     

    The first time I go to print a document from my MacBook, everything seems to work fine - but when I go to print a second document, the printer settings window says "Connecting to printer..." for about 2 minutes and then changes to "Printer not responding". Apple's advice (to reset the printing system) made no difference at all.

     

    However your solution - to turn WiFi on my MacBook off and then back on - solved the issue immediately. Somehow, cycling WiFi off and then back on seems to solve the problem completely. Come on Apple, fix this!

  • by rccharles,

    rccharles rccharles Aug 14, 2016 8:19 AM in response to Floop1977
    Level 6 (8,439 points)
    Classic Mac OS
    Aug 14, 2016 8:19 AM in response to Floop1977

    What version of mac os x are you running?  R

  • by Eric Root,

    Eric Root Eric Root Aug 14, 2016 8:59 AM in response to Floop1977
    Level 9 (69,659 points)
    iTunes
    Aug 14, 2016 8:59 AM in response to Floop1977

    Send Apple feedback. They won't answer, but at least will know there is a problem or a suggestion for improvement. If enough people send feedback, it may get the problem/suggested change solved sooner.

     

    Feedback

  • by rccharles,

    rccharles rccharles Aug 14, 2016 9:12 AM in response to rccharles
    Level 6 (8,439 points)
    Classic Mac OS
    Aug 14, 2016 9:12 AM in response to rccharles

    There was a communication problem in one version of Mac OS X.  Early version of yosemite? I believe Apple fixed the problem in a 10.10.4 or 10.10.5.

     

    R

  • by Floop1977,

    Floop1977 Floop1977 Aug 23, 2016 2:07 PM in response to rccharles
    Level 1 (4 points)
    Mac OS X
    Aug 23, 2016 2:07 PM in response to rccharles

    Hey rccharles,

     

    I'm running El Capitan, 10.11.6 - so it is something current in the system. This is on a MacBook Retina 13".