Cool Solutions

iPrint Synchronization script


November 8, 2011 10:55 am






Download iprint-sync-1

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

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
  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.

    #./ -c


    Run the iPrint Synchronization tool immediately.

    #./ -ksb
  9. Your iPrint system should now synchronized.
0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Categories: Uncategorized

Disclaimer: This content is not supported by Micro Focus. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.


  1. By:will74103

    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.

    • By:jmeldrum

      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.

  2. By:docdave22

    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.

  3. By:kjhurni

    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).