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!

How to set printer options when direct printing from Linux AS Sevr.?

user49914949919675123Jun 16 2011 — edited Jun 16 2011
We have a problem like this: Our app server is a 10g R2. We want to DIRECTLY print reports to a HP LaserJet 1320 PCL 6 which is attached to a Windows print server.

We can print the reports from the Oracle Forms (we use reports builder to create a PDF in a directory and then using HOST command we print it).

The command we use is
lp -d LaserJet sicl_rcpdebtnt_5.pdf
Problem is the printout comes with the top 10% of the page not printed. i.e. the printing starts from about 10% of the PDF. The header and top information is not printed.

We tried the scaling option:
lp -o scaling=75 -d LaserJet sicl_rcpdebtnt_5.pdf
But that also has no effect.

What can we do to print the entire PDF in ONE page. When we open the PDF in Windows and prints it we have to say Fit to printer margins for the printer's page scaling property.

How to set this in command line Linux???
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 14 2011
Added on Jun 16 2011
1 comment
211 views