Novell Home

My Favorites

Close

Please to see your favorites.

Custom iPrint page returns user to the iPrint default ipp page after printer install

This document (7012023) is provided subject to the disclaimer at the end of this document.

Environment

Novell iPrint for Linux

Situation

When installing an iPrint printer from a custom iPrint map page, the page should redirect back to the map page after the printer installs.  However, the page redirects to the default iPrint install page (http://<IPorDNS/ipp) instead.

Resolution

Email patchfeedback@novell.com with the subject of "Custom iPrint Map page redirects to ipp page".  The fix and intructions to apply the fix will be sent to you in a reply email.

Cause

An update to the iprint.js file has hard coded instructions to redirect the page to the /ipp page instead of the previous page.

The iprint.js file is located at /var/opt/novell/iprint/htdocs/scripts/

Status

Reported to Engineering

Additional Information

The parent.document.location.replace() references the ipp page, not the last page displayed.

-----<snip>-----
function PrinterIsNotInstalledAction()
{
  if(onNotInstalledActionGbl.toLowerCase() == "install")
  {
     if(platformTypeGbl != PLATFORM_TYPE_MAC)
     {
        PromptForInstall();
     }
     else
     {
        // Mac client asks if you want to install the printer
        InstallPrinter();
        /* Ajay Bug 750088, 760884, 761359, 770035
           Fix for firefox iPrint plugin since it fails to invoke ipp page after plugin process is completed.*/
        //window.setTimeout("GoBack();",20);
        parent.document.location.replace("http://"+document.location.hostname+"/ipp");
        /* End */
-----<snip>-----

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7012023
  • Creation Date:25-MAR-13
  • Modified Date:18-JUL-13
    • NovelliPrint

Did this document solve your problem? Provide Feedback