i am trying to write a script where in it will connect to remote servers and execute remote scripts to fetch some data and ftp it back to a main server. i would like to add a script where it will show some sort of status bar until such time that the expected files have been recieved.
something... (3 Replies)
Hi all,
I want to print # like that in a progress bar..
For e.g We can notice that during installation ... but,how to do that?
Thnx,
sakthi. (4 Replies)
Hello,
In perl how to show the percentage download when we download something wget ...
For example when we wget some software instead of showing the following ......
============================================
# wget... (4 Replies)
Hi all,
This is a reformed post to my earlier ones!!!!!!
I would like to know how to include a progress bar while using the cp...
I am copying a few huge files from cdrom but am unable to figure out ,how to give a progress bar!!!!!
I checked out other sites as well,but the issue here is... (1 Reply)
hi all,
in shell script (ksh), how do i write a progress bar ?? i have a script which searches files and while its searching i am currently printing out "." and if it finds what its searching for the script prints out the name of the file e.g
..................
firstFile.txt... (2 Replies)
Hi Programmers,
I just wrote a small script to print the percent complete.
This maybe useful for someone!
#!/usr/local/bin/perl
# Total from which percentage will be calculated
$cnt = 16;
$|=1;
for($i=0;$i<$cnt;$i++)
{
# Calculate Percentage
$percent = ($i/$cnt)*100; (13 Replies)
Hello, it's me again...:eek:
I need to create a progress bar in C, but i have no idea on how to do it.
i want it to output something like this:
Progress: 58%
But i can't get it to work. Could you please post an example progress bar written in ANSI C?
Thanks (4 Replies)
I'm trying to use this code to get a progress bar for cp:
"Can you get cp to give a progress bar like wget?"
But I'm getting these errors:
stat: illegal option -- c
usage: stat
awk: division by zero
input record number 1, file
source line number 4
I'm using Mac OS X 10.6... (1 Reply)
Hi Experts;
Im in the process of writing a shell script for enabling an IT operations to run archiving.We use netbackup. The script is complete, though there is one bit that i need help on. Im trying to have a progess bar for the procedure.I have gone through the man page of the command in... (5 Replies)
Discussion started by: maverick_here
5 Replies
LEARN ABOUT DEBIAN
pdf::api2::outline
PDF::API2::Outline(3pm) User Contributed Perl Documentation PDF::API2::Outline(3pm)NAME
PDF::API2::Outline - outline management
METHODS
$otl = PDF::API2::Outline->new $api,$parent,$prev
Returns a new outline object (called from $otls->outline).
$otl->title $text
Set the title of the outline.
$otl->closed
Set the status of the outline to closed.
$otl->open
Set the status of the outline to open.
$sotl=$otl->outline
Returns a new sub-outline.
$otl->dest $pageobj [, %opts]
Sets the destination page of the outline.
$otl->dest( $page, -fit => 1 )
Display the page designated by page, with its contents magnified just enough to fit the entire page within the window both horizontally
and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the
page within the window in the other dimension.
$otl->dest( $page, -fith => $top )
Display the page designated by page, with the vertical coordinate top positioned at the top edge of the window and the contents of the
page magnified just enough to fit the entire width of the page within the window.
$otl->dest( $page, -fitv => $left )
Display the page designated by page, with the horizontal coordinate left positioned at the left edge of the window and the contents of
the page magnified just enough to fit the entire height of the page within the window.
$otl->dest( $page, -fitr => [ $left, $bottom, $right, $top ] )
Display the page designated by page, with its contents magnified just enough to fit the rectangle specified by the coordinates left,
bottom, right, and top entirely within the window both horizontally and vertically. If the required horizontal and vertical
magnification factors are different, use the smaller of the two, centering the rectangle within the window in the other dimension.
$otl->dest( $page, -fitb => 1 )
Display the page designated by page, with its contents magnified just enough to fit its bounding box entirely within the window both
horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two,
centering the bounding box within the window in the other dimension.
$otl->dest( $page, -fitbh => $top )
Display the page designated by page, with the vertical coordinate top positioned at the top edge of the window and the contents of the
page magnified just enough to fit the entire width of its bounding box within the window.
$otl->dest( $page, -fitbv => $left )
Display the page designated by page, with the horizontal coordinate left positioned at the left edge of the window and the contents of
the page magnified just enough to fit the entire height of its bounding box within the window.
$otl->dest( $page, -xyz => [ $left, $top, $zoom ] )
Display the page designated by page, with the coordinates (left, top) positioned at the top-left corner of the window and the contents
of the page magnified by the factor zoom. A zero(0) value for any of the parameters left, top, or zoom specifies that the current
value of that parameter is to be retained unchanged.
$otl->dest( $name )
(PDF 1.2) Connect the Outline to a "Named Destination" defined elswere.
$otl->url $url, %opts
Defines the outline as launch-url with url $url.
$otl->file $file, %opts
Defines the outline as launch-file with filepath $file.
$otl->pdfile $pdfile, $pagenum, %opts
Defines the destination of the outline as pdf-file with filepath $pdfile, $pagenum and options %opts (same as dest).
AUTHOR
alfred reibenschuh
perl v5.14.2 2014-03-09 PDF::API2::Outline(3pm)