Q: Insert page breaks or formfeed in python/c++/.jar programs executed on console How to insert page breaks or formfeed in python/c++/.jar programs executed on console? '\f' doesn't work as I know why, console does not recognize it. Can you show any other way please?

A: In C, \f is the portable escape sequence to represent form-feed:
#include <stdio.h>

int main()
{
    puts("Here's a break:\fAnd here's more text\n");
}

It's up to your terminal how it responds to that.  Most printers will start a new page; many on-screen terminals behave differently.
The same is true of the vertical tab sequence, \v.
If you want to find a terminal-specific escape code to clear the screen (assuming it has one; not all do), you'll need to look it up in a database such as terminfo.
