Quoting [EMAIL PROTECTED]:
> Can anybody tell how to force a pagebreak while writing a pdf document ?
document.newPage()
but you have found this in the FAS, mailinglist archives and tutorial by now.
---
This SF.Net email sponsored by: Parasoft
Quoting Dang Nguyen <[EMAIL PROTECTED]>:
> I just upgraded my iText to version 1.0, and the pdf that gets created
> contains an extra blank page before the first page. I use itext to
> generate
> pdf on-the-fly on a web server to display a report retrieved from a
> database. The extra blank page
Roberto Cipollini schrieb:
Hi. Sorry for thuis off topic email. I hope anyone would mind :P
I'm searching for a java pdf reader to boundle with my classes instead of
having the acrobat-reader-setup beside my files.
any suggestion?
thanks.,
Roberto
There is a working example application including
I use a lpr client written in java. I can provide source.
Best regards,
Carsten
bazofia schrieb:
Hi
I had successfully open a PDF file, fill in some form fields and I'd
like to print it directly (to a samba printer or whatever) from the java
application.
any ideas about how to achieve this? any
Thanks for the reply. Actually my problem is if i select parent node in the
tree,In the right pane
it is showing parent node + all its children details.I want to show only
the parent node details on the right pane.I here with enclose the pdf
file.Please help me how to solve this problem
Regards
Hi Leonard,
Thanks a lot for your timely help.It has worked for me.
Lots and Lots of Thanks again
Sathish
-Original Message-
From: Leonard Rosenthol [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 9:25 PM
To: SATHISH Sreedharan; [EMAIL PROTECTED]
Subject: RE: [iText-questions] Ja
Hi Leonard,
Thanks a lot for ur help.
Can you point me to some site where I can find some more documentation on this as this
seems to be very interesting and I wud like to know more abt this topic.
Thanks for your time
Sathish
-Original Message-
From: Leonard Rosenthol [mailto:[EMAIL PR
I will be out of the office starting 07/10/2003 and will not return until
07/21/2003.
I will respond to your message when I return.
---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval W
At 4:47 PM -0600 7/10/03, David Thielen wrote:
How do I set the security in the pdf document (can print, can copy, etc.)?
Look at the encrypt_pdf.java example.
Leonard
--
---
Leonard Rosenthol
Hi;
Am I correct in assuming that setEncryption does 2
things:
1) Sets the user password
2) Sets the open permissions
But both are locked by the owner
password.
thanks - dave
- Original Message -
From:
Cezar
FLOROIU
To: David Thielen ; [EMAIL PROTECTED]
Se
Hi;
How do I set the security in the pdf document (can
print, can copy, etc.)?
thanks - dave
Hi,
I'm trying to export a JPanel to a pdf file using the Graphics2D object
which can be obtained as:
PdfContentByte cb = writer.getDirectContent();
PdfTemplate tp = cb.createTemplate(w, h);
Graphics2D g = tp.createGraphics(w, h, mapper);
when I print the JPanel
myPanel.print(g); or myPanel.pa
ok. thanks!!!
- Original Message -
From: "Mihnea Galeteanu" <[EMAIL PROTECTED]>
To: "Roberto Cipollini" <[EMAIL PROTECTED]>
Sent: Thursday, July 10, 2003 5:19 PM
Subject: RE: [iText-questions] OT: java pdf reader
I use JPedal...one thing i modified on jpedal was to add functionality to
di
Leonard tells me the folks at JPEDAL are very
accommodating. Have you spoken to them about
incorporating your changes into JPEDAL?
-Matt
--- Roberto Cipollini <[EMAIL PROTECTED]>
wrote:
> ok. thanks!!!
> - Original Message -
> From: "Mihnea Galeteanu"
> <[EMAIL PROTECTED]>
> To: "Roberto
> -Original Message-
> From: Alex Geller [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, July 10, 2003 17:04
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Question about FontMapper
>
> Hi,
> I use iText for creating pdf from Graphics2D drawings.
> I get the Context from calling
Changes in itext-paulo-123 (2003-07-10)
- Chunks with a background color can set the size of the background
rectangle.
- added ColumnText.getWidth() and ColumnText.showTextAligned() to
facilitate
the placing of complex text in PdfContentByte.
- added PdfPCell.setUseDescender().
Title: extra blank page with version 1.00
I just upgraded my iText to version 1.0, and the pdf that gets created contains an extra blank page before the first page. I use itext to generate pdf on-the-fly on a web server to display a report retrieved from a database. The extra blank page at t
Hi,
I have a font I want to use in an application that has a ttf extension
and when I open it up it says it is from Adobe. It seems to work fine in
word processing applications on Windows 2000. However no matter which
way I change the encoding the font does not work in itext. I ran some
code t
Hi,
I use iText for creating pdf from Graphics2D drawings.
I get the Context from calling PdfContentByte.createGraphics(float w,float
h,FontMapper mapper).
My questions are about the FontMapper. I understand, that it is responsible for
mapping java.awt.Fonts to com.lowagie.text.pdf.BaseFont by
At 09:58 AM 7/10/2003 -0400, Schmickel, Xan wrote:
By the same token, is
there a way to instruct the printer to select
upper and lower tray for legal and letter size within one
document?
No!
PDF is the
PORTABLE Document Format, meaning that it does NOT contain any methods
for p
At 04:25 PM 7/10/2003 +0200, Roberto Cipollini wrote:
I'm searching for a java pdf reader to boundle with my classes instead of
having the acrobat-reader-setup beside my files.
any suggestion?
There aren't any.
Adobe had one, they canned it :(.
Leonard
-
At 04:20 PM 7/10/2003 +0200, bazofia wrote:
I had successfully open a PDF file, fill in some form fields and I'd like
to print it directly (to a samba printer or whatever) from the java
application.
Save it to a file, send it to Ghostscript.
Leonard
-
At 06:05 PM 7/10/2003 +0530, SATHISH Sreedharan wrote:
Now, if my requirement is that i want to display an alert from a pdf, then
is there any way to do this.
Use Acrobat JavaScript as the action NOT browser JavaScript (which
is what you were doing).
app.alert("This is an alert")
At 02:24 PM 7/10/2003 +0200, Christian Sauer wrote:
it is 5.0 (the one for free)!
Acrobat Reader 5.0 had a LOT of bugs - that's why there was a
5.0.5, and then later a 5.1.
The current version is 6.0.
Upgrade!
acrobat is a plugin as well for IE as for NS too ...
At 11:52 AM 7/10/2003 +0200, Mieke Banderas wrote:
I'm planning my server, which is going to start out on a old Powermac
Beige G3/266 running Mac OS X Server Jaguar and Apple Web Objects 5.1,
Itext, PostgreSQL and Apache.
That's going to be pretty painful! Not just Java, but also Mac OS
X
yes..some APIs that can display the pdf inside a pane or similar ways.
- Original Message -
From: "Mihnea Galeteanu" <[EMAIL PROTECTED]>
To: "Roberto Cipollini" <[EMAIL PROTECTED]>
Sent: Thursday, July 10, 2003 4:44 PM
Subject: RE: [iText-questions] OT: java pdf reader
u mean like somth
Try Section.setBookmarkOpen(false) to present a colapsed view of the tree.
Best Regards,
Paulo Soares
> -Original Message-
> From: pramodh [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, July 10, 2003 5:00
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Event handling in outline
>
There's a difference. PdfCopy creates a new document by concatenating full
pages. A regular PdfWriter creates a blank page and the imported page is
placed as a template. If you don't have annotations the final result is the
same with the difference that the latter method allow other content to be
a
You may be able to use some stuff from JPEDAL, but I
think there are other solutions as well.
-Matt
--- Roberto Cipollini <[EMAIL PROTECTED]>
wrote:
> Hi. Sorry for thuis off topic email. I hope anyone
> would mind :P
>
> I'm searching for a java pdf reader to boundle with
> my classes instead o
Hi. Sorry for thuis off topic email. I hope anyone would mind :P
I'm searching for a java pdf reader to boundle with my classes instead of
having the acrobat-reader-setup beside my files.
any suggestion?
thanks.,
Roberto
- sorry again for the off topic! -
-
HI,
Can anybody tell how to force a pagebreak while writing a pdf document ?
Thanks in advance,
Gopal.
---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book
Hi
I had successfully open a PDF file, fill in some form fields and I'd like
to print it directly (to a samba printer or whatever) from the java
application.
any ideas about how to achieve this? any libraries? (iText does not handle
printing, does it?)
thanks in advance
have a nice day
bz
This isn't really an answer to your question, but I'm currently using iText with
WebObjects 5.2, and have implemented returning the pdf directly, writing to a file
then redirecting, and a cool "Please wait..." progress bar page. ;-) I'd be happy to
share if you need any code snippets.
Regards
Have you tried it? If your printer driver sends the
sizes your printer may be able to figure it out. For
example, I think there is a better than 50% chance
that an HP-LaserJet could do it, assuming the physical
printer is set up to know what types of paper are in
it.
-Matt
--- "Schmickel, Xan"
Title: RE: [iText-questions] Page size
By the same token, is there a way to instruct the printer to select
upper and lower tray for legal and letter size within one document?
-Xan
-Original Message-
From: Leonard Rosenthol [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 1
Can you show me how you're doing the streaming?
The content-disposition was just something I added to try and make it work.
I've tried many combinations of the various headers I know of, but to no
avail.
At 06:56 PM 7/9/2003, Scott Hamilton wrote:
Two things come to mind, but both are guesses.
I'm planning my server, which is going to start out on a old Powermac
Beige G3/266 running Mac OS X Server Jaguar and Apple Web Objects 5.1,
Itext, PostgreSQL and Apache. One of my customers will get to utilize
iText for PDF creation from a java app that fetches data from the
Database I've made the
Hi,
Thanks for your time to reply.
Now, if my requirement is that i want to display an alert from a pdf, then is there
any way to do this.
Pls help.
Thanks for your time
Sathish
-Original Message-
From: Leonard Rosenthol [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 5:43 PM
T
it is 5.0 (the one for free)!
acrobat is a plugin as well for IE as for NS too ...
chris
> -Original Message-
> From: Leonard Rosenthol [mailto:[EMAIL PROTECTED]
> Sent: Donnerstag, 10. Juli 2003 14:16
> To: [EMAIL PROTECTED]; Paulo Soares;
> [EMAIL PROTECTED]
> Subject: RE: [iText-questi
At 11:53 AM +0200 7/10/03, Christian Sauer wrote:
yes, it does happen with all clients. the plug-in is adobe acrobat 5.0 and
the platform is WXP as well as W2K.
It's it actually 5.0, or is it 5.0.5 or 5.1?
It is Reader or the full Acrobat or both?
Does the browser matter (IE vs. NS)?
Leonard
At 12:41 PM +0200 7/10/03, Carmona Perez, David wrote:
Does anyone know if the page size of a PDF file has to be the same
throughout the whole file?
No it does not. You can happily mix page sizes...
Leonard
--
---
Leonard R
At 2:42 PM -0500 7/9/03, [EMAIL PROTECTED] wrote:
I am merging 'x' number of pdf documents (up to 200) and need to create a
bookmark that refers to each document merged within the final file. Ideally,
if there is a way to keep any of the read document's bookmarks as children
under the new bookmark
At 10:41 AM +0530 7/10/03, SATHISH Sreedharan wrote:
c.setAnchor("javascript:onLoad=window.open('http://www.yahoo.com','popup','').focus();void(0);");
This shouldn't work at all - esp. with Acrobat 6.
The support for the "javascript" URL type was an unfortunate
security hole introduced during t
At 12:14 PM +0200 7/10/03, Christian Sauer wrote:
indeed ... acrobat 6 renders the embedded fonts correctly.
Good!
the former rendering engine of our customer used pdf_lib with
which the font refresh problem has never occurred - they used
afm/ps fonts.
It's not an issue of type of font, but an
Carmona Perez, David wrote:
Does anyone know if the page size of a PDF file has to be the same
throughout the whole file?
Can landscape and portrait pages be freely intermixed?
Of course you can have pages of different sizes in one document.
There is an example in the first chapter of the iText
Quoting Leonard Rosenthol <[EMAIL PROTECTED]>:
> >Another nice feature would be the possibility to parse a CSS into
> >a TagMap object.
>
> I've been thinking about CSS stuff - but for a future project...
This looks interesting:
http://www.w3.org/Style/CSS/SAC/
--
The font has a table bug. I've fixed iText to work with this kind of broken
fonts. If you want to try, replace in TrueTypeFont.java:
HashMap readFormat4() throws IOException {
HashMap h = new HashMap();
int table_lenght = rf.readUnsignedShort();
rf.skipBytes(2);
Hi,
I’m currently using Cocoon + FOP for
generating PDF files, and find that is quite show and memory hungry (180 Mb of
memory for 60 pages), and I’m searching alternatives.
I think that iText seems to be a
better solution, as it doesn’t use any XML format like FO not directly geare
Hi all,
Has anybody tried iText with Apache Cocoon?
David
Hi all,
Does anyone know if the page size of
a PDF file has to be the same throughout the whole file?
Can landscape and portrait pages be
freely intermixed?
Thanks in advance for sharing your
experiences with iText
David
iText supports AFM/PFB fonts. Remember you customer that if Adobe issued
those patches was because the Acrobat version was buggy. Tailoring the PDF
to the bugs of the viewer is a bad precedent and it's not guaranteed to work
with all the versions. I also know that technical reality has little to do
Hi,
indeed ... acrobat 6 renders the embedded fonts correctly.
the former rendering engine of our customer used pdf_lib with
which the font refresh problem has never occurred - they used
afm/ps fonts. is it possible to use those font too with iText?
or is there any other possibility you see regar
PdfCopy can only be used to add pages, no extra content, annotation or
bookmarks are allowed.
Currently the only to do what you want is to place the pages in a new
document. The problem you'll have is that the annotations are lost.
This features are on the top of my to-do list but are very tricky,
Make sure the Acrobat version is 5.05. Prior versions have all kind of
problems with fonts.
Best Regards,
Paulo Soares
> -Original Message-
> From: Christian Sauer [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, July 10, 2003 10:54
> To: Paulo Soares; [EMAIL PROTECTED]
> Subject: RE: [iT
Hoi,
yes, it does happen with all clients. the plug-in is adobe acrobat 5.0 and
the platform is WXP as well as W2K.
cheers,
chris
> -Original Message-
> From: Paulo Soares [mailto:[EMAIL PROTECTED]
> Sent: Donnerstag, 10. Juli 2003 11:39
> To: '[EMAIL PROTECTED]';
> [EMAIL PROTECTED]
> Su
Does it happen with all the clients? iText doesn't do linearizing and that
means that all the pdf must be read before displaying. If the font's are
embedded the problem must be with the client, maybe the plug-in.
Best Regards,
Paulo Soares
> -Original Message-
> From: Christian Sauer [SMT
Hi,
we have built a document rendering engine for a pharmaceutical company
using iText.
Now we have a problem concerning font embedding (under win32):
when a pdf is opened (using a web browser) from a remote server, the
embedded fonts will not be rendered immediately when the document is
displaye
57 matches
Mail list logo