printing works for now

This commit is contained in:
2025-04-11 13:12:39 +02:00
parent e864a75678
commit 8f5dd27ae0
2 changed files with 13 additions and 2 deletions

View File

@@ -22,3 +22,14 @@ nix develop .#
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

View File

@@ -9,12 +9,12 @@ import (
type PrintOption string
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"
Grayscale PrintOption = "-o SelectColor=Grayscale"
CreateBooklet PrintOption = "-o Combination=Booklet -o PageSize=A5"
LongEdge PrintOption = ""
ShortEdge PrintOption = "-o Binding=TopBinding"
CreateBooklet PrintOption = "-o Combination=Booklet -o PageSize=A5"
)
type PrintJob struct {