Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PDF printing different then direct printing

236985Jul 19 2005 — edited Jul 21 2005
Hello,

We call a report from a Form.

We want the user to be able to view the report via Acrobat Reader. Form AReader, user can print/email it as he want. This is working fine with "destype=cache&desformat=pdf", user see the result via Acrobat Reader and can print it as desire.

We want also the user to be able to print directly the report to the printer, without seeing it on screen and without freezing forms during the printing (batch printing). This is working with "destype=printer&desformat=pdf&desname=\\server\printersharename" BUT the layout of the printed report is different compare to the one print via Acrobat Reader. Line are not at exact same position from margins, char size a bit different, etc. We have tried to play with some Acrobat Reader preferences without success. I suspect that report server ignore PDF format when we specify destype=printer.

We have the same behaviour if we print the report via URL in browser, so it is not related to Forms.

Since we are printing invoice, it is important to have exactly the same layout printed.

If true that PDF not used in direct printing, is there a way to force direct printing of Report in a pdf format user Report Server?

As a workaround, we have think about first generate the PDF file in a directory of the report server, then use a tool to print the pdf in batch. Based on our test, if we print the PDF from previewer or from the generated PDF file, layout are exactly the same!

But with the workaround, we must say to forms screen to first create the pdf file and once done, print it via a HOST command. We have tried many ways from Forms to do it and not freezing the user (like in batch) without success.

Otherwise, we don't see other solution than create a small probram (in Java or C), called from Forms via HOST command, that will loop the directory (or ask report server job status) and when the PDF file generated, print it with our pdf batch printing tool.

I hope I'm clear! Any hint or idea to simplify that?

This is pretty critical for us since we have many requests of this kind.

Thank you
Jean
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 18 2005
Added on Jul 19 2005
1 comment
461 views