Re: PDFBox PDFPageable and Java printing problem (MediaSize landscape workaround needed)

2024-06-13 Thread Tilman Hausherr
Hi, I've now added the center parameter to PDFPageable and a noCenter option to the print command line utility https://issues.apache.org/jira/browse/PDFBOX-5837 Please get it at https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/3.0.3-SNAPSHOT/ and test it and

Re[2]: PDFBox PDFPageable and Java printing problem (MediaSize landscape workaround needed)

2024-06-13 Thread Jakub Jelínek
Hello, thanks, it helped at least a bit - Print to PDF seems almost OK (it is adding a strange line under the label frame, visible on label_result2.pdf + I have to specify "PORTRAIT" orientation explicitly). Almost the same goes when I send it directly to a label printer. I have used just a li

Re: PDFBox PDFPageable and Java printing problem (MediaSize landscape workaround needed)

2024-06-13 Thread Tilman Hausherr
Hi, I haven't really understood your post, apparently you're partly satisfied and partly not, it's the second part I don't get. In the meantime I found the ticket I mentioned this morning: https://issues.apache.org/jira/browse/PDFBOX-3117 (9 years ago!) and https://issues.apache.org/jira/brows

Need help on editing the adobe Signed PDF

2024-06-13 Thread Ghosh, Shouvik [Non-Kenvue]
Hi Team, Can you please confirm whether using Apache PDFBox, can we edit and some static text to the PDF which is already Adobe Signed. Thanks, Shouvik

Re: Need help on editing the adobe Signed PDF

2024-06-13 Thread Tilman Hausherr
Hi, The point of signing a PDF is that when people add text, that this invalidates the signature. (Depending on the type of signature, some incremental changes are still possible, e.g. annotations or form field contents) https://stackoverflow.com/questions/16710439/how-to-add-blank-page-in-d

Re[2]: PDFBox PDFPageable and Java printing problem (MediaSize landscape workaround needed)

2024-06-13 Thread Jakub Jelínek
The first part 'almost' worked - just an additional gray line in output. The second part is mainly about Java limitations - not really PDFBox's fault. When creating the PrintJob, we have to specify a media "size" or "name". Problem is, that it has a check in the constructor, that throws except