Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
  1. #1
    Just Joined!
    Join Date
    Jun 2011
    Posts
    6

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

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    What distribution+version of linux are you running? Also, which desktop manager are you running? In current implementations there is the command system-config-printer which will bring up a GUI to configure your printers. In the "Job Options" form there are settings for margins (left, right, top, bottom), which I set to 0 in order for PDF's and such to print properly.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jun 2011
    Posts
    6
    Quote Originally Posted by Rubberman View Post
    What distribution+version of linux are you running? Also, which desktop manager are you running? In current implementations there is the command system-config-printer which will bring up a GUI to configure your printers. In the "Job Options" form there are settings for margins (left, right, top, bottom), which I set to 0 in order for PDF's and such to print properly.
    Thanks for the reply. 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.

    Do you have a better way than this where we can get the printout on 1 page without modifications?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...