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???