Re: Printing Bills

2005-07-06 Thread Brad Balmer

Look at jasper for creating a pdf.

Rafael Taboada wrote:

Hi folks, i'm developing a project in struts, this project is about selling 
management.
When the user selects some articles in order to sell them, there is a 
module with the client name and the articles list.
I need to print that object: the bill. I'm in a hurry and I need ur 
experience in this kind of things.
Do u know how to print bills? I mean, it has to have a format because we'll 
print in a piece of paper which it has a specific place for the client name 
and a specific place for the list of articles with its prices and quantity. 
So I don't know how to do this. Please could u share ur experience?

Perhaps, is there any project about this?.
Thanks in advance

 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Printing Bills

2005-07-06 Thread Aleksandar Matijaca
PDF is definitely the way to go While not strictly a struts thing -- the 
way to do it in my opinion is:

text from the article --- XML (data from the article in XML format) --- 
create an XSL:FO file using
some kind of a tool ( http://altova.com/ ) has demo software you can try for 
this -- XSL:FO + XML + FOP ( http://xml.apache.org/fop/ ) -- PDF !!!

Lickity split, 2 weeks of work or so...

Cheers, Alex.



On 7/6/05, Rafael Taboada [EMAIL PROTECTED] wrote:
 
 Hi folks, i'm developing a project in struts, this project is about 
 selling
 management.
 When the user selects some articles in order to sell them, there is a
 module with the client name and the articles list.
 I need to print that object: the bill. I'm in a hurry and I need ur
 experience in this kind of things.
 Do u know how to print bills? I mean, it has to have a format because 
 we'll
 print in a piece of paper which it has a specific place for the client 
 name
 and a specific place for the list of articles with its prices and 
 quantity.
 So I don't know how to do this. Please could u share ur experience?
 Perhaps, is there any project about this?.
 Thanks in advance
 
 --
 Rafael Taboada
 Software Engineer
 
 Cell : +511-97753290
 
 No creo en el destino pues no me gusta tener la idea de controlar mi 
 vida
 



Re: Printing Bills

2005-07-06 Thread Rafael Taboada
So aren't there any other way that PDF?


-- 
Rafael Taboada
Software Engineer

Cell : +511-97753290

No creo en el destino pues no me gusta tener la idea de controlar mi vida


Re: Printing Bills

2005-07-06 Thread Michael Jouravlev
On 7/6/05, Aleksandar Matijaca [EMAIL PROTECTED] wrote:
 PDF is definitely the way to go 

I would not say that pdf is definitely the way to go. CSS with
print media type and points or cm or inches for units (not pixels)
should work quite well.

Michael.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Printing Bills

2005-07-06 Thread Aleksandar Matijaca
There are a number of commercial products out there -- the products I 
outlined to you are open source, except the altova
product... This is actualy much simpler then it seems Rafael -- have look at 
FOP...

Regards, Alex.


On 7/6/05, Rafael Taboada [EMAIL PROTECTED] wrote:
 
 So aren't there any other way that PDF?
 
 
 --
 Rafael Taboada
 Software Engineer
 
 Cell : +511-97753290
 
 No creo en el destino pues no me gusta tener la idea de controlar mi 
 vida
 



Re: Printing Bills

2005-07-06 Thread Martin Gainty

Rafael

Now I understand..
You can use Crystal Reports to pretty print using cascading style 
stylesheets for formatting but if you want hardcopy used by most of the 
agencies of the US I would output to PDF

Saludos Cordiales!

Martin-

- Original Message - 
From: Rafael Taboada [EMAIL PROTECTED]

To: Struts List user@struts.apache.org
Sent: Wednesday, July 06, 2005 2:13 PM
Subject: Re: Printing Bills


So aren't there any other way that PDF?


--
Rafael Taboada
Software Engineer

Cell : +511-97753290

No creo en el destino pues no me gusta tener la idea de controlar mi vida

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Printing Bills

2005-07-06 Thread Nick Heudecker
I would either use JasperReports to create a simple report definition,
or use IText to create the PDF.  When we tried to use FOP, we had to
embed the fonts which resulted in HUGE PDFs.

On 7/6/05, Martin Gainty [EMAIL PROTECTED] wrote:
 Rafael
 
 Now I understand..
 You can use Crystal Reports to pretty print using cascading style
 stylesheets for formatting but if you want hardcopy used by most of the
 agencies of the US I would output to PDF
 Saludos Cordiales!
 
 Martin-
 
 - Original Message -
 From: Rafael Taboada [EMAIL PROTECTED]
 To: Struts List user@struts.apache.org
 Sent: Wednesday, July 06, 2005 2:13 PM
 Subject: Re: Printing Bills
 
 
 So aren't there any other way that PDF?
 
 
 --
 Rafael Taboada
 Software Engineer
 
 Cell : +511-97753290
 
 No creo en el destino pues no me gusta tener la idea de controlar mi vida
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Printing Bills

2005-07-06 Thread Aleksandar Matijaca
Interesting, we didn't have that problem at all. I just wish that there was 
a better way of
including graphic objects that were created -on-the-fly...

Regards, Alex.


On 7/6/05, Nick Heudecker [EMAIL PROTECTED] wrote:
 
 I would either use JasperReports to create a simple report definition,
 or use IText to create the PDF. When we tried to use FOP, we had to
 embed the fonts which resulted in HUGE PDFs.
 
 On 7/6/05, Martin Gainty [EMAIL PROTECTED] wrote:
  Rafael
 
  Now I understand..
  You can use Crystal Reports to pretty print using cascading style
  stylesheets for formatting but if you want hardcopy used by most of the
  agencies of the US I would output to PDF
  Saludos Cordiales!
 
  Martin-
 
  - Original Message -
  From: Rafael Taboada [EMAIL PROTECTED]
  To: Struts List user@struts.apache.org
  Sent: Wednesday, July 06, 2005 2:13 PM
  Subject: Re: Printing Bills
 
 
  So aren't there any other way that PDF?
 
 
  --
  Rafael Taboada
  Software Engineer
 
  Cell : +511-97753290
 
  No creo en el destino pues no me gusta tener la idea de controlar mi 
 vida
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]