Re: printing margins with LEIPPPrintService from webobjects application
Re: printing margins with LEIPPPrintService from webobjects application
- Subject: Re: printing margins with LEIPPPrintService from webobjects application
- From: Andrew Lindesay <email@hidden>
- Date: Mon, 21 Sep 2009 22:46:50 +1200
Hi Johan;
Have you checked the PPD file on your CUPS server for the margins
configured there? -- this is possibly a good first thing to check.
Otherwise, the 'LEIPPDocPrintJob' is a simple implementation of IPP
communications and it is ignoring anything other than Media you are
supplying it as attributes. I could get it to pass the margins along
with the job if it is possible, but it may be easier if you want to
extend the method...
LEIPPDocPrintJob.getPayloadHeader(..)
...as you have the specific device on-hand to check the result.
Another option to check out;
http://www.lohndirekt.de/software/jipsi_quickstart_drucksoftware.html
It looks good although I have not used it.
Let me know how you get on.
cheers.
I am working on a eticketing system and one of the requirements is
that the application will print out real tickets at the location
(it's easier for access control to print humanly easy recognizable
tickets somewhere before the access control than to check the
barcode electronically from a variety of paper/phone sources).
So I create a PDF document via itext.jar (replacing form fields from
a template with the actual data) and feed that to a printer.
...
to see if that would work. The printing works, but there is a one
inch gap on the top of the pdf document that I am sending to the
printer.
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
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