I was asked to see if Pdfbox can do something similar to iText in the following.
The .pdf I want to create is just text on something like a card, move text to position etc ...
I have a "Hello World" example of Pdfbox but it save the .pdf to a filename.
I have this iText code which does what I want, it creates a .pdf in the ByteArrayOutputStream (in a Struts action)
this opens on the clients browser (in an iFrame) without saving the file. The client can print the .pdf