RE: printing
RE: printing
- Subject: RE: printing
- From: "Kimball, Melissa L - Raleigh, NC - Contractor" <email@hidden>
- Date: Mon, 29 Nov 2004 08:28:58 -0600
- Thread-topic: printing
I had asked a similar question to the list not to long ago (reference "remotely print PDF from WO app" for responses).
What I ended up using is com.lowagie.text.pdf.PdfWriter to programmatically generate my PDF document (there are more packages out there - check SourceForge.com). There is a nice document to help you get started: http://bartneck.de/work/id/designByNumbers/creatingPDF.html
As for sending your PDF print job to the printer, I'm using Jipsi. A CUPS (Common Unix Printing System) implementation of the Java Print Service API (javax.print). It can get tricky, but just start out by looking at the "example" program that is in the .jar. http://lohndirekt.de/software/jipsi.html
There is another package that looks like the API is easier to use but I didn't look into extensively. http://www.lindesay.co.nz/downloads/lewostuff_distrib_2nov2004.gnutar.bz2 LEIPPPrintJob class.
I don't want to post this as a SOLUTION to the problem because I'm having to deal with some system administration issues that is hindering my development, and proper testing of the app - Plus, the app that I'm creating is just a mock that will be integrated into a larger production app - this is the real test. I'll let everyone know my discoveries, as soon as I get through the dense fog of politics.
I hope this will help you,
Melissa
-----Original Message-----
From: webobjects-dev-bounces+melissa.l.kimball=email@hidden
[mailto:webobjects-dev-bounces+melissa.l.kimball=email@hidden
m]On Behalf Of Sean Cunneen
Sent: Friday, November 26, 2004 6:45 PM
To: email@hidden
Subject: printing
Hi all,
Sorry if this is bit of newbie question, but I could not find any docs
on the ADC site, or much info in the archives.
I am researching the feasibility of converting an existing POS solution
to a WebObjects java client. The java client delivers the richer
interface and user responsiveness required. However I can't determine
the best way to print information. We need to be able to print tax
invoices for each sale, as well an assortment of other forms such as
stock transfer sheets etc. Each store will operate on OS X with a
network laser printer, although I would like to keep the solution as
generic as possible.
I can find a number of options for producing reports to PDF (jasper
reports etc.) but this does not seem streamlined enough, or robust
enough for a retail situation. In the current solution, the tax invoice
is produced automatically, as soon as the user commits a sale. I don't
want to involve other apps, buttons etc if possible.
Thanks for any guidance on this topic.
Regards
Sean
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden