Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: printing multiple pages

by choroba (Chancellor)
on Jan 05, 2014 at 11:07 UTC ( #1069385=note: print w/ replies, xml ) Need Help??


in reply to printing multiple pages

Print the feed character before every page except the first one:
my $first = 1; until (0 == int rand 10) { # The number of pages is unknown in advanc +e. print "\f" if ! $first; undef $first; print "page...\n"; }
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: printing multiple pages
by hvn52 (Initiate) on Jan 06, 2014 at 15:17 UTC
    Thank for your response. What use is it to print it before every page ?
      Before every page except the first one is the same as after each page except the last one, which is what I understood you had requested.
      لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1069385]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2016-06-27 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (340 votes). Check out past polls.