How to set printer options when printing from Linux to Windows printer
We want to print PDFs from a Linux server to a HP LaserJet 1320 PCL 6 which is attached to a Windows print server.
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. Only the characters become smaller but still the same problem is there.
What can we do to print the entire PDF in ONE page. When we open the PDF in Windows and print it we have to say Fit to printer margins for the printer's page scaling property.
How to set this in command line Linux???
Hello r_ranasinghe69, welcome to LQ,
look at the settings of the Windowscomputer where the printer is connected. Check if there is an option "raw" or anything which says that the printjob has to be transmitted to the printer "as it is".
Post if it does not work, I can check the configuration of Windows-printservers for HP-laserjet next Monday. I'll try this out.
Hi, Thanks for your reply. I solved the problem 90% by using this print option in the command: -o fitplot. This fill fit the output to the page. Problem was the report output was bigger than an A4, much bigger. Using the above option it printed on the page withonly 1 line from the top not printing. We then modified the report to bring the line bit below and then it was solved.
|All times are GMT -5. The time now is 12:06 PM.|