Re: 'padding' a print-file with extra lines
Fred Youhanaie <[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 > > -------------------------------------------------------------------------------- > This E-Mail (and any files transmitted with it) is intended solely for the use > of the individual or entity to whom it is addressed. If you have received it in > error please notify the sender and delete the message. > > Seacon Terminals Ltd, Company No. 1547396, registered in England and Wales > Registered Office: Tower Wharf, Northfleet, Kent, DA11 9BD, England > > -- > Gllug mailing list - [email protected] > http://lists.gllug.org.uk/mailman/listinfo/gllug > The first utility that comes to my mind is "pr", but you will end up with a 3 line header on each page that you will then need to filter out before converting to pdf. HTH Fred -- Gllug mailing list - [email protected] http://lists.gllug.org.uk/mailman/listinfo/gllug