
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Faxual II for CA-Clipper - ripcutoff
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
RipCutoff
Get length of page used
------------------------------------------------------------------------------
Syntax
RipCutoff() -> nCutoff
Returns
Length of the part of the current page that has been drawn on.
Description
Whenever the RIP draws anything on the page, it keeps track of the
lowest point where it has drawn. RipCutoff() returns the length of the
page down to this point. You can use it to save paper on roll-paper fax
machines by cutting the page short (using RipEject()) if you have only
used part of it.
Example
// Some machines do not like really short pages, so we'll make sure
// it's at least four inches long, and a half-inch longer than it
// needs to be to hold everything on the page.
// Assume RipUnit(200), i.e. measuring in inches.
RipEject(max(4, RipCutoff() + 1/2))
See Also: RipLength
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson