<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 04/05/12 14:47, t.clarke wrote:
<blockquote cite="mid:tim-120504.14474280.08052@seacon.co.uk"
type="cite">
<pre wrap="">Hi
Does anyone know of a utility that will convert a print-file containing
form-feeds such that the converted output has no form-feeds but instead
has added blank lines to effectively 'pad' to N lines per 'page'.
This may seem an odd request, but I need to take bog-standard print-files
with variable lines per page (delimited by form-feeds at arbitrary points)
and convert to files that are a multiple of N lines, such that when run through
a txt2pdf converter the resultant pdf pages align with the original source.
Hope that makes sense.......
Tim
-
</pre>
</blockquote>
Have you looked at htmldoc? I use it to create customer bills with
page breaks.<br>
<br>
Not sure how it would handle just text with no html. Might have to
replace \n with <br> first?<br>
oh and the form feed with <code><!-- NEW PAGE --><br>
<br>
<br>
</code><br>
</body>
</html>