[NZLUG] Converting UTF-8 files to PDF

Dave Lane dave at lane.net.nz
Tue Apr 1 16:36:35 NZDT 2014


On 01/04/14 16:28, DL Neil wrote:
> On 01/04/14 15:59, Volker Kuhlmann wrote:
>> How can I convert a text file using UTF-8 encoding to PDF? I.e., print
>> it?
>>
>> The programs recode and iconv do not apply because they convert between
>> different text encodings (and badly at that), not to PDF.
>>
>> GNU enscript has been the very good tool of choice for decades,
>> unfortunately it doesn't touch anything unicode and thus has outlived
>> its usefulness.
>>
>> Searching the 'net doesn't dig anything up (other than noise).
>>
>> What utility can be used for this? Commandline much preferred.
> 
> I guess OO/LO is not going to meet those final criteria.
> (you probably know can be API-ed from Python, etc).

Sounds like you want Docvert: http://static.holloway.co.nz/docvert/
(it's an NZ FOSS project by the way)

Cheers,

Dave

-- 
m: 021 229 8147
w: http://lane.net.nz


More information about the NZLUG mailing list