Skip to content

Instantly share code, notes, and snippets.

@mrmnmly
Created July 2, 2017 10:58
Show Gist options
  • Save mrmnmly/2556fe35b98f7e863ddb7149128eb792 to your computer and use it in GitHub Desktop.
Save mrmnmly/2556fe35b98f7e863ddb7149128eb792 to your computer and use it in GitHub Desktop.
CUPS Printer print borderless
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