Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Subject: Re: How generate the PDF417 with special font?

Subject: Re: How generate the PDF417 with special font?

2007-11-01       - By Paulo Soares

 Back
The PDF417 barcode is created as a bitmat in iText. However, that's no
reason for it not to look good on the printer at any scale. You may be
experiencing some side effect of the printer "smartness" trying to smooth
the edges. Try to print it from Acobat having the "print as image" checkbox
checked. You can use the font but you must have the program to select the
character that must be provided by the font vendor. Where did you get the
font from?

Paulo

-- -- Original Message -- --
From: "Bruno Lowagie" <bruno@(protected)>
To: "Post all your questions about iText here"
<itext-questions@(protected)>
Sent: Thursday, November 01, 2007 1:55 PM
Subject: Re: [iText-questions] How generate the PDF417 with special font?


> Marcel Gil Vega wrote:
>> As you know there are two ways to create the pdf417 image:
>> -a bitmap directly paint pixel to pixel(*case with screens and inkjet
>> printers*)
>
> That's something that has to happen OUTSIDE iText,
> because iText doesn't create the barcode as a bitmap
> with pixels.
>
>> -getting the codewords and draw the string with the pdf417 font(*with a
>> laser printer*)
>
> A font is a program containing the shapes in the form
> of operators and operands that explain how different
> glyphs are drawn.
>
> You are overlooking the third way (the iText way):
> drawing the PDF417 using PDF syntax.
>
>> I try to print the first case with printer laser but the result is not
>> perfect. Then i'm trying to do that with the second case and i want to
>> know how can i do that with your code.
>
> Your question is very confusing.
>
> Why do you keep on talking about printers? PDF is device
> independent! If you print a PDF with a low resolution
> printer, the result won't be perfect, even if the PDF417
> in the PDF is drawn using vectors.
> Of course, if the barcode is a raster image (for instance
> a JPEG), the result will be bad on any printer, but I don't
> understand why you keep on talking about creating a PDF417
> as a raster images with pixels. That's not how it's done
> in iText. Are you sure you are using iText?
> http://itextdocs.lowagie.com/tutorial/objects/images/tiff/index.php#barcode


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

©2008 junlu.com - Jax Systems, LLC, U.S.A.