alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
configure new gg23 printer
author
lassulus
date
2 years ago
(Nov 9, 2024, 3:07 PM CET)
commit
006741e8
006741e8433e2e7e0ae3874563be2424ec0f699e
parent
9e5cd58c
9e5cd58cd0ea08cba9fda1f1842ba2bb32c3c025
+198
-24
7 changed files
Expand all
Collapse all
Unified
Split
2configs
gg23.nix
print.nix
printing
default.nix
gg23.ppd
machines
aergia
config.nix
ignavia
config.nix
mors
config.nix
+1
-1
2configs/gg23.nix
View file
Reviewed
···
47
47
# printer
48
48
dhcpServerStaticLeaseConfig = {
49
49
Address = "10.42.0.4";
50
50
-
MACAddress = "3c:2a:f4:22:28:37";
50
50
+
MACAddress = "94:dd:f8:23:c5:ac";
51
51
};
52
52
}
53
53
{
-19
2configs/print.nix
Reviewed
···
1
1
-
{ pkgs, ... }:
2
2
-
{
3
3
-
services.printing = {
4
4
-
enable = true;
5
5
-
drivers = [
6
6
-
pkgs.foomatic-filters
7
7
-
pkgs.gutenprint
8
8
-
];
9
9
-
browsing = true;
10
10
-
browsedConf = ''
11
11
-
BrowseDNSSDSubTypes _cups,_print
12
12
-
BrowseLocalProtocols all
13
13
-
BrowseRemoteProtocols all
14
14
-
CreateIPPPrinterQueues All
15
15
-
16
16
-
BrowseProtocols all
17
17
-
'';
18
18
-
};
19
19
-
}
+19
2configs/printing/default.nix
View file
Reviewed
···
1
1
+
{ pkgs, ... }:
2
2
+
{
3
3
+
services.printing = {
4
4
+
enable = true;
5
5
+
browsing = true;
6
6
+
browsedConf = ''
7
7
+
BrowseDNSSDSubTypes _cups,_print
8
8
+
BrowseLocalProtocols all
9
9
+
BrowseRemoteProtocols all
10
10
+
CreateIPPPrinterQueues All
11
11
+
12
12
+
BrowseProtocols all
13
13
+
'';
14
14
+
};
15
15
+
systemd.services.cups.serviceConfig.ExecStartPost = pkgs.writers.writeDash "init-gg23" ''
16
16
+
lpadmin -x gg23 || :
17
17
+
lpadmin -i ${./gg23.ppd} -p gg23 -E -v ipp://10.42.0.4
18
18
+
'';
19
19
+
}
+175
2configs/printing/gg23.ppd
View file
Reviewed
···
1
1
+
*PPD-Adobe: "4.3"
2
2
+
*FormatVersion: "4.3"
3
3
+
*FileVersion: "1.28.17"
4
4
+
*LanguageVersion: English
5
5
+
*LanguageEncoding: ISOLatin1
6
6
+
*PSVersion: "(3010.000) 0"
7
7
+
*LanguageLevel: "3"
8
8
+
*FileSystem: False
9
9
+
*PCFileName: "drvless.ppd"
10
10
+
*Manufacturer: "Brother"
11
11
+
*ModelName: "Brother HL-L3240CDW series"
12
12
+
*Product: "(Brother HL-L3240CDW series)"
13
13
+
*NickName: "Brother HL-L3240CDW series, driverless, cups-filters 1.28.17"
14
14
+
*ShortNickName: "Brother HL-L3240CDW series"
15
15
+
*DefaultOutputOrder: Normal
16
16
+
*ColorDevice: True
17
17
+
*cupsVersion: 2.4
18
18
+
*cupsSNMPSupplies: False
19
19
+
*cupsLanguages: "en"
20
20
+
*APSupplies: "http://10.42.0.4/net/net/airprint.html"
21
21
+
*cupsStringsURI: "http://10.42.0.4/ipp/strings/dict/en.txt"
22
22
+
*cupsJobPassword: "1111"
23
23
+
*cupsFilter2: "application/vnd.cups-pdf application/pdf 200 -"
24
24
+
*cupsFilter2: "image/urf image/urf 0 -"
25
25
+
*cupsFilter2: "image/jpeg image/jpeg 0 -"
26
26
+
*OpenUI *PageSize/Media Size: PickOne
27
27
+
*OrderDependency: 10 AnySetup *PageSize
28
28
+
*DefaultPageSize: A4
29
29
+
*PageSize 195x270mm: "<</PageSize[552.755905511811 765.354330708661]>>setpagedevice"
30
30
+
*PageSize 210x270mm: "<</PageSize[595.275590551181 765.354330708661]>>setpagedevice"
31
31
+
*PageSize 215x345mm: "<</PageSize[609.448818897638 977.952755905512]>>setpagedevice"
32
32
+
*PageSize 3x5: "<</PageSize[216 360]>>setpagedevice"
33
33
+
*PageSize A4: "<</PageSize[595.275590551181 841.889763779528]>>setpagedevice"
34
34
+
*PageSize A5: "<</PageSize[419.527559055118 595.275590551181]>>setpagedevice"
35
35
+
*PageSize A6: "<</PageSize[297.637795275591 419.527559055118]>>setpagedevice"
36
36
+
*PageSize B5: "<</PageSize[515.905511811024 728.503937007874]>>setpagedevice"
37
37
+
*PageSize B6: "<</PageSize[362.834645669291 515.905511811024]>>setpagedevice"
38
38
+
*PageSize Env10: "<</PageSize[296.985826771654 684]>>setpagedevice"
39
39
+
*PageSize EnvC5: "<</PageSize[459.212598425197 649.133858267717]>>setpagedevice"
40
40
+
*PageSize EnvDL: "<</PageSize[311.811023622047 623.622047244094]>>setpagedevice"
41
41
+
*PageSize EnvMonarch: "<</PageSize[278.985826771654 540]>>setpagedevice"
42
42
+
*PageSize Executive: "<</PageSize[522 756]>>setpagedevice"
43
43
+
*PageSize FanFoldGermanLegal: "<</PageSize[612 936]>>setpagedevice"
44
44
+
*PageSize ISOB5: "<</PageSize[498.897637795276 708.661417322835]>>setpagedevice"
45
45
+
*PageSize Legal: "<</PageSize[612 1008]>>setpagedevice"
46
46
+
*PageSize Letter: "<</PageSize[612 792]>>setpagedevice"
47
47
+
*PageSize Oficio: "<</PageSize[612 964.8]>>setpagedevice"
48
48
+
*CloseUI: *PageSize
49
49
+
*OpenUI *PageRegion/Media Size: PickOne
50
50
+
*OrderDependency: 10 AnySetup *PageRegion
51
51
+
*DefaultPageRegion: A4
52
52
+
*PageRegion 195x270mm: "<</PageSize[552.755905511811 765.354330708661]>>setpagedevice"
53
53
+
*PageRegion 210x270mm: "<</PageSize[595.275590551181 765.354330708661]>>setpagedevice"
54
54
+
*PageRegion 215x345mm: "<</PageSize[609.448818897638 977.952755905512]>>setpagedevice"
55
55
+
*PageRegion 3x5: "<</PageSize[216 360]>>setpagedevice"
56
56
+
*PageRegion A4: "<</PageSize[595.275590551181 841.889763779528]>>setpagedevice"
57
57
+
*PageRegion A5: "<</PageSize[419.527559055118 595.275590551181]>>setpagedevice"
58
58
+
*PageRegion A6: "<</PageSize[297.637795275591 419.527559055118]>>setpagedevice"
59
59
+
*PageRegion B5: "<</PageSize[515.905511811024 728.503937007874]>>setpagedevice"
60
60
+
*PageRegion B6: "<</PageSize[362.834645669291 515.905511811024]>>setpagedevice"
61
61
+
*PageRegion Env10: "<</PageSize[296.985826771654 684]>>setpagedevice"
62
62
+
*PageRegion EnvC5: "<</PageSize[459.212598425197 649.133858267717]>>setpagedevice"
63
63
+
*PageRegion EnvDL: "<</PageSize[311.811023622047 623.622047244094]>>setpagedevice"
64
64
+
*PageRegion EnvMonarch: "<</PageSize[278.985826771654 540]>>setpagedevice"
65
65
+
*PageRegion Executive: "<</PageSize[522 756]>>setpagedevice"
66
66
+
*PageRegion FanFoldGermanLegal: "<</PageSize[612 936]>>setpagedevice"
67
67
+
*PageRegion ISOB5: "<</PageSize[498.897637795276 708.661417322835]>>setpagedevice"
68
68
+
*PageRegion Legal: "<</PageSize[612 1008]>>setpagedevice"
69
69
+
*PageRegion Letter: "<</PageSize[612 792]>>setpagedevice"
70
70
+
*PageRegion Oficio: "<</PageSize[612 964.8]>>setpagedevice"
71
71
+
*CloseUI: *PageRegion
72
72
+
*DefaultImageableArea: A4
73
73
+
*DefaultPaperDimension: A4
74
74
+
*ImageableArea 195x270mm: "12.245669291339 12.245669291339 540.510236220472 753.108661417323"
75
75
+
*PaperDimension 195x270mm: "552.755905511811 765.354330708661"
76
76
+
*ImageableArea 210x270mm: "12.245669291339 12.245669291339 583.029921259842 753.108661417323"
77
77
+
*PaperDimension 210x270mm: "595.275590551181 765.354330708661"
78
78
+
*ImageableArea 215x345mm: "12.245669291339 12.245669291339 597.203149606299 965.707086614173"
79
79
+
*PaperDimension 215x345mm: "609.448818897638 977.952755905512"
80
80
+
*ImageableArea 3x5: "12.245669291339 12.245669291339 203.754330708661 347.754330708661"
81
81
+
*PaperDimension 3x5: "216 360"
82
82
+
*ImageableArea A4: "12.245669291339 12.245669291339 583.029921259842 829.644094488189"
83
83
+
*PaperDimension A4: "595.275590551181 841.889763779528"
84
84
+
*ImageableArea A5: "12.245669291339 12.245669291339 407.28188976378 583.029921259842"
85
85
+
*PaperDimension A5: "419.527559055118 595.275590551181"
86
86
+
*ImageableArea A6: "12.245669291339 12.245669291339 285.392125984252 407.28188976378"
87
87
+
*PaperDimension A6: "297.637795275591 419.527559055118"
88
88
+
*ImageableArea B5: "12.245669291339 12.245669291339 503.659842519685 716.258267716535"
89
89
+
*PaperDimension B5: "515.905511811024 728.503937007874"
90
90
+
*ImageableArea B6: "12.245669291339 12.245669291339 350.588976377953 503.659842519685"
91
91
+
*PaperDimension B6: "362.834645669291 515.905511811024"
92
92
+
*ImageableArea Env10: "12.245669291339 12.245669291339 284.740157480315 671.754330708661"
93
93
+
*PaperDimension Env10: "296.985826771654 684"
94
94
+
*ImageableArea EnvC5: "12.245669291339 12.245669291339 446.966929133858 636.888188976378"
95
95
+
*PaperDimension EnvC5: "459.212598425197 649.133858267717"
96
96
+
*ImageableArea EnvDL: "12.245669291339 12.245669291339 299.565354330709 611.376377952756"
97
97
+
*PaperDimension EnvDL: "311.811023622047 623.622047244094"
98
98
+
*ImageableArea EnvMonarch: "12.245669291339 12.245669291339 266.740157480315 527.754330708661"
99
99
+
*PaperDimension EnvMonarch: "278.985826771654 540"
100
100
+
*ImageableArea Executive: "12.245669291339 12.245669291339 509.754330708661 743.754330708661"
101
101
+
*PaperDimension Executive: "522 756"
102
102
+
*ImageableArea FanFoldGermanLegal: "12.245669291339 12.245669291339 599.754330708661 923.754330708661"
103
103
+
*PaperDimension FanFoldGermanLegal: "612 936"
104
104
+
*ImageableArea ISOB5: "12.245669291339 12.245669291339 486.651968503937 696.415748031496"
105
105
+
*PaperDimension ISOB5: "498.897637795276 708.661417322835"
106
106
+
*ImageableArea Legal: "12.245669291339 12.245669291339 599.754330708661 995.754330708661"
107
107
+
*PaperDimension Legal: "612 1008"
108
108
+
*ImageableArea Letter: "12.245669291339 12.245669291339 599.754330708661 779.754330708661"
109
109
+
*PaperDimension Letter: "612 792"
110
110
+
*ImageableArea Oficio: "12.245669291339 12.245669291339 599.754330708661 952.554330708661"
111
111
+
*PaperDimension Oficio: "612 964.8"
112
112
+
*HWMargins: "12.245669291339 12.245669291339 12.245669291339 12.245669291339"
113
113
+
*ParamCustomPageSize Width: 1 points 216 612
114
114
+
*ParamCustomPageSize Height: 2 points 360 1008
115
115
+
*ParamCustomPageSize WidthOffset: 3 points 0 0
116
116
+
*ParamCustomPageSize HeightOffset: 4 points 0 0
117
117
+
*ParamCustomPageSize Orientation: 5 int 0 3
118
118
+
*CustomPageSize True: "pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice"
119
119
+
*OpenUI *InputSlot/Media Source: PickOne
120
120
+
*OrderDependency: 10 AnySetup *InputSlot
121
121
+
*DefaultInputSlot: Auto
122
122
+
*InputSlot Auto/Automatic: "<</MediaPosition 0>>setpagedevice"
123
123
+
*InputSlot Manual/Manual: "<</MediaPosition 4>>setpagedevice"
124
124
+
*InputSlot Main/Main: "<</MediaPosition 1>>setpagedevice"
125
125
+
*CloseUI: *InputSlot
126
126
+
*OpenUI *MediaType/Media Type: PickOne
127
127
+
*OrderDependency: 10 AnySetup *MediaType
128
128
+
*DefaultMediaType: Stationery
129
129
+
*MediaType Stationery/Plain Paper: "<</MediaType(Stationery)>>setpagedevice"
130
130
+
*MediaType StationeryLightweight/Lightweight Paper: "<</MediaType(StationeryLightweight)>>setpagedevice"
131
131
+
*MediaType StationeryHeavyweight/Heavyweight Paper: "<</MediaType(StationeryHeavyweight)>>setpagedevice"
132
132
+
*MediaType Envelope/Envelope: "<</MediaType(Envelope)>>setpagedevice"
133
133
+
*MediaType EnvelopeHeavyweight/Heavyweight Envelope: "<</MediaType(EnvelopeHeavyweight)>>setpagedevice"
134
134
+
*MediaType EnvelopeLightweight/Lightweight Envelope: "<</MediaType(EnvelopeLightweight)>>setpagedevice"
135
135
+
*MediaType Labels/Labels: "<</MediaType(Labels)>>setpagedevice"
136
136
+
*MediaType PhotographicGlossy/Glossy Photo Paper: "<</MediaType(PhotographicGlossy)>>setpagedevice"
137
137
+
*MediaType StationeryBond: "<</MediaType(StationeryBond)>>setpagedevice"
138
138
+
*MediaType Com.brotherRecycled/Recycled Paper: "<</MediaType(Com.brotherRecycled)>>setpagedevice"
139
139
+
*CloseUI: *MediaType
140
140
+
*% ColorModel from urf-supported
141
141
+
*OpenUI *ColorModel/Color Mode: PickOne
142
142
+
*OrderDependency: 10 AnySetup *ColorModel
143
143
+
*ColorModel RGB/Color: "<</cupsColorSpace 19/cupsBitsPerColor 8/cupsColorOrder 0/cupsCompression 0>>setpagedevice"
144
144
+
*ColorModel Gray/Grayscale: "<</cupsColorSpace 18/cupsBitsPerColor 8/cupsColorOrder 0/cupsCompression 0>>setpagedevice"
145
145
+
*DefaultColorModel: RGB
146
146
+
*CloseUI: *ColorModel
147
147
+
*OpenUI *Duplex/2-Sided Printing: PickOne
148
148
+
*OrderDependency: 10 AnySetup *Duplex
149
149
+
*DefaultDuplex: None
150
150
+
*Duplex None/Off (1-Sided): "<</Duplex false>>setpagedevice"
151
151
+
*Duplex DuplexNoTumble/Long-Edge (Portrait): "<</Duplex true/Tumble false>>setpagedevice"
152
152
+
*Duplex DuplexTumble/Short-Edge (Landscape): "<</Duplex true/Tumble true>>setpagedevice"
153
153
+
*CloseUI: *Duplex
154
154
+
*cupsBackSide: Normal
155
155
+
*OpenUI *OutputBin/Output Bin: PickOne
156
156
+
*OrderDependency: 10 AnySetup *OutputBin
157
157
+
*DefaultOutputBin: FaceDown
158
158
+
*OutputBin FaceDown/Face Down: ""
159
159
+
*PageStackOrder FaceDown: Normal
160
160
+
*CloseUI: *OutputBin
161
161
+
*DefaultResolution: 600dpi
162
162
+
*OpenUI *cupsPrintQuality/Print Quality: PickOne
163
163
+
*OrderDependency: 10 AnySetup *cupsPrintQuality
164
164
+
*DefaultcupsPrintQuality: Normal
165
165
+
*cupsPrintQuality Normal/Normal: "<</HWResolution[600 600]>>setpagedevice"
166
166
+
*CloseUI: *cupsPrintQuality
167
167
+
*OpenUI *print-scaling/Print Scaling: PickOne
168
168
+
*OrderDependency: 10 AnySetup *print-scaling
169
169
+
*Defaultprint-scaling: auto
170
170
+
*print-scaling auto/Automatic: ""
171
171
+
*print-scaling auto-fit/Auto Fit: ""
172
172
+
*print-scaling fill/Fill: ""
173
173
+
*print-scaling fit/Fit: ""
174
174
+
*print-scaling none/None: ""
175
175
+
*CloseUI: *print-scaling
+1
-1
machines/aergia/config.nix
View file
Reviewed
···
20
20
# ../../2configs/bitcoin.nix
21
21
# ../../2configs/review.nix
22
22
# ../../2configs/dunst.nix
23
23
-
../../2configs/print.nix
23
23
+
../../2configs/printing.nix
24
24
../../2configs/br.nix
25
25
# ../../2configs/c-base.nix
26
26
{
+1
-2
machines/ignavia/config.nix
View file
Reviewed
···
25
25
../../2configs/yellow-mounts/samba.nix
26
26
../../2configs/pass.nix
27
27
../../2configs/mail.nix
28
28
-
../../2configs/print.nix
28
28
+
../../2configs/printing
29
29
../../2configs/br.nix
30
30
# ../../2configs/bitcoin.nix
31
31
../../2configs/review.nix
···
33
33
../../2configs/yggdrasil.nix
34
34
../../2configs/container-tests.nix
35
35
# ../../2configs/sunshine.nix
36
36
-
# ../../2configs/print.nix
37
36
# ../../2configs/br.nix
38
37
# ../../2configs/c-base.nix
39
38
../../2configs/services/radio/tts.nix
+1
-1
machines/mors/config.nix
View file
Reviewed
···
26
26
../../2configs/ableton.nix
27
27
../../2configs/dunst.nix
28
28
../../2configs/rtl-sdr.nix
29
29
-
../../2configs/print.nix
29
29
+
../../2configs/printing
30
30
../../2configs/network-manager.nix
31
31
../../2configs/yellow-mounts/samba.nix
32
32
../../2configs/ppp/x220-modem.nix