printing works for now
This commit is contained in:
11
README.md
11
README.md
@@ -22,3 +22,14 @@ nix develop .#
|
|||||||
tailwindcss -i static/input.css -o static/output.css --watch
|
tailwindcss -i static/input.css -o static/output.css --watch
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Printer Testing
|
||||||
|
- [x] long edge + bypass front cover
|
||||||
|
- `lp -d KONICA_MINOLTA_KONICA_MINOLTA_bizhub_C258/BookletPrint -o Fold=HalfFold -o FrontCoverPage=Printed -o FrontCoverTray=BypassTray ~/proggn/malobeo/zineshop/Test-book-long-edge.pdf`
|
||||||
|
- [x] short edge + bypass front cover
|
||||||
|
- ` lp -d KONICA_MINOLTA_KONICA_MINOLTA_bizhub_C258/BookletPrint -o Fold=HalfFold -o Binding=TopBinding -o FrontCoverPage=Printed -o FrontCoverTray=BypassTray ~/proggn/malobeo/zineshop/Test-book-short-edge.pdf `
|
||||||
|
- [x] booklet + bypass front cover
|
||||||
|
- `lp -d KONICA_MINOLTA_KONICA_MINOLTA_bizhub_C258/BookletPrint -o Combination=Booklet -o PageSize=A5 -o Fold=HalfFold -o FrontCoverPage=Printed -o FrontCoverTray=BypassTray ~/proggn/malobeo/zineshop/Test.pdf`
|
||||||
|
---
|
||||||
|
- [x] okular long edge + bypass front cover
|
||||||
|
- [x] okular short edge + bypass front cover
|
||||||
|
- [ ] okular booklet + bypass front cover
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ import (
|
|||||||
type PrintOption string
|
type PrintOption string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
CoverPage PrintOption = "-o FrontCoverPage=Printed -o FrontCoverTray=Tray2 -o InputSlot=Tray1"
|
CoverPage PrintOption = "-o FrontCoverPage=Printed -o FrontCoverTray=BypassTray"
|
||||||
Colored PrintOption = "-o SelectColor=Color"
|
Colored PrintOption = "-o SelectColor=Color"
|
||||||
Grayscale PrintOption = "-o SelectColor=Grayscale"
|
Grayscale PrintOption = "-o SelectColor=Grayscale"
|
||||||
CreateBooklet PrintOption = "-o Combination=Booklet -o PageSize=A5"
|
|
||||||
LongEdge PrintOption = ""
|
LongEdge PrintOption = ""
|
||||||
ShortEdge PrintOption = "-o Binding=TopBinding"
|
ShortEdge PrintOption = "-o Binding=TopBinding"
|
||||||
|
CreateBooklet PrintOption = "-o Combination=Booklet -o PageSize=A5"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PrintJob struct {
|
type PrintJob struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user