Created
July 2, 2017 10:58
-
-
Save mrmnmly/2556fe35b98f7e863ddb7149128eb792 to your computer and use it in GitHub Desktop.
CUPS Printer print borderless
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment