All this in mind, while iText can be used to convert
preformatted text to PDF, a ready-made solution exists
in ghostPcl which can convert HP PCL files to many
output formats, among them being PDF.  DOS-formatted
text files (which use the combination of CR-LF
characters as a line terminator) are a subset of the
HP PCL language so ghostPcl can treat these as simple
PCL files.  But since this is a school project it
probably doesn't matter.

-Matt

--- Bruno <[EMAIL PROTECTED]> wrote:
> Quoting Matt Benson <[EMAIL PROTECTED]>:
> 
> > Probably text would be the easiest to implement. 
> You
> > can read text line-by-line to do this.  I believe
> > there may be an example in the iText tutorial.  So
> > this would put the bulk of your work in working
> with
> > Java's Swing and IO classes.
> 
> A while ago, I have added a mailinglist post to the
> FAQ:
>
http://www.lowagie.com/iText/faq.html#preformattedtext
> 
> It's not a ready-made example, it focuses mostly on
> texts
> in special fonts.
> 
> Bruno


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to