<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: old print job removal in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907478#M284048</link>
    <description>I know this isn't that relevant, but&lt;BR /&gt;Perl is a great tool - but for simple things - why use all that overhead? &lt;BR /&gt;&lt;BR /&gt;My sh script is only 5 lines of code (could be one) and much more efficient (doesn't have to make extra library calss, etc).&lt;BR /&gt;&lt;BR /&gt;Just my 2 cents.&lt;BR /&gt;&lt;BR /&gt;Obivously, no points for this post.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Tue, 05 Dec 2006 10:15:47 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2006-12-05T10:15:47Z</dc:date>
    <item>
      <title>old print job removal</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907471#M284041</link>
      <description>I need to remove print jobs older than 5 days.  I would like to do this in perl if possible.  Does anyone have any examples of how to do this.  We are constantly having to remove jobs that are stale off our print queues manually.  With ~1000 printers, this is quite a task and needs to be automated.&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Dec 2006 12:03:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907471#M284041</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-12-04T12:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: old print job removal</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907472#M284042</link>
      <description>I am not proficient in perl, hence I will not even attempt to solve your problem, but as a hint, &lt;BR /&gt;&lt;BR /&gt;jobline=`lpstat -o | grep priority`&lt;BR /&gt;jobid=`echo $jobline|awk {'print $1'}&lt;BR /&gt;day=`echo $jobline|awk {'print $6'}&lt;BR /&gt;month=`echo $jobline|awk {'print $5'}&lt;BR /&gt;jobtime=`echo $jobline|awk {'print $7'}&lt;BR /&gt;&lt;BR /&gt;usning these variables and using the caljd.sh script, provided by Clay Stephenson (go to &lt;A href="http://mirrors.develooper.com/hpux/" target="_blank"&gt;http://mirrors.develooper.com/hpux/&lt;/A&gt; and look for words "Date Hammer" to get either shell or perl versions), you can calculate the time past since the request has been submitted and make a decision to delete it or not.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Mon, 04 Dec 2006 12:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907472#M284042</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2006-12-04T12:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: old print job removal</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907473#M284043</link>
      <description>Not Perl - but sh:&lt;BR /&gt;&lt;BR /&gt;# cat /usr/local/bin/lpqpurge&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;#&lt;BR /&gt;# script to cancel jobs older then the current month&lt;BR /&gt;# run say on the 21st of each month&lt;BR /&gt;# gwild&lt;BR /&gt;&lt;BR /&gt;# get the current month&lt;BR /&gt;&lt;BR /&gt;M=`date +%b`&lt;BR /&gt;&lt;BR /&gt;# cancel any jobs older then current month&lt;BR /&gt;# lpstat -o returns the following fields&lt;BR /&gt;# GB01-7606           ipradm         priority 3  Apr 22 04:05 on GB01&lt;BR /&gt;# so, compare field 5 to the current month&lt;BR /&gt;&lt;BR /&gt;for JOB in `lpstat -o  |grep -v bytes|awk '$5ne"$M"{print $1}'`&lt;BR /&gt;do&lt;BR /&gt;    cancel $JOB&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;# could have been done on 1 line like so:&lt;BR /&gt;# lpstat -o |grep -v bytes|awk '$5ne"`date +%b`"{print $1}'|xargs cancel&lt;BR /&gt;# but if there are no jobs older then current month - then cancel outputs error&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 04 Dec 2006 13:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907473#M284043</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-12-04T13:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: old print job removal</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907474#M284044</link>
      <description>&lt;!--!*#--&gt;Not Perl - but sh:&lt;BR /&gt;&lt;BR /&gt;# cat /usr/local/bin/lpqpurge&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;#&lt;BR /&gt;# script to cancel jobs older then the current month&lt;BR /&gt;# run say on the 21st of each month&lt;BR /&gt;# gwild&lt;BR /&gt;&lt;BR /&gt;# get the current month&lt;BR /&gt;&lt;BR /&gt;M=`date +%b`&lt;BR /&gt;&lt;BR /&gt;# cancel any jobs older then current month&lt;BR /&gt;# lpstat -o returns the following fields&lt;BR /&gt;# GB01-7606           ipradm         priority 3  Apr 22 04:05 on GB01&lt;BR /&gt;# so, compare field 5 to the current month&lt;BR /&gt;&lt;BR /&gt;for JOB in `lpstat -o  |grep -v bytes|awk '$5ne"$M"{print $1}'`&lt;BR /&gt;do&lt;BR /&gt;    cancel $JOB&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;# could have been done on 1 line like so:&lt;BR /&gt;# lpstat -o |grep -v bytes|awk '$5ne"`date +%b`"{print $1}'|xargs cancel&lt;BR /&gt;# but if there are no jobs older then current month - then cancel outputs error&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 04 Dec 2006 13:04:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907474#M284044</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-12-04T13:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: old print job removal</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907475#M284045</link>
      <description>Hi Craig:&lt;BR /&gt;&lt;BR /&gt;Firstly, you need to 'cancel' those jobs that you find are candidates.  In this way, you keep the lp subsystem "happy".&lt;BR /&gt;&lt;BR /&gt;This Perl script lists the jobs that exist:&lt;BR /&gt;&lt;BR /&gt;#/usr/bin/perl&lt;BR /&gt;use strict;&lt;BR /&gt;use warnings;&lt;BR /&gt;my @requests;&lt;BR /&gt;my $request;&lt;BR /&gt;@requests=grep{/priority/} `lpstat`;&lt;BR /&gt;for $request (@requests) {&lt;BR /&gt;    print $request;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;From here, you can enhance the script to snip the request-ID and, using the Perl 'Date::Calc' module's 'Delta_Days' function, calculate the age in days of the request.  If it meets your criteria, make a 'cancel' request by calling 'system()'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 04 Dec 2006 13:09:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907475#M284045</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-12-04T13:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: old print job removal</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907476#M284046</link>
      <description>&lt;!--!*#--&gt;Hi (again) Craig:&lt;BR /&gt;&lt;BR /&gt;Here's a complete working Perl script.&lt;BR /&gt;&lt;BR /&gt;# cat .purgelp&lt;BR /&gt;#!/usr/bin/perl&lt;BR /&gt;use strict;&lt;BR /&gt;use warnings;&lt;BR /&gt;use Date::Calc qw( Decode_Month Delta_Days );&lt;BR /&gt;&lt;BR /&gt;my $days_to_remove = @ARGV ? $ARGV[0] : 5;&lt;BR /&gt;my @requests;&lt;BR /&gt;my @fields;&lt;BR /&gt;my ( $line, $month, $age );&lt;BR /&gt;&lt;BR /&gt;my ( $currday, $currmon, $curryr ) = (localtime)[ 3, 4, 5 ];&lt;BR /&gt;$currmon++;&lt;BR /&gt;$curryr += 1900;&lt;BR /&gt;&lt;BR /&gt;@requests = grep {/priority/} `/usr/bin/lpstat`;&lt;BR /&gt;for $line (@requests) {&lt;BR /&gt;&lt;BR /&gt;    print $line;&lt;BR /&gt;&lt;BR /&gt;    @fields = split /\s+/, $line;&lt;BR /&gt;    $month  = Decode_Month( $fields[4] );&lt;BR /&gt;    $age    = Delta_Days( $curryr, $currmon, $currday, $curryr, $month,&lt;BR /&gt;        $fields[5] );&lt;BR /&gt;    if ( $age &amp;gt;= $days_to_remove ) {&lt;BR /&gt;        system("/usr/bin/cancel $fields[0]");&lt;BR /&gt;    }&lt;BR /&gt;}&lt;BR /&gt;1;&lt;BR /&gt;&lt;BR /&gt;...run it passing the number of days at which you want to cancel the print job.  By default, without specification, the script assumes 5-days.  For example:&lt;BR /&gt;&lt;BR /&gt;# ./purgelp 0&lt;BR /&gt;remotep-558         root           priority 0  Dec  4 14:30&lt;BR /&gt;request "remotep-558" cancelled&lt;BR /&gt;remotep-559         root           priority 0  Dec  4 14:30&lt;BR /&gt;request "remotep-559" cancelled&lt;BR /&gt;remotep-560         root           priority 0  Dec  4 14:30&lt;BR /&gt;request "remotep-560" cancelled&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 04 Dec 2006 14:35:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907476#M284046</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-12-04T14:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: old print job removal</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907477#M284047</link>
      <description>Great!  thanks for the replies...I am not able to install Date::Calc..I am getting the following errors.  I do have gcc installed and in the path first.&lt;BR /&gt;&lt;BR /&gt;  CPAN.pm: Going to build S/ST/STBEY/Bit-Vector-6.4.tar.gz&lt;BR /&gt;&lt;BR /&gt;Checking if your kit is complete...&lt;BR /&gt;Looks good&lt;BR /&gt;Writing Makefile for Bit::Vector&lt;BR /&gt;Writing patchlevel.h for /opt/perl_32/bin/perl (5.008007)&lt;BR /&gt;cp lib/Bit/Vector/Overload.pm blib/lib/Bit/Vector/Overload.pm&lt;BR /&gt;cp Vector.pm blib/lib/Bit/Vector.pm&lt;BR /&gt;cp Vector.pod blib/lib/Bit/Vector.pod&lt;BR /&gt;cp lib/Bit/Vector/String.pod blib/lib/Bit/Vector/String.pod&lt;BR /&gt;cp lib/Bit/Vector/Overload.pod blib/lib/Bit/Vector/Overload.pod&lt;BR /&gt;cp lib/Bit/Vector/String.pm blib/lib/Bit/Vector/String.pm&lt;BR /&gt;        cc -c    -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FI&lt;BR /&gt;LE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0    -DVERSION=\"6.4\"  -DXS_VERSION=\"6.4\" +Z "-I/opt/perl_32/lib/5.8.7/PA-RISC1.1-&lt;BR /&gt;thread-multi/CORE"   BitVector.c&lt;BR /&gt;(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 422: Unknown option "f" ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Onolimit option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Opromote_indirect_calls option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 40: warning 5: "signed" will become a keyword.&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 40: error 1000: Unexpected symbol: "char".&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 41: warning 5: "signed" will become a keyword.&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 41: error 1000: Unexpected symbol: "char".&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 42: warning 5: "signed" will become a keyword.&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 41: warning 525: Redeclaration of identifier "signed".&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 42: error 1000: Unexpected symbol: "short".&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 43: warning 5: "signed" will become a keyword.&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 43: error 1000: Unexpected symbol: "short".&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 44: warning 5: "signed" will become a keyword.&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 44: error 1000: Unexpected symbol: "int".&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 45: warning 5: "signed" will become a keyword.&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 45: error 1000: Unexpected symbol: "int".&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 46: warning 5: "signed" will become a keyword.&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 46: error 1000: Unexpected symbol: "long".&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 47: warning 5: "signed" will become a keyword.&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 47: error 1000: Unexpected symbol: "long".&lt;BR /&gt;(Bundled) cc: "ToolBox.h", line 71: error 1000: Unexpected symbol: "*".&lt;BR /&gt;(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;  /usr/bin/make  -- NOT OK&lt;BR /&gt;Running make test&lt;BR /&gt;  Can't test without successful make&lt;BR /&gt;Running make install&lt;BR /&gt;  make had returned bad status, install seems impossible&lt;BR /&gt;Running make for S/ST/STBEY/Date-Calc-5.4.tar.gz&lt;BR /&gt;  Is already unwrapped into directory /.cpan/build/Date-Calc-5.4&lt;BR /&gt;&lt;BR /&gt;  CPAN.pm: Going to build S/ST/STBEY/Date-Calc-5.4.tar.gz&lt;BR /&gt;&lt;BR /&gt;cp lib/Date/Calc/Object.pod blib/lib/Date/Calc/Object.pod&lt;BR /&gt;cp lib/Date/Calendar/Year.pm blib/lib/Date/Calendar/Year.pm&lt;BR /&gt;cp Calc.pod blib/lib/Date/Calc.pod&lt;BR /&gt;cp lib/Date/Calendar/Profiles.pm blib/lib/Date/Calendar/Profiles.pm&lt;BR /&gt;cp lib/Date/Calc/Object.pm blib/lib/Date/Calc/Object.pm&lt;BR /&gt;cp Calendar.pod blib/lib/Date/Calendar.pod&lt;BR /&gt;cp lib/Date/Calendar/Year.pod blib/lib/Date/Calendar/Year.pod&lt;BR /&gt;cp lib/Date/Calendar/Profiles.pod blib/lib/Date/Calendar/Profiles.pod&lt;BR /&gt;cp Calendar.pm blib/lib/Date/Calendar.pm&lt;BR /&gt;cp Calc.pm blib/lib/Date/Calc.pm&lt;BR /&gt;        /opt/perl_32/bin/perl /opt/perl_32/lib/5.8.7/ExtUtils/xsubpp  -typemap /opt/perl_32/lib/5.8.7/ExtUtils/typemap -typemap typemap  Calc.xs &amp;gt; Calc.xsc &amp;amp;&amp;amp; mv&lt;BR /&gt; Calc.xsc Calc.c&lt;BR /&gt;        cc -c    -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FI&lt;BR /&gt;LE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0    -DVERSION=\"5.4\"  -DXS_VERSION=\"5.4\" +Z "-I/opt/perl_32/lib/5.8.7/PA-RISC1.1-&lt;BR /&gt;thread-multi/CORE"   Calc.c&lt;BR /&gt;(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 422: Unknown option "f" ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Onolimit option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Opromote_indirect_calls option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;cpp: "/opt/perl_32/lib/5.8.7/PA-RISC1.1-thread-multi/CORE/perlio.h", line 108: error 4065: Recursion in macro "PerlIO".&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;  /usr/bin/make  -- NOT OK&lt;BR /&gt;Running make test&lt;BR /&gt;  Can't test without successful make&lt;BR /&gt;Running make install&lt;BR /&gt;  make had returned bad status, install seems impossible&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Dec 2006 10:04:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907477#M284047</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-12-05T10:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: old print job removal</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907478#M284048</link>
      <description>I know this isn't that relevant, but&lt;BR /&gt;Perl is a great tool - but for simple things - why use all that overhead? &lt;BR /&gt;&lt;BR /&gt;My sh script is only 5 lines of code (could be one) and much more efficient (doesn't have to make extra library calss, etc).&lt;BR /&gt;&lt;BR /&gt;Just my 2 cents.&lt;BR /&gt;&lt;BR /&gt;Obivously, no points for this post.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 05 Dec 2006 10:15:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907478#M284048</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-12-05T10:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: old print job removal</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907479#M284049</link>
      <description>Hi Craig:&lt;BR /&gt;&lt;BR /&gt;It appears that your version of Perl was built using HP's compiler.  If you do:&lt;BR /&gt;&lt;BR /&gt;# perl -V&lt;BR /&gt;&lt;BR /&gt;...and look under the section headed "Compiler" you should see that.&lt;BR /&gt;&lt;BR /&gt;You can fetch and install a 'gcc' compiled Perl in the event that you don't have an HP ANSI C compiler available:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://mirrors.develooper.com/hpux/" target="_blank"&gt;http://mirrors.develooper.com/hpux/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 05 Dec 2006 10:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907479#M284049</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-12-05T10:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: old print job removal</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907480#M284050</link>
      <description>don't know why you insist of doing it in perl... but I have some old shell scripts that will do the work for you.&lt;BR /&gt;&lt;BR /&gt;It was working for me many yrs when we spooled on HP-UX, nowadays we use cheap SuSe lnx with cups as spool servers.&lt;BR /&gt;Simplifies also administration for non-unix personell which do this via browser...&lt;BR /&gt;It's quite expensive to use HP-UX processing for printout.&lt;BR /&gt;&lt;BR /&gt;I used to run the CancelOldPrint script in cron. It ran from one central server and removed print more than 8 days old.&lt;BR /&gt;The monthdays, yeardays and ymd2yd is some old hints I picked up some place... It helps calculating age and might be useful for other purpose as well.&lt;BR /&gt;&lt;BR /&gt;/Tor-Arne</description>
      <pubDate>Thu, 07 Dec 2006 20:14:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/old-print-job-removal/m-p/3907480#M284050</guid>
      <dc:creator>Tor-Arne Nostdal</dc:creator>
      <dc:date>2006-12-07T20:14:24Z</dc:date>
    </item>
  </channel>
</rss>

