Used PDF BOX to convert PDF (Multiple pages with mixed orientation) to PostScript, but while printing the Auto Oritenation of PDF is Lost - pdfbox

Used PDF BOX to convert PDF (Multiple pages with mixed orientation) to PostScript, but while printing the Auto Oritenation of PDF is Lost.
If I directly Print PDF it prints fine with mixed Orientation, but not with PostScript file
Any Clues how to set Auto Orientation feature to PostScript file using PDFBOX 2

Related

How can we create PDF which will use same font as reference when we merge small PDFs

We are converting HTML to PDF using a puppeteer and merging multiple PDFs into one, But the PDF generated by the puppeteer is too high.
We are thinking that the same embedded font is getting repeated for different pages, can we use the same font as a reference to PDF size will be decreased?
Font displayed in iText RUPS

Ghostscript converted PDF not rendered corectly with pdfium

I have a problem with some pdf documents I convert with Ghostsript to pdf/a documents. If the original document contains subseted fonts, the document is not correctly displayed in Chrome (pdfium) after converting. The chars will be displayed as squares.
In Adobe PDF Reader the output will be displayed correctly. Maybe the attached files can help you.
original PDF
converted PDF/A

Unicode is not rendering in PDF and Print

I have a Smartform that has multiple languages in the same sheet. The language is rendered in the LP01 print preview, but not when converted into PDF or printed.
But not when converted into PDF;
Is there a configuration to be carried out.

Convert pdf document to jpeg using LEADTOOLS and PDF-TOOLS

We have pdf documents (source: camera or scanner) that we want to convert to jpeg.
We use LEADTOOLS and PDF-TOOLS(in two separate programs) to convert these pdf files to jpeg files.
Both these tools use the default DPI of 150 irrespective of the DPI of the source pdf file.
We would rather like this value to be taken from the source pdf file.
For example: Adobe Acrobat software recognizes the source pdf file DPI and uses the same to create the jpeg file.
Is there some way we could achieve the same using the LEADTOOLS and PDF-TOOLS by determining the DPI of the source pdf file?
This feature was added to v19 of LEADTOOLS a few months ago. You can now extract images from PDF pages while preserving their original pixel dimensions using the following members of the Leadtools.Pdf.PDFDocument class:
ParseDocumentStructure method.
Images property.
DecodeImage method.
Furthermore, if the image is stretched inside the PDF page, you can detect that by examining its display size in the PDF page using the Leadtools.Pdf.PDFObject.Bounds property.
There's a dedicated demo for the PDFDocument class and related objects installed with LEADTOOLS 19 in these folders:
Examples\DotNet\CS\PDFDocumentDemo
Examples\DotNet\VB\PDFDocumentDemo

itextsharp joined pdf size too large

I have an asp.net (c#) web application.
I joined together some pdf files on serverside with itextsharp.
The result pdf is too large (>1M) to be downloaded in our environment.
I checked fonts list in Adobe Reader and Verdana font embedded 10 times. It could be a problem. I don't know why? I use iTextSharp PDFCopy for merging.
If I capture the file by fiddler and than print it out by bullzip pdf printer the size become the half (500KB)!!!
I can't figure out what bullzip pdf printer does to reduce the size???
All the joined pdfs are mosty text only a couple of small images.
Interesting when I try to copy/paste text from the original pdf I can, but I can't from the bullzip printed version (i get only rectangles when paste). That is no problem by the way because I don't need to edit or search by text, I only need to print it from the browser.
I need some .net library to do the same with the pdf before I send it to the browser.
Can anyone help me?