iPrint Synchronization script

iPrint Synchronization script

The iPrint Synchronization script assumes two OES Linux iPrint servers with similar configurations exists. These two servers may have a similar configurations as a result of running the iPrint Duplication Script. While those two iPrint configurations were identical at the time the iPrint Duplication Script was run, changes are likely to occur on the production print manager server. These changes could be, but not limited to:

  • create a printer

  • delete a printer

  • change a print driver association

  • upload a new print driver

  • change IP address of a printer agent

  • change any attribute of a printer agent

After executing this iPrint Synchronization Script on the back up iPrint server, the changes made to the production print manager server will be synchronized to the backup server at a time interval decided by you. Additionally, there is an option to configure a notification system so you are emailed or sent a text message when the production print manager is unavailable.

This tool consists of the iPrint-Sync script and iPrint-Sync.conf. The iPrint-Sync.conf requires input prior to running the iPrint-Sync script. For an explanation and demonstration of the purpose of this tool, how to complete the iPrint-Sync.conf, and see how the script is run, go to http://www.youtube.com/watch?v=qzO2QNH5sZI

Installation Instructions:

Note: The iPrint Synchronization Script supports OES 2 and 11.

  1. Download iprint-sync-1.1.tgz

  2. Open a Terminal window and type “su”.

  3. Enter root’s password.

  4. Extract the script from the tarball.

    #tar –xzvf iprint-sync-1.1.tgz

  5. cd to the iPrint-Sync folder.

    #cd iPrint-Sync

  6. Make the script executable.

    #chmod 755 iPrint-Sync-1.1.sh

  7. Open the iPrint-Sync.conf file and fill out the values for synchronization

  8. Run the iPrint Synchronization Script and answer the questions.


    Setup notification or synchronization at some specific interval.

    #./iPrint-Sync-1.1.sh -c


    Run the iPrint Synchronization tool immediately.

    #./iPrint-Sync-1.1.sh -ksb

  9. Your iPrint system should now synchronized.

Labels (2)


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
I can not get this to run from cron. I have a new OES11 tree, in which I have two iprint servers runing. I have run the duplication script and can run the sync script manually. But it will not run once it is set up in cron.

When it sets up in cron, the crontab entry that the -c adds is for it to run the script from /usr/novell/sys/iPrint-Sync . This folder did not exist. Even once I created the folder and moved to sh and conf files to it, it still does not sync. Again, if I run the sync script manually from the command line it works fine.
That seems strange, I think I know what may be taking place. Email me and we can setup a time to do a remote session. This will be the easiest way to identify the issue and get it resolved.

I just helped set this up for a customer a few minutes ago and it worked perfectly.
Had trouble running script and discovered case-sensitive issues with the psm directories.
Renamed them on the servers (didn't affect manager loading) and re-run the script with success.
I was at Brainshare and attended an iPrint ATT session and I think it was mentioned that this script doesn't do the printer driver profiles, but that it may be possible to also copy the profiles as well?

We've found that when you update the driver, sometimes the printer profile needs to be re-adjusted (due to driver capabilities being exposed or removed).
Top Contributors
Version history
Revision #:
9 of 9
Last update:
‎2020-01-21 21:40
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.