Unable to resolve domain name "<iPrintApplianceDomain>" - when printing from mobile device.

  • 7013428
  • 08-Oct-2013
  • 10-May-2016

Environment

Novell iPrint Appliance

Situation

When attempting to print from a mobile device to the Novell iPrint Appliance, the following error is returned:

Android:
Unable to resolve domain name "<iPrintServerDomain>". Do you want to print through email?
Cancel|OK
iOS:

Failed to submit print job

Unable to resolve "<iPrintServerDomain>". Do you want to print through email?
Cancel|OK

Resolution

This solution applies to iPrint Appliance 1.1 and earlier.  It does not apply to version 2.0 or later.

Configure the iPrint Appliance to deliver a custom ipp uri to mobile devices.  You can apply this configuration to a few printer agents, or to all printer agents.

To apply the custom uri to ALL printer agents:
At a terminal session to the iPrint Appliance, putty or otherwise, type:
rcnovell-iprint-mobile stop    (hit ENTER)
vi /var/opt/novell/iprintmobile/iprintmobiledb.xml    (hit ENTER)
:%s/NonWorkingAddress/WorkingAddress/g    (hit ENTER)
note: "NonWorkingAddress" and "WorkingAddress" are examples.  Do not use them.
  • replace NonWorkingAddress with the address which is shown in the error
  • replace WorkingAddress with an address which you expect the device to be able to communicate to the Appliance
:wq    (hit ENTER)
rnovell-iprint-mobile start     (hit ENTER)
To apply the custom uri to some printer agents:
At a terminal session to the iPrint Appliance, putty or otherwise, type:
rcnovell-iprint-mobile stop    (hit ENTER)
vi /var/opt/novell/iprintmobile/iprintmobiledb.xml    (hit ENTER)
hit the INSERT key on your keyboard
Find the printer agent you wish to update.
The format will be <printer id="WhateverPrinterName">
Look for the uri element for that printer.
The format will be <uri>ipp://UnusableAddress/ipp/WhateverPrinterName</uri>
UnusableAddress will be address which shows in the error returned to the mobile device.
Modify as many printers as desired.
hit the ESC key on your keyboard
:wq    (hit ENTER)
rcnovell-iprint-mobile start    (hit ENTER)

Additional Information

The iPrint Appliance delivers an IPP URL (ipp://<someaddress>/ipp/<PrinterAgentName>) to desktops and mobile devices. 

In the desktop scenario, the <someaddress> portion of the URL is derived from the PSMHostAddress line of the /etc/opt/novell/iprint/conf/ipsmd.conf.

In the mobile device scenario, the complete URL is derived from the <uri> tag within each printer agent section of /var/opt/novell/iprintmobile/iprintmobiledb.xml.