Skip to content

Commit e9bb452

Browse files
committed
Add Konica Minolta Bizhub 165/185 (A3) foo2ddst support
1 parent b949fe1 commit e9bb452

7 files changed

Lines changed: 119 additions & 0 deletions

File tree

foo2ddst-wrapper.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,9 @@ Custom*)
446446
12|16k195x270) PAPER=12; paper=executive;XDIM="9212"; YDIM="6378"
447447
#set_clipping 126 87 126 87
448448
;;
449+
13|a3|A3) PAPER=13; paper=a3; XDIM="19842"; YDIM="7014"
450+
#set_clipping 160 100 160 100
451+
;;
449452
20|"env#10") PAPER=20; paper=env10; XDIM="4950"; YDIM="5700"
450453
#set_clipping 171 78 171 78
451454
;;

foo2ddst.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ start_page(BIE_CHAIN **root, int nbie, FILE *ofp)
492492
"LETTER", "LEGAL", "EXECUTIVE", "INVOICE",
493493
"A4", "A5", "A6", "JISB5", "JISB6",
494494
"16K_197x273", "16K_184x260", "16K_195x270",
495+
"A3"
495496
};
496497

497498
fprintf(ofp, "@PJL SET PAGESTATUS=START\r\n");

foomatic-db/driver/foo2ddst.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
<printers>
1616
<printer><id>printer/Ricoh-SP_112</id></printer>
1717
<printer><id>printer/Ricoh-SP_201Nw</id></printer>
18+
<printer><id>printer/KONICA_MINOLTA-bizhub_165</id></printer>
19+
<printer><id>printer/KONICA_MINOLTA-bizhub_185</id></printer>
1820
<printer><id>printer/Generic-DDST_Printer</id></printer>
1921
</printers>
2022
</driver>

foomatic-db/opt/foo2ddst-PageSize.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@
7878
<ev_shortname> <en>w553h765</en> </ev_shortname>
7979
<ev_driverval>12</ev_driverval>
8080
</enum_val>
81+
<enum_val id="ev/foo2ddst-PageSize-13">
82+
<ev_longname> <en>A3</en> </ev_longname>
83+
<ev_shortname> <en>A3</en> </ev_shortname>
84+
<ev_driverval>13</ev_driverval>
85+
<constraints>
86+
<constraint sense="false">
87+
<make>Ricoh</make>
88+
</constraint>
89+
</constraints>
90+
</enum_val>
8191
<enum_val id="ev/foo2ddst-PageSize-Custom">
8292
<ev_longname> <en>Custom</en> </ev_longname>
8393
<ev_shortname> <en>Custom</en> </ev_shortname>

foomatic-db/opt/foo2ddst-Resolution.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
it should be treated as documentation for the user. -->
3232
<ev_shortname> <en>1200x600dpi</en> </ev_shortname>
3333
<ev_driverval>1200x600</ev_driverval>
34+
<constraints>
35+
<constraint sense="false">
36+
<make>KONICA MINOLTA</make>
37+
</constraint>
38+
</constraints>
3439
</enum_val>
3540
</enum_vals>
3641
</option>
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<printer id="printer/KONICA-MINOLTA-bizhub_165">
2+
<make>KONICA MINOLTA</make>
3+
<model>bizhub 165</model>
4+
<mechanism>
5+
<laser/><!--not "color"-->
6+
<resolution>
7+
<dpi>
8+
<x>600</x>
9+
<y>600</y>
10+
</dpi>
11+
</resolution>
12+
<margins>
13+
<general>
14+
<unit>inch</unit>
15+
<top>0.2</top>
16+
<bottom>0.2</bottom>
17+
<left>0.2</left>
18+
<right>0.2</right>
19+
</general>
20+
</margins>
21+
<consumables>
22+
</consumables>
23+
</mechanism>
24+
<url>https://bt.konicaminolta.in/wp-content/themes/BIN/assets/images/products/Office-Monochrome-PrintSystem/bizhub-185en-165en/Product-Overview/Brochure_bizhub_185en_165en.pdf</url>
25+
<lang>
26+
<proprietary/>
27+
<!--no pjl--><!--No "text"?--></lang>
28+
29+
<autodetect>
30+
<parallel>
31+
<ieee1284>MFG:KONICA MINOLTA;CMD:GDI,XPS;MDL:165;CLS:PRINTER;</ieee1284>
32+
<manufacturer>KONICA MINOLTA</manufacturer>
33+
<model>165</model>
34+
<commandset>GDI,XPS</commandset>
35+
</parallel>
36+
</autodetect>
37+
38+
<functionality>B</functionality>
39+
<driver>foo2ddst</driver>
40+
<!--no "contrib_url"-->
41+
<comments>
42+
<en>
43+
44+
This printer is supported by the foo2ddst free software printer driver.
45+
&lt;p&gt;
46+
47+
</en>
48+
</comments>
49+
</printer>
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<printer id="printer/KONICA-MINOLTA-bizhub_185">
2+
<make>KONICA MINOLTA</make>
3+
<model>bizhub 185</model>
4+
<mechanism>
5+
<laser/><!--not "color"-->
6+
<resolution>
7+
<dpi>
8+
<x>600</x>
9+
<y>600</y>
10+
</dpi>
11+
</resolution>
12+
<margins>
13+
<general>
14+
<unit>inch</unit>
15+
<top>0.2</top>
16+
<bottom>0.2</bottom>
17+
<left>0.2</left>
18+
<right>0.2</right>
19+
</general>
20+
</margins>
21+
<consumables>
22+
</consumables>
23+
</mechanism>
24+
<url>https://bt.konicaminolta.in/wp-content/themes/BIN/assets/images/products/Office-Monochrome-PrintSystem/bizhub-185en-165en/Product-Overview/Brochure_bizhub_185en_165en.pdf</url>
25+
<lang>
26+
<proprietary/>
27+
<!--no pjl--><!--No "text"?--></lang>
28+
29+
<autodetect>
30+
<parallel>
31+
<ieee1284>MFG:KONICA MINOLTA;CMD:GDI,XPS;MDL:185;CLS:PRINTER;</ieee1284>
32+
<manufacturer>KONICA MINOLTA</manufacturer>
33+
<model>185</model>
34+
<commandset>GDI,XPS</commandset>
35+
</parallel>
36+
</autodetect>
37+
38+
<functionality>B</functionality>
39+
<driver>foo2ddst</driver>
40+
<!--no "contrib_url"-->
41+
<comments>
42+
<en>
43+
44+
This printer is supported by the foo2ddst free software printer driver.
45+
&lt;p&gt;
46+
47+
</en>
48+
</comments>
49+
</printer>

0 commit comments

Comments
 (0)