LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   User specific print settings? (https://www.linuxquestions.org/questions/linux-newbie-8/user-specific-print-settings-4175626624/)

erik2282 03-29-2018 04:14 PM

User specific print settings?
 
Debian 8 LTSP server

One user is trying to print a pdf but the left side of the page is getting cut off. Another user using the same pdf viewer, printing to the same printer, printing the same pdf file prints perfectly fine. I've tried using various pdf viewers; atril, foxit, okular, and firefox pdf viewer. They all cut the left side of the page off, Its only about 1/4" its cutting off but this is a business and they send these pdfs to customers so it's important to them.

These pdf's are being opened in read-only mode from Thunderbird attachements by the way.

Any ideas?

Edit: printing to Hp Laser Jet 2055dn on network.

michaelk 03-29-2018 06:05 PM

Just taking a stab in the dark... The problem could be an A4 document with the print settings using Letter or vice versa. Have you check the PDF viewers print settings. Are you using fit to page?

ferrari 03-29-2018 09:38 PM

The pdfinfo utility can be used to see what format the PF file is in
Code:

pdfinfo /path/to/foo.pdf
For exmaple, an A4 document...
Code:

# pdfinfo /media/sf_Documents/sample.pdf
Title:          sample.pdf
Creator:        cairo 1.8.10 (http://cairographics.org)
Producer:      GPL Ghostscript  9.0
CreationDate:  Wed Oct 26 19:51:40 2011
ModDate:        Wed Oct 26 19:51:40 2011
Tagged:        no
UserProperties: no
Suspects:      no
Form:          none
JavaScript:    no
Pages:          1
Encrypted:      no
Page size:      595 x 842 pts (A4)
Page rot:      0
File size:      27705 bytes
Optimized:      no
PDF version:    1.4

The pdfjam utility can be used to scale the PDF to letter format..
Code:

pdfjam --paper letter --outfile out.pdf  in.pdf
References:
https://warwick.ac.uk/fac/sci/statis...ftware/pdfjam/
https://lornajane.net/posts/2015/sca...ng-with-pdfjam

Similar question, but for user asking about converting letter -> A4....
https://unix.stackexchange.com/quest...tter-a4/185224


All times are GMT -5. The time now is 06:49 AM.