[Gllug] 'padding' a print-file with extra lines
Andy McGarty
andy at mac1systems.com
Fri May 4 14:14:49 UTC 2012
On 04/05/12 14:47, t.clarke wrote:
> 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
>
> -
Have you looked at htmldoc? I use it to create customer bills with page
breaks.
Not sure how it would handle just text with no html. Might have to
replace \n with <br> first?
oh and the form feed with |<!-- NEW PAGE -->
|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20120504/925d8093/attachment.html>
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list