Environment
Micro Focus OES2015
Micro Focus OES2018
Micro Focus OES2018
Situation
The iPrint administrator would like to remove the "Install iPrint Client" option from the iPrint Installation (/ipp) page.
Resolution
- Open a putty session, a terminal session or use WinSCP to access the server hosting the iPrint services
- Make a backup of the /var/opt/novell/iprint/htdocs/scripts/iprint.js file
- Edit the /var/opt/iprint/htdocs/scripts/iprint.js file and add the following section at the end of the file and save the changes:
// Remove Install iPrint Client
// ************************************
window.addEventListener('load', function() {
if(window.location.pathname==='/ipp/pheader.htm'){
var installButton=document.getElementById('installiprintclientlink');
installButton.style.display='none';
console.log('Download client button is hidden')
}
}, true);
Additional Information
This change only affects what is displayed on the /ipp page. It does not apply to the iPrint Portal page available in the Micro Focus iPrint Appliance 3.1 and iPrint for OES2018.
If users running Internet Explorer 11 continue to see the "Install iPrint Client" option after making this change, it is most likely due to the iPrint server's IP address or DNS name having been added to the Compatibility View settings. To check this setting:
If users running Internet Explorer 11 continue to see the "Install iPrint Client" option after making this change, it is most likely due to the iPrint server's IP address or DNS name having been added to the Compatibility View settings. To check this setting:
- In IE11, go to Tools (Alt+X) and select Compatibility View settings
- If the IP address or DNS name of the iPrint server is present in the list of websites, remove it and click Close