11.4 Auto Clearing a Printer Queue

This features automatically deletes the staled print jobs after a fixed amount of time.

  1. Update the /etc/opt/novell/iprint/conf/iprintconf.properties file with the following parameter:

    job_expiry_timeout=x

    where x represents time in minutes.

    • If the expiry time is not set or set to 0 this feature is not enabled.

    • If the expiry time is set less than 60 minutes, then the scheduler runs every x/2 minutes. For example, if the job_expiry_timeout=40 then the scheduler will run every 40/2 = 20 minutes. So every 20 minutes, the jobs that are in the print queue for 40 or more minutes are deleted.

    • If the expiry time is set to 60 minutes or more (maximum time that can be set is 8640 minutes i.e. 6 days), then the scheduler runs every 15 minutes. Every 15 minutes, the jobs that are in the print queue for 60 or more minutes are deleted.

    • IMPORTANT:This setting is effective only when the printer is in an error state. Jobs are only deleted if the printer status displays “Error Printing”. It is not deleted if the jobs are paused by the administrator. To verify the status of the printer, see Micro Focus iPrint Appliance 4: Micro Focus iPrint Appliance Health Monitoring Guide.

  2. Restart Print Manager

    rcnovell-ipsmd restart

This setting is enabled for all the printers in a Print Manager.

NOTE:On restarting the Print Manager, if printers are not listed, you must restart the Mobile server (novell-iprint-mobile). You can restart the Mobile server through System Services.