[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Plain ASCII -> .pdf-Format ?



Am Fri, 17 May 2002 11:39:23 +0200 sprach
 "Walther, Christoph" <Christoph.Walther@t-systems.com>

>Hallo liebe Debian-Gemeinschaft,
>
>weiss jemand, wie plain ASCII-Dateien (Text) in das
>PDF-Format (Acrobat Reader) "umgegossen" werden ?

Ich mach das ganze sehr erfolgreich mit Perl. Sehr schnell
und dank Perl , hast du auch noch beliebige Schnittstellen
d.h. Vorbearbeitung und Nachbearbeitung in wohl allen
erdenklichen Möglichkeiten

Es gibt ein Perl-Modul Namens
PDF::Create war für meine Sachen (viel Text und Texttabellen wie
Mysql auf der Konsole) eigentlich  immer ganz gut und
ist sicherausbaubar !!

Dann gibt es noch eine Shareware Software von Sanface Software
http://www.sanface.com/txt2pdf.html

das Ding ist der absolute Hammer !! Setz auf Standard Perl auf ohne
irgendwelche
Module, man hat riesige Möglichkeiten das PDF Format wie z.B.

<copy>
* You can add page numbers on every page.
* You can add text at the beginning and at the end of every file.
* You can add a border to every page.
* Internet specific phrases such as http://... ftp://...
mailto:...file:... ldap:... 
   news:... will automatically be made into clickable URL's.
* You can create a link to a specific age within a PDF document 
   by simply adding http://...pdfdocument#pdfmark
* Every word like MIME:... will automatically become a link that
will launch the 
   correct application to open that file.
* You can use background and foreground layers.
* All predefined encodings (WinAnsiEncoding, MacRomanEncoding, 
   MacExpertEncoding, 
   PDFDocEncoding) supported by the PDF format and the Unix default 
   
   are supported by txt2pdf.
* It's possible to rerun txt2pdf infinitely (every configured
second, sleep feature) 
   on a specific directory (and also it's recursive directories)
moving the produced 	
   PDF to a specific directory, and the original text to a specific
directory.
* EPD 1.0 support.  You can use EPD inside the background layer. 
See this example.
</copy>

Hat mich damals ziemlich beindruckt wo ich zum ersten mal damit zu
tun hatte
vielleicht hilfts dir ja weiter. Achso PDF::Create ist natürlich
nicht so flexibel es kann
nur PDF'machen sonst nicht ohne irgendwelche Features und manchmal
ist auch 
so das der ASCII Text im PDF verschoben ist besonders bei Tabellen
abre daran
kann man vielleicht was drehen.


greetz Erik

--
		/ Linux, because rebooting is for adding hardware / 		
			
working-on:	Debian GNU/Linux (sid)						
key-id:		5F5228A4							
fingerprint:	FF4F 59D5 7DA5 77C6 CB7C EF01 B11D 33F8 5F52 28A4	






Attachment: pgpDTbY09Gkxi.pgp
Description: PGP signature


Reply to: