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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to