Link below is obtained by entering CEPS Server at 'http://print' web page and choosing JobStats button.
http://uldor/cgi-bin/printer/jobstats?path=output/printer/avari
It suppose to display the job stats of a particular CEPS Server, instead it displays the following error message:
No data for output/printer/avari
Above error is due to wrongly referred link in pquedisp CGI script at line #1121 (ver: 1.63). A logic need to be developed to identify input is either a printer OR a server, based on that it should refer to the link dynamically such that if input is printer:
link should refer to output/printer/<printer_name>
if input is server:
link should refer to output/server/<server_name>
diff output shown below is one of the way to address the above noted bug:
bash$ diff pquedisp.orig pquedisp
391c391
< $emailcon="<a href=\"mailto:gps-namer\@cisco.com\">$main{emailcon}</a>";
---
> $emailcon="<a href=\"http://directory.cisco.com/detail.cgi?name=$main{emailcon}\">$main{emailcon}</a>";
1211c1211,1215
< print &PrintHTML::do_task_link('Job Stats',"http://uldor/cgi-bin/printer/jobstats?path=output/printer/$main{name}",'buttons/Job_Stats-up.png');
---
> $device="printer";
> if ($main{type} eq 'BP') {
> $device="server";
> }
> print &PrintHTML::do_task_link('Job Stats',"http://uldor/cgi-bin/printer/jobstats?path=output/$device/$main{name}",'buttons/Job_Stats-up.png');
(Not sure why there is a diff at "emailcon")
Ticket moved from /p/ceps/feature-requests/272/
Can't be converted: