Not sure about that, but you can set dimensions in a Print CSS file. You can set page breaks etc, but I'm not sure that it can be set dynamically, unless you use js.
diafol
Keep Smiling
10,634 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,506
Skill Endorsements: 57
Does this help
$text="\r\n Your text to write \r\n ".date('d')."-".date('m')."-".date('Y')."\r\n";
urtrivedi
Posting Virtuoso
1,714 posts since Dec 2008
Reputation Points: 299
Solved Threads: 362
Skill Endorsements: 24
I'm sure you can Google 'css page-break', can't you?
diafol
Keep Smiling
10,634 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,506
Skill Endorsements: 57
I am not sure how you can add page break in plain text file. I think its dependent on software you use to open file like notepad/wordpad/word etc.
urtrivedi
Posting Virtuoso
1,714 posts since Dec 2008
Reputation Points: 299
Solved Threads: 362
Skill Endorsements: 24
Question Answered as of 7 Months Ago by
urtrivedi
and
diafol