Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Margin Parameters Not Affecting Output Consistently Across PDFs #622

Open
JuhiGupta-eaton opened this issue Feb 25, 2025 · 0 comments
Open

Comments

@JuhiGupta-eaton
Copy link

I’m currently facing an issue with setting margin parameters in CUPS. Despite specifying the following values, there seems to be no effect on the output:

lp -o page-right=144 -o page-left=144 -o page-top=72 -o page-bottom=72 -o media=A4 -d test /public/testpdf.pdf
I have noticed that for the attached PDF1.pdf, these settings make some margin-related difference in the printed output. However, for PDF2.pdf, there is no change.

Could someone please guide me on the usage of these options? Does the effectiveness of these settings depend on the content of the file, or are they content-independent? Am I missing something in my understanding?

Additionally, I read that by default, scale-to-fit is used. I am not using any scaling-related option. Should I be using one?

Any help would be greatly appreciated!

Thanks in advance!

PDF1.pdf

PDF2.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant