[Gllug] 'padding' a print-file with extra lines
Fred Youhanaie
fly at anydata.co.uk
Fri May 4 14:44:01 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
>
> --------------------------------------------------------------------------------
> 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 - Gllug at gllug.org.uk
> 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 - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list