Re: 'padding' a print-file with extra lines
Andy McGarty <[email protected]>
| Newsgroups | gmane.user-groups.linux.london.gllug |
|---|---|
| Message-ID | <[email protected]> |
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 --> | -- Gllug mailing list - [email protected] http://lists.gllug.org.uk/mailman/listinfo/gllug