You are not logged in.

#1 2015-02-18 16:14:01

Proofrific
Member
Registered: 2008-01-05
Posts: 216

[Solved] Borderless Printing using Cups with Command-Line lpoptions

It's easy to set borderless printing using the cups web interface at localhost:631 by setting two options:

1) In "General Options," set "Shrink Page If Necessary to Fit Borders" to "Expand (use maximum page area)."

2) In "Printer Features Common," set "Borderless" to "Yes."

How do I do this in the command line, say using lpoptions? Thank you!

Last edited by Proofrific (2015-02-18 16:24:45)

Offline

#2 2015-02-18 16:24:35

Proofrific
Member
Registered: 2008-01-05
Posts: 216

Re: [Solved] Borderless Printing using Cups with Command-Line lpoptions

Nevermind, I found the answer. Use

lpoptions -l printername

to view the list of printer options. The two lines of interest are:

StpiShrinkOutput/Shrink Page If Necessary to Fit Borders: Shrink Crop *Expand
StpBorderless/Borderless: False *True

To set them, use

$ lpoptions -p printername -o StpiShrinkOutput=Expand
$ lpoptions -p printername -o StpBorderless=True

Offline

Board footer

Powered by FluxBB