1--- foo2zjs/ChangeLog 2021-09-27 16:25:00.735904476 +0200
2+++ foo2zjs/ChangeLog 2021-09-27 16:34:10.661647070 +0200
3@@ -89,10 +89,35 @@
4 2014-04-08 Rick Richardson <rick.richardson@comcast.net>
5 * Upgrade to JBIGKIT 2.1
6
7+2014-04-04 Dave Coffin <dcoffin@cybercom.net>
8+ * fixed all known bugs in foo2hbpl1.c. It now print multi-page
9+ color and grayscale documents without resetting printer.
10+
11 2014-04-01 Rick Richardson <rick.richardson@comcast.net>
12- * foo2hbpl2 foomatic-db files and PPDs:
13+ * foo2hbpl1, foo2hbpl2 foomatic-db files and PPDs:
14 Bug with default PageSize.
15- PLEASE delete and recreate the foo2hbpl2 printers.
16+ PLEASE delete and recreate the foo2hbpl1, foo2hbpl2 printers.
17+
18+2014-03-30 Rick Richardson <rick.richardson@comcast.net>
19+ * foo2hbpl1.c: Cleanup the code
20+
21+2014-03-25 Rick Richardson <rick.richardson@comcast.net>
22+ * foomatic and PPD stuff for foo2hbpl1 printers: Halftone and ICM
23+
24+2014-03-24 Rick Richardson <rick.richardson@comcast.net>
25+ * foomatic and PPD stuff for foo2hbpl1 printers
26+ preliminary for: Dell 1250c, Dell C1660w, Dell C1760nw,
27+ Epson AcuLaser C1700, Fuji-Xerox DocuPrint CP105b
28+ * foo2hbpl1-wrapper: allow for gs 7.x or gs 8.x
29+
30+2014-03-24 Dave Coffin <dcoffin@cybercom.net>
31+ * foo2hbpl1, foo2hbpl1-wrapper, et al: first cut at revision 1
32+ stuff. Color works, mono doesn't. No multiple pages. Printer
33+ shows:
34+ Restart Printer
35+ Contact Support
36+ IfMessageReturns
37+ 016-313
38
39 2014-03-22 Rick Richardson <rick.richardson@comcast.net>
40 * hbpldecode: another redundancy from Dave Coffin
41--- foo2zjs/Makefile 2020-11-27 20:57:33.000000000 +0100
42+++ foo2zjs/Makefile 2021-09-27 16:56:23.363346705 +0200
43@@ -148,6 +148,8 @@
44 foo2hiperc.c \
45 foo2hiperc.1in \
46 hbpl.h \
47+ foo2hbpl1.c \
48+ foo2hbpl1.1in \
49 foo2hbpl2.c \
50 foo2hbpl2.1in \
51 foo2ddst.c \
52@@ -187,6 +189,8 @@
53 foo2slx-wrapper.1in \
54 foo2hiperc-wrapper.in \
55 foo2hiperc-wrapper.1in \
56+ foo2hbpl1-wrapper.in \
57+ foo2hbpl1-wrapper.1in \
58 foo2hbpl2-wrapper.in \
59 foo2hbpl2-wrapper.1in \
60 foo2ddst-wrapper.in \
61@@ -267,7 +271,7 @@
62 PROGS+= foo2oak oakdecode
63 PROGS+= foo2slx slxdecode
64 PROGS+= foo2hiperc hipercdecode
65-PROGS+= foo2hbpl2 hbpldecode
66+PROGS+= foo2hbpl1 foo2hbpl2 hbpldecode
67 PROGS+= gipddecode
68 PROGS+= foo2ddst ddstdecode
69 ifneq ($(CUPS_SERVERBIN),)
70@@ -279,7 +283,7 @@
71 endif
72 SHELLS= foo2zjs-wrapper foo2oak-wrapper foo2hp2600-wrapper \
73 foo2xqx-wrapper foo2lava-wrapper foo2qpdl-wrapper \
74- foo2slx-wrapper foo2hiperc-wrapper foo2hbpl2-wrapper \
75+ foo2slx-wrapper foo2hiperc-wrapper foo2hbpl1-wrapper foo2hbpl2-wrapper \
76 foo2ddst-wrapper
77 SHELLS+= foo2zjs-pstops
78 SHELLS+= printer-profile
79@@ -291,7 +295,7 @@
80 MANPAGES+= foo2qpdl-wrapper.1 foo2qpdl.1 qpdldecode.1
81 MANPAGES+= foo2slx-wrapper.1 foo2slx.1 slxdecode.1
82 MANPAGES+= foo2hiperc-wrapper.1 foo2hiperc.1 hipercdecode.1
83-MANPAGES+= foo2hbpl2-wrapper.1 foo2hbpl2.1 hbpldecode.1
84+MANPAGES+= foo2hbpl1-wrapper.1 foo2hbpl1.1 foo2hbpl2-wrapper.1 foo2hbpl2.1 hbpldecode.1
85 MANPAGES+= foo2ddst-wrapper.1 foo2ddst.1 ddstdecode.1
86 MANPAGES+= gipddecode.1
87 MANPAGES+= foo2zjs-pstops.1 arm2hpdl.1 usb_printerid.1
88@@ -485,6 +489,9 @@
89 foo2ddst: foo2ddst.o $(LIBJBG)
90 $(CC) $(CFLAGS) -o $@ foo2ddst.o $(LIBJBG)
91
92+foo2hbpl1: foo2hbpl1.o
93+ $(CC) $(CFLAGS) -o $@ foo2hbpl1.o
94+
95 foo2hbpl2: foo2hbpl2.o $(LIBJBG)
96 $(CC) $(CFLAGS) -o $@ foo2hbpl2.o $(LIBJBG)
97
98@@ -519,6 +526,12 @@
99 -e 's@^PREFIX=.*@PREFIX=$(PREFIX)@' || (rm -f $@ && exit 1)
100 chmod 555 $@
101
102+foo2hbpl1-wrapper: foo2hbpl1-wrapper.in Makefile
103+ [ ! -f $@ ] || chmod +w $@
104+ sed < $@.in > $@ \
105+ -e 's@^PREFIX=.*@PREFIX=$(PREFIX)@' || (rm -f $@ && exit 1)
106+ chmod 555 $@
107+
108 foo2hbpl2-wrapper: foo2hbpl2-wrapper.in Makefile
109 [ ! -f $@ ] || chmod +w $@
110 sed < $@.in > $@ \
111@@ -1231,6 +1244,7 @@
112 -rm -f /usr/bin/foo2slx-wrapper /usr/bin/foo2slx /usr/bin/slxdecode
113 -rm -f /usr/bin/foo2hiperc-wrapper /usr/bin/foo2hiperc
114 -rm -f /usr/bin/hipercdecode
115+ -rm -f /usr/bin/foo2hbpl1-wrapper /usr/bin/foo2hbpl1
116 -rm -f /usr/bin/foo2hbpl2-wrapper /usr/bin/foo2hbpl2
117 -rm -f /usr/bin/hbpldecode
118 -rm -f /usr/bin/foo2ddst-wrapper /usr/bin/foo2ddst /usr/bin/ddstdecode
119@@ -1265,7 +1279,7 @@
120 -rm -f foo2qpdl.o qpdldecode.o
121 -rm -f foo2slx.o slxdecode.o
122 -rm -f foo2hiperc.o hipercdecode.o
123- -rm -f foo2hbpl2.o hbpldecode.o
124+ -rm -f foo2hbpl1.o foo2hbpl2.o hbpldecode.o
125 -rm -f opldecode.o gipddecode.o
126 -rm -f foo2dsst.o ddstdecode.o
127 -rm -f command2foo2lava-pjl.o
128@@ -1513,6 +1527,10 @@
129 *C3530*) driver=foo2hiperc;; \
130 *C5[12568][05]0*) driver=foo2hiperc;; \
131 *CLP*|*CLX*|*6110*) driver=foo2qpdl;; \
132+ *1250*) driver=foo2hbpl1;; \
133+ *1660*|*1760*) driver=foo2hbpl1;; \
134+ *C1700*) driver=foo2hbpl1;; \
135+ *CP105*) driver=foo2hbpl1;; \
136 *ML-167*) driver=foo2qpdl;; \
137 *6015*|*1355*) driver=foo2hbpl2;; \
138 *C1765*) driver=foo2hbpl2;; \
139@@ -1607,6 +1625,8 @@
140 $(INSTALL) -c -m 644 foo2hiperc.1 $(MANDIR)/man1/
141 $(INSTALL) -c -m 644 foo2hiperc-wrapper.1 $(MANDIR)/man1/
142 $(INSTALL) -c -m 644 hipercdecode.1 $(MANDIR)/man1/
143+ $(INSTALL) -c -m 644 foo2hbpl1.1 $(MANDIR)/man1/
144+ $(INSTALL) -c -m 644 foo2hbpl1-wrapper.1 $(MANDIR)/man1/
145 $(INSTALL) -c -m 644 foo2hbpl2.1 $(MANDIR)/man1/
146 $(INSTALL) -c -m 644 foo2hbpl2-wrapper.1 $(MANDIR)/man1/
147 $(INSTALL) -c -m 644 hbpldecode.1 $(MANDIR)/man1/
148--- foo2zjs/PPD/Dell-1250c.ppd 1970-01-01 00:00:00.000000000 +0000
149+++ foo2zjs/PPD/Dell-1250c.ppd 2014-04-01 11:06:30.000000000 +0000
150@@ -0,0 +1,433 @@
151+*PPD-Adobe: "4.3"
152+*%
153+*% For information on using this, and to obtain the required backend
154+*% script, consult http://www.openprinting.org/
155+*%
156+*% This file is published under the GNU General Public License
157+*%
158+*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with
159+*% all programs and environments which use PPD files for dealing with
160+*% printer capability information. The printer must be configured with the
161+*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This
162+*% file and "foomatic-rip" work together to support PPD-controlled printer
163+*% driver option access with arbitrary free software printer drivers and
164+*% printing spoolers.
165+*%
166+*% To save this file on your disk, wait until the download has completed
167+*% (the animation of the browser logo must stop) and then use the
168+*% "Save as..." command in the "File" menu of your browser or in the
169+*% pop-up manu when you click on this document with the right mouse button.
170+*% DO NOT cut and paste this file into an editor with your mouse. This can
171+*% introduce additional line breaks which lead to unexpected results.
172+*%
173+*% You may save this file as 'Dell-1250c-foo2hbpl1.ppd'
174+*%
175+*%
176+*FormatVersion: "4.3"
177+*FileVersion: "1.1"
178+*LanguageVersion: English
179+*LanguageEncoding: ISOLatin1
180+*PCFileName: "FOO2HBPL.PPD"
181+*Manufacturer: "Dell"
182+*Product: "(1250c)"
183+*cupsVersion: 1.0
184+*cupsManualCopies: True
185+*cupsModelNumber: 2
186+*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
187+*%pprRIP: foomatic-rip other
188+*ModelName: "Dell 1250c"
189+*ShortNickName: "Dell 1250c foo2hbpl1"
190+*NickName: "Dell 1250c Foomatic/foo2hbpl1 (recommended)"
191+*PSVersion: "(3010.000) 550"
192+*PSVersion: "(3010.000) 651"
193+*PSVersion: "(3010.000) 652"
194+*PSVersion: "(3010.000) 653"
195+*PSVersion: "(3010.000) 704"
196+*PSVersion: "(3010.000) 705"
197+*PSVersion: "(3010.000) 800"
198+*LanguageLevel: "3"
199+*ColorDevice: True
200+*DefaultColorSpace: RGB
201+*FileSystem: False
202+*Throughput: "1"
203+*LandscapeOrientation: Plus90
204+*TTRasterizer: Type42
205+*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;"
206+
207+*driverName foo2hbpl1/foo2hbpl1: ""
208+*driverType F/Filter: ""
209+*driverUrl: "http://foo2hbpl.rkkda.com/"
210+*driverObsolete: False
211+
212+
213+
214+
215+*HWMargins: 9 12.00 9 12
216+*VariablePaperSize: True
217+*MaxMediaWidth: 100000
218+*MaxMediaHeight: 100000
219+*NonUIOrderDependency: 135 AnySetup *CustomPageSize
220+*CustomPageSize True: "pop pop pop pop pop
221+%% FoomaticRIPOptionSetting: PageSize=Custom"
222+*End
223+*FoomaticRIPOptionSetting PageSize=Custom: "-pCustom.%0x%1 "
224+*ParamCustomPageSize Width: 1 points 36 100000
225+*ParamCustomPageSize Height: 2 points 36 100000
226+*ParamCustomPageSize Orientation: 3 int 0 0
227+*ParamCustomPageSize WidthOffset: 4 points 0 0
228+*ParamCustomPageSize HeightOffset: 5 points 0 0
229+
230+*FoomaticIDs: Dell-1250c foo2hbpl1
231+*FoomaticRIPCommandLine: "foo2hbpl1-wrapper %A"
232+
233+*OpenGroup: General/General
234+
235+*OpenUI *Quality/Printing Quality: PickOne
236+*FoomaticRIPOption Quality: enum CmdLine A
237+*OrderDependency: 110 AnySetup *Quality
238+*DefaultQuality: normal
239+*Quality draft/Draft: "%% FoomaticRIPOptionSetting: Quality=draft"
240+*FoomaticRIPOptionSetting Quality=draft: " -t "
241+*Quality normal/Normal: "%% FoomaticRIPOptionSetting: Quality=normal"
242+*FoomaticRIPOptionSetting Quality=normal: " "
243+*CloseUI: *Quality
244+
245+*OpenUI *ColorMode/Color Mode: PickOne
246+*FoomaticRIPOption ColorMode: enum CmdLine A
247+*OrderDependency: 120 AnySetup *ColorMode
248+*DefaultColorMode: Monochrome
249+*ColorMode Color/Color: "%% FoomaticRIPOptionSetting: ColorMode=Color"
250+*FoomaticRIPOptionSetting ColorMode=Color: "-c "
251+*ColorMode Monochrome/Monochrome: "%% FoomaticRIPOptionSetting: ColorMode=Monochrome"
252+*FoomaticRIPOptionSetting ColorMode=Monochrome: " "
253+*CloseUI: *ColorMode
254+
255+*OpenUI *PageSize/Page Size: PickOne
256+*FoomaticRIPOption PageSize: enum CmdLine A
257+*OrderDependency: 135 AnySetup *PageSize
258+*DefaultPageSize: Letter
259+*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
260+*FoomaticRIPOptionSetting PageSize=Letter: "-p4 "
261+*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
262+*FoomaticRIPOptionSetting PageSize=A4: "-p1 "
263+*PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis"
264+*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 "
265+*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10"
266+*FoomaticRIPOptionSetting PageSize=Env10: "-p9 "
267+*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5"
268+*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 "
269+*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL"
270+*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 "
271+*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch"
272+*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 "
273+*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive"
274+*FoomaticRIPOptionSetting PageSize=Executive: "-p5 "
275+*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal"
276+*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 "
277+*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio"
278+*FoomaticRIPOptionSetting PageSize=Folio: "-p6 "
279+*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
280+*FoomaticRIPOptionSetting PageSize=Legal: "-p7 "
281+*CloseUI: *PageSize
282+
283+*OpenUI *PageRegion: PickOne
284+*OrderDependency: 135 AnySetup *PageRegion
285+*DefaultPageRegion: Letter
286+*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
287+*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
288+*PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis"
289+*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10"
290+*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5"
291+*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL"
292+*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch"
293+*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive"
294+*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal"
295+*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio"
296+*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
297+*CloseUI: *PageRegion
298+
299+*DefaultImageableArea: Letter
300+*ImageableArea Letter/Letter: "9 12.00 603 780.00"
301+*ImageableArea A4/A4: "9 12.00 586 830.00"
302+*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00"
303+*ImageableArea Env10/Env #10: "9 12.00 288 672.00"
304+*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00"
305+*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00"
306+*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00"
307+*ImageableArea Executive/Executive: "9 12.00 513 744.00"
308+*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00"
309+*ImageableArea Folio/Folio: "9 12.00 603 924.00"
310+*ImageableArea Legal/Legal: "9 12.00 603 996.00"
311+
312+*DefaultPaperDimension: Letter
313+*PaperDimension Letter/Letter: "612 792"
314+*PaperDimension A4/A4: "595 842"
315+*PaperDimension B5jis/B5 (JIS): "518 727"
316+*PaperDimension Env10/Env #10: "297 684"
317+*PaperDimension EnvC5/Env C5: "459 649"
318+*PaperDimension EnvDL/Env DL: "311 623"
319+*PaperDimension EnvMonarch/Env Monarch: "279 540"
320+*PaperDimension Executive/Executive: "522 756"
321+*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008"
322+*PaperDimension Folio/Folio: "612 936"
323+*PaperDimension Legal/Legal: "612 1008"
324+
325+*OpenUI *MediaType/Media Type: PickOne
326+*FoomaticRIPOption MediaType: enum CmdLine A
327+*OrderDependency: 150 AnySetup *MediaType
328+*DefaultMediaType: plain
329+*MediaType plain/Plain Paper: "%% FoomaticRIPOptionSetting: MediaType=plain"
330+*FoomaticRIPOptionSetting MediaType=plain: "-m1 "
331+*MediaType plain2/Plain Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=plain2"
332+*FoomaticRIPOptionSetting MediaType=plain2: "-m8 "
333+*MediaType bond/Bond: "%% FoomaticRIPOptionSetting: MediaType=bond"
334+*FoomaticRIPOptionSetting MediaType=bond: "-m2 "
335+*MediaType bond2/Bond Side 2: "%% FoomaticRIPOptionSetting: MediaType=bond2"
336+*FoomaticRIPOptionSetting MediaType=bond2: "-m9 "
337+*MediaType envelope/Envelope: "%% FoomaticRIPOptionSetting: MediaType=envelope"
338+*FoomaticRIPOptionSetting MediaType=envelope: "-m6 "
339+*MediaType labels/Labels: "%% FoomaticRIPOptionSetting: MediaType=labels"
340+*FoomaticRIPOptionSetting MediaType=labels: "-m5 "
341+*MediaType lwcard/Light Weight Card: "%% FoomaticRIPOptionSetting: MediaType=lwcard"
342+*FoomaticRIPOptionSetting MediaType=lwcard: "-m3 "
343+*MediaType lwcard2/Light Weight Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwcard2"
344+*FoomaticRIPOptionSetting MediaType=lwcard2: "-m10 "
345+*MediaType lwgcard/Light Weight Glossy Card: "%% FoomaticRIPOptionSetting: MediaType=lwgcard"
346+*FoomaticRIPOptionSetting MediaType=lwgcard: "-m4 "
347+*MediaType lwgcard2/Light Weight Glossy Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwgcard2"
348+*FoomaticRIPOptionSetting MediaType=lwgcard2: "-m11 "
349+*MediaType recycled/Recycled Paper: "%% FoomaticRIPOptionSetting: MediaType=recycled"
350+*FoomaticRIPOptionSetting MediaType=recycled: "-m7 "
351+*MediaType recycled2/Recycled Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=recycled2"
352+*FoomaticRIPOptionSetting MediaType=recycled2: "-m12 "
353+*CloseUI: *MediaType
354+
355+*OpenUI *Copies/Copies: PickOne
356+*FoomaticRIPOption Copies: int CmdLine A
357+*FoomaticRIPOptionPrototype Copies: "-n%s "
358+*FoomaticRIPOptionRange Copies: 1 100
359+*OrderDependency: 220 AnySetup *Copies
360+*DefaultCopies: 1
361+*FoomaticRIPDefaultCopies: 1
362+*Copies 1/1: "%% FoomaticRIPOptionSetting: Copies=1"
363+*Copies 2/2: "%% FoomaticRIPOptionSetting: Copies=2"
364+*Copies 3/3: "%% FoomaticRIPOptionSetting: Copies=3"
365+*Copies 4/4: "%% FoomaticRIPOptionSetting: Copies=4"
366+*Copies 5/5: "%% FoomaticRIPOptionSetting: Copies=5"
367+*Copies 6/6: "%% FoomaticRIPOptionSetting: Copies=6"
368+*Copies 7/7: "%% FoomaticRIPOptionSetting: Copies=7"
369+*Copies 8/8: "%% FoomaticRIPOptionSetting: Copies=8"
370+*Copies 9/9: "%% FoomaticRIPOptionSetting: Copies=9"
371+*Copies 10/10: "%% FoomaticRIPOptionSetting: Copies=10"
372+*Copies 11/11: "%% FoomaticRIPOptionSetting: Copies=11"
373+*Copies 12/12: "%% FoomaticRIPOptionSetting: Copies=12"
374+*Copies 13/13: "%% FoomaticRIPOptionSetting: Copies=13"
375+*Copies 14/14: "%% FoomaticRIPOptionSetting: Copies=14"
376+*Copies 15/15: "%% FoomaticRIPOptionSetting: Copies=15"
377+*Copies 16/16: "%% FoomaticRIPOptionSetting: Copies=16"
378+*Copies 17/17: "%% FoomaticRIPOptionSetting: Copies=17"
379+*Copies 18/18: "%% FoomaticRIPOptionSetting: Copies=18"
380+*Copies 19/19: "%% FoomaticRIPOptionSetting: Copies=19"
381+*Copies 20/20: "%% FoomaticRIPOptionSetting: Copies=20"
382+*Copies 21/21: "%% FoomaticRIPOptionSetting: Copies=21"
383+*Copies 22/22: "%% FoomaticRIPOptionSetting: Copies=22"
384+*Copies 23/23: "%% FoomaticRIPOptionSetting: Copies=23"
385+*Copies 24/24: "%% FoomaticRIPOptionSetting: Copies=24"
386+*Copies 25/25: "%% FoomaticRIPOptionSetting: Copies=25"
387+*Copies 26/26: "%% FoomaticRIPOptionSetting: Copies=26"
388+*Copies 27/27: "%% FoomaticRIPOptionSetting: Copies=27"
389+*Copies 28/28: "%% FoomaticRIPOptionSetting: Copies=28"
390+*Copies 29/29: "%% FoomaticRIPOptionSetting: Copies=29"
391+*Copies 30/30: "%% FoomaticRIPOptionSetting: Copies=30"
392+*Copies 31/31: "%% FoomaticRIPOptionSetting: Copies=31"
393+*Copies 32/32: "%% FoomaticRIPOptionSetting: Copies=32"
394+*Copies 33/33: "%% FoomaticRIPOptionSetting: Copies=33"
395+*Copies 34/34: "%% FoomaticRIPOptionSetting: Copies=34"
396+*Copies 35/35: "%% FoomaticRIPOptionSetting: Copies=35"
397+*Copies 36/36: "%% FoomaticRIPOptionSetting: Copies=36"
398+*Copies 37/37: "%% FoomaticRIPOptionSetting: Copies=37"
399+*Copies 38/38: "%% FoomaticRIPOptionSetting: Copies=38"
400+*Copies 39/39: "%% FoomaticRIPOptionSetting: Copies=39"
401+*Copies 40/40: "%% FoomaticRIPOptionSetting: Copies=40"
402+*Copies 41/41: "%% FoomaticRIPOptionSetting: Copies=41"
403+*Copies 42/42: "%% FoomaticRIPOptionSetting: Copies=42"
404+*Copies 43/43: "%% FoomaticRIPOptionSetting: Copies=43"
405+*Copies 44/44: "%% FoomaticRIPOptionSetting: Copies=44"
406+*Copies 45/45: "%% FoomaticRIPOptionSetting: Copies=45"
407+*Copies 46/46: "%% FoomaticRIPOptionSetting: Copies=46"
408+*Copies 47/47: "%% FoomaticRIPOptionSetting: Copies=47"
409+*Copies 48/48: "%% FoomaticRIPOptionSetting: Copies=48"
410+*Copies 49/49: "%% FoomaticRIPOptionSetting: Copies=49"
411+*Copies 50/50: "%% FoomaticRIPOptionSetting: Copies=50"
412+*Copies 51/51: "%% FoomaticRIPOptionSetting: Copies=51"
413+*Copies 52/52: "%% FoomaticRIPOptionSetting: Copies=52"
414+*Copies 53/53: "%% FoomaticRIPOptionSetting: Copies=53"
415+*Copies 54/54: "%% FoomaticRIPOptionSetting: Copies=54"
416+*Copies 55/55: "%% FoomaticRIPOptionSetting: Copies=55"
417+*Copies 56/56: "%% FoomaticRIPOptionSetting: Copies=56"
418+*Copies 57/57: "%% FoomaticRIPOptionSetting: Copies=57"
419+*Copies 58/58: "%% FoomaticRIPOptionSetting: Copies=58"
420+*Copies 59/59: "%% FoomaticRIPOptionSetting: Copies=59"
421+*Copies 60/60: "%% FoomaticRIPOptionSetting: Copies=60"
422+*Copies 61/61: "%% FoomaticRIPOptionSetting: Copies=61"
423+*Copies 62/62: "%% FoomaticRIPOptionSetting: Copies=62"
424+*Copies 63/63: "%% FoomaticRIPOptionSetting: Copies=63"
425+*Copies 64/64: "%% FoomaticRIPOptionSetting: Copies=64"
426+*Copies 65/65: "%% FoomaticRIPOptionSetting: Copies=65"
427+*Copies 66/66: "%% FoomaticRIPOptionSetting: Copies=66"
428+*Copies 67/67: "%% FoomaticRIPOptionSetting: Copies=67"
429+*Copies 68/68: "%% FoomaticRIPOptionSetting: Copies=68"
430+*Copies 69/69: "%% FoomaticRIPOptionSetting: Copies=69"
431+*Copies 70/70: "%% FoomaticRIPOptionSetting: Copies=70"
432+*Copies 71/71: "%% FoomaticRIPOptionSetting: Copies=71"
433+*Copies 72/72: "%% FoomaticRIPOptionSetting: Copies=72"
434+*Copies 73/73: "%% FoomaticRIPOptionSetting: Copies=73"
435+*Copies 74/74: "%% FoomaticRIPOptionSetting: Copies=74"
436+*Copies 75/75: "%% FoomaticRIPOptionSetting: Copies=75"
437+*Copies 76/76: "%% FoomaticRIPOptionSetting: Copies=76"
438+*Copies 77/77: "%% FoomaticRIPOptionSetting: Copies=77"
439+*Copies 78/78: "%% FoomaticRIPOptionSetting: Copies=78"
440+*Copies 79/79: "%% FoomaticRIPOptionSetting: Copies=79"
441+*Copies 80/80: "%% FoomaticRIPOptionSetting: Copies=80"
442+*Copies 81/81: "%% FoomaticRIPOptionSetting: Copies=81"
443+*Copies 82/82: "%% FoomaticRIPOptionSetting: Copies=82"
444+*Copies 83/83: "%% FoomaticRIPOptionSetting: Copies=83"
445+*Copies 84/84: "%% FoomaticRIPOptionSetting: Copies=84"
446+*Copies 85/85: "%% FoomaticRIPOptionSetting: Copies=85"
447+*Copies 86/86: "%% FoomaticRIPOptionSetting: Copies=86"
448+*Copies 87/87: "%% FoomaticRIPOptionSetting: Copies=87"
449+*Copies 88/88: "%% FoomaticRIPOptionSetting: Copies=88"
450+*Copies 89/89: "%% FoomaticRIPOptionSetting: Copies=89"
451+*Copies 90/90: "%% FoomaticRIPOptionSetting: Copies=90"
452+*Copies 91/91: "%% FoomaticRIPOptionSetting: Copies=91"
453+*Copies 92/92: "%% FoomaticRIPOptionSetting: Copies=92"
454+*Copies 93/93: "%% FoomaticRIPOptionSetting: Copies=93"
455+*Copies 94/94: "%% FoomaticRIPOptionSetting: Copies=94"
456+*Copies 95/95: "%% FoomaticRIPOptionSetting: Copies=95"
457+*Copies 96/96: "%% FoomaticRIPOptionSetting: Copies=96"
458+*Copies 97/97: "%% FoomaticRIPOptionSetting: Copies=97"
459+*Copies 98/98: "%% FoomaticRIPOptionSetting: Copies=98"
460+*Copies 99/99: "%% FoomaticRIPOptionSetting: Copies=99"
461+*Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100"
462+*CloseUI: *Copies
463+
464+*CloseGroup: General
465+
466+*OpenGroup: Adjustment/Adjustment
467+
468+*OpenUI *halftone/Halftone Algorithm: PickOne
469+*FoomaticRIPOption halftone: enum CmdLine A
470+*OrderDependency: 110 AnySetup *halftone
471+*Defaulthalftone: default
472+*halftone default/Default: "%% FoomaticRIPOptionSetting: halftone=default"
473+*FoomaticRIPOptionSetting halftone=default: " "
474+*halftone as/Accurate Screens (better): "%% FoomaticRIPOptionSetting: halftone=as"
475+*FoomaticRIPOptionSetting halftone=as: " -qas "
476+*halftone standard/Standard: "%% FoomaticRIPOptionSetting: halftone=standard"
477+*FoomaticRIPOptionSetting halftone=standard: " -q1 "
478+*halftone wts/Well Tempered Screens (best): "%% FoomaticRIPOptionSetting: halftone=wts"
479+*FoomaticRIPOptionSetting halftone=wts: " -qwts "
480+*CloseUI: *halftone
481+
482+*OpenUI *ICM/ICM Color Profile: PickOne
483+*FoomaticRIPOption ICM: enum CmdLine A
484+*OrderDependency: 300 AnySetup *ICM
485+*DefaultICM: none
486+*ICM none/No ICM color correction: "%% FoomaticRIPOptionSetting: ICM=none"
487+*FoomaticRIPOptionSetting ICM=none: "-C10 -Gnone.icm "
488+*ICM testing/File testing.icm: "%% FoomaticRIPOptionSetting: ICM=testing"
489+*FoomaticRIPOptionSetting ICM=testing: "-C10 -Gtesting.icm "
490+*ICM testing2/File testing2.icm: "%% FoomaticRIPOptionSetting: ICM=testing2"
491+*FoomaticRIPOptionSetting ICM=testing2: "-C10 -Gtesting2.icm "
492+*ICM testing3/File testing3.icm: "%% FoomaticRIPOptionSetting: ICM=testing3"
493+*FoomaticRIPOptionSetting ICM=testing3: "-C10 -Gtesting3.icm "
494+*CloseUI: *ICM
495+
496+*CloseGroup: Adjustment
497+
498+*OpenGroup: Miscellaneous/Miscellaneous
499+
500+*OpenUI *NupOrient/N-up Orientation: PickOne
501+*FoomaticRIPOption NupOrient: enum CmdLine A
502+*OrderDependency: 200 AnySetup *NupOrient
503+*DefaultNupOrient: port
504+*NupOrient land/Landscape: "%% FoomaticRIPOptionSetting: NupOrient=land"
505+*FoomaticRIPOptionSetting NupOrient=land: "-ol "
506+*NupOrient port/Portrait: "%% FoomaticRIPOptionSetting: NupOrient=port"
507+*FoomaticRIPOptionSetting NupOrient=port: " "
508+*NupOrient sea/Seascape: "%% FoomaticRIPOptionSetting: NupOrient=sea"
509+*FoomaticRIPOptionSetting NupOrient=sea: "-os "
510+*CloseUI: *NupOrient
511+
512+*OpenUI *NupPages/N-up Printing: PickOne
513+*FoomaticRIPOption NupPages: enum CmdLine A
514+*OrderDependency: 200 AnySetup *NupPages
515+*DefaultNupPages: 1up
516+*NupPages 1up/1-up: "%% FoomaticRIPOptionSetting: NupPages=1up"
517+*FoomaticRIPOptionSetting NupPages=1up: " "
518+*NupPages 2up/2-up: "%% FoomaticRIPOptionSetting: NupPages=2up"
519+*FoomaticRIPOptionSetting NupPages=2up: "-2 "
520+*NupPages 3up/3-up: "%% FoomaticRIPOptionSetting: NupPages=3up"
521+*FoomaticRIPOptionSetting NupPages=3up: "-3 "
522+*NupPages 4up/4-up: "%% FoomaticRIPOptionSetting: NupPages=4up"
523+*FoomaticRIPOptionSetting NupPages=4up: "-4 "
524+*NupPages 6up/6-up: "%% FoomaticRIPOptionSetting: NupPages=6up"
525+*FoomaticRIPOptionSetting NupPages=6up: "-6 "
526+*NupPages 8up/8-up: "%% FoomaticRIPOptionSetting: NupPages=8up"
527+*FoomaticRIPOptionSetting NupPages=8up: "-8 "
528+*NupPages 10up/10-up: "%% FoomaticRIPOptionSetting: NupPages=10up"
529+*FoomaticRIPOptionSetting NupPages=10up: "-10 "
530+*NupPages 12up/12-up: "%% FoomaticRIPOptionSetting: NupPages=12up"
531+*FoomaticRIPOptionSetting NupPages=12up: "-12 "
532+*NupPages 14up/14-up: "%% FoomaticRIPOptionSetting: NupPages=14up"
533+*FoomaticRIPOptionSetting NupPages=14up: "-14 "
534+*NupPages 15up/15-up: "%% FoomaticRIPOptionSetting: NupPages=15up"
535+*FoomaticRIPOptionSetting NupPages=15up: "-15 "
536+*NupPages 16up/16-up: "%% FoomaticRIPOptionSetting: NupPages=16up"
537+*FoomaticRIPOptionSetting NupPages=16up: "-16 "
538+*NupPages 18up/18-up: "%% FoomaticRIPOptionSetting: NupPages=18up"
539+*FoomaticRIPOptionSetting NupPages=18up: "-18 "
540+*CloseUI: *NupPages
541+
542+*CloseGroup: Miscellaneous
543+
544+
545+*% Generic boilerplate PPD stuff as standard PostScript fonts and so on
546+
547+*DefaultFont: Courier
548+*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
549+*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
550+*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
551+*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
552+*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
553+*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
554+*Font Bookman-Light: Standard "(001.004S)" Standard ROM
555+*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
556+*Font Courier: Standard "(002.004S)" Standard ROM
557+*Font Courier-Bold: Standard "(002.004S)" Standard ROM
558+*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
559+*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
560+*Font Helvetica: Standard "(001.006S)" Standard ROM
561+*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
562+*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
563+*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
564+*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
565+*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
566+*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
567+*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
568+*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
569+*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
570+*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
571+*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
572+*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
573+*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
574+*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
575+*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
576+*Font Symbol: Special "(001.007S)" Special ROM
577+*Font Times-Bold: Standard "(001.007S)" Standard ROM
578+*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
579+*Font Times-Italic: Standard "(001.007S)" Standard ROM
580+*Font Times-Roman: Standard "(001.007S)" Standard ROM
581+*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
582+*Font ZapfDingbats: Special "(001.004S)" Standard ROM
583+
584--- foo2zjs/PPD/Dell-C1660.ppd 1970-01-01 00:00:00.000000000 +0000
585+++ foo2zjs/PPD/Dell-C1660.ppd 2014-04-01 11:06:30.000000000 +0000
586@@ -0,0 +1,433 @@
587+*PPD-Adobe: "4.3"
588+*%
589+*% For information on using this, and to obtain the required backend
590+*% script, consult http://www.openprinting.org/
591+*%
592+*% This file is published under the GNU General Public License
593+*%
594+*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with
595+*% all programs and environments which use PPD files for dealing with
596+*% printer capability information. The printer must be configured with the
597+*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This
598+*% file and "foomatic-rip" work together to support PPD-controlled printer
599+*% driver option access with arbitrary free software printer drivers and
600+*% printing spoolers.
601+*%
602+*% To save this file on your disk, wait until the download has completed
603+*% (the animation of the browser logo must stop) and then use the
604+*% "Save as..." command in the "File" menu of your browser or in the
605+*% pop-up manu when you click on this document with the right mouse button.
606+*% DO NOT cut and paste this file into an editor with your mouse. This can
607+*% introduce additional line breaks which lead to unexpected results.
608+*%
609+*% You may save this file as 'Dell-C1660-foo2hbpl1.ppd'
610+*%
611+*%
612+*FormatVersion: "4.3"
613+*FileVersion: "1.1"
614+*LanguageVersion: English
615+*LanguageEncoding: ISOLatin1
616+*PCFileName: "FOO2HBPL.PPD"
617+*Manufacturer: "Dell"
618+*Product: "(C1660)"
619+*cupsVersion: 1.0
620+*cupsManualCopies: True
621+*cupsModelNumber: 2
622+*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
623+*%pprRIP: foomatic-rip other
624+*ModelName: "Dell C1660"
625+*ShortNickName: "Dell C1660 foo2hbpl1"
626+*NickName: "Dell C1660 Foomatic/foo2hbpl1 (recommended)"
627+*PSVersion: "(3010.000) 550"
628+*PSVersion: "(3010.000) 651"
629+*PSVersion: "(3010.000) 652"
630+*PSVersion: "(3010.000) 653"
631+*PSVersion: "(3010.000) 704"
632+*PSVersion: "(3010.000) 705"
633+*PSVersion: "(3010.000) 800"
634+*LanguageLevel: "3"
635+*ColorDevice: True
636+*DefaultColorSpace: RGB
637+*FileSystem: False
638+*Throughput: "1"
639+*LandscapeOrientation: Plus90
640+*TTRasterizer: Type42
641+*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;"
642+
643+*driverName foo2hbpl1/foo2hbpl1: ""
644+*driverType F/Filter: ""
645+*driverUrl: "http://foo2hbpl.rkkda.com/"
646+*driverObsolete: False
647+
648+
649+
650+
651+*HWMargins: 9 12.00 9 12
652+*VariablePaperSize: True
653+*MaxMediaWidth: 100000
654+*MaxMediaHeight: 100000
655+*NonUIOrderDependency: 135 AnySetup *CustomPageSize
656+*CustomPageSize True: "pop pop pop pop pop
657+%% FoomaticRIPOptionSetting: PageSize=Custom"
658+*End
659+*FoomaticRIPOptionSetting PageSize=Custom: "-pCustom.%0x%1 "
660+*ParamCustomPageSize Width: 1 points 36 100000
661+*ParamCustomPageSize Height: 2 points 36 100000
662+*ParamCustomPageSize Orientation: 3 int 0 0
663+*ParamCustomPageSize WidthOffset: 4 points 0 0
664+*ParamCustomPageSize HeightOffset: 5 points 0 0
665+
666+*FoomaticIDs: Dell-C1660 foo2hbpl1
667+*FoomaticRIPCommandLine: "foo2hbpl1-wrapper %A"
668+
669+*OpenGroup: General/General
670+
671+*OpenUI *Quality/Printing Quality: PickOne
672+*FoomaticRIPOption Quality: enum CmdLine A
673+*OrderDependency: 110 AnySetup *Quality
674+*DefaultQuality: normal
675+*Quality draft/Draft: "%% FoomaticRIPOptionSetting: Quality=draft"
676+*FoomaticRIPOptionSetting Quality=draft: " -t "
677+*Quality normal/Normal: "%% FoomaticRIPOptionSetting: Quality=normal"
678+*FoomaticRIPOptionSetting Quality=normal: " "
679+*CloseUI: *Quality
680+
681+*OpenUI *ColorMode/Color Mode: PickOne
682+*FoomaticRIPOption ColorMode: enum CmdLine A
683+*OrderDependency: 120 AnySetup *ColorMode
684+*DefaultColorMode: Monochrome
685+*ColorMode Color/Color: "%% FoomaticRIPOptionSetting: ColorMode=Color"
686+*FoomaticRIPOptionSetting ColorMode=Color: "-c "
687+*ColorMode Monochrome/Monochrome: "%% FoomaticRIPOptionSetting: ColorMode=Monochrome"
688+*FoomaticRIPOptionSetting ColorMode=Monochrome: " "
689+*CloseUI: *ColorMode
690+
691+*OpenUI *PageSize/Page Size: PickOne
692+*FoomaticRIPOption PageSize: enum CmdLine A
693+*OrderDependency: 135 AnySetup *PageSize
694+*DefaultPageSize: Letter
695+*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
696+*FoomaticRIPOptionSetting PageSize=Letter: "-p4 "
697+*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
698+*FoomaticRIPOptionSetting PageSize=A4: "-p1 "
699+*PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis"
700+*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 "
701+*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10"
702+*FoomaticRIPOptionSetting PageSize=Env10: "-p9 "
703+*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5"
704+*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 "
705+*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL"
706+*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 "
707+*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch"
708+*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 "
709+*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive"
710+*FoomaticRIPOptionSetting PageSize=Executive: "-p5 "
711+*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal"
712+*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 "
713+*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio"
714+*FoomaticRIPOptionSetting PageSize=Folio: "-p6 "
715+*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
716+*FoomaticRIPOptionSetting PageSize=Legal: "-p7 "
717+*CloseUI: *PageSize
718+
719+*OpenUI *PageRegion: PickOne
720+*OrderDependency: 135 AnySetup *PageRegion
721+*DefaultPageRegion: Letter
722+*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
723+*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
724+*PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis"
725+*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10"
726+*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5"
727+*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL"
728+*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch"
729+*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive"
730+*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal"
731+*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio"
732+*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
733+*CloseUI: *PageRegion
734+
735+*DefaultImageableArea: Letter
736+*ImageableArea Letter/Letter: "9 12.00 603 780.00"
737+*ImageableArea A4/A4: "9 12.00 586 830.00"
738+*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00"
739+*ImageableArea Env10/Env #10: "9 12.00 288 672.00"
740+*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00"
741+*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00"
742+*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00"
743+*ImageableArea Executive/Executive: "9 12.00 513 744.00"
744+*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00"
745+*ImageableArea Folio/Folio: "9 12.00 603 924.00"
746+*ImageableArea Legal/Legal: "9 12.00 603 996.00"
747+
748+*DefaultPaperDimension: Letter
749+*PaperDimension Letter/Letter: "612 792"
750+*PaperDimension A4/A4: "595 842"
751+*PaperDimension B5jis/B5 (JIS): "518 727"
752+*PaperDimension Env10/Env #10: "297 684"
753+*PaperDimension EnvC5/Env C5: "459 649"
754+*PaperDimension EnvDL/Env DL: "311 623"
755+*PaperDimension EnvMonarch/Env Monarch: "279 540"
756+*PaperDimension Executive/Executive: "522 756"
757+*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008"
758+*PaperDimension Folio/Folio: "612 936"
759+*PaperDimension Legal/Legal: "612 1008"
760+
761+*OpenUI *MediaType/Media Type: PickOne
762+*FoomaticRIPOption MediaType: enum CmdLine A
763+*OrderDependency: 150 AnySetup *MediaType
764+*DefaultMediaType: plain
765+*MediaType plain/Plain Paper: "%% FoomaticRIPOptionSetting: MediaType=plain"
766+*FoomaticRIPOptionSetting MediaType=plain: "-m1 "
767+*MediaType plain2/Plain Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=plain2"
768+*FoomaticRIPOptionSetting MediaType=plain2: "-m8 "
769+*MediaType bond/Bond: "%% FoomaticRIPOptionSetting: MediaType=bond"
770+*FoomaticRIPOptionSetting MediaType=bond: "-m2 "
771+*MediaType bond2/Bond Side 2: "%% FoomaticRIPOptionSetting: MediaType=bond2"
772+*FoomaticRIPOptionSetting MediaType=bond2: "-m9 "
773+*MediaType envelope/Envelope: "%% FoomaticRIPOptionSetting: MediaType=envelope"
774+*FoomaticRIPOptionSetting MediaType=envelope: "-m6 "
775+*MediaType labels/Labels: "%% FoomaticRIPOptionSetting: MediaType=labels"
776+*FoomaticRIPOptionSetting MediaType=labels: "-m5 "
777+*MediaType lwcard/Light Weight Card: "%% FoomaticRIPOptionSetting: MediaType=lwcard"
778+*FoomaticRIPOptionSetting MediaType=lwcard: "-m3 "
779+*MediaType lwcard2/Light Weight Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwcard2"
780+*FoomaticRIPOptionSetting MediaType=lwcard2: "-m10 "
781+*MediaType lwgcard/Light Weight Glossy Card: "%% FoomaticRIPOptionSetting: MediaType=lwgcard"
782+*FoomaticRIPOptionSetting MediaType=lwgcard: "-m4 "
783+*MediaType lwgcard2/Light Weight Glossy Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwgcard2"
784+*FoomaticRIPOptionSetting MediaType=lwgcard2: "-m11 "
785+*MediaType recycled/Recycled Paper: "%% FoomaticRIPOptionSetting: MediaType=recycled"
786+*FoomaticRIPOptionSetting MediaType=recycled: "-m7 "
787+*MediaType recycled2/Recycled Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=recycled2"
788+*FoomaticRIPOptionSetting MediaType=recycled2: "-m12 "
789+*CloseUI: *MediaType
790+
791+*OpenUI *Copies/Copies: PickOne
792+*FoomaticRIPOption Copies: int CmdLine A
793+*FoomaticRIPOptionPrototype Copies: "-n%s "
794+*FoomaticRIPOptionRange Copies: 1 100
795+*OrderDependency: 220 AnySetup *Copies
796+*DefaultCopies: 1
797+*FoomaticRIPDefaultCopies: 1
798+*Copies 1/1: "%% FoomaticRIPOptionSetting: Copies=1"
799+*Copies 2/2: "%% FoomaticRIPOptionSetting: Copies=2"
800+*Copies 3/3: "%% FoomaticRIPOptionSetting: Copies=3"
801+*Copies 4/4: "%% FoomaticRIPOptionSetting: Copies=4"
802+*Copies 5/5: "%% FoomaticRIPOptionSetting: Copies=5"
803+*Copies 6/6: "%% FoomaticRIPOptionSetting: Copies=6"
804+*Copies 7/7: "%% FoomaticRIPOptionSetting: Copies=7"
805+*Copies 8/8: "%% FoomaticRIPOptionSetting: Copies=8"
806+*Copies 9/9: "%% FoomaticRIPOptionSetting: Copies=9"
807+*Copies 10/10: "%% FoomaticRIPOptionSetting: Copies=10"
808+*Copies 11/11: "%% FoomaticRIPOptionSetting: Copies=11"
809+*Copies 12/12: "%% FoomaticRIPOptionSetting: Copies=12"
810+*Copies 13/13: "%% FoomaticRIPOptionSetting: Copies=13"
811+*Copies 14/14: "%% FoomaticRIPOptionSetting: Copies=14"
812+*Copies 15/15: "%% FoomaticRIPOptionSetting: Copies=15"
813+*Copies 16/16: "%% FoomaticRIPOptionSetting: Copies=16"
814+*Copies 17/17: "%% FoomaticRIPOptionSetting: Copies=17"
815+*Copies 18/18: "%% FoomaticRIPOptionSetting: Copies=18"
816+*Copies 19/19: "%% FoomaticRIPOptionSetting: Copies=19"
817+*Copies 20/20: "%% FoomaticRIPOptionSetting: Copies=20"
818+*Copies 21/21: "%% FoomaticRIPOptionSetting: Copies=21"
819+*Copies 22/22: "%% FoomaticRIPOptionSetting: Copies=22"
820+*Copies 23/23: "%% FoomaticRIPOptionSetting: Copies=23"
821+*Copies 24/24: "%% FoomaticRIPOptionSetting: Copies=24"
822+*Copies 25/25: "%% FoomaticRIPOptionSetting: Copies=25"
823+*Copies 26/26: "%% FoomaticRIPOptionSetting: Copies=26"
824+*Copies 27/27: "%% FoomaticRIPOptionSetting: Copies=27"
825+*Copies 28/28: "%% FoomaticRIPOptionSetting: Copies=28"
826+*Copies 29/29: "%% FoomaticRIPOptionSetting: Copies=29"
827+*Copies 30/30: "%% FoomaticRIPOptionSetting: Copies=30"
828+*Copies 31/31: "%% FoomaticRIPOptionSetting: Copies=31"
829+*Copies 32/32: "%% FoomaticRIPOptionSetting: Copies=32"
830+*Copies 33/33: "%% FoomaticRIPOptionSetting: Copies=33"
831+*Copies 34/34: "%% FoomaticRIPOptionSetting: Copies=34"
832+*Copies 35/35: "%% FoomaticRIPOptionSetting: Copies=35"
833+*Copies 36/36: "%% FoomaticRIPOptionSetting: Copies=36"
834+*Copies 37/37: "%% FoomaticRIPOptionSetting: Copies=37"
835+*Copies 38/38: "%% FoomaticRIPOptionSetting: Copies=38"
836+*Copies 39/39: "%% FoomaticRIPOptionSetting: Copies=39"
837+*Copies 40/40: "%% FoomaticRIPOptionSetting: Copies=40"
838+*Copies 41/41: "%% FoomaticRIPOptionSetting: Copies=41"
839+*Copies 42/42: "%% FoomaticRIPOptionSetting: Copies=42"
840+*Copies 43/43: "%% FoomaticRIPOptionSetting: Copies=43"
841+*Copies 44/44: "%% FoomaticRIPOptionSetting: Copies=44"
842+*Copies 45/45: "%% FoomaticRIPOptionSetting: Copies=45"
843+*Copies 46/46: "%% FoomaticRIPOptionSetting: Copies=46"
844+*Copies 47/47: "%% FoomaticRIPOptionSetting: Copies=47"
845+*Copies 48/48: "%% FoomaticRIPOptionSetting: Copies=48"
846+*Copies 49/49: "%% FoomaticRIPOptionSetting: Copies=49"
847+*Copies 50/50: "%% FoomaticRIPOptionSetting: Copies=50"
848+*Copies 51/51: "%% FoomaticRIPOptionSetting: Copies=51"
849+*Copies 52/52: "%% FoomaticRIPOptionSetting: Copies=52"
850+*Copies 53/53: "%% FoomaticRIPOptionSetting: Copies=53"
851+*Copies 54/54: "%% FoomaticRIPOptionSetting: Copies=54"
852+*Copies 55/55: "%% FoomaticRIPOptionSetting: Copies=55"
853+*Copies 56/56: "%% FoomaticRIPOptionSetting: Copies=56"
854+*Copies 57/57: "%% FoomaticRIPOptionSetting: Copies=57"
855+*Copies 58/58: "%% FoomaticRIPOptionSetting: Copies=58"
856+*Copies 59/59: "%% FoomaticRIPOptionSetting: Copies=59"
857+*Copies 60/60: "%% FoomaticRIPOptionSetting: Copies=60"
858+*Copies 61/61: "%% FoomaticRIPOptionSetting: Copies=61"
859+*Copies 62/62: "%% FoomaticRIPOptionSetting: Copies=62"
860+*Copies 63/63: "%% FoomaticRIPOptionSetting: Copies=63"
861+*Copies 64/64: "%% FoomaticRIPOptionSetting: Copies=64"
862+*Copies 65/65: "%% FoomaticRIPOptionSetting: Copies=65"
863+*Copies 66/66: "%% FoomaticRIPOptionSetting: Copies=66"
864+*Copies 67/67: "%% FoomaticRIPOptionSetting: Copies=67"
865+*Copies 68/68: "%% FoomaticRIPOptionSetting: Copies=68"
866+*Copies 69/69: "%% FoomaticRIPOptionSetting: Copies=69"
867+*Copies 70/70: "%% FoomaticRIPOptionSetting: Copies=70"
868+*Copies 71/71: "%% FoomaticRIPOptionSetting: Copies=71"
869+*Copies 72/72: "%% FoomaticRIPOptionSetting: Copies=72"
870+*Copies 73/73: "%% FoomaticRIPOptionSetting: Copies=73"
871+*Copies 74/74: "%% FoomaticRIPOptionSetting: Copies=74"
872+*Copies 75/75: "%% FoomaticRIPOptionSetting: Copies=75"
873+*Copies 76/76: "%% FoomaticRIPOptionSetting: Copies=76"
874+*Copies 77/77: "%% FoomaticRIPOptionSetting: Copies=77"
875+*Copies 78/78: "%% FoomaticRIPOptionSetting: Copies=78"
876+*Copies 79/79: "%% FoomaticRIPOptionSetting: Copies=79"
877+*Copies 80/80: "%% FoomaticRIPOptionSetting: Copies=80"
878+*Copies 81/81: "%% FoomaticRIPOptionSetting: Copies=81"
879+*Copies 82/82: "%% FoomaticRIPOptionSetting: Copies=82"
880+*Copies 83/83: "%% FoomaticRIPOptionSetting: Copies=83"
881+*Copies 84/84: "%% FoomaticRIPOptionSetting: Copies=84"
882+*Copies 85/85: "%% FoomaticRIPOptionSetting: Copies=85"
883+*Copies 86/86: "%% FoomaticRIPOptionSetting: Copies=86"
884+*Copies 87/87: "%% FoomaticRIPOptionSetting: Copies=87"
885+*Copies 88/88: "%% FoomaticRIPOptionSetting: Copies=88"
886+*Copies 89/89: "%% FoomaticRIPOptionSetting: Copies=89"
887+*Copies 90/90: "%% FoomaticRIPOptionSetting: Copies=90"
888+*Copies 91/91: "%% FoomaticRIPOptionSetting: Copies=91"
889+*Copies 92/92: "%% FoomaticRIPOptionSetting: Copies=92"
890+*Copies 93/93: "%% FoomaticRIPOptionSetting: Copies=93"
891+*Copies 94/94: "%% FoomaticRIPOptionSetting: Copies=94"
892+*Copies 95/95: "%% FoomaticRIPOptionSetting: Copies=95"
893+*Copies 96/96: "%% FoomaticRIPOptionSetting: Copies=96"
894+*Copies 97/97: "%% FoomaticRIPOptionSetting: Copies=97"
895+*Copies 98/98: "%% FoomaticRIPOptionSetting: Copies=98"
896+*Copies 99/99: "%% FoomaticRIPOptionSetting: Copies=99"
897+*Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100"
898+*CloseUI: *Copies
899+
900+*CloseGroup: General
901+
902+*OpenGroup: Adjustment/Adjustment
903+
904+*OpenUI *halftone/Halftone Algorithm: PickOne
905+*FoomaticRIPOption halftone: enum CmdLine A
906+*OrderDependency: 110 AnySetup *halftone
907+*Defaulthalftone: default
908+*halftone default/Default: "%% FoomaticRIPOptionSetting: halftone=default"
909+*FoomaticRIPOptionSetting halftone=default: " "
910+*halftone as/Accurate Screens (better): "%% FoomaticRIPOptionSetting: halftone=as"
911+*FoomaticRIPOptionSetting halftone=as: " -qas "
912+*halftone standard/Standard: "%% FoomaticRIPOptionSetting: halftone=standard"
913+*FoomaticRIPOptionSetting halftone=standard: " -q1 "
914+*halftone wts/Well Tempered Screens (best): "%% FoomaticRIPOptionSetting: halftone=wts"
915+*FoomaticRIPOptionSetting halftone=wts: " -qwts "
916+*CloseUI: *halftone
917+
918+*OpenUI *ICM/ICM Color Profile: PickOne
919+*FoomaticRIPOption ICM: enum CmdLine A
920+*OrderDependency: 300 AnySetup *ICM
921+*DefaultICM: none
922+*ICM none/No ICM color correction: "%% FoomaticRIPOptionSetting: ICM=none"
923+*FoomaticRIPOptionSetting ICM=none: "-C10 -Gnone.icm "
924+*ICM testing/File testing.icm: "%% FoomaticRIPOptionSetting: ICM=testing"
925+*FoomaticRIPOptionSetting ICM=testing: "-C10 -Gtesting.icm "
926+*ICM testing2/File testing2.icm: "%% FoomaticRIPOptionSetting: ICM=testing2"
927+*FoomaticRIPOptionSetting ICM=testing2: "-C10 -Gtesting2.icm "
928+*ICM testing3/File testing3.icm: "%% FoomaticRIPOptionSetting: ICM=testing3"
929+*FoomaticRIPOptionSetting ICM=testing3: "-C10 -Gtesting3.icm "
930+*CloseUI: *ICM
931+
932+*CloseGroup: Adjustment
933+
934+*OpenGroup: Miscellaneous/Miscellaneous
935+
936+*OpenUI *NupOrient/N-up Orientation: PickOne
937+*FoomaticRIPOption NupOrient: enum CmdLine A
938+*OrderDependency: 200 AnySetup *NupOrient
939+*DefaultNupOrient: port
940+*NupOrient land/Landscape: "%% FoomaticRIPOptionSetting: NupOrient=land"
941+*FoomaticRIPOptionSetting NupOrient=land: "-ol "
942+*NupOrient port/Portrait: "%% FoomaticRIPOptionSetting: NupOrient=port"
943+*FoomaticRIPOptionSetting NupOrient=port: " "
944+*NupOrient sea/Seascape: "%% FoomaticRIPOptionSetting: NupOrient=sea"
945+*FoomaticRIPOptionSetting NupOrient=sea: "-os "
946+*CloseUI: *NupOrient
947+
948+*OpenUI *NupPages/N-up Printing: PickOne
949+*FoomaticRIPOption NupPages: enum CmdLine A
950+*OrderDependency: 200 AnySetup *NupPages
951+*DefaultNupPages: 1up
952+*NupPages 1up/1-up: "%% FoomaticRIPOptionSetting: NupPages=1up"
953+*FoomaticRIPOptionSetting NupPages=1up: " "
954+*NupPages 2up/2-up: "%% FoomaticRIPOptionSetting: NupPages=2up"
955+*FoomaticRIPOptionSetting NupPages=2up: "-2 "
956+*NupPages 3up/3-up: "%% FoomaticRIPOptionSetting: NupPages=3up"
957+*FoomaticRIPOptionSetting NupPages=3up: "-3 "
958+*NupPages 4up/4-up: "%% FoomaticRIPOptionSetting: NupPages=4up"
959+*FoomaticRIPOptionSetting NupPages=4up: "-4 "
960+*NupPages 6up/6-up: "%% FoomaticRIPOptionSetting: NupPages=6up"
961+*FoomaticRIPOptionSetting NupPages=6up: "-6 "
962+*NupPages 8up/8-up: "%% FoomaticRIPOptionSetting: NupPages=8up"
963+*FoomaticRIPOptionSetting NupPages=8up: "-8 "
964+*NupPages 10up/10-up: "%% FoomaticRIPOptionSetting: NupPages=10up"
965+*FoomaticRIPOptionSetting NupPages=10up: "-10 "
966+*NupPages 12up/12-up: "%% FoomaticRIPOptionSetting: NupPages=12up"
967+*FoomaticRIPOptionSetting NupPages=12up: "-12 "
968+*NupPages 14up/14-up: "%% FoomaticRIPOptionSetting: NupPages=14up"
969+*FoomaticRIPOptionSetting NupPages=14up: "-14 "
970+*NupPages 15up/15-up: "%% FoomaticRIPOptionSetting: NupPages=15up"
971+*FoomaticRIPOptionSetting NupPages=15up: "-15 "
972+*NupPages 16up/16-up: "%% FoomaticRIPOptionSetting: NupPages=16up"
973+*FoomaticRIPOptionSetting NupPages=16up: "-16 "
974+*NupPages 18up/18-up: "%% FoomaticRIPOptionSetting: NupPages=18up"
975+*FoomaticRIPOptionSetting NupPages=18up: "-18 "
976+*CloseUI: *NupPages
977+
978+*CloseGroup: Miscellaneous
979+
980+
981+*% Generic boilerplate PPD stuff as standard PostScript fonts and so on
982+
983+*DefaultFont: Courier
984+*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
985+*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
986+*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
987+*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
988+*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
989+*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
990+*Font Bookman-Light: Standard "(001.004S)" Standard ROM
991+*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
992+*Font Courier: Standard "(002.004S)" Standard ROM
993+*Font Courier-Bold: Standard "(002.004S)" Standard ROM
994+*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
995+*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
996+*Font Helvetica: Standard "(001.006S)" Standard ROM
997+*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
998+*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
999+*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
1000+*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
1001+*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
1002+*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
1003+*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
1004+*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
1005+*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
1006+*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
1007+*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
1008+*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
1009+*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
1010+*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
1011+*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
1012+*Font Symbol: Special "(001.007S)" Special ROM
1013+*Font Times-Bold: Standard "(001.007S)" Standard ROM
1014+*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
1015+*Font Times-Italic: Standard "(001.007S)" Standard ROM
1016+*Font Times-Roman: Standard "(001.007S)" Standard ROM
1017+*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
1018+*Font ZapfDingbats: Special "(001.004S)" Standard ROM
1019+
1020--- foo2zjs/PPD/Dell-C1760.ppd 1970-01-01 00:00:00.000000000 +0000
1021+++ foo2zjs/PPD/Dell-C1760.ppd 2014-04-01 11:06:30.000000000 +0000
1022@@ -0,0 +1,433 @@
1023+*PPD-Adobe: "4.3"
1024+*%
1025+*% For information on using this, and to obtain the required backend
1026+*% script, consult http://www.openprinting.org/
1027+*%
1028+*% This file is published under the GNU General Public License
1029+*%
1030+*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with
1031+*% all programs and environments which use PPD files for dealing with
1032+*% printer capability information. The printer must be configured with the
1033+*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This
1034+*% file and "foomatic-rip" work together to support PPD-controlled printer
1035+*% driver option access with arbitrary free software printer drivers and
1036+*% printing spoolers.
1037+*%
1038+*% To save this file on your disk, wait until the download has completed
1039+*% (the animation of the browser logo must stop) and then use the
1040+*% "Save as..." command in the "File" menu of your browser or in the
1041+*% pop-up manu when you click on this document with the right mouse button.
1042+*% DO NOT cut and paste this file into an editor with your mouse. This can
1043+*% introduce additional line breaks which lead to unexpected results.
1044+*%
1045+*% You may save this file as 'Dell-C1760-foo2hbpl1.ppd'
1046+*%
1047+*%
1048+*FormatVersion: "4.3"
1049+*FileVersion: "1.1"
1050+*LanguageVersion: English
1051+*LanguageEncoding: ISOLatin1
1052+*PCFileName: "FOO2HBPL.PPD"
1053+*Manufacturer: "Dell"
1054+*Product: "(C1760)"
1055+*cupsVersion: 1.0
1056+*cupsManualCopies: True
1057+*cupsModelNumber: 2
1058+*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
1059+*%pprRIP: foomatic-rip other
1060+*ModelName: "Dell C1760"
1061+*ShortNickName: "Dell C1760 foo2hbpl1"
1062+*NickName: "Dell C1760 Foomatic/foo2hbpl1 (recommended)"
1063+*PSVersion: "(3010.000) 550"
1064+*PSVersion: "(3010.000) 651"
1065+*PSVersion: "(3010.000) 652"
1066+*PSVersion: "(3010.000) 653"
1067+*PSVersion: "(3010.000) 704"
1068+*PSVersion: "(3010.000) 705"
1069+*PSVersion: "(3010.000) 800"
1070+*LanguageLevel: "3"
1071+*ColorDevice: True
1072+*DefaultColorSpace: RGB
1073+*FileSystem: False
1074+*Throughput: "1"
1075+*LandscapeOrientation: Plus90
1076+*TTRasterizer: Type42
1077+*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;"
1078+
1079+*driverName foo2hbpl1/foo2hbpl1: ""
1080+*driverType F/Filter: ""
1081+*driverUrl: "http://foo2hbpl.rkkda.com/"
1082+*driverObsolete: False
1083+
1084+
1085+
1086+
1087+*HWMargins: 9 12.00 9 12
1088+*VariablePaperSize: True
1089+*MaxMediaWidth: 100000
1090+*MaxMediaHeight: 100000
1091+*NonUIOrderDependency: 135 AnySetup *CustomPageSize
1092+*CustomPageSize True: "pop pop pop pop pop
1093+%% FoomaticRIPOptionSetting: PageSize=Custom"
1094+*End
1095+*FoomaticRIPOptionSetting PageSize=Custom: "-pCustom.%0x%1 "
1096+*ParamCustomPageSize Width: 1 points 36 100000
1097+*ParamCustomPageSize Height: 2 points 36 100000
1098+*ParamCustomPageSize Orientation: 3 int 0 0
1099+*ParamCustomPageSize WidthOffset: 4 points 0 0
1100+*ParamCustomPageSize HeightOffset: 5 points 0 0
1101+
1102+*FoomaticIDs: Dell-C1760 foo2hbpl1
1103+*FoomaticRIPCommandLine: "foo2hbpl1-wrapper %A"
1104+
1105+*OpenGroup: General/General
1106+
1107+*OpenUI *Quality/Printing Quality: PickOne
1108+*FoomaticRIPOption Quality: enum CmdLine A
1109+*OrderDependency: 110 AnySetup *Quality
1110+*DefaultQuality: normal
1111+*Quality draft/Draft: "%% FoomaticRIPOptionSetting: Quality=draft"
1112+*FoomaticRIPOptionSetting Quality=draft: " -t "
1113+*Quality normal/Normal: "%% FoomaticRIPOptionSetting: Quality=normal"
1114+*FoomaticRIPOptionSetting Quality=normal: " "
1115+*CloseUI: *Quality
1116+
1117+*OpenUI *ColorMode/Color Mode: PickOne
1118+*FoomaticRIPOption ColorMode: enum CmdLine A
1119+*OrderDependency: 120 AnySetup *ColorMode
1120+*DefaultColorMode: Monochrome
1121+*ColorMode Color/Color: "%% FoomaticRIPOptionSetting: ColorMode=Color"
1122+*FoomaticRIPOptionSetting ColorMode=Color: "-c "
1123+*ColorMode Monochrome/Monochrome: "%% FoomaticRIPOptionSetting: ColorMode=Monochrome"
1124+*FoomaticRIPOptionSetting ColorMode=Monochrome: " "
1125+*CloseUI: *ColorMode
1126+
1127+*OpenUI *PageSize/Page Size: PickOne
1128+*FoomaticRIPOption PageSize: enum CmdLine A
1129+*OrderDependency: 135 AnySetup *PageSize
1130+*DefaultPageSize: Letter
1131+*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
1132+*FoomaticRIPOptionSetting PageSize=Letter: "-p4 "
1133+*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
1134+*FoomaticRIPOptionSetting PageSize=A4: "-p1 "
1135+*PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis"
1136+*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 "
1137+*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10"
1138+*FoomaticRIPOptionSetting PageSize=Env10: "-p9 "
1139+*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5"
1140+*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 "
1141+*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL"
1142+*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 "
1143+*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch"
1144+*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 "
1145+*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive"
1146+*FoomaticRIPOptionSetting PageSize=Executive: "-p5 "
1147+*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal"
1148+*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 "
1149+*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio"
1150+*FoomaticRIPOptionSetting PageSize=Folio: "-p6 "
1151+*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
1152+*FoomaticRIPOptionSetting PageSize=Legal: "-p7 "
1153+*CloseUI: *PageSize
1154+
1155+*OpenUI *PageRegion: PickOne
1156+*OrderDependency: 135 AnySetup *PageRegion
1157+*DefaultPageRegion: Letter
1158+*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
1159+*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
1160+*PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis"
1161+*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10"
1162+*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5"
1163+*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL"
1164+*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch"
1165+*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive"
1166+*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal"
1167+*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio"
1168+*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
1169+*CloseUI: *PageRegion
1170+
1171+*DefaultImageableArea: Letter
1172+*ImageableArea Letter/Letter: "9 12.00 603 780.00"
1173+*ImageableArea A4/A4: "9 12.00 586 830.00"
1174+*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00"
1175+*ImageableArea Env10/Env #10: "9 12.00 288 672.00"
1176+*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00"
1177+*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00"
1178+*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00"
1179+*ImageableArea Executive/Executive: "9 12.00 513 744.00"
1180+*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00"
1181+*ImageableArea Folio/Folio: "9 12.00 603 924.00"
1182+*ImageableArea Legal/Legal: "9 12.00 603 996.00"
1183+
1184+*DefaultPaperDimension: Letter
1185+*PaperDimension Letter/Letter: "612 792"
1186+*PaperDimension A4/A4: "595 842"
1187+*PaperDimension B5jis/B5 (JIS): "518 727"
1188+*PaperDimension Env10/Env #10: "297 684"
1189+*PaperDimension EnvC5/Env C5: "459 649"
1190+*PaperDimension EnvDL/Env DL: "311 623"
1191+*PaperDimension EnvMonarch/Env Monarch: "279 540"
1192+*PaperDimension Executive/Executive: "522 756"
1193+*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008"
1194+*PaperDimension Folio/Folio: "612 936"
1195+*PaperDimension Legal/Legal: "612 1008"
1196+
1197+*OpenUI *MediaType/Media Type: PickOne
1198+*FoomaticRIPOption MediaType: enum CmdLine A
1199+*OrderDependency: 150 AnySetup *MediaType
1200+*DefaultMediaType: plain
1201+*MediaType plain/Plain Paper: "%% FoomaticRIPOptionSetting: MediaType=plain"
1202+*FoomaticRIPOptionSetting MediaType=plain: "-m1 "
1203+*MediaType plain2/Plain Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=plain2"
1204+*FoomaticRIPOptionSetting MediaType=plain2: "-m8 "
1205+*MediaType bond/Bond: "%% FoomaticRIPOptionSetting: MediaType=bond"
1206+*FoomaticRIPOptionSetting MediaType=bond: "-m2 "
1207+*MediaType bond2/Bond Side 2: "%% FoomaticRIPOptionSetting: MediaType=bond2"
1208+*FoomaticRIPOptionSetting MediaType=bond2: "-m9 "
1209+*MediaType envelope/Envelope: "%% FoomaticRIPOptionSetting: MediaType=envelope"
1210+*FoomaticRIPOptionSetting MediaType=envelope: "-m6 "
1211+*MediaType labels/Labels: "%% FoomaticRIPOptionSetting: MediaType=labels"
1212+*FoomaticRIPOptionSetting MediaType=labels: "-m5 "
1213+*MediaType lwcard/Light Weight Card: "%% FoomaticRIPOptionSetting: MediaType=lwcard"
1214+*FoomaticRIPOptionSetting MediaType=lwcard: "-m3 "
1215+*MediaType lwcard2/Light Weight Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwcard2"
1216+*FoomaticRIPOptionSetting MediaType=lwcard2: "-m10 "
1217+*MediaType lwgcard/Light Weight Glossy Card: "%% FoomaticRIPOptionSetting: MediaType=lwgcard"
1218+*FoomaticRIPOptionSetting MediaType=lwgcard: "-m4 "
1219+*MediaType lwgcard2/Light Weight Glossy Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwgcard2"
1220+*FoomaticRIPOptionSetting MediaType=lwgcard2: "-m11 "
1221+*MediaType recycled/Recycled Paper: "%% FoomaticRIPOptionSetting: MediaType=recycled"
1222+*FoomaticRIPOptionSetting MediaType=recycled: "-m7 "
1223+*MediaType recycled2/Recycled Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=recycled2"
1224+*FoomaticRIPOptionSetting MediaType=recycled2: "-m12 "
1225+*CloseUI: *MediaType
1226+
1227+*OpenUI *Copies/Copies: PickOne
1228+*FoomaticRIPOption Copies: int CmdLine A
1229+*FoomaticRIPOptionPrototype Copies: "-n%s "
1230+*FoomaticRIPOptionRange Copies: 1 100
1231+*OrderDependency: 220 AnySetup *Copies
1232+*DefaultCopies: 1
1233+*FoomaticRIPDefaultCopies: 1
1234+*Copies 1/1: "%% FoomaticRIPOptionSetting: Copies=1"
1235+*Copies 2/2: "%% FoomaticRIPOptionSetting: Copies=2"
1236+*Copies 3/3: "%% FoomaticRIPOptionSetting: Copies=3"
1237+*Copies 4/4: "%% FoomaticRIPOptionSetting: Copies=4"
1238+*Copies 5/5: "%% FoomaticRIPOptionSetting: Copies=5"
1239+*Copies 6/6: "%% FoomaticRIPOptionSetting: Copies=6"
1240+*Copies 7/7: "%% FoomaticRIPOptionSetting: Copies=7"
1241+*Copies 8/8: "%% FoomaticRIPOptionSetting: Copies=8"
1242+*Copies 9/9: "%% FoomaticRIPOptionSetting: Copies=9"
1243+*Copies 10/10: "%% FoomaticRIPOptionSetting: Copies=10"
1244+*Copies 11/11: "%% FoomaticRIPOptionSetting: Copies=11"
1245+*Copies 12/12: "%% FoomaticRIPOptionSetting: Copies=12"
1246+*Copies 13/13: "%% FoomaticRIPOptionSetting: Copies=13"
1247+*Copies 14/14: "%% FoomaticRIPOptionSetting: Copies=14"
1248+*Copies 15/15: "%% FoomaticRIPOptionSetting: Copies=15"
1249+*Copies 16/16: "%% FoomaticRIPOptionSetting: Copies=16"
1250+*Copies 17/17: "%% FoomaticRIPOptionSetting: Copies=17"
1251+*Copies 18/18: "%% FoomaticRIPOptionSetting: Copies=18"
1252+*Copies 19/19: "%% FoomaticRIPOptionSetting: Copies=19"
1253+*Copies 20/20: "%% FoomaticRIPOptionSetting: Copies=20"
1254+*Copies 21/21: "%% FoomaticRIPOptionSetting: Copies=21"
1255+*Copies 22/22: "%% FoomaticRIPOptionSetting: Copies=22"
1256+*Copies 23/23: "%% FoomaticRIPOptionSetting: Copies=23"
1257+*Copies 24/24: "%% FoomaticRIPOptionSetting: Copies=24"
1258+*Copies 25/25: "%% FoomaticRIPOptionSetting: Copies=25"
1259+*Copies 26/26: "%% FoomaticRIPOptionSetting: Copies=26"
1260+*Copies 27/27: "%% FoomaticRIPOptionSetting: Copies=27"
1261+*Copies 28/28: "%% FoomaticRIPOptionSetting: Copies=28"
1262+*Copies 29/29: "%% FoomaticRIPOptionSetting: Copies=29"
1263+*Copies 30/30: "%% FoomaticRIPOptionSetting: Copies=30"
1264+*Copies 31/31: "%% FoomaticRIPOptionSetting: Copies=31"
1265+*Copies 32/32: "%% FoomaticRIPOptionSetting: Copies=32"
1266+*Copies 33/33: "%% FoomaticRIPOptionSetting: Copies=33"
1267+*Copies 34/34: "%% FoomaticRIPOptionSetting: Copies=34"
1268+*Copies 35/35: "%% FoomaticRIPOptionSetting: Copies=35"
1269+*Copies 36/36: "%% FoomaticRIPOptionSetting: Copies=36"
1270+*Copies 37/37: "%% FoomaticRIPOptionSetting: Copies=37"
1271+*Copies 38/38: "%% FoomaticRIPOptionSetting: Copies=38"
1272+*Copies 39/39: "%% FoomaticRIPOptionSetting: Copies=39"
1273+*Copies 40/40: "%% FoomaticRIPOptionSetting: Copies=40"
1274+*Copies 41/41: "%% FoomaticRIPOptionSetting: Copies=41"
1275+*Copies 42/42: "%% FoomaticRIPOptionSetting: Copies=42"
1276+*Copies 43/43: "%% FoomaticRIPOptionSetting: Copies=43"
1277+*Copies 44/44: "%% FoomaticRIPOptionSetting: Copies=44"
1278+*Copies 45/45: "%% FoomaticRIPOptionSetting: Copies=45"
1279+*Copies 46/46: "%% FoomaticRIPOptionSetting: Copies=46"
1280+*Copies 47/47: "%% FoomaticRIPOptionSetting: Copies=47"
1281+*Copies 48/48: "%% FoomaticRIPOptionSetting: Copies=48"
1282+*Copies 49/49: "%% FoomaticRIPOptionSetting: Copies=49"
1283+*Copies 50/50: "%% FoomaticRIPOptionSetting: Copies=50"
1284+*Copies 51/51: "%% FoomaticRIPOptionSetting: Copies=51"
1285+*Copies 52/52: "%% FoomaticRIPOptionSetting: Copies=52"
1286+*Copies 53/53: "%% FoomaticRIPOptionSetting: Copies=53"
1287+*Copies 54/54: "%% FoomaticRIPOptionSetting: Copies=54"
1288+*Copies 55/55: "%% FoomaticRIPOptionSetting: Copies=55"
1289+*Copies 56/56: "%% FoomaticRIPOptionSetting: Copies=56"
1290+*Copies 57/57: "%% FoomaticRIPOptionSetting: Copies=57"
1291+*Copies 58/58: "%% FoomaticRIPOptionSetting: Copies=58"
1292+*Copies 59/59: "%% FoomaticRIPOptionSetting: Copies=59"
1293+*Copies 60/60: "%% FoomaticRIPOptionSetting: Copies=60"
1294+*Copies 61/61: "%% FoomaticRIPOptionSetting: Copies=61"
1295+*Copies 62/62: "%% FoomaticRIPOptionSetting: Copies=62"
1296+*Copies 63/63: "%% FoomaticRIPOptionSetting: Copies=63"
1297+*Copies 64/64: "%% FoomaticRIPOptionSetting: Copies=64"
1298+*Copies 65/65: "%% FoomaticRIPOptionSetting: Copies=65"
1299+*Copies 66/66: "%% FoomaticRIPOptionSetting: Copies=66"
1300+*Copies 67/67: "%% FoomaticRIPOptionSetting: Copies=67"
1301+*Copies 68/68: "%% FoomaticRIPOptionSetting: Copies=68"
1302+*Copies 69/69: "%% FoomaticRIPOptionSetting: Copies=69"
1303+*Copies 70/70: "%% FoomaticRIPOptionSetting: Copies=70"
1304+*Copies 71/71: "%% FoomaticRIPOptionSetting: Copies=71"
1305+*Copies 72/72: "%% FoomaticRIPOptionSetting: Copies=72"
1306+*Copies 73/73: "%% FoomaticRIPOptionSetting: Copies=73"
1307+*Copies 74/74: "%% FoomaticRIPOptionSetting: Copies=74"
1308+*Copies 75/75: "%% FoomaticRIPOptionSetting: Copies=75"
1309+*Copies 76/76: "%% FoomaticRIPOptionSetting: Copies=76"
1310+*Copies 77/77: "%% FoomaticRIPOptionSetting: Copies=77"
1311+*Copies 78/78: "%% FoomaticRIPOptionSetting: Copies=78"
1312+*Copies 79/79: "%% FoomaticRIPOptionSetting: Copies=79"
1313+*Copies 80/80: "%% FoomaticRIPOptionSetting: Copies=80"
1314+*Copies 81/81: "%% FoomaticRIPOptionSetting: Copies=81"
1315+*Copies 82/82: "%% FoomaticRIPOptionSetting: Copies=82"
1316+*Copies 83/83: "%% FoomaticRIPOptionSetting: Copies=83"
1317+*Copies 84/84: "%% FoomaticRIPOptionSetting: Copies=84"
1318+*Copies 85/85: "%% FoomaticRIPOptionSetting: Copies=85"
1319+*Copies 86/86: "%% FoomaticRIPOptionSetting: Copies=86"
1320+*Copies 87/87: "%% FoomaticRIPOptionSetting: Copies=87"
1321+*Copies 88/88: "%% FoomaticRIPOptionSetting: Copies=88"
1322+*Copies 89/89: "%% FoomaticRIPOptionSetting: Copies=89"
1323+*Copies 90/90: "%% FoomaticRIPOptionSetting: Copies=90"
1324+*Copies 91/91: "%% FoomaticRIPOptionSetting: Copies=91"
1325+*Copies 92/92: "%% FoomaticRIPOptionSetting: Copies=92"
1326+*Copies 93/93: "%% FoomaticRIPOptionSetting: Copies=93"
1327+*Copies 94/94: "%% FoomaticRIPOptionSetting: Copies=94"
1328+*Copies 95/95: "%% FoomaticRIPOptionSetting: Copies=95"
1329+*Copies 96/96: "%% FoomaticRIPOptionSetting: Copies=96"
1330+*Copies 97/97: "%% FoomaticRIPOptionSetting: Copies=97"
1331+*Copies 98/98: "%% FoomaticRIPOptionSetting: Copies=98"
1332+*Copies 99/99: "%% FoomaticRIPOptionSetting: Copies=99"
1333+*Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100"
1334+*CloseUI: *Copies
1335+
1336+*CloseGroup: General
1337+
1338+*OpenGroup: Adjustment/Adjustment
1339+
1340+*OpenUI *halftone/Halftone Algorithm: PickOne
1341+*FoomaticRIPOption halftone: enum CmdLine A
1342+*OrderDependency: 110 AnySetup *halftone
1343+*Defaulthalftone: default
1344+*halftone default/Default: "%% FoomaticRIPOptionSetting: halftone=default"
1345+*FoomaticRIPOptionSetting halftone=default: " "
1346+*halftone as/Accurate Screens (better): "%% FoomaticRIPOptionSetting: halftone=as"
1347+*FoomaticRIPOptionSetting halftone=as: " -qas "
1348+*halftone standard/Standard: "%% FoomaticRIPOptionSetting: halftone=standard"
1349+*FoomaticRIPOptionSetting halftone=standard: " -q1 "
1350+*halftone wts/Well Tempered Screens (best): "%% FoomaticRIPOptionSetting: halftone=wts"
1351+*FoomaticRIPOptionSetting halftone=wts: " -qwts "
1352+*CloseUI: *halftone
1353+
1354+*OpenUI *ICM/ICM Color Profile: PickOne
1355+*FoomaticRIPOption ICM: enum CmdLine A
1356+*OrderDependency: 300 AnySetup *ICM
1357+*DefaultICM: none
1358+*ICM none/No ICM color correction: "%% FoomaticRIPOptionSetting: ICM=none"
1359+*FoomaticRIPOptionSetting ICM=none: "-C10 -Gnone.icm "
1360+*ICM testing/File testing.icm: "%% FoomaticRIPOptionSetting: ICM=testing"
1361+*FoomaticRIPOptionSetting ICM=testing: "-C10 -Gtesting.icm "
1362+*ICM testing2/File testing2.icm: "%% FoomaticRIPOptionSetting: ICM=testing2"
1363+*FoomaticRIPOptionSetting ICM=testing2: "-C10 -Gtesting2.icm "
1364+*ICM testing3/File testing3.icm: "%% FoomaticRIPOptionSetting: ICM=testing3"
1365+*FoomaticRIPOptionSetting ICM=testing3: "-C10 -Gtesting3.icm "
1366+*CloseUI: *ICM
1367+
1368+*CloseGroup: Adjustment
1369+
1370+*OpenGroup: Miscellaneous/Miscellaneous
1371+
1372+*OpenUI *NupOrient/N-up Orientation: PickOne
1373+*FoomaticRIPOption NupOrient: enum CmdLine A
1374+*OrderDependency: 200 AnySetup *NupOrient
1375+*DefaultNupOrient: port
1376+*NupOrient land/Landscape: "%% FoomaticRIPOptionSetting: NupOrient=land"
1377+*FoomaticRIPOptionSetting NupOrient=land: "-ol "
1378+*NupOrient port/Portrait: "%% FoomaticRIPOptionSetting: NupOrient=port"
1379+*FoomaticRIPOptionSetting NupOrient=port: " "
1380+*NupOrient sea/Seascape: "%% FoomaticRIPOptionSetting: NupOrient=sea"
1381+*FoomaticRIPOptionSetting NupOrient=sea: "-os "
1382+*CloseUI: *NupOrient
1383+
1384+*OpenUI *NupPages/N-up Printing: PickOne
1385+*FoomaticRIPOption NupPages: enum CmdLine A
1386+*OrderDependency: 200 AnySetup *NupPages
1387+*DefaultNupPages: 1up
1388+*NupPages 1up/1-up: "%% FoomaticRIPOptionSetting: NupPages=1up"
1389+*FoomaticRIPOptionSetting NupPages=1up: " "
1390+*NupPages 2up/2-up: "%% FoomaticRIPOptionSetting: NupPages=2up"
1391+*FoomaticRIPOptionSetting NupPages=2up: "-2 "
1392+*NupPages 3up/3-up: "%% FoomaticRIPOptionSetting: NupPages=3up"
1393+*FoomaticRIPOptionSetting NupPages=3up: "-3 "
1394+*NupPages 4up/4-up: "%% FoomaticRIPOptionSetting: NupPages=4up"
1395+*FoomaticRIPOptionSetting NupPages=4up: "-4 "
1396+*NupPages 6up/6-up: "%% FoomaticRIPOptionSetting: NupPages=6up"
1397+*FoomaticRIPOptionSetting NupPages=6up: "-6 "
1398+*NupPages 8up/8-up: "%% FoomaticRIPOptionSetting: NupPages=8up"
1399+*FoomaticRIPOptionSetting NupPages=8up: "-8 "
1400+*NupPages 10up/10-up: "%% FoomaticRIPOptionSetting: NupPages=10up"
1401+*FoomaticRIPOptionSetting NupPages=10up: "-10 "
1402+*NupPages 12up/12-up: "%% FoomaticRIPOptionSetting: NupPages=12up"
1403+*FoomaticRIPOptionSetting NupPages=12up: "-12 "
1404+*NupPages 14up/14-up: "%% FoomaticRIPOptionSetting: NupPages=14up"
1405+*FoomaticRIPOptionSetting NupPages=14up: "-14 "
1406+*NupPages 15up/15-up: "%% FoomaticRIPOptionSetting: NupPages=15up"
1407+*FoomaticRIPOptionSetting NupPages=15up: "-15 "
1408+*NupPages 16up/16-up: "%% FoomaticRIPOptionSetting: NupPages=16up"
1409+*FoomaticRIPOptionSetting NupPages=16up: "-16 "
1410+*NupPages 18up/18-up: "%% FoomaticRIPOptionSetting: NupPages=18up"
1411+*FoomaticRIPOptionSetting NupPages=18up: "-18 "
1412+*CloseUI: *NupPages
1413+
1414+*CloseGroup: Miscellaneous
1415+
1416+
1417+*% Generic boilerplate PPD stuff as standard PostScript fonts and so on
1418+
1419+*DefaultFont: Courier
1420+*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
1421+*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
1422+*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
1423+*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
1424+*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
1425+*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
1426+*Font Bookman-Light: Standard "(001.004S)" Standard ROM
1427+*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
1428+*Font Courier: Standard "(002.004S)" Standard ROM
1429+*Font Courier-Bold: Standard "(002.004S)" Standard ROM
1430+*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
1431+*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
1432+*Font Helvetica: Standard "(001.006S)" Standard ROM
1433+*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
1434+*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
1435+*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
1436+*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
1437+*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
1438+*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
1439+*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
1440+*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
1441+*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
1442+*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
1443+*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
1444+*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
1445+*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
1446+*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
1447+*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
1448+*Font Symbol: Special "(001.007S)" Special ROM
1449+*Font Times-Bold: Standard "(001.007S)" Standard ROM
1450+*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
1451+*Font Times-Italic: Standard "(001.007S)" Standard ROM
1452+*Font Times-Roman: Standard "(001.007S)" Standard ROM
1453+*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
1454+*Font ZapfDingbats: Special "(001.004S)" Standard ROM
1455+
1456--- foo2zjs/PPD/Epson-AcuLaser_C1700.ppd 1970-01-01 00:00:00.000000000 +0000
1457+++ foo2zjs/PPD/Epson-AcuLaser_C1700.ppd 2014-04-01 11:06:31.000000000 +0000
1458@@ -0,0 +1,433 @@
1459+*PPD-Adobe: "4.3"
1460+*%
1461+*% For information on using this, and to obtain the required backend
1462+*% script, consult http://www.openprinting.org/
1463+*%
1464+*% This file is published under the GNU General Public License
1465+*%
1466+*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with
1467+*% all programs and environments which use PPD files for dealing with
1468+*% printer capability information. The printer must be configured with the
1469+*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This
1470+*% file and "foomatic-rip" work together to support PPD-controlled printer
1471+*% driver option access with arbitrary free software printer drivers and
1472+*% printing spoolers.
1473+*%
1474+*% To save this file on your disk, wait until the download has completed
1475+*% (the animation of the browser logo must stop) and then use the
1476+*% "Save as..." command in the "File" menu of your browser or in the
1477+*% pop-up manu when you click on this document with the right mouse button.
1478+*% DO NOT cut and paste this file into an editor with your mouse. This can
1479+*% introduce additional line breaks which lead to unexpected results.
1480+*%
1481+*% You may save this file as 'Epson-AcuLaser_C1700-foo2hbpl1.ppd'
1482+*%
1483+*%
1484+*FormatVersion: "4.3"
1485+*FileVersion: "1.1"
1486+*LanguageVersion: English
1487+*LanguageEncoding: ISOLatin1
1488+*PCFileName: "FOO2HBPL.PPD"
1489+*Manufacturer: "Epson"
1490+*Product: "(AcuLaser C1700)"
1491+*cupsVersion: 1.0
1492+*cupsManualCopies: True
1493+*cupsModelNumber: 2
1494+*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
1495+*%pprRIP: foomatic-rip other
1496+*ModelName: "Epson AcuLaser C1700"
1497+*ShortNickName: "Epson AcuLaser C1700 foo2hbpl1"
1498+*NickName: "Epson AcuLaser C1700 Foomatic/foo2hbpl1 (recommended)"
1499+*PSVersion: "(3010.000) 550"
1500+*PSVersion: "(3010.000) 651"
1501+*PSVersion: "(3010.000) 652"
1502+*PSVersion: "(3010.000) 653"
1503+*PSVersion: "(3010.000) 704"
1504+*PSVersion: "(3010.000) 705"
1505+*PSVersion: "(3010.000) 800"
1506+*LanguageLevel: "3"
1507+*ColorDevice: True
1508+*DefaultColorSpace: RGB
1509+*FileSystem: False
1510+*Throughput: "1"
1511+*LandscapeOrientation: Plus90
1512+*TTRasterizer: Type42
1513+*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;"
1514+
1515+*driverName foo2hbpl1/foo2hbpl1: ""
1516+*driverType F/Filter: ""
1517+*driverUrl: "http://foo2hbpl.rkkda.com/"
1518+*driverObsolete: False
1519+
1520+
1521+
1522+
1523+*HWMargins: 9 12.00 9 12
1524+*VariablePaperSize: True
1525+*MaxMediaWidth: 100000
1526+*MaxMediaHeight: 100000
1527+*NonUIOrderDependency: 135 AnySetup *CustomPageSize
1528+*CustomPageSize True: "pop pop pop pop pop
1529+%% FoomaticRIPOptionSetting: PageSize=Custom"
1530+*End
1531+*FoomaticRIPOptionSetting PageSize=Custom: "-pCustom.%0x%1 "
1532+*ParamCustomPageSize Width: 1 points 36 100000
1533+*ParamCustomPageSize Height: 2 points 36 100000
1534+*ParamCustomPageSize Orientation: 3 int 0 0
1535+*ParamCustomPageSize WidthOffset: 4 points 0 0
1536+*ParamCustomPageSize HeightOffset: 5 points 0 0
1537+
1538+*FoomaticIDs: Epson-AcuLaser_C1700 foo2hbpl1
1539+*FoomaticRIPCommandLine: "foo2hbpl1-wrapper %A"
1540+
1541+*OpenGroup: General/General
1542+
1543+*OpenUI *Quality/Printing Quality: PickOne
1544+*FoomaticRIPOption Quality: enum CmdLine A
1545+*OrderDependency: 110 AnySetup *Quality
1546+*DefaultQuality: normal
1547+*Quality draft/Draft: "%% FoomaticRIPOptionSetting: Quality=draft"
1548+*FoomaticRIPOptionSetting Quality=draft: " -t "
1549+*Quality normal/Normal: "%% FoomaticRIPOptionSetting: Quality=normal"
1550+*FoomaticRIPOptionSetting Quality=normal: " "
1551+*CloseUI: *Quality
1552+
1553+*OpenUI *ColorMode/Color Mode: PickOne
1554+*FoomaticRIPOption ColorMode: enum CmdLine A
1555+*OrderDependency: 120 AnySetup *ColorMode
1556+*DefaultColorMode: Monochrome
1557+*ColorMode Color/Color: "%% FoomaticRIPOptionSetting: ColorMode=Color"
1558+*FoomaticRIPOptionSetting ColorMode=Color: "-c "
1559+*ColorMode Monochrome/Monochrome: "%% FoomaticRIPOptionSetting: ColorMode=Monochrome"
1560+*FoomaticRIPOptionSetting ColorMode=Monochrome: " "
1561+*CloseUI: *ColorMode
1562+
1563+*OpenUI *PageSize/Page Size: PickOne
1564+*FoomaticRIPOption PageSize: enum CmdLine A
1565+*OrderDependency: 135 AnySetup *PageSize
1566+*DefaultPageSize: Letter
1567+*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
1568+*FoomaticRIPOptionSetting PageSize=Letter: "-p4 "
1569+*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
1570+*FoomaticRIPOptionSetting PageSize=A4: "-p1 "
1571+*PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis"
1572+*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 "
1573+*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10"
1574+*FoomaticRIPOptionSetting PageSize=Env10: "-p9 "
1575+*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5"
1576+*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 "
1577+*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL"
1578+*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 "
1579+*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch"
1580+*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 "
1581+*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive"
1582+*FoomaticRIPOptionSetting PageSize=Executive: "-p5 "
1583+*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal"
1584+*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 "
1585+*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio"
1586+*FoomaticRIPOptionSetting PageSize=Folio: "-p6 "
1587+*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
1588+*FoomaticRIPOptionSetting PageSize=Legal: "-p7 "
1589+*CloseUI: *PageSize
1590+
1591+*OpenUI *PageRegion: PickOne
1592+*OrderDependency: 135 AnySetup *PageRegion
1593+*DefaultPageRegion: Letter
1594+*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
1595+*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
1596+*PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis"
1597+*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10"
1598+*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5"
1599+*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL"
1600+*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch"
1601+*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive"
1602+*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal"
1603+*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio"
1604+*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
1605+*CloseUI: *PageRegion
1606+
1607+*DefaultImageableArea: Letter
1608+*ImageableArea Letter/Letter: "9 12.00 603 780.00"
1609+*ImageableArea A4/A4: "9 12.00 586 830.00"
1610+*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00"
1611+*ImageableArea Env10/Env #10: "9 12.00 288 672.00"
1612+*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00"
1613+*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00"
1614+*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00"
1615+*ImageableArea Executive/Executive: "9 12.00 513 744.00"
1616+*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00"
1617+*ImageableArea Folio/Folio: "9 12.00 603 924.00"
1618+*ImageableArea Legal/Legal: "9 12.00 603 996.00"
1619+
1620+*DefaultPaperDimension: Letter
1621+*PaperDimension Letter/Letter: "612 792"
1622+*PaperDimension A4/A4: "595 842"
1623+*PaperDimension B5jis/B5 (JIS): "518 727"
1624+*PaperDimension Env10/Env #10: "297 684"
1625+*PaperDimension EnvC5/Env C5: "459 649"
1626+*PaperDimension EnvDL/Env DL: "311 623"
1627+*PaperDimension EnvMonarch/Env Monarch: "279 540"
1628+*PaperDimension Executive/Executive: "522 756"
1629+*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008"
1630+*PaperDimension Folio/Folio: "612 936"
1631+*PaperDimension Legal/Legal: "612 1008"
1632+
1633+*OpenUI *MediaType/Media Type: PickOne
1634+*FoomaticRIPOption MediaType: enum CmdLine A
1635+*OrderDependency: 150 AnySetup *MediaType
1636+*DefaultMediaType: plain
1637+*MediaType plain/Plain Paper: "%% FoomaticRIPOptionSetting: MediaType=plain"
1638+*FoomaticRIPOptionSetting MediaType=plain: "-m1 "
1639+*MediaType plain2/Plain Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=plain2"
1640+*FoomaticRIPOptionSetting MediaType=plain2: "-m8 "
1641+*MediaType bond/Bond: "%% FoomaticRIPOptionSetting: MediaType=bond"
1642+*FoomaticRIPOptionSetting MediaType=bond: "-m2 "
1643+*MediaType bond2/Bond Side 2: "%% FoomaticRIPOptionSetting: MediaType=bond2"
1644+*FoomaticRIPOptionSetting MediaType=bond2: "-m9 "
1645+*MediaType envelope/Envelope: "%% FoomaticRIPOptionSetting: MediaType=envelope"
1646+*FoomaticRIPOptionSetting MediaType=envelope: "-m6 "
1647+*MediaType labels/Labels: "%% FoomaticRIPOptionSetting: MediaType=labels"
1648+*FoomaticRIPOptionSetting MediaType=labels: "-m5 "
1649+*MediaType lwcard/Light Weight Card: "%% FoomaticRIPOptionSetting: MediaType=lwcard"
1650+*FoomaticRIPOptionSetting MediaType=lwcard: "-m3 "
1651+*MediaType lwcard2/Light Weight Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwcard2"
1652+*FoomaticRIPOptionSetting MediaType=lwcard2: "-m10 "
1653+*MediaType lwgcard/Light Weight Glossy Card: "%% FoomaticRIPOptionSetting: MediaType=lwgcard"
1654+*FoomaticRIPOptionSetting MediaType=lwgcard: "-m4 "
1655+*MediaType lwgcard2/Light Weight Glossy Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwgcard2"
1656+*FoomaticRIPOptionSetting MediaType=lwgcard2: "-m11 "
1657+*MediaType recycled/Recycled Paper: "%% FoomaticRIPOptionSetting: MediaType=recycled"
1658+*FoomaticRIPOptionSetting MediaType=recycled: "-m7 "
1659+*MediaType recycled2/Recycled Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=recycled2"
1660+*FoomaticRIPOptionSetting MediaType=recycled2: "-m12 "
1661+*CloseUI: *MediaType
1662+
1663+*OpenUI *Copies/Copies: PickOne
1664+*FoomaticRIPOption Copies: int CmdLine A
1665+*FoomaticRIPOptionPrototype Copies: "-n%s "
1666+*FoomaticRIPOptionRange Copies: 1 100
1667+*OrderDependency: 220 AnySetup *Copies
1668+*DefaultCopies: 1
1669+*FoomaticRIPDefaultCopies: 1
1670+*Copies 1/1: "%% FoomaticRIPOptionSetting: Copies=1"
1671+*Copies 2/2: "%% FoomaticRIPOptionSetting: Copies=2"
1672+*Copies 3/3: "%% FoomaticRIPOptionSetting: Copies=3"
1673+*Copies 4/4: "%% FoomaticRIPOptionSetting: Copies=4"
1674+*Copies 5/5: "%% FoomaticRIPOptionSetting: Copies=5"
1675+*Copies 6/6: "%% FoomaticRIPOptionSetting: Copies=6"
1676+*Copies 7/7: "%% FoomaticRIPOptionSetting: Copies=7"
1677+*Copies 8/8: "%% FoomaticRIPOptionSetting: Copies=8"
1678+*Copies 9/9: "%% FoomaticRIPOptionSetting: Copies=9"
1679+*Copies 10/10: "%% FoomaticRIPOptionSetting: Copies=10"
1680+*Copies 11/11: "%% FoomaticRIPOptionSetting: Copies=11"
1681+*Copies 12/12: "%% FoomaticRIPOptionSetting: Copies=12"
1682+*Copies 13/13: "%% FoomaticRIPOptionSetting: Copies=13"
1683+*Copies 14/14: "%% FoomaticRIPOptionSetting: Copies=14"
1684+*Copies 15/15: "%% FoomaticRIPOptionSetting: Copies=15"
1685+*Copies 16/16: "%% FoomaticRIPOptionSetting: Copies=16"
1686+*Copies 17/17: "%% FoomaticRIPOptionSetting: Copies=17"
1687+*Copies 18/18: "%% FoomaticRIPOptionSetting: Copies=18"
1688+*Copies 19/19: "%% FoomaticRIPOptionSetting: Copies=19"
1689+*Copies 20/20: "%% FoomaticRIPOptionSetting: Copies=20"
1690+*Copies 21/21: "%% FoomaticRIPOptionSetting: Copies=21"
1691+*Copies 22/22: "%% FoomaticRIPOptionSetting: Copies=22"
1692+*Copies 23/23: "%% FoomaticRIPOptionSetting: Copies=23"
1693+*Copies 24/24: "%% FoomaticRIPOptionSetting: Copies=24"
1694+*Copies 25/25: "%% FoomaticRIPOptionSetting: Copies=25"
1695+*Copies 26/26: "%% FoomaticRIPOptionSetting: Copies=26"
1696+*Copies 27/27: "%% FoomaticRIPOptionSetting: Copies=27"
1697+*Copies 28/28: "%% FoomaticRIPOptionSetting: Copies=28"
1698+*Copies 29/29: "%% FoomaticRIPOptionSetting: Copies=29"
1699+*Copies 30/30: "%% FoomaticRIPOptionSetting: Copies=30"
1700+*Copies 31/31: "%% FoomaticRIPOptionSetting: Copies=31"
1701+*Copies 32/32: "%% FoomaticRIPOptionSetting: Copies=32"
1702+*Copies 33/33: "%% FoomaticRIPOptionSetting: Copies=33"
1703+*Copies 34/34: "%% FoomaticRIPOptionSetting: Copies=34"
1704+*Copies 35/35: "%% FoomaticRIPOptionSetting: Copies=35"
1705+*Copies 36/36: "%% FoomaticRIPOptionSetting: Copies=36"
1706+*Copies 37/37: "%% FoomaticRIPOptionSetting: Copies=37"
1707+*Copies 38/38: "%% FoomaticRIPOptionSetting: Copies=38"
1708+*Copies 39/39: "%% FoomaticRIPOptionSetting: Copies=39"
1709+*Copies 40/40: "%% FoomaticRIPOptionSetting: Copies=40"
1710+*Copies 41/41: "%% FoomaticRIPOptionSetting: Copies=41"
1711+*Copies 42/42: "%% FoomaticRIPOptionSetting: Copies=42"
1712+*Copies 43/43: "%% FoomaticRIPOptionSetting: Copies=43"
1713+*Copies 44/44: "%% FoomaticRIPOptionSetting: Copies=44"
1714+*Copies 45/45: "%% FoomaticRIPOptionSetting: Copies=45"
1715+*Copies 46/46: "%% FoomaticRIPOptionSetting: Copies=46"
1716+*Copies 47/47: "%% FoomaticRIPOptionSetting: Copies=47"
1717+*Copies 48/48: "%% FoomaticRIPOptionSetting: Copies=48"
1718+*Copies 49/49: "%% FoomaticRIPOptionSetting: Copies=49"
1719+*Copies 50/50: "%% FoomaticRIPOptionSetting: Copies=50"
1720+*Copies 51/51: "%% FoomaticRIPOptionSetting: Copies=51"
1721+*Copies 52/52: "%% FoomaticRIPOptionSetting: Copies=52"
1722+*Copies 53/53: "%% FoomaticRIPOptionSetting: Copies=53"
1723+*Copies 54/54: "%% FoomaticRIPOptionSetting: Copies=54"
1724+*Copies 55/55: "%% FoomaticRIPOptionSetting: Copies=55"
1725+*Copies 56/56: "%% FoomaticRIPOptionSetting: Copies=56"
1726+*Copies 57/57: "%% FoomaticRIPOptionSetting: Copies=57"
1727+*Copies 58/58: "%% FoomaticRIPOptionSetting: Copies=58"
1728+*Copies 59/59: "%% FoomaticRIPOptionSetting: Copies=59"
1729+*Copies 60/60: "%% FoomaticRIPOptionSetting: Copies=60"
1730+*Copies 61/61: "%% FoomaticRIPOptionSetting: Copies=61"
1731+*Copies 62/62: "%% FoomaticRIPOptionSetting: Copies=62"
1732+*Copies 63/63: "%% FoomaticRIPOptionSetting: Copies=63"
1733+*Copies 64/64: "%% FoomaticRIPOptionSetting: Copies=64"
1734+*Copies 65/65: "%% FoomaticRIPOptionSetting: Copies=65"
1735+*Copies 66/66: "%% FoomaticRIPOptionSetting: Copies=66"
1736+*Copies 67/67: "%% FoomaticRIPOptionSetting: Copies=67"
1737+*Copies 68/68: "%% FoomaticRIPOptionSetting: Copies=68"
1738+*Copies 69/69: "%% FoomaticRIPOptionSetting: Copies=69"
1739+*Copies 70/70: "%% FoomaticRIPOptionSetting: Copies=70"
1740+*Copies 71/71: "%% FoomaticRIPOptionSetting: Copies=71"
1741+*Copies 72/72: "%% FoomaticRIPOptionSetting: Copies=72"
1742+*Copies 73/73: "%% FoomaticRIPOptionSetting: Copies=73"
1743+*Copies 74/74: "%% FoomaticRIPOptionSetting: Copies=74"
1744+*Copies 75/75: "%% FoomaticRIPOptionSetting: Copies=75"
1745+*Copies 76/76: "%% FoomaticRIPOptionSetting: Copies=76"
1746+*Copies 77/77: "%% FoomaticRIPOptionSetting: Copies=77"
1747+*Copies 78/78: "%% FoomaticRIPOptionSetting: Copies=78"
1748+*Copies 79/79: "%% FoomaticRIPOptionSetting: Copies=79"
1749+*Copies 80/80: "%% FoomaticRIPOptionSetting: Copies=80"
1750+*Copies 81/81: "%% FoomaticRIPOptionSetting: Copies=81"
1751+*Copies 82/82: "%% FoomaticRIPOptionSetting: Copies=82"
1752+*Copies 83/83: "%% FoomaticRIPOptionSetting: Copies=83"
1753+*Copies 84/84: "%% FoomaticRIPOptionSetting: Copies=84"
1754+*Copies 85/85: "%% FoomaticRIPOptionSetting: Copies=85"
1755+*Copies 86/86: "%% FoomaticRIPOptionSetting: Copies=86"
1756+*Copies 87/87: "%% FoomaticRIPOptionSetting: Copies=87"
1757+*Copies 88/88: "%% FoomaticRIPOptionSetting: Copies=88"
1758+*Copies 89/89: "%% FoomaticRIPOptionSetting: Copies=89"
1759+*Copies 90/90: "%% FoomaticRIPOptionSetting: Copies=90"
1760+*Copies 91/91: "%% FoomaticRIPOptionSetting: Copies=91"
1761+*Copies 92/92: "%% FoomaticRIPOptionSetting: Copies=92"
1762+*Copies 93/93: "%% FoomaticRIPOptionSetting: Copies=93"
1763+*Copies 94/94: "%% FoomaticRIPOptionSetting: Copies=94"
1764+*Copies 95/95: "%% FoomaticRIPOptionSetting: Copies=95"
1765+*Copies 96/96: "%% FoomaticRIPOptionSetting: Copies=96"
1766+*Copies 97/97: "%% FoomaticRIPOptionSetting: Copies=97"
1767+*Copies 98/98: "%% FoomaticRIPOptionSetting: Copies=98"
1768+*Copies 99/99: "%% FoomaticRIPOptionSetting: Copies=99"
1769+*Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100"
1770+*CloseUI: *Copies
1771+
1772+*CloseGroup: General
1773+
1774+*OpenGroup: Adjustment/Adjustment
1775+
1776+*OpenUI *halftone/Halftone Algorithm: PickOne
1777+*FoomaticRIPOption halftone: enum CmdLine A
1778+*OrderDependency: 110 AnySetup *halftone
1779+*Defaulthalftone: default
1780+*halftone default/Default: "%% FoomaticRIPOptionSetting: halftone=default"
1781+*FoomaticRIPOptionSetting halftone=default: " "
1782+*halftone as/Accurate Screens (better): "%% FoomaticRIPOptionSetting: halftone=as"
1783+*FoomaticRIPOptionSetting halftone=as: " -qas "
1784+*halftone standard/Standard: "%% FoomaticRIPOptionSetting: halftone=standard"
1785+*FoomaticRIPOptionSetting halftone=standard: " -q1 "
1786+*halftone wts/Well Tempered Screens (best): "%% FoomaticRIPOptionSetting: halftone=wts"
1787+*FoomaticRIPOptionSetting halftone=wts: " -qwts "
1788+*CloseUI: *halftone
1789+
1790+*OpenUI *ICM/ICM Color Profile: PickOne
1791+*FoomaticRIPOption ICM: enum CmdLine A
1792+*OrderDependency: 300 AnySetup *ICM
1793+*DefaultICM: none
1794+*ICM none/No ICM color correction: "%% FoomaticRIPOptionSetting: ICM=none"
1795+*FoomaticRIPOptionSetting ICM=none: "-C10 -Gnone.icm "
1796+*ICM testing/File testing.icm: "%% FoomaticRIPOptionSetting: ICM=testing"
1797+*FoomaticRIPOptionSetting ICM=testing: "-C10 -Gtesting.icm "
1798+*ICM testing2/File testing2.icm: "%% FoomaticRIPOptionSetting: ICM=testing2"
1799+*FoomaticRIPOptionSetting ICM=testing2: "-C10 -Gtesting2.icm "
1800+*ICM testing3/File testing3.icm: "%% FoomaticRIPOptionSetting: ICM=testing3"
1801+*FoomaticRIPOptionSetting ICM=testing3: "-C10 -Gtesting3.icm "
1802+*CloseUI: *ICM
1803+
1804+*CloseGroup: Adjustment
1805+
1806+*OpenGroup: Miscellaneous/Miscellaneous
1807+
1808+*OpenUI *NupOrient/N-up Orientation: PickOne
1809+*FoomaticRIPOption NupOrient: enum CmdLine A
1810+*OrderDependency: 200 AnySetup *NupOrient
1811+*DefaultNupOrient: port
1812+*NupOrient land/Landscape: "%% FoomaticRIPOptionSetting: NupOrient=land"
1813+*FoomaticRIPOptionSetting NupOrient=land: "-ol "
1814+*NupOrient port/Portrait: "%% FoomaticRIPOptionSetting: NupOrient=port"
1815+*FoomaticRIPOptionSetting NupOrient=port: " "
1816+*NupOrient sea/Seascape: "%% FoomaticRIPOptionSetting: NupOrient=sea"
1817+*FoomaticRIPOptionSetting NupOrient=sea: "-os "
1818+*CloseUI: *NupOrient
1819+
1820+*OpenUI *NupPages/N-up Printing: PickOne
1821+*FoomaticRIPOption NupPages: enum CmdLine A
1822+*OrderDependency: 200 AnySetup *NupPages
1823+*DefaultNupPages: 1up
1824+*NupPages 1up/1-up: "%% FoomaticRIPOptionSetting: NupPages=1up"
1825+*FoomaticRIPOptionSetting NupPages=1up: " "
1826+*NupPages 2up/2-up: "%% FoomaticRIPOptionSetting: NupPages=2up"
1827+*FoomaticRIPOptionSetting NupPages=2up: "-2 "
1828+*NupPages 3up/3-up: "%% FoomaticRIPOptionSetting: NupPages=3up"
1829+*FoomaticRIPOptionSetting NupPages=3up: "-3 "
1830+*NupPages 4up/4-up: "%% FoomaticRIPOptionSetting: NupPages=4up"
1831+*FoomaticRIPOptionSetting NupPages=4up: "-4 "
1832+*NupPages 6up/6-up: "%% FoomaticRIPOptionSetting: NupPages=6up"
1833+*FoomaticRIPOptionSetting NupPages=6up: "-6 "
1834+*NupPages 8up/8-up: "%% FoomaticRIPOptionSetting: NupPages=8up"
1835+*FoomaticRIPOptionSetting NupPages=8up: "-8 "
1836+*NupPages 10up/10-up: "%% FoomaticRIPOptionSetting: NupPages=10up"
1837+*FoomaticRIPOptionSetting NupPages=10up: "-10 "
1838+*NupPages 12up/12-up: "%% FoomaticRIPOptionSetting: NupPages=12up"
1839+*FoomaticRIPOptionSetting NupPages=12up: "-12 "
1840+*NupPages 14up/14-up: "%% FoomaticRIPOptionSetting: NupPages=14up"
1841+*FoomaticRIPOptionSetting NupPages=14up: "-14 "
1842+*NupPages 15up/15-up: "%% FoomaticRIPOptionSetting: NupPages=15up"
1843+*FoomaticRIPOptionSetting NupPages=15up: "-15 "
1844+*NupPages 16up/16-up: "%% FoomaticRIPOptionSetting: NupPages=16up"
1845+*FoomaticRIPOptionSetting NupPages=16up: "-16 "
1846+*NupPages 18up/18-up: "%% FoomaticRIPOptionSetting: NupPages=18up"
1847+*FoomaticRIPOptionSetting NupPages=18up: "-18 "
1848+*CloseUI: *NupPages
1849+
1850+*CloseGroup: Miscellaneous
1851+
1852+
1853+*% Generic boilerplate PPD stuff as standard PostScript fonts and so on
1854+
1855+*DefaultFont: Courier
1856+*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
1857+*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
1858+*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
1859+*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
1860+*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
1861+*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
1862+*Font Bookman-Light: Standard "(001.004S)" Standard ROM
1863+*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
1864+*Font Courier: Standard "(002.004S)" Standard ROM
1865+*Font Courier-Bold: Standard "(002.004S)" Standard ROM
1866+*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
1867+*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
1868+*Font Helvetica: Standard "(001.006S)" Standard ROM
1869+*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
1870+*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
1871+*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
1872+*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
1873+*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
1874+*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
1875+*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
1876+*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
1877+*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
1878+*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
1879+*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
1880+*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
1881+*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
1882+*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
1883+*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
1884+*Font Symbol: Special "(001.007S)" Special ROM
1885+*Font Times-Bold: Standard "(001.007S)" Standard ROM
1886+*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
1887+*Font Times-Italic: Standard "(001.007S)" Standard ROM
1888+*Font Times-Roman: Standard "(001.007S)" Standard ROM
1889+*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
1890+*Font ZapfDingbats: Special "(001.004S)" Standard ROM
1891+
1892--- foo2zjs/PPD/Fuji_Xerox-DocuPrint_CP105.ppd 1970-01-01 00:00:00.000000000 +0000
1893+++ foo2zjs/PPD/Fuji_Xerox-DocuPrint_CP105.ppd 2014-04-01 11:06:31.000000000 +0000
1894@@ -0,0 +1,433 @@
1895+*PPD-Adobe: "4.3"
1896+*%
1897+*% For information on using this, and to obtain the required backend
1898+*% script, consult http://www.openprinting.org/
1899+*%
1900+*% This file is published under the GNU General Public License
1901+*%
1902+*% PPD-O-MATIC (3.0.0 or newer) generated this PPD file. It is for use with
1903+*% all programs and environments which use PPD files for dealing with
1904+*% printer capability information. The printer must be configured with the
1905+*% "foomatic-rip" backend filter script of Foomatic 3.0.0 or newer. This
1906+*% file and "foomatic-rip" work together to support PPD-controlled printer
1907+*% driver option access with arbitrary free software printer drivers and
1908+*% printing spoolers.
1909+*%
1910+*% To save this file on your disk, wait until the download has completed
1911+*% (the animation of the browser logo must stop) and then use the
1912+*% "Save as..." command in the "File" menu of your browser or in the
1913+*% pop-up manu when you click on this document with the right mouse button.
1914+*% DO NOT cut and paste this file into an editor with your mouse. This can
1915+*% introduce additional line breaks which lead to unexpected results.
1916+*%
1917+*% You may save this file as 'Fuji_Xerox-DocuPrint_CP105-foo2hbpl1.ppd'
1918+*%
1919+*%
1920+*FormatVersion: "4.3"
1921+*FileVersion: "1.1"
1922+*LanguageVersion: English
1923+*LanguageEncoding: ISOLatin1
1924+*PCFileName: "FOO2HBPL.PPD"
1925+*Manufacturer: "Fuji Xerox"
1926+*Product: "(DocuPrint CP105)"
1927+*cupsVersion: 1.0
1928+*cupsManualCopies: True
1929+*cupsModelNumber: 2
1930+*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
1931+*%pprRIP: foomatic-rip other
1932+*ModelName: "Fuji Xerox DocuPrint CP105"
1933+*ShortNickName: "Fuji Xerox D.P. CP105 foo2hbpl1"
1934+*NickName: "Fuji Xerox DocuPrint CP105 Foomatic/foo2hbpl1 (recommended)"
1935+*PSVersion: "(3010.000) 550"
1936+*PSVersion: "(3010.000) 651"
1937+*PSVersion: "(3010.000) 652"
1938+*PSVersion: "(3010.000) 653"
1939+*PSVersion: "(3010.000) 704"
1940+*PSVersion: "(3010.000) 705"
1941+*PSVersion: "(3010.000) 800"
1942+*LanguageLevel: "3"
1943+*ColorDevice: True
1944+*DefaultColorSpace: RGB
1945+*FileSystem: False
1946+*Throughput: "1"
1947+*LandscapeOrientation: Plus90
1948+*TTRasterizer: Type42
1949+*1284DeviceID: "DRV:Dfoo2hbpl1,R1,M0,TF;"
1950+
1951+*driverName foo2hbpl1/foo2hbpl1: ""
1952+*driverType F/Filter: ""
1953+*driverUrl: "http://foo2hbpl.rkkda.com/"
1954+*driverObsolete: False
1955+
1956+
1957+
1958+
1959+*HWMargins: 9 12.00 9 12
1960+*VariablePaperSize: True
1961+*MaxMediaWidth: 100000
1962+*MaxMediaHeight: 100000
1963+*NonUIOrderDependency: 135 AnySetup *CustomPageSize
1964+*CustomPageSize True: "pop pop pop pop pop
1965+%% FoomaticRIPOptionSetting: PageSize=Custom"
1966+*End
1967+*FoomaticRIPOptionSetting PageSize=Custom: "-pCustom.%0x%1 "
1968+*ParamCustomPageSize Width: 1 points 36 100000
1969+*ParamCustomPageSize Height: 2 points 36 100000
1970+*ParamCustomPageSize Orientation: 3 int 0 0
1971+*ParamCustomPageSize WidthOffset: 4 points 0 0
1972+*ParamCustomPageSize HeightOffset: 5 points 0 0
1973+
1974+*FoomaticIDs: Fuji_Xerox-DocuPrint_CP105 foo2hbpl1
1975+*FoomaticRIPCommandLine: "foo2hbpl1-wrapper %A"
1976+
1977+*OpenGroup: General/General
1978+
1979+*OpenUI *Quality/Printing Quality: PickOne
1980+*FoomaticRIPOption Quality: enum CmdLine A
1981+*OrderDependency: 110 AnySetup *Quality
1982+*DefaultQuality: normal
1983+*Quality draft/Draft: "%% FoomaticRIPOptionSetting: Quality=draft"
1984+*FoomaticRIPOptionSetting Quality=draft: " -t "
1985+*Quality normal/Normal: "%% FoomaticRIPOptionSetting: Quality=normal"
1986+*FoomaticRIPOptionSetting Quality=normal: " "
1987+*CloseUI: *Quality
1988+
1989+*OpenUI *ColorMode/Color Mode: PickOne
1990+*FoomaticRIPOption ColorMode: enum CmdLine A
1991+*OrderDependency: 120 AnySetup *ColorMode
1992+*DefaultColorMode: Monochrome
1993+*ColorMode Color/Color: "%% FoomaticRIPOptionSetting: ColorMode=Color"
1994+*FoomaticRIPOptionSetting ColorMode=Color: "-c "
1995+*ColorMode Monochrome/Monochrome: "%% FoomaticRIPOptionSetting: ColorMode=Monochrome"
1996+*FoomaticRIPOptionSetting ColorMode=Monochrome: " "
1997+*CloseUI: *ColorMode
1998+
1999+*OpenUI *PageSize/Page Size: PickOne
2000+*FoomaticRIPOption PageSize: enum CmdLine A
2001+*OrderDependency: 135 AnySetup *PageSize
2002+*DefaultPageSize: Letter
2003+*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
2004+*FoomaticRIPOptionSetting PageSize=Letter: "-p4 "
2005+*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
2006+*FoomaticRIPOptionSetting PageSize=A4: "-p1 "
2007+*PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis"
2008+*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 "
2009+*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10"
2010+*FoomaticRIPOptionSetting PageSize=Env10: "-p9 "
2011+*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5"
2012+*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 "
2013+*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL"
2014+*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 "
2015+*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch"
2016+*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 "
2017+*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive"
2018+*FoomaticRIPOptionSetting PageSize=Executive: "-p5 "
2019+*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal"
2020+*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 "
2021+*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio"
2022+*FoomaticRIPOptionSetting PageSize=Folio: "-p6 "
2023+*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
2024+*FoomaticRIPOptionSetting PageSize=Legal: "-p7 "
2025+*CloseUI: *PageSize
2026+
2027+*OpenUI *PageRegion: PickOne
2028+*OrderDependency: 135 AnySetup *PageRegion
2029+*DefaultPageRegion: Letter
2030+*PageRegion Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
2031+*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
2032+*PageRegion B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis"
2033+*PageRegion Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10"
2034+*PageRegion EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5"
2035+*PageRegion EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL"
2036+*PageRegion EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch"
2037+*PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive"
2038+*PageRegion FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal"
2039+*PageRegion Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio"
2040+*PageRegion Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
2041+*CloseUI: *PageRegion
2042+
2043+*DefaultImageableArea: Letter
2044+*ImageableArea Letter/Letter: "9 12.00 603 780.00"
2045+*ImageableArea A4/A4: "9 12.00 586 830.00"
2046+*ImageableArea B5jis/B5 (JIS): "9 12.00 509 715.00"
2047+*ImageableArea Env10/Env #10: "9 12.00 288 672.00"
2048+*ImageableArea EnvC5/Env C5: "9 12.00 450 637.00"
2049+*ImageableArea EnvDL/Env DL: "9 12.00 302 611.00"
2050+*ImageableArea EnvMonarch/Env Monarch: "9 12.00 270 528.00"
2051+*ImageableArea Executive/Executive: "9 12.00 513 744.00"
2052+*ImageableArea FanfoldGermanLegal/Fanfold German Legal: "9 12.00 603 996.00"
2053+*ImageableArea Folio/Folio: "9 12.00 603 924.00"
2054+*ImageableArea Legal/Legal: "9 12.00 603 996.00"
2055+
2056+*DefaultPaperDimension: Letter
2057+*PaperDimension Letter/Letter: "612 792"
2058+*PaperDimension A4/A4: "595 842"
2059+*PaperDimension B5jis/B5 (JIS): "518 727"
2060+*PaperDimension Env10/Env #10: "297 684"
2061+*PaperDimension EnvC5/Env C5: "459 649"
2062+*PaperDimension EnvDL/Env DL: "311 623"
2063+*PaperDimension EnvMonarch/Env Monarch: "279 540"
2064+*PaperDimension Executive/Executive: "522 756"
2065+*PaperDimension FanfoldGermanLegal/Fanfold German Legal: "612 1008"
2066+*PaperDimension Folio/Folio: "612 936"
2067+*PaperDimension Legal/Legal: "612 1008"
2068+
2069+*OpenUI *MediaType/Media Type: PickOne
2070+*FoomaticRIPOption MediaType: enum CmdLine A
2071+*OrderDependency: 150 AnySetup *MediaType
2072+*DefaultMediaType: plain
2073+*MediaType plain/Plain Paper: "%% FoomaticRIPOptionSetting: MediaType=plain"
2074+*FoomaticRIPOptionSetting MediaType=plain: "-m1 "
2075+*MediaType plain2/Plain Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=plain2"
2076+*FoomaticRIPOptionSetting MediaType=plain2: "-m8 "
2077+*MediaType bond/Bond: "%% FoomaticRIPOptionSetting: MediaType=bond"
2078+*FoomaticRIPOptionSetting MediaType=bond: "-m2 "
2079+*MediaType bond2/Bond Side 2: "%% FoomaticRIPOptionSetting: MediaType=bond2"
2080+*FoomaticRIPOptionSetting MediaType=bond2: "-m9 "
2081+*MediaType envelope/Envelope: "%% FoomaticRIPOptionSetting: MediaType=envelope"
2082+*FoomaticRIPOptionSetting MediaType=envelope: "-m6 "
2083+*MediaType labels/Labels: "%% FoomaticRIPOptionSetting: MediaType=labels"
2084+*FoomaticRIPOptionSetting MediaType=labels: "-m5 "
2085+*MediaType lwcard/Light Weight Card: "%% FoomaticRIPOptionSetting: MediaType=lwcard"
2086+*FoomaticRIPOptionSetting MediaType=lwcard: "-m3 "
2087+*MediaType lwcard2/Light Weight Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwcard2"
2088+*FoomaticRIPOptionSetting MediaType=lwcard2: "-m10 "
2089+*MediaType lwgcard/Light Weight Glossy Card: "%% FoomaticRIPOptionSetting: MediaType=lwgcard"
2090+*FoomaticRIPOptionSetting MediaType=lwgcard: "-m4 "
2091+*MediaType lwgcard2/Light Weight Glossy Card Side 2: "%% FoomaticRIPOptionSetting: MediaType=lwgcard2"
2092+*FoomaticRIPOptionSetting MediaType=lwgcard2: "-m11 "
2093+*MediaType recycled/Recycled Paper: "%% FoomaticRIPOptionSetting: MediaType=recycled"
2094+*FoomaticRIPOptionSetting MediaType=recycled: "-m7 "
2095+*MediaType recycled2/Recycled Paper Side 2: "%% FoomaticRIPOptionSetting: MediaType=recycled2"
2096+*FoomaticRIPOptionSetting MediaType=recycled2: "-m12 "
2097+*CloseUI: *MediaType
2098+
2099+*OpenUI *Copies/Copies: PickOne
2100+*FoomaticRIPOption Copies: int CmdLine A
2101+*FoomaticRIPOptionPrototype Copies: "-n%s "
2102+*FoomaticRIPOptionRange Copies: 1 100
2103+*OrderDependency: 220 AnySetup *Copies
2104+*DefaultCopies: 1
2105+*FoomaticRIPDefaultCopies: 1
2106+*Copies 1/1: "%% FoomaticRIPOptionSetting: Copies=1"
2107+*Copies 2/2: "%% FoomaticRIPOptionSetting: Copies=2"
2108+*Copies 3/3: "%% FoomaticRIPOptionSetting: Copies=3"
2109+*Copies 4/4: "%% FoomaticRIPOptionSetting: Copies=4"
2110+*Copies 5/5: "%% FoomaticRIPOptionSetting: Copies=5"
2111+*Copies 6/6: "%% FoomaticRIPOptionSetting: Copies=6"
2112+*Copies 7/7: "%% FoomaticRIPOptionSetting: Copies=7"
2113+*Copies 8/8: "%% FoomaticRIPOptionSetting: Copies=8"
2114+*Copies 9/9: "%% FoomaticRIPOptionSetting: Copies=9"
2115+*Copies 10/10: "%% FoomaticRIPOptionSetting: Copies=10"
2116+*Copies 11/11: "%% FoomaticRIPOptionSetting: Copies=11"
2117+*Copies 12/12: "%% FoomaticRIPOptionSetting: Copies=12"
2118+*Copies 13/13: "%% FoomaticRIPOptionSetting: Copies=13"
2119+*Copies 14/14: "%% FoomaticRIPOptionSetting: Copies=14"
2120+*Copies 15/15: "%% FoomaticRIPOptionSetting: Copies=15"
2121+*Copies 16/16: "%% FoomaticRIPOptionSetting: Copies=16"
2122+*Copies 17/17: "%% FoomaticRIPOptionSetting: Copies=17"
2123+*Copies 18/18: "%% FoomaticRIPOptionSetting: Copies=18"
2124+*Copies 19/19: "%% FoomaticRIPOptionSetting: Copies=19"
2125+*Copies 20/20: "%% FoomaticRIPOptionSetting: Copies=20"
2126+*Copies 21/21: "%% FoomaticRIPOptionSetting: Copies=21"
2127+*Copies 22/22: "%% FoomaticRIPOptionSetting: Copies=22"
2128+*Copies 23/23: "%% FoomaticRIPOptionSetting: Copies=23"
2129+*Copies 24/24: "%% FoomaticRIPOptionSetting: Copies=24"
2130+*Copies 25/25: "%% FoomaticRIPOptionSetting: Copies=25"
2131+*Copies 26/26: "%% FoomaticRIPOptionSetting: Copies=26"
2132+*Copies 27/27: "%% FoomaticRIPOptionSetting: Copies=27"
2133+*Copies 28/28: "%% FoomaticRIPOptionSetting: Copies=28"
2134+*Copies 29/29: "%% FoomaticRIPOptionSetting: Copies=29"
2135+*Copies 30/30: "%% FoomaticRIPOptionSetting: Copies=30"
2136+*Copies 31/31: "%% FoomaticRIPOptionSetting: Copies=31"
2137+*Copies 32/32: "%% FoomaticRIPOptionSetting: Copies=32"
2138+*Copies 33/33: "%% FoomaticRIPOptionSetting: Copies=33"
2139+*Copies 34/34: "%% FoomaticRIPOptionSetting: Copies=34"
2140+*Copies 35/35: "%% FoomaticRIPOptionSetting: Copies=35"
2141+*Copies 36/36: "%% FoomaticRIPOptionSetting: Copies=36"
2142+*Copies 37/37: "%% FoomaticRIPOptionSetting: Copies=37"
2143+*Copies 38/38: "%% FoomaticRIPOptionSetting: Copies=38"
2144+*Copies 39/39: "%% FoomaticRIPOptionSetting: Copies=39"
2145+*Copies 40/40: "%% FoomaticRIPOptionSetting: Copies=40"
2146+*Copies 41/41: "%% FoomaticRIPOptionSetting: Copies=41"
2147+*Copies 42/42: "%% FoomaticRIPOptionSetting: Copies=42"
2148+*Copies 43/43: "%% FoomaticRIPOptionSetting: Copies=43"
2149+*Copies 44/44: "%% FoomaticRIPOptionSetting: Copies=44"
2150+*Copies 45/45: "%% FoomaticRIPOptionSetting: Copies=45"
2151+*Copies 46/46: "%% FoomaticRIPOptionSetting: Copies=46"
2152+*Copies 47/47: "%% FoomaticRIPOptionSetting: Copies=47"
2153+*Copies 48/48: "%% FoomaticRIPOptionSetting: Copies=48"
2154+*Copies 49/49: "%% FoomaticRIPOptionSetting: Copies=49"
2155+*Copies 50/50: "%% FoomaticRIPOptionSetting: Copies=50"
2156+*Copies 51/51: "%% FoomaticRIPOptionSetting: Copies=51"
2157+*Copies 52/52: "%% FoomaticRIPOptionSetting: Copies=52"
2158+*Copies 53/53: "%% FoomaticRIPOptionSetting: Copies=53"
2159+*Copies 54/54: "%% FoomaticRIPOptionSetting: Copies=54"
2160+*Copies 55/55: "%% FoomaticRIPOptionSetting: Copies=55"
2161+*Copies 56/56: "%% FoomaticRIPOptionSetting: Copies=56"
2162+*Copies 57/57: "%% FoomaticRIPOptionSetting: Copies=57"
2163+*Copies 58/58: "%% FoomaticRIPOptionSetting: Copies=58"
2164+*Copies 59/59: "%% FoomaticRIPOptionSetting: Copies=59"
2165+*Copies 60/60: "%% FoomaticRIPOptionSetting: Copies=60"
2166+*Copies 61/61: "%% FoomaticRIPOptionSetting: Copies=61"
2167+*Copies 62/62: "%% FoomaticRIPOptionSetting: Copies=62"
2168+*Copies 63/63: "%% FoomaticRIPOptionSetting: Copies=63"
2169+*Copies 64/64: "%% FoomaticRIPOptionSetting: Copies=64"
2170+*Copies 65/65: "%% FoomaticRIPOptionSetting: Copies=65"
2171+*Copies 66/66: "%% FoomaticRIPOptionSetting: Copies=66"
2172+*Copies 67/67: "%% FoomaticRIPOptionSetting: Copies=67"
2173+*Copies 68/68: "%% FoomaticRIPOptionSetting: Copies=68"
2174+*Copies 69/69: "%% FoomaticRIPOptionSetting: Copies=69"
2175+*Copies 70/70: "%% FoomaticRIPOptionSetting: Copies=70"
2176+*Copies 71/71: "%% FoomaticRIPOptionSetting: Copies=71"
2177+*Copies 72/72: "%% FoomaticRIPOptionSetting: Copies=72"
2178+*Copies 73/73: "%% FoomaticRIPOptionSetting: Copies=73"
2179+*Copies 74/74: "%% FoomaticRIPOptionSetting: Copies=74"
2180+*Copies 75/75: "%% FoomaticRIPOptionSetting: Copies=75"
2181+*Copies 76/76: "%% FoomaticRIPOptionSetting: Copies=76"
2182+*Copies 77/77: "%% FoomaticRIPOptionSetting: Copies=77"
2183+*Copies 78/78: "%% FoomaticRIPOptionSetting: Copies=78"
2184+*Copies 79/79: "%% FoomaticRIPOptionSetting: Copies=79"
2185+*Copies 80/80: "%% FoomaticRIPOptionSetting: Copies=80"
2186+*Copies 81/81: "%% FoomaticRIPOptionSetting: Copies=81"
2187+*Copies 82/82: "%% FoomaticRIPOptionSetting: Copies=82"
2188+*Copies 83/83: "%% FoomaticRIPOptionSetting: Copies=83"
2189+*Copies 84/84: "%% FoomaticRIPOptionSetting: Copies=84"
2190+*Copies 85/85: "%% FoomaticRIPOptionSetting: Copies=85"
2191+*Copies 86/86: "%% FoomaticRIPOptionSetting: Copies=86"
2192+*Copies 87/87: "%% FoomaticRIPOptionSetting: Copies=87"
2193+*Copies 88/88: "%% FoomaticRIPOptionSetting: Copies=88"
2194+*Copies 89/89: "%% FoomaticRIPOptionSetting: Copies=89"
2195+*Copies 90/90: "%% FoomaticRIPOptionSetting: Copies=90"
2196+*Copies 91/91: "%% FoomaticRIPOptionSetting: Copies=91"
2197+*Copies 92/92: "%% FoomaticRIPOptionSetting: Copies=92"
2198+*Copies 93/93: "%% FoomaticRIPOptionSetting: Copies=93"
2199+*Copies 94/94: "%% FoomaticRIPOptionSetting: Copies=94"
2200+*Copies 95/95: "%% FoomaticRIPOptionSetting: Copies=95"
2201+*Copies 96/96: "%% FoomaticRIPOptionSetting: Copies=96"
2202+*Copies 97/97: "%% FoomaticRIPOptionSetting: Copies=97"
2203+*Copies 98/98: "%% FoomaticRIPOptionSetting: Copies=98"
2204+*Copies 99/99: "%% FoomaticRIPOptionSetting: Copies=99"
2205+*Copies 100/100: "%% FoomaticRIPOptionSetting: Copies=100"
2206+*CloseUI: *Copies
2207+
2208+*CloseGroup: General
2209+
2210+*OpenGroup: Adjustment/Adjustment
2211+
2212+*OpenUI *halftone/Halftone Algorithm: PickOne
2213+*FoomaticRIPOption halftone: enum CmdLine A
2214+*OrderDependency: 110 AnySetup *halftone
2215+*Defaulthalftone: default
2216+*halftone default/Default: "%% FoomaticRIPOptionSetting: halftone=default"
2217+*FoomaticRIPOptionSetting halftone=default: " "
2218+*halftone as/Accurate Screens (better): "%% FoomaticRIPOptionSetting: halftone=as"
2219+*FoomaticRIPOptionSetting halftone=as: " -qas "
2220+*halftone standard/Standard: "%% FoomaticRIPOptionSetting: halftone=standard"
2221+*FoomaticRIPOptionSetting halftone=standard: " -q1 "
2222+*halftone wts/Well Tempered Screens (best): "%% FoomaticRIPOptionSetting: halftone=wts"
2223+*FoomaticRIPOptionSetting halftone=wts: " -qwts "
2224+*CloseUI: *halftone
2225+
2226+*OpenUI *ICM/ICM Color Profile: PickOne
2227+*FoomaticRIPOption ICM: enum CmdLine A
2228+*OrderDependency: 300 AnySetup *ICM
2229+*DefaultICM: none
2230+*ICM none/No ICM color correction: "%% FoomaticRIPOptionSetting: ICM=none"
2231+*FoomaticRIPOptionSetting ICM=none: "-C10 -Gnone.icm "
2232+*ICM testing/File testing.icm: "%% FoomaticRIPOptionSetting: ICM=testing"
2233+*FoomaticRIPOptionSetting ICM=testing: "-C10 -Gtesting.icm "
2234+*ICM testing2/File testing2.icm: "%% FoomaticRIPOptionSetting: ICM=testing2"
2235+*FoomaticRIPOptionSetting ICM=testing2: "-C10 -Gtesting2.icm "
2236+*ICM testing3/File testing3.icm: "%% FoomaticRIPOptionSetting: ICM=testing3"
2237+*FoomaticRIPOptionSetting ICM=testing3: "-C10 -Gtesting3.icm "
2238+*CloseUI: *ICM
2239+
2240+*CloseGroup: Adjustment
2241+
2242+*OpenGroup: Miscellaneous/Miscellaneous
2243+
2244+*OpenUI *NupOrient/N-up Orientation: PickOne
2245+*FoomaticRIPOption NupOrient: enum CmdLine A
2246+*OrderDependency: 200 AnySetup *NupOrient
2247+*DefaultNupOrient: port
2248+*NupOrient land/Landscape: "%% FoomaticRIPOptionSetting: NupOrient=land"
2249+*FoomaticRIPOptionSetting NupOrient=land: "-ol "
2250+*NupOrient port/Portrait: "%% FoomaticRIPOptionSetting: NupOrient=port"
2251+*FoomaticRIPOptionSetting NupOrient=port: " "
2252+*NupOrient sea/Seascape: "%% FoomaticRIPOptionSetting: NupOrient=sea"
2253+*FoomaticRIPOptionSetting NupOrient=sea: "-os "
2254+*CloseUI: *NupOrient
2255+
2256+*OpenUI *NupPages/N-up Printing: PickOne
2257+*FoomaticRIPOption NupPages: enum CmdLine A
2258+*OrderDependency: 200 AnySetup *NupPages
2259+*DefaultNupPages: 1up
2260+*NupPages 1up/1-up: "%% FoomaticRIPOptionSetting: NupPages=1up"
2261+*FoomaticRIPOptionSetting NupPages=1up: " "
2262+*NupPages 2up/2-up: "%% FoomaticRIPOptionSetting: NupPages=2up"
2263+*FoomaticRIPOptionSetting NupPages=2up: "-2 "
2264+*NupPages 3up/3-up: "%% FoomaticRIPOptionSetting: NupPages=3up"
2265+*FoomaticRIPOptionSetting NupPages=3up: "-3 "
2266+*NupPages 4up/4-up: "%% FoomaticRIPOptionSetting: NupPages=4up"
2267+*FoomaticRIPOptionSetting NupPages=4up: "-4 "
2268+*NupPages 6up/6-up: "%% FoomaticRIPOptionSetting: NupPages=6up"
2269+*FoomaticRIPOptionSetting NupPages=6up: "-6 "
2270+*NupPages 8up/8-up: "%% FoomaticRIPOptionSetting: NupPages=8up"
2271+*FoomaticRIPOptionSetting NupPages=8up: "-8 "
2272+*NupPages 10up/10-up: "%% FoomaticRIPOptionSetting: NupPages=10up"
2273+*FoomaticRIPOptionSetting NupPages=10up: "-10 "
2274+*NupPages 12up/12-up: "%% FoomaticRIPOptionSetting: NupPages=12up"
2275+*FoomaticRIPOptionSetting NupPages=12up: "-12 "
2276+*NupPages 14up/14-up: "%% FoomaticRIPOptionSetting: NupPages=14up"
2277+*FoomaticRIPOptionSetting NupPages=14up: "-14 "
2278+*NupPages 15up/15-up: "%% FoomaticRIPOptionSetting: NupPages=15up"
2279+*FoomaticRIPOptionSetting NupPages=15up: "-15 "
2280+*NupPages 16up/16-up: "%% FoomaticRIPOptionSetting: NupPages=16up"
2281+*FoomaticRIPOptionSetting NupPages=16up: "-16 "
2282+*NupPages 18up/18-up: "%% FoomaticRIPOptionSetting: NupPages=18up"
2283+*FoomaticRIPOptionSetting NupPages=18up: "-18 "
2284+*CloseUI: *NupPages
2285+
2286+*CloseGroup: Miscellaneous
2287+
2288+
2289+*% Generic boilerplate PPD stuff as standard PostScript fonts and so on
2290+
2291+*DefaultFont: Courier
2292+*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
2293+*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
2294+*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
2295+*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
2296+*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
2297+*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
2298+*Font Bookman-Light: Standard "(001.004S)" Standard ROM
2299+*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
2300+*Font Courier: Standard "(002.004S)" Standard ROM
2301+*Font Courier-Bold: Standard "(002.004S)" Standard ROM
2302+*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
2303+*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
2304+*Font Helvetica: Standard "(001.006S)" Standard ROM
2305+*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
2306+*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
2307+*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
2308+*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
2309+*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
2310+*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
2311+*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
2312+*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
2313+*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
2314+*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
2315+*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
2316+*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
2317+*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
2318+*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
2319+*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
2320+*Font Symbol: Special "(001.007S)" Special ROM
2321+*Font Times-Bold: Standard "(001.007S)" Standard ROM
2322+*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
2323+*Font Times-Italic: Standard "(001.007S)" Standard ROM
2324+*Font Times-Roman: Standard "(001.007S)" Standard ROM
2325+*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
2326+*Font ZapfDingbats: Special "(001.004S)" Standard ROM
2327+
2328--- foo2zjs/README 2014-04-03 19:49:11.000000000 +0000
2329+++ foo2zjs/README 2014-03-25 10:49:40.000000000 +0000
2330@@ -128,6 +128,17 @@
2331 - Oki C5100n/C5150n/C5200n
2332 - Oki C5500n/C5600n/C5800n
2333
2334+ FOO2HBPL1
2335+ ---------
2336+ foo2hbpl1 converts Ghostscript pbmraw, pgmraw, ppmraw, or pamcmyk32
2337+ output formats to monochrome or color HBPL version 1 streams.
2338+
2339+ - Dell 1250c
2340+ - Dell C1660
2341+ - Dell C1760
2342+ - Epson AcuLaser C1700
2343+ - Fuji-Xerox DocuPrint CP105
2344+
2345 FOO2HBPL2
2346 ---------
2347 foo2hbpl2 converts Ghostscript pbmraw, bitcmyk, or pksmraw output for‐
2348--- foo2zjs/README.in 2014-04-03 19:43:10.000000000 +0000
2349+++ foo2zjs/README.in 2014-03-25 10:49:27.000000000 +0000
2350@@ -128,6 +128,17 @@
2351 - Oki C5100n/C5150n/C5200n
2352 - Oki C5500n/C5600n/C5800n
2353
2354+ FOO2HBPL1
2355+ ---------
2356+ foo2hbpl1 converts Ghostscript pbmraw, pgmraw, ppmraw, or pamcmyk32
2357+ output formats to monochrome or color HBPL version 1 streams.
2358+
2359+ - Dell 1250c
2360+ - Dell C1660
2361+ - Dell C1760
2362+ - Epson AcuLaser C1700
2363+ - Fuji-Xerox DocuPrint CP105
2364+
2365 FOO2HBPL2
2366 ---------
2367 foo2hbpl2 converts Ghostscript pbmraw, bitcmyk, or pksmraw output for‐
2368--- foo2zjs/foo2hbpl1-wrapper.1in 1970-01-01 00:00:00.000000000 +0000
2369+++ foo2zjs/foo2hbpl1-wrapper.1in 2014-03-24 12:30:14.000000000 +0000
2370@@ -0,0 +1,240 @@
2371+'\" t
2372+.TH foo2hbpl1-wrapper 1 "${MODpage}" "foo2hbpl1-wrapper ${MODver}"
2373+#ifndef OLDGROFF
2374+#include "macros.man"
2375+#endif
2376+'\"==========================================================================
2377+'\" MANUAL PAGE SOURCE
2378+'\"==========================================================================
2379+.SH NAME
2380+foo2hbpl1-wrapper \- Convert Postscript into a ZJS printer stream
2381+.SH SYNOPSIS
2382+.B foo2hbpl1-wrapper
2383+.RI [ options "] [" ps-file ]
2384+.SH DESCRIPTION
2385+.B foo2hbpl1-wrapper
2386+is a Foomatic compatible printer wrapper for the \fBfoo2hbpl1\fP printer driver.
2387+This script reads a Postscript \fIps-file\fP or standard input
2388+and converts it to Zenographics ZjStream printer format
2389+for driving the
2390+Dell 1250c, Dell C1660w, Dell C1760w,
2391+Epson AcuLaser C1700,
2392+and Fuji-Xerox CP105b printers.
2393+.P
2394+This script can be used in a standalone fashion, but is intended to
2395+be called from a printer spooler system which uses the Foomatic
2396+printer database.
2397+
2398+.SH COMMAND LINE OPTIONS
2399+.SS Normal Options
2400+These are the options used to select the parameters of a
2401+print job that are usually controlled on a per job basis.
2402+.TP
2403+.BI \-c
2404+Print in color (else monochrome).
2405+.TP
2406+.BI \-C\0 colormode
2407+Color correction mode [0].
2408+.TS
2409+n l .
2410+10 ICM color profile (using -G *.icm file)
2411+.TE
2412+.TP
2413+.BI \-d\0 duplex
2414+Duplex code to send to printer [1].
2415+.TS
2416+| n l | n l | n l .
2417+1 off 2 long edge 3 short edge
2418+.TE
2419+.TP
2420+.BI \-m\0 media
2421+Media code to send to printer [1].
2422+.TS
2423+l r.
2424+_
2425+Media HBPL
2426+_
2427+plain 1
2428+bond 2
2429+lwcard 3
2430+lwgcard 4
2431+labels 5
2432+envelope 6
2433+recycled 7
2434+plain2 8
2435+bond2 9
2436+lwcard2 10
2437+lwgcard2 11
2438+recycled2 12
2439+.TE
2440+.TP
2441+.BI \-p\0 paper
2442+Paper size code to send to printer [1].
2443+.TS
2444+l r.
2445+_
2446+Paper HBPL
2447+_
2448+A4 1
2449+B5jis 2
2450+letter 4
2451+executive 5
2452+fanfold german legal 6
2453+folio 6
2454+legal 7
2455+env#10 9
2456+envMonarch 10
2457+envC5 11
2458+envDL 12
2459+.TE
2460+.TP
2461+.BI \-n\0 copies
2462+Number of copies [1].
2463+.TP
2464+.BI \-r\0 xres x yres
2465+Set device resolution in pixels/inch [1200x600].
2466+.TP
2467+.BI \-s\0 source
2468+Source (Input Slot) code to send to printer [7].
2469+.TS
2470+| n l | n l.
2471+1 upper 4 manual
2472+2 lower 7 auto
2473+.TE
2474+.TP
2475+.BI \-t
2476+Draft mode. Every other pixel is white.
2477+.TP
2478+.BI \-T\0 density
2479+Print density (1-5). The default is 3 (medium).
2480+.TP
2481+.BI "\-2 \-3 \-4 \-5 \-6 \-8 \-9 \-10 \-12 \-14 \-15 \-16 \-18"
2482+Print in N-up. Requires the \fBpsutils\fP package.
2483+.TP
2484+.BI \-o\0 orient
2485+Orientation used for N-up.
2486+.TS
2487+l l l.
2488+Portrait -op (normal)
2489+Landscape -ol (rotated 90 degrees anticlockwise)
2490+Seascape -os (rotated 90 degrees clockwise)
2491+.TE
2492+.SS Printer Tweaking Options
2493+These are the options used to customize the operation of \fBfoo2hbpl1\fP
2494+for a particular printer.
2495+.TP
2496+.BI \-u\0 xoff x yoff
2497+Set the offset of the start of the printable region from the
2498+upper left corner, in pixels [varies with paper size].
2499+The defaults should work on the 2200DL and 2300DL, and have not
2500+been tested on any other printers.
2501+.TP
2502+.BI \-l\0 xoff x yoff
2503+Set the offset of the end of the printable region from the
2504+lower right corner, in pixels [varies with paper size].
2505+The defaults should work on the 2200DL and 2300DL, and have not
2506+been tested on any other printers.
2507+.TP
2508+.BI \-L\0 mask
2509+Send the logical clipping values from -u/-l in the ZjStream.
2510+\fBfoo2hbpl1-wrapper\fP always runs Ghostscript with the ideal page dimensions,
2511+so that the scale of the image is correct,
2512+regardless whether or not the printer has unprintable regions.
2513+This option is used to move the position of the clipped image
2514+back to where it belongs on the page. The default is to send
2515+the amount which was clipped by -u and -l, and should be
2516+good in most cases.
2517+.TS
2518+l l.
2519+0 don't send any logical clipping amounts
2520+1 only send Y clipping amount
2521+2 only send X clipping amount
2522+3 send both X and Y clipping amounts
2523+.TE
2524+.TP
2525+.BI \-P
2526+Do not send START_PLANE codes on monochrome output. May be
2527+needed by some monochrome-only printers, such as the
2528+HP LaserJet 1000.
2529+.TP
2530+.BI \-X\0 padlen
2531+Add extra zero padding to the end of BID segments. The default is
2532+16 bytes. Padding 16 bytes of zeroes
2533+is needed for older ZjStream printers, such as the Minolta 2200DL
2534+and HP LaserJet 1000, and seems harmless to newer ones, such as
2535+the Minolta 2300DL. So the default should be good for all cases.
2536+.SS Color Tweaking Options
2537+These are the options used to control the quality of color output.
2538+Color correction is currently a WORK IN PROGRESS.
2539+.TP
2540+.BI \-g\0 gsopts
2541+Additional options to pass to Ghostscript, such as -g\(lq-dDITHERPPI=nnn\(rq,
2542+etc. This option may appear more than once.
2543+.TP
2544+.BI \-G\0 profile.icm
2545+Convert \fIprofile.icm\fP to a Postscript color rendering
2546+dictionary (CRD) using \fBfoo2zjs-icc2ps\fP and
2547+adjust the printer colors by using the Postscript \fBsetcolorrendering\fP
2548+operator. (WORK IN PROGRESS).
2549+.TP
2550+.BI \-G\0 gamma-file.ps
2551+Prepend \fIgamma-file.ps\fP to the Postscript input to perform
2552+color correction using the \fBsetcolortransfer\fP Postscript operator.
2553+For example, the file might contain:
2554+.br
2555+{0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer
2556+.TP
2557+.BI \-I\0 intent
2558+Select profile intent from the ICM file.
2559+0=Perceptual, 1=Colorimetric, 2=Saturation, 3=Absolute.
2560+Default is 0 (perceptual).
2561+.SS Debugging Options
2562+These options are used for debugging \fBfoo2hbpl1\fP and its wrapper.
2563+.TP
2564+.BI \-S\0 plane
2565+Output just a single color plane from a color print and print it
2566+on the black plane. The default is to output all color planes.
2567+.TS
2568+l l.
2569+1 Cyan
2570+2 Magenta
2571+3 Yellow
2572+4 Black
2573+.TE
2574+.TP
2575+.BI \-D\0 level
2576+Set Debug level [0].
2577+
2578+.SH EXAMPLES
2579+Create a monochrome ZjStream from a Postscript document,
2580+examine it, and then print it using a RAW print queue:
2581+
2582+.RS
2583+.nf
2584+foo2hbpl1-wrapper testpage.ps > testpage.prn
2585+hbpl1decode < testpage.prn
2586+lpr -P raw testpage.prn
2587+.fi
2588+.RE
2589+.P
2590+Create a color ZjStream stream from a Postscript document:
2591+
2592+.RS
2593+.nf
2594+foo2hbpl1-wrapper -c testpage.ps > testpage.prn
2595+.fi
2596+.RE
2597+
2598+.SH FILES
2599+.BR /usr/bin/foo2hbpl1-wrapper
2600+.SH SEE ALSO
2601+.BR foo2hbpl1 (1),
2602+.BR hbpldecode (1)
2603+.SH "AUTHOR"
2604+Rick Richardson <rick.richardson@comcast.net>
2605+.br
2606+${URLHBPL}/
2607+'\"
2608+'\"
2609+'\"
2610+.em pdf_outline
2611--- foo2zjs/foo2hbpl1-wrapper.in 1970-01-01 00:00:00.000000000 +0000
2612+++ foo2zjs/foo2hbpl1-wrapper.in 2014-04-04 19:06:24.048060000 +0000
2613@@ -0,0 +1,577 @@
2614+#!/bin/sh
2615+
2616+#* Copyright (C) 2013 Rick Richardson
2617+#*
2618+#* This program is free software; you can redistribute it and/or modify
2619+#* it under the terms of the GNU General Public License as published by
2620+#* the Free Software Foundation; either version 2 of the License, or
2621+#* (at your option) any later version.
2622+#*
2623+#* This program is distributed in the hope that it will be useful,
2624+#* but WITHOUT ANY WARRANTY; without even the implied warranty of
2625+#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2626+#* GNU General Public License for more details.
2627+#*
2628+#* You should have received a copy of the GNU General Public License
2629+#* along with this program; if not, write to the Free Software
2630+#* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
2631+#*
2632+#* Authors: Rick Richardson <rick.richardson@comcast.net>
2633+
2634+VERSION='$Id: foo2hbpl1-wrapper.in,v 1.3 2014/03/24 23:14:24 rick Exp $'
2635+
2636+#
2637+# Printer Notes:
2638+#
2639+# Dell 1250c
2640+# Dell C1660w
2641+# Dell C1760w
2642+# Epson AcuLaser C1700
2643+# Fuji-Xerox DocuPrint CP105b
2644+#
2645+
2646+PROGNAME="$0"
2647+BASENAME=`basename $PROGNAME`
2648+PREFIX=/usr
2649+SHARE=$PREFIX/share/foo2hbpl
2650+PATH=$PATH:/sw/bin:/opt/local/bin
2651+
2652+#
2653+# Log the command line, for debugging and problem reports
2654+#
2655+if [ -x /usr/bin/logger -o -x /bin/logger ]; then
2656+ logger -t "$BASENAME" -p lpr.info -- "$BASENAME $@" </dev/null
2657+fi
2658+
2659+usage() {
2660+ cat <<EOF
2661+Usage:
2662+ $BASENAME [options] [ps-file]
2663+
2664+ Foomatic printer wrapper for the foo2hbpl1 printer driver.
2665+ This script reads a Postscript ps-file or standard input
2666+ and converts it to a Xerox HBPL version 1 stream.
2667+
2668+Normal Options:
2669+-c Print in color (else monochrome)
2670+-C colormode Colormode [$COLORMODE]
2671+ 10=ICM RGB color profile (using -G *.icm file)
2672+-m media Media code to send to printer [$MEDIA]
2673+ 1=plain, 2=bond, 3=lwcard, 4=lwgcard, 5=labels,
2674+ 6=envelope, 7=recycled, 8=plain2, 9=bond2,
2675+ 10=lwcard2, 11=lwgcard2, 12=recycled2
2676+-p paper Paper code [$PAPER]
2677+ letter, legal, a4, executive, env10, monarch,
2678+ c5, envDL, isob5, jisb5, a5, folio, CustomWxH
2679+-n copies Number of copies [$COPIES]
2680+ Resolution is always 600x600
2681+-t Draft mode. Every other pixel is white.
2682+-2/-3/-4/-6/-8/-10/-12/-14/-15/-16/-18
2683+ Print with N-up (requires psutils)
2684+-o orient For N-up: -op is portrait, -ol is landscape, -os is seascape.
2685+
2686+Printer Tweaking Options:
2687+-u left,top,right,bottom
2688+ Clip (i.e. white-out) margins of specified width
2689+
2690+Color Tweaking Options:
2691+-g gsopts Additional options to pass to Ghostscript, such as
2692+ -dDITHERPPI=nnn, etc. May appear more than once. []
2693+-G profile.icm Convert profile.icm to a Postscript CRD using icc2ps and
2694+ adjust colors using the setcolorrendering PS operator.
2695+ $SHARE/icm/ will be searched for profile.icm.
2696+-I intent Select profile intent from ICM file [$INTENT]
2697+ 0=Perceptual, 1=Colorimetric, 2=Saturation, 3=Absolute
2698+-G gamma-file.ps Prepend gamma-file to the Postscript input to perform
2699+ color correction using the setcolortransfer PS operator.
2700+
2701+Debugging Options:
2702+-D lvl Set Debug level [$DEBUG]
2703+-V $VERSION
2704+EOF
2705+
2706+ exit 1
2707+}
2708+
2709+#
2710+# Report an error and exit
2711+#
2712+error() {
2713+ echo "$BASENAME: $1" >&2
2714+ exit 1
2715+}
2716+
2717+dbgcmd() {
2718+ if [ $DEBUG -ge 1 ]; then
2719+ echo "$@" >&2
2720+ fi
2721+ "$@"
2722+}
2723+
2724+#
2725+# N-up-ify the job. Requires psnup from psutils package
2726+#
2727+nup() {
2728+ case "$NUP" in
2729+ [2368]|1[0458])
2730+ tr '\r' '\n' | psnup $NUP_ORIENT -d2 -$NUP -m.3in -p$paper -q
2731+ ;;
2732+ [49]|1[26])
2733+ tr '\r' '\n' | psnup $NUP_ORIENT -d2 -$NUP -m.5in -p$paper -q
2734+ ;;
2735+ *)
2736+ error "Illegal call to nup()."
2737+ ;;
2738+ esac
2739+}
2740+
2741+#
2742+# Process the options
2743+#
2744+
2745+# Try to use a local copy of GhostScript 8.54, if available. Otherwise,
2746+# fallback to whatever the Linux distro has installed (usually 7.07)
2747+#
2748+# N.B. := operator used here, when :- would be better, because "ash"
2749+# doesn't have :-
2750+if eval gs.foo -v >/dev/null 2>&1; then
2751+ GSBIN=${GSBIN:-gs.foo}
2752+else
2753+ GSBIN=${GSBIN:-gs}
2754+fi
2755+
2756+CMDLINE="$*"
2757+DEBUG=0
2758+COLOR=
2759+COLORMODE=default
2760+MODEL=0
2761+MEDIA=1 # plain
2762+COPIES=1
2763+PAPER=letter
2764+RES=600x600 # do not change this
2765+SOURCE=1
2766+NUP=
2767+CLIP_ALL=
2768+BC=
2769+AIB=
2770+NOPLANES=
2771+COLOR2MONO=
2772+GAMMAFILE=default
2773+INTENT=0
2774+GSOPTS=
2775+EXTRAPAD=
2776+SAVETONER=
2777+NUP_ORIENT=
2778+GSDEV=-sDEVICE=pgmraw
2779+# What mode to use if the user wants us to pick the "best" mode
2780+case `$GSBIN --version` in
2781+7*) DEFAULTCOLORMODE=10
2782+ DEFAULTCOLORMODE=1
2783+ ;;
2784+8.1*)
2785+ DEFAULTCOLORMODE=1
2786+ QUALITY=1
2787+ ;;
2788+*) DEFAULTCOLORMODE=1
2789+ ;;
2790+esac
2791+while getopts "1:23456789o:b:cC:d:g:l:u:L:m:n:p:q:s:tz:ABS:D:G:I:PX:Vh?" opt
2792+do
2793+ case $opt in
2794+ b) GSBIN="$OPTARG";;
2795+ c) COLOR=-c;;
2796+ d) DUPLEX="$OPTARG";;
2797+ g) GSOPTS="$GSOPTS $OPTARG";;
2798+ m) MEDIA="$OPTARG";;
2799+ n) COPIES="$OPTARG";;
2800+ p) PAPER="$OPTARG";;
2801+ q) QUALITY="$OPTARG";;
2802+ s) SOURCE="$OPTARG";;
2803+ t) SAVETONER="-t";;
2804+ z) MODEL="$OPTARG";;
2805+ u) CLIP_ALL="-u $OPTARG";;
2806+ A) AIB=-A;;
2807+ B) BC=-B;;
2808+ C) COLORMODE="$OPTARG";;
2809+ S) COLOR2MONO="-S$OPTARG";;
2810+ D) DEBUG="$OPTARG";;
2811+ G) GAMMAFILE="$OPTARG";;
2812+ I) INTENT="$OPTARG";;
2813+ P) NOPLANES=-P;;
2814+ X) EXTRAPAD="-X $OPTARG";;
2815+ [234689]) NUP="$opt";;
2816+ [57]) error "Can't find acceptable layout for $opt-up";;
2817+ 1) case "$OPTARG" in
2818+ [024568]) NUP="1$OPTARG";;
2819+ *) error "Can't find acceptable layout for 1$OPTARG-up";;
2820+ esac
2821+ ;;
2822+ o) case "$OPTARG" in
2823+ l*) NUP_ORIENT=-l;;
2824+ s*) NUP_ORIENT=-r;;
2825+ p*|*) NUP_ORIENT=;;
2826+ esac;;
2827+ V) echo "$VERSION"; foo2hbpl -V; foo2zjs-pstops -V; exit 0;;
2828+ h|\?)
2829+ if [ "$CMDLINE" != "-?" -a "$CMDLINE" != -h ]; then
2830+ echo "Illegal command:"
2831+ echo " $0 $CMDLINE"
2832+ echo
2833+ fi
2834+ usage;;
2835+ esac
2836+done
2837+shift `expr $OPTIND - 1`
2838+
2839+#
2840+# If there is an argument left, take it as the file to print.
2841+# Else, the input comes from stdin.
2842+#
2843+if [ $# -ge 1 ]; then
2844+ if [ "$LPJOB" = "" ]; then
2845+ : # LPJOB="$1"
2846+ fi
2847+ exec < $1
2848+fi
2849+
2850+#
2851+# Validate media code
2852+#
2853+case "$MEDIA" in
2854+1|plain) MEDIA=1;;
2855+2|bond) MEDIA=2;;
2856+3|lwcard) MEDIA=3;;
2857+4|lwgcard) MEDIA=4;;
2858+5|labels) MEDIA=5;;
2859+6|envelope) MEDIA=6;;
2860+7|recycled) MEDIA=7;;
2861+8|plain2) MEDIA=8;;
2862+9|bond2) MEDIA=9;;
2863+10|lwcard2) MEDIA=10;;
2864+11|lwgcard2) MEDIA=11;;
2865+12|recycled2) MEDIA=12;;
2866+[0-9]*) ;;
2867+*) error "Unknown media code $MEDIA";;
2868+esac
2869+
2870+#
2871+# Validate source (InputSlot) code
2872+#
2873+case "$SOURCE" in
2874+1|auto) SOURCE=1;;
2875+2|manual) SOURCE=2;;
2876+3|multi) SOURCE=3;;
2877+4|tray1) SOURCE=4;;
2878+[0-9]*) ;;
2879+*) error "Unknown source code $SOURCE";;
2880+esac
2881+
2882+#
2883+# Figure out the paper dimensions in pixels/inch, and set the
2884+# default clipping region. Unfortunately, this is a trouble
2885+# area for ZjStream printers. Various versions of ZjS print
2886+# engines react differently when asked to print into their
2887+# unprintable regions.
2888+#
2889+set_clipping() {
2890+
2891+ # Set clipping region if it isn't already set
2892+ if [ "$CLIP_ALL" = "" ]; then
2893+ CLIP_ALL="-u $1,$2,$3,$4"
2894+ fi
2895+}
2896+
2897+case "$PAPER" in
2898+Custom*x*)
2899+ # Command line only
2900+ XDIM=`echo "$PAPER" | sed -e "s/Custom.//" -e "s/x.*//" `
2901+ YDIM=`echo "$PAPER" | sed -e "s/.*x//" `
2902+ if [ "$XDIM" = "" -o "$YDIM" = "" ]; then
2903+ error "Custom page size '$PAPER' != 1-99999"
2904+ fi
2905+ if [ "$XDIM" -eq 0 -o "$YDIM" -eq 0 ]; then
2906+ error "Custom page size '$PAPER' != 1-99999"
2907+ fi
2908+ XDIM=`dc -e "$XDIM 600* 72/p"`
2909+ YDIM=`dc -e "$YDIM 600* 72/p"`
2910+ PAPER=21; paper=letter;
2911+ DIM="${XDIM}x${YDIM}"
2912+ ;;
2913+Custom*)
2914+ #%%BeginFeature: *CustomPageSize True
2915+ #216
2916+ #360
2917+ #0
2918+ #0
2919+ #0
2920+ #pop pop pop pop pop
2921+
2922+ #%%BeginFeature: *CustomPageSize True
2923+ #792.000000 612.000000 1 0.000000 0.000000
2924+ #pop pop pop pop pop
2925+
2926+ if [ $DEBUG = 0 ]; then
2927+ TMPFILE=/tmp/cus$$
2928+ else
2929+ TMPFILE=/tmp/custom.ps
2930+ fi
2931+ cat >$TMPFILE
2932+ exec <$TMPFILE
2933+
2934+ tmp=`head -n 10000 $TMPFILE \
2935+ | sed -n '/CustomPageSize/{n;p;n;p;}' \
2936+ | tr '\n' ' '`
2937+ case "$tmp" in
2938+ [0-9]*\ [0-9]*)
2939+ XDIM=`echo "$tmp" | sed 's/ .*//'`
2940+ YDIM=`echo "$tmp" | sed -e 's/^[^ ]* //' -e 's/ .*//'`
2941+ ;;
2942+ *)
2943+ if [ $DEBUG = 0 ]; then rm -f $TMPFILE; fi
2944+ error "Custom page size [XY]DIM != 1-99999"
2945+ ;;
2946+ esac
2947+ XDIM=`dc -e "$XDIM 600* 72/p"`
2948+ YDIM=`dc -e "$YDIM 600* 72/p"`
2949+ PAPER=21; paper=letter;
2950+ DIM="${XDIM}x${YDIM}"
2951+ ;;
2952+
2953+# Use names that Ghostscript recognizes, referring to
2954+# /usr/share/ghostscript/9.10/Resource/Init/gs_statd.ps
2955+# foo2hbpl1 will provide the appropriate numeric value
2956+
2957+letter) DIM=5100x6600 ;;
2958+legal) DIM=5100x8400 ;;
2959+a4) DIM=4961x7016 ;;
2960+executive) DIM=4350x6300 ;;
2961+env10) DIM=2475x5700 ;;
2962+monarch) DIM=2325x4500 ;;
2963+c5) DIM=3827x5409 ;;
2964+envDL) DIM=2599x5197 ;;
2965+isob5|b5) DIM=4158x5906 ;;
2966+jisb5) DIM=4299x6071 ;;
2967+a5) DIM=3496x4961 ;;
2968+folio) DIM=5100x7800 ;;
2969+pa4) DIM=4961x6600 ;;
2970+archA) DIM=5400x7200 ;;
2971+*) error "Unimplemented paper code $PAPER";;
2972+esac
2973+
2974+#set_clipping 47 48 51 46 # exact values for Dell C1660w on letter paper
2975+ set_clipping 51 51 51 51 # default is 0.085 inches all around
2976+
2977+PAPERSIZE="-sPAPERSIZE=$PAPER";
2978+
2979+#
2980+# Filter thru psnup if N-up printing has been requested
2981+#
2982+case $NUP in
2983+[234689]|1[024568]) PREFILTER="nup";;
2984+*) PREFILTER=cat;;
2985+esac
2986+if [ "$DEBUG" -ge 9 ]; then
2987+ PREFILTER="tee /tmp/$BASENAME.ps"
2988+fi
2989+
2990+#
2991+# Overload -G. If the file name ends with ".icm" or ".ICM"
2992+# then convert the ICC color profile to a Postscript CRD,
2993+# then prepend it to the users job. Select the intent
2994+# using the -I option.
2995+#
2996+
2997+create_crd() {
2998+ #
2999+ # Create a Postscript CRD
3000+ #
3001+ ICC2PS=$PREFIX/bin/foo2zjs-icc2ps
3002+ if [ -x $ICC2PS ]; then
3003+ case "$GAMMAFILE" in
3004+ none | none.icm | */none.icm)
3005+ ;;
3006+ *)
3007+ if [ -x /usr/bin/logger ]; then
3008+ logger -t "$BASENAME" -p lpr.info -- \
3009+ "`basename $ICC2PS` -o $GAMMAFILE -t$INTENT > $ICCTMP.crd.ps"
3010+ fi
3011+ $ICC2PS -o $GAMMAFILE -t$INTENT > $ICCTMP.crd.ps 2>$ICCTMP.log \
3012+ || error "Problem converting .ICM file to Postscript"
3013+ ;;
3014+ esac
3015+
3016+ PSTOPS_OPTS="$PSTOPS_OPTS -c"
3017+ cat > $ICCTMP.usecie.ps <<-EOF
3018+ %!PS-Adobe-3.0
3019+ <</UseCIEColor true>>setpagedevice
3020+ EOF
3021+ if [ "$QUALITY" = wts -o "$QUALITY" = as ]; then
3022+ if [ "$QUALITY" = wts ]; then
3023+ cat >> $ICCTMP.usecie.ps <<-EOF
3024+ << /UseWTS true >> setuserparams
3025+ EOF
3026+ else
3027+ cat >> $ICCTMP.usecie.ps <<-EOF
3028+ << /UseWTS false >> setuserparams
3029+ EOF
3030+ fi
3031+ cat >> $ICCTMP.usecie.ps <<-EOF
3032+ <<
3033+ /AccurateScreens true
3034+ /HalftoneType 1
3035+ /HalftoneName (Round Dot Screen) cvn
3036+ /SpotFunction { 180 mul cos exch 180 mul cos add 2 div}
3037+ /Frequency 137
3038+ /Angle 37
3039+ >> sethalftone
3040+ EOF
3041+ fi
3042+ cat > $ICCTMP.selcrd.ps <<-EOF
3043+ /Current /ColorRendering findresource setcolorrendering
3044+ EOF
3045+ case "$GAMMAFILE" in
3046+ none | none.icm | */none.icm) GAMMAFILE="$ICCTMP.usecie.ps";;
3047+ *) GAMMAFILE="$ICCTMP.usecie.ps $ICCTMP.crd.ps $ICCTMP.selcrd.ps";;
3048+ esac
3049+ else
3050+ GAMMAFILE=
3051+ fi
3052+}
3053+
3054+if [ $DEBUG -gt 0 ]; then
3055+ ICCTMP=/tmp/icc
3056+else
3057+ ICCTMP=/tmp/icc$$
3058+fi
3059+
3060+if [ "" = "$COLOR" ]; then
3061+ COLORMODE=
3062+ GAMMAFILE=
3063+else
3064+ case "$COLORMODE" in
3065+ default) COLORMODE=$DEFAULTCOLORMODE;;
3066+ esac
3067+ case "$GAMMAFILE" in
3068+ default) GAMMAFILE=samclp300-0.icm;;
3069+ esac
3070+fi
3071+
3072+CRDBASE="$PREFIX/share/foo2hbpl/crd"
3073+case "$MODEL" in
3074+ 0) model=CLP-300;;
3075+ 1) model=CLP-600;;
3076+ 2) model=CLP-600;;
3077+ 3) model=CLP-600;;
3078+esac
3079+
3080+PSTOPS_OPTS="-n"
3081+
3082+case "$COLORMODE" in
3083+0|"")
3084+ # Monochrome
3085+ ;;
3086+10|icm)
3087+ # Use old ICM method
3088+ AIB=-A
3089+ BC=-B
3090+ case "$GAMMAFILE" in
3091+ none | none.icm | */none.icm)
3092+ create_crd
3093+ ;;
3094+ *.icm|*.ICM|*.icc|*.ICC)
3095+ #
3096+ # Its really an .ICM file, not a gamma file.
3097+ #
3098+ # The file can be a full path name, or the name of a file in $SHARE/icm/
3099+ #
3100+ if [ -r "$GAMMAFILE" ]; then
3101+ create_crd
3102+ elif [ -r "$SHARE/icm/$GAMMAFILE" ]; then
3103+ GAMMAFILE="$SHARE/icm/$GAMMAFILE"
3104+ create_crd
3105+ else
3106+ GAMMAFILE=
3107+ fi
3108+ ;;
3109+ esac
3110+ ;;
3111+1|crd)
3112+ # CRD
3113+ GAMMAFILE=""
3114+ GAMMAFILE="$GAMMAFILE $CRDBASE/${model}cms"
3115+ GAMMAFILE="$GAMMAFILE $CRDBASE/$SCREEN"
3116+ # Black text...
3117+ TMPFILE2=/tmp/black$$
3118+ cat $CRDBASE/black-text.ps - >$TMPFILE2
3119+ exec <$TMPFILE2
3120+ ;;
3121+*.crd)
3122+ GAMMAFILE="$CRDBASE/prolog.ps"
3123+ if [ -f $COLORMODE ]; then
3124+ GAMMAFILE="$GAMMAFILE $COLORMODE"
3125+ elif [ -f $CRDBASE/$COLORMODE ]; then
3126+ GAMMAFILE="$GAMMAFILE $CRDBASE/$COLORMODE"
3127+ else
3128+ error "Can't find CRD '$COLORMODE' in . or in $CRDBASE"
3129+ fi
3130+ GAMMAFILE="$GAMMAFILE $CRDBASE/$SCREEN"
3131+ ;;
3132+*)
3133+ error "Unknown color method '$COLORMODE'"
3134+ ;;
3135+esac
3136+
3137+if [ "" != "$COLOR" ]; then
3138+ GSDEV=-sDEVICE=pamcmyk32
3139+ $GSBIN --help | grep -q pamcmyk32 || GSDEV=-sDEVICE=ppmraw
3140+fi
3141+
3142+#
3143+# Figure out USERNAME
3144+#
3145+if [ "$LPUSER" != "" ]; then
3146+ USER="$LPUSER@$LPHOST"
3147+else
3148+ USER=""
3149+fi
3150+
3151+#
3152+# Main Program, just cobble together the pipeline and run it
3153+#
3154+# The malarky with file descriptors 1 and 3 is to avoid a bug in
3155+# (some versions?) of Ghostscript where Postscript's stdout gets
3156+# intermingled with the printer drivers output, resulting in
3157+# corrupted image data.
3158+#
3159+GS="$GSBIN -q -dBATCH -dSAFER -dQUIET -dNOPAUSE"
3160+
3161+foo2zjs-pstops $PSTOPS_OPTS | \
3162+$PREFILTER \
3163+| ($GS $PAPERSIZE -g$DIM -r$RES $GSDEV $GSOPTS \
3164+ -sOutputFile="|cat 1>&3" $GAMMAFILE -_ >/dev/null) 3>&1 \
3165+| foo2hbpl1 -m$MEDIA $CLIP_ALL -J "$LPJOB" -U "$USER"
3166+
3167+#
3168+# Log the command line, for debugging and problem reports
3169+#
3170+if [ -x /usr/bin/logger ]; then
3171+ logger -t "$BASENAME" -p lpr.info -- \
3172+ "$GSBIN $PAPERSIZE -g$DIM -r$RES $GSDEV $GSOPTS $GAMMAFILE"
3173+ logger -t "$BASENAME" -p lpr.info -- \
3174+ "foo2hbpl1 -m$MEDIA $CLIP_ALL"
3175+fi
3176+
3177+#
3178+# Remove cruft
3179+#
3180+if [ $DEBUG -eq 0 ]; then
3181+ for i in crd.ps log usecie.ps selcrd.ps
3182+ do
3183+ file="$ICCTMP.$i"
3184+ [ -f $file ] && rm -f $file
3185+ done
3186+ [ -f "$TMPFILE" ] && rm -f $TMPFILE
3187+ [ -f "$TMPFILE2" ] && rm -f $TMPFILE2
3188+fi
3189+
3190+exit 0
3191--- foo2zjs/foo2hbpl1.1in 1970-01-01 00:00:00.000000000 +0000
3192+++ foo2zjs/foo2hbpl1.1in 2014-03-24 12:30:14.000000000 +0000
3193@@ -0,0 +1,68 @@
3194+'\" t
3195+.TH foo2hbpl1 1 "${MODpage}" "foo2hbpl1 ${MODver}"
3196+#ifndef OLDGROFF
3197+#include "macros.man"
3198+#endif
3199+'\"==========================================================================
3200+'\" MANUAL PAGE SOURCE
3201+'\"==========================================================================
3202+.SH NAME
3203+foo2hbpl1 \- Convert Ghostscript output to an HBPLv1 printer stream
3204+.SH SYNOPSIS
3205+.B foo2hbpl1
3206+.RI [ options "] <" pnm-or-pam-file " >" hbpl1-file
3207+.SH DESCRIPTION
3208+.B foo2hbpl1
3209+converts Ghostscript pbmraw, pgmraw, ppmraw, or pamcmyk32 output
3210+formats to monochrome or color HBPL version 1 streams, to drive the
3211+Dell 1250c, Dell C1660w, Dell C1760w,
3212+Epson AcuLaser C1700,
3213+and Fuji-Xerox CP105b printers.
3214+
3215+.SH COMMAND LINE OPTIONS
3216+.TP
3217+.BI \-J\0 filename
3218+Filename string to send to printer.
3219+.TP
3220+.BI \-U\0 username
3221+Username string to send to printer.
3222+.SH EXAMPLES
3223+Create a black and white ZJS stream:
3224+
3225+.RS
3226+.nf
3227+gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \
3228+ -sPAPERSIZE=letter -r600x600 -sDEVICE=pgmraw \
3229+ -sOutputFile=- - < testpage.ps \
3230+| foo2hbpl1 >testpage.zm
3231+.fi
3232+.RE
3233+.P
3234+Create a color ZJS stream:
3235+
3236+.RS
3237+.nf
3238+gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \
3239+ -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pamcmyk32 \
3240+ -sOutputFile=- - < testpage.ps \
3241+| foo2hbpl1 >testpage.zc
3242+.fi
3243+.RE
3244+
3245+.SH FILES
3246+.BR /usr/bin/foo2hbpl1
3247+.SH SEE ALSO
3248+.BR foo2hbpl1-wrapper (1),
3249+.BR hbpldecode (1)
3250+.SH "AUTHOR"
3251+Rick Richardson <rick.richardson@comcast.net>
3252+.br
3253+Peter Korf <peter@niendo.de>
3254+.br
3255+Dave Coffin <dcoffin@cybercom.net>
3256+.br
3257+${URLHBPL}/
3258+'\"
3259+'\"
3260+'\"
3261+.em pdf_outline
3262--- foo2zjs/foo2hbpl1.c 1970-01-01 00:00:00.000000000 +0000
3263+++ foo2zjs/foo2hbpl1.c 2014-04-04 18:18:29.692060000 +0000
3264@@ -0,0 +1,692 @@
3265+/*
3266+
3267+GENERAL
3268+This program converts bilevel PBM, 8-bit PGM, 24-bit PPM, and 32-bit
3269+CMYK PAM files (output by Ghostscript as "pbmraw", "pgmraw", "ppmraw",
3270+and "pamcmyk32" respectively) to HBPL version 1 for the consumption
3271+of various Dell, Epson, and Fuji-Xerox printers.
3272+
3273+With this utility, you can print to some Dell and Fuji printers, such as these:
3274+ - Dell 1250c B/W and Color
3275+ - Dell C1660 B/W and Color
3276+ - Dell C1760 B/W and Color
3277+ - Epson AcuLaser C1700 B/W and Color
3278+ - Fuji-Xerox DocuPrint CP105 B/W and Color
3279+
3280+AUTHORS
3281+This program was originally written by Dave Coffin in March 2014.
3282+
3283+LICENSE
3284+This program is free software; you can redistribute it and/or modify
3285+it under the terms of the GNU General Public License as published by
3286+the Free Software Foundation; either version 2 of the License, or (at
3287+your option) any later version.
3288+
3289+This program is distributed in the hope that it will be useful,
3290+but WITHOUT ANY WARRANTY; without even the implied warranty of
3291+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3292+GNU General Public License for more details.
3293+
3294+You should have received a copy of the GNU General Public License
3295+along with this program; if not, write to the Free Software
3296+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
3297+
3298+If you want to use this program under different license conditions,
3299+then contact the author for an arrangement.
3300+
3301+*/
3302+
3303+static char Version[] = "$Id: foo2hbpl1.c,v 1.3 2014/03/30 05:08:32 rick Exp $";
3304+
3305+#include <time.h>
3306+#include <stdio.h>
3307+#include <stdlib.h>
3308+#include <ctype.h>
3309+#include <string.h>
3310+#include <unistd.h>
3311+#include <stdarg.h>
3312+#ifdef linux
3313+ #include <sys/utsname.h>
3314+#endif
3315+
3316+/*
3317+ * Command line options
3318+ */
3319+int MediaCode = 0;
3320+char *Username = NULL;
3321+char *Filename = NULL;
3322+int Clip[] = { 8,8,8,8 };
3323+
3324+void
3325+usage(void)
3326+{
3327+ fprintf(stderr,
3328+"Usage:\n"
3329+" foo2hbpl1 [options] <pamcmyk32-file >hbpl-file\n"
3330+"\n"
3331+" Convert Ghostscript pbmraw, pgmraw, ppmraw, or pamcmyk32\n"
3332+" format to HBPLv1, for the Dell C1660w and other printers.\n"
3333+"\n"
3334+" gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \\ \n"
3335+" -sPAPERSIZE=letter -r600x600 -sDEVICE=pamcmyk32 \\ \n"
3336+" -sOutputFile=- - < testpage.ps \\ \n"
3337+" | foo2hbpl1 >testpage.zc\n"
3338+"\n"
3339+"Options:\n"
3340+"-m media Media code to send to printer [1 or 6]\n"
3341+" 1=plain, 2=bond, 3=lwcard, 4=lwgcard, 5=labels,\n"
3342+" 6=envelope, 7=recycled, 8=plain2, 9=bond2,\n"
3343+" 10=lwcard2, 11=lwgcard2, 12=recycled2\n"
3344+"-u left,top,right,bottom\n"
3345+" Erase margins of specified width [%d,%d,%d,%d]\n"
3346+"-J filename Filename string to send to printer\n"
3347+"-U username Username string to send to printer\n"
3348+"-V Version %s\n"
3349+ , Clip[0], Clip[1], Clip[2], Clip[3]
3350+ , Version);
3351+}
3352+
3353+void
3354+error(int fatal, char *fmt, ...)
3355+{
3356+ va_list ap;
3357+
3358+ va_start(ap, fmt);
3359+ vfprintf(stderr, fmt, ap);
3360+ va_end(ap);
3361+
3362+ if (fatal) exit(fatal);
3363+}
3364+
3365+struct stream
3366+{
3367+ unsigned char *buf;
3368+ int size, off, bits;
3369+};
3370+
3371+void
3372+putbits(struct stream *s, unsigned val, int nbits)
3373+{
3374+ if (s->off + 16 > s->size &&
3375+ !(s->buf = realloc(s->buf, s->size += 0x100000)))
3376+ error (1, "Out of memory\n");
3377+ if (s->bits)
3378+ {
3379+ s->off--;
3380+ val |= s->buf[s->off] >> (8-s->bits) << nbits;
3381+ nbits += s->bits;
3382+ }
3383+ s->bits = nbits & 7;
3384+ while ((nbits -= 8) > 0)
3385+ s->buf[s->off++] = val >> nbits;
3386+ s->buf[s->off++] = val << -nbits;
3387+}
3388+
3389+/*
3390+ Runlengths are integers between 1 and 17057 encoded as follows:
3391+
3392+ 1 00
3393+ 2 01 0
3394+ 3 01 1
3395+ 4 100 0
3396+ 5 100 1
3397+ 6 101 00
3398+ 7 101 01
3399+ 8 101 10
3400+ 9 101 11
3401+ 10 110 0000
3402+ 11 110 0001
3403+ 12 110 0010
3404+ ...
3405+ 25 110 1111
3406+ 26 111 000 000
3407+ 27 111 000 001
3408+ 28 111 000 010
3409+ 29 111 000 011
3410+ ...
3411+ 33 111 000 111
3412+ 34 111 001 000
3413+ ...
3414+ 41 111 001 111
3415+ 42 111 010 000
3416+ 50 111 011 0000
3417+ 66 111 100 00000
3418+ 98 111 101 000000
3419+ 162 111 110 000000000
3420+ 674 111 111 00000000000000
3421+ 17057 111 111 11111111111111
3422+*/
3423+void
3424+put_len(struct stream *s, unsigned val)
3425+{
3426+ unsigned code[] =
3427+ {
3428+ 1, 0, 2,
3429+ 2, 2, 3,
3430+ 4, 8, 4,
3431+ 6, 0x14, 5,
3432+ 10, 0x60, 7,
3433+ 26, 0x1c0, 9,
3434+ 50, 0x3b0, 10,
3435+ 66, 0x780, 11,
3436+ 98, 0xf40, 12,
3437+ 162, 0x7c00, 15,
3438+ 674, 0xfc000, 20,
3439+ 17058
3440+ };
3441+ int c = 0;
3442+
3443+ if (val < 1 || val > 17057) return;
3444+ while (val >= code[c+3]) c += 3;
3445+ putbits(s, val-code[c] + code[c+1], code[c+2]);
3446+}
3447+
3448+/*
3449+ CMYK byte differences are encoded as follows:
3450+
3451+ 0 000
3452+ +1 001
3453+ -1 010
3454+ 2 011s0 s = 0 for +, 1 for -
3455+ 3 011s1
3456+ 4 100s00
3457+ 5 100s01
3458+ 6 100s10
3459+ 7 100s11
3460+ 8 101s000
3461+ 9 101s001
3462+ ...
3463+ 14 101s110
3464+ 15 101s111
3465+ 16 110s00000
3466+ 17 110s00001
3467+ 18 110s00010
3468+ ...
3469+ 46 110s11110
3470+ 47 110s11111
3471+ 48 1110s00000
3472+ 49 1110s00001
3473+ ...
3474+ 78 1110s11110
3475+ 79 1110s11111
3476+ 80 1111s000000
3477+ 81 1111s000001
3478+ ...
3479+ 126 1111s101110
3480+ 127 1111s101111
3481+ 128 11111110000
3482+*/
3483+void
3484+put_diff(struct stream *s, signed char val)
3485+{
3486+ static unsigned short code[] =
3487+ {
3488+ 2, 3, 3, 1,
3489+ 4, 4, 3, 2,
3490+ 8, 5, 3, 3,
3491+ 16, 6, 3, 5,
3492+ 48, 14, 4, 5,
3493+ 80, 15, 4, 6,
3494+ 129
3495+ };
3496+ int sign, abs, c = 0;
3497+
3498+ switch (val)
3499+ {
3500+ case 0: putbits(s, 0, 3); return;
3501+ case 1: putbits(s, 1, 3); return;
3502+ case -1: putbits(s, 2, 3); return;
3503+ }
3504+ abs = ((sign = val < 0)) ? -val:val;
3505+ while (abs >= code[c+4]) c += 4;
3506+ putbits(s, code[c+1], code[c+2]);
3507+ putbits(s, sign, 1);
3508+ putbits(s, abs-code[c], code[c+3]);
3509+}
3510+
3511+void
3512+setle(unsigned char *c, int s, int i)
3513+{
3514+ while (s--)
3515+ {
3516+ *c++ = i;
3517+ i >>= 8;
3518+ }
3519+}
3520+
3521+void
3522+start_doc(int color)
3523+{
3524+ char reca[] = { 0x41,0x81,0xa1,0x00,0x82,0xa2,0x07,0x00,0x83,0xa2,0x01,0x00 };
3525+ time_t t;
3526+ struct tm *tmp;
3527+ char datestr[16], timestr[16];
3528+ char cname[128] = "My Computer";
3529+ char *mname[] =
3530+ { "",
3531+ "NORMAL",
3532+ "THICK",
3533+ "HIGHQUALITY",
3534+ "COAT2",
3535+ "LABEL",
3536+ "ENVELOPE",
3537+ "RECYCLED",
3538+ "NORMALREV",
3539+ "THICKSIDE2",
3540+ "HIGHQUALITYREV",
3541+ "COATEDPAPER2REV",
3542+ "RECYCLEREV",
3543+ };
3544+
3545+ t = time(NULL);
3546+ tmp = localtime(&t);
3547+ strftime(datestr, sizeof datestr, "%m/%d/%Y", tmp);
3548+ strftime(timestr, sizeof timestr, "%H:%M:%S", tmp);
3549+
3550+ #ifdef linux
3551+ {
3552+ struct utsname u;
3553+
3554+ uname(&u);
3555+ strncpy(cname, u.nodename, 128);
3556+ cname[127] = 0;
3557+ }
3558+ #endif
3559+
3560+/* Lines end with \n, not \r\n */
3561+
3562+ printf(
3563+ "\033%%-12345X@PJL SET STRINGCODESET=UTF8\n"
3564+ "@PJL COMMENT DATE=%s\n"
3565+ "@PJL COMMENT TIME=%s\n"
3566+ "@PJL COMMENT DNAME=%s\n"
3567+ "@PJL JOB MODE=PRINTER\n"
3568+ "@PJL SET JOBATTR=\"@LUNA=%s\"\n"
3569+ "@PJL SET JOBATTR=\"@TRCH=OFF\"\n"
3570+ "@PJL SET DUPLEX=OFF\n"
3571+ "@PJL SET BINDING=LONGEDGE\n"
3572+ "@PJL SET IWAMANUALDUP=OFF\n"
3573+ "@PJL SET JOBATTR=\"@MSIP=%s\"\n"
3574+ "@PJL SET RENDERMODE=%s\n"
3575+ "@PJL SET ECONOMODE=OFF\n"
3576+ "@PJL SET RET=ON\n"
3577+ "@PJL SET JOBATTR=\"@IREC=OFF\"\n"
3578+ "@PJL SET JOBATTR=\"@TRAP=ON\"\n"
3579+ "@PJL SET JOBATTR=\"@JOAU=%s\"\n"
3580+ "@PJL SET JOBATTR=\"@CNAM=%s\"\n"
3581+ "@PJL SET COPIES=1\n"
3582+ "@PJL SET QTY=1\n"
3583+ "@PJL SET PAPERDIRECTION=SEF\n"
3584+ "@PJL SET RESOLUTION=600\n"
3585+ "@PJL SET BITSPERPIXEL=8\n"
3586+ "@PJL SET JOBATTR=\"@DRDM=XRC\"\n"
3587+ "@PJL SET JOBATTR=\"@TSCR=11\"\n"
3588+ "@PJL SET JOBATTR=\"@GSCR=11\"\n"
3589+ "@PJL SET JOBATTR=\"@ISCR=12\"\n"
3590+ "@PJL SET JOBATTR=\"@TTRC=11\"\n"
3591+ "@PJL SET JOBATTR=\"@GTRC=11\"\n"
3592+ "@PJL SET JOBATTR=\"@ITRC=12\"\n"
3593+ "@PJL SET JOBATTR=\"@TCPR=11\"\n"
3594+ "@PJL SET JOBATTR=\"@GCPR=11\"\n"
3595+ "@PJL SET JOBATTR=\"@ICPR=12\"\n"
3596+ "@PJL SET JOBATTR=\"@TUCR=11\"\n"
3597+ "@PJL SET JOBATTR=\"@GUCR=11\"\n"
3598+ "@PJL SET JOBATTR=\"@IUCR=12\"\n"
3599+ "@PJL SET JOBATTR=\"@BSPM=OFF\"\n"
3600+ "@PJL SET JOBATTR=\"@TDFT=0\"\n"
3601+ "@PJL SET JOBATTR=\"@GDFT=0\"\n"
3602+ "@PJL SET JOBATTR=\"@IDFT=0\"\n"
3603+ "@PJL ENTER LANGUAGE=HBPL\n"
3604+ , datestr, timestr
3605+ , Filename ? Filename : ""
3606+ , Username ? Username : ""
3607+ , mname[MediaCode]
3608+ , color ? "COLOR" : "GRAYSCALE"
3609+ , Username ? Username : ""
3610+ , cname);
3611+ fwrite (reca, 1, sizeof reca, stdout);
3612+}
3613+
3614+#define IP (((int *)image) + off)
3615+#define CP (((char *)image) + off)
3616+#define DP (((char *)image) + off*deep)
3617+#define BP(x) ((blank[(off+x) >> 3] << ((off+x) & 7)) & 128)
3618+#define put_token(s,x) putbits(s, huff[hsel][x] >> 4, huff[hsel][x] & 15)
3619+
3620+void
3621+encode_page(int color, int width, int height, char *image)
3622+{
3623+ unsigned char head[90] =
3624+ {
3625+ 0x43,0x91,0xa1,0x00,0x92,0xa1,0x01,0x93,0xa1,0x01,0x94,0xa1,
3626+ 0x00,0x95,0xc2,0x00,0x00,0x00,0x00,0x96,0xa1,0x00,0x97,0xc3,
3627+ 0x00,0x00,0x00,0x00,0x98,0xa1,0x00,0x99,0xa4,0x01,0x00,0x00,
3628+ 0x00,0x9a,0xc4,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9b,
3629+ 0xa1,0x00,0x9c,0xa1,0x01,0x9d,0xa1,0x00,0x9e,0xa1,0x02,0x9f,
3630+ 0xa1,0x05,0xa0,0xa1,0x08,0xa1,0xa1,0x00,0xa2,0xc4,0x00,0x00,
3631+ 0x00,0x00,0x00,0x00,0x00,0x00,0x51,0x52,0xa3,0xa1,0x00,0xa4,
3632+ 0xb1,0xa4
3633+ };
3634+ unsigned char body[52] =
3635+ {
3636+ 0x20,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x10,0x32,0x04,0x00,
3637+ 0xa1,0x42,0x00,0x00,0x00,0x00,0xff
3638+ };
3639+ static short papers[] =
3640+ { // Official sizes to nearest 1/600 inch
3641+ // will accept +-1.5mm (35/600 inch) tolerance
3642+ 0, 5100, 6600, // Letter
3643+ 2, 5100, 8400, // Legal
3644+ 4, 4961, 7016, // A4
3645+ 6, 4350, 6300, // Executive
3646+ 13, 2475, 5700, // #10 envelope
3647+ 15, 2325, 4500, // Monarch envelope
3648+ 17, 3827, 5409, // C5 envelope
3649+ 19, 2599, 5197, // DL envelope
3650+// ??, 4158, 5906, // B5 ISO
3651+ 22, 4299, 6071, // B5 JIS
3652+ 30, 3496, 4961, // A5
3653+ 410, 5100, 7800, // Folio
3654+ };
3655+ static const unsigned short huff[2][8] =
3656+ {
3657+ { 0x01,0x63,0x1c5,0x1d5,0x1e5,0x22,0x3e6 }, // for text & graphics
3658+ { 0x22,0x63,0x1c5,0x1d5,0x1e5,0x01,0x3e6 }, // for images
3659+ };
3660+ unsigned char *blank;
3661+ static int pagenum = 0;
3662+ struct stream stream[5] = { { 0 } };
3663+ int dirs[] = { -1,0,-1,1,2 }, rotor[] = { 0,1,2,3,4 };
3664+ int i, j, row, col, deep, dir, run, try, bdir, brun, total;
3665+ int paper = 510, hsel = 0, off = 0, bit = 0, stat = 0;
3666+ int margin = width-96;
3667+
3668+ for (i = 0; i < sizeof papers / sizeof *papers; i++)
3669+ if (abs(width-papers[i+1]) < 36 && abs(height-papers[i+2]) < 36)
3670+ paper = papers[i];
3671+ if (!MediaCode)
3672+ MediaCode = paper & 1 ? 6 : 1;
3673+ if (!pagenum)
3674+ start_doc(color);
3675+ head[12] = paper >> 1;
3676+ if (paper == 510)
3677+ {
3678+ setle (head+15, 2, (width*254+300)/600); // units of 0.1mm
3679+ setle (head+17, 2, (height*254+300)/600);
3680+ head[21] = 2;
3681+ }
3682+ width = -(-width & -8);
3683+ setle (head+33, 4, ++pagenum);
3684+ setle (head+39, 4, width);
3685+ setle (head+43, 4, height);
3686+ setle (head+70, 4, width);
3687+ setle (head+74, 4, height);
3688+ head[55] = 9 + color*130;
3689+ if (color) body[6] = 1;
3690+ else body[4] = 8;
3691+
3692+ deep = 1 + color*3;
3693+ for (i=1; i < 5; i++)
3694+ dirs[i] -= width;
3695+ if (!color) dirs[4] = -8;
3696+
3697+ blank = calloc(height+2, width/8);
3698+ memset (blank++, -color, width/8+1);
3699+ for (row = 1; row <= height; row++)
3700+ {
3701+ for (col = deep; col < deep*2; col++)
3702+ image[row*width*deep + col] = -1;
3703+ for (col = 8; col < width*deep; col += 4)
3704+ if (*(int *)(image + row*width*deep + col))
3705+ {
3706+ for (col = 12; col < margin/8; col++)
3707+ blank[row*(width/8)+col] = -1;
3708+ blank[row*(width/8)+col] = -2 << (~margin & 7);
3709+ break;
3710+ }
3711+ }
3712+ memset (image, -color, (width+1)*deep);
3713+ image += (width+1)*deep;
3714+ blank += width/8;
3715+
3716+ while (off < width * height)
3717+ {
3718+ for (bdir = brun = dir = 0; dir < 5; dir++)
3719+ {
3720+ try = dirs[rotor[dir]];
3721+ for (run = 0; run < 17057; run++, try++)
3722+ {
3723+ if (color)
3724+ {
3725+ if (IP[run] != IP[try]) break;
3726+ }
3727+ else
3728+ if (CP[run] != CP[try]) break;
3729+
3730+ if (BP(run) != BP(try)) break;
3731+ }
3732+ if (run > brun)
3733+ {
3734+ bdir = dir;
3735+ brun = run;
3736+ }
3737+ }
3738+ if (brun == 0)
3739+ {
3740+ put_token(stream, 5);
3741+ for (i = 0; i < deep; i++)
3742+ put_diff(stream+1+i, DP[i] - DP[i-deep]);
3743+ bit = 0;
3744+ off++;
3745+ stat--;
3746+ continue;
3747+ }
3748+ if (brun > width * height - off)
3749+ brun = width * height - off;
3750+ if (bdir)
3751+ {
3752+ j = rotor[bdir];
3753+ for (i = bdir; i; i--)
3754+ rotor[i] = rotor[i-1];
3755+ rotor[0] = j;
3756+ }
3757+ if ((off-1+brun)/width != (off-1)/width)
3758+ {
3759+ if (abs(stat) > 8 && ((stat >> 31) & 1) != hsel)
3760+ {
3761+ hsel ^= 1;
3762+ put_token(stream, 6);
3763+ }
3764+ stat = 0;
3765+ }
3766+ stat += bdir == bit;
3767+ put_token(stream, bdir - bit);
3768+ put_len(stream, brun);
3769+ bit = brun < 17057;
3770+ off += brun;
3771+ }
3772+
3773+ putbits(stream, 0xff, 8);
3774+ for (total = 48, i = 0; i <= deep; i++)
3775+ {
3776+ putbits(stream+i, 0xff, 8);
3777+ stream[i].off--;
3778+ setle (body+32 + i*4, 4, stream[i].off);
3779+ total += stream[i].off;
3780+ }
3781+ head[85] = 0xa2 + (total > 0xffff)*2;
3782+ setle (head+86, 4, total);
3783+ fwrite(head, 1, 88+(total > 0xffff)*2, stdout);
3784+ fwrite(body, 1, 48, stdout);
3785+ for (i = 0; i <= deep; i++)
3786+ {
3787+ fwrite(stream[i].buf, 1, stream[i].off, stdout);
3788+ free(stream[i].buf);
3789+ }
3790+ free(blank-width/8-1);
3791+ printf("SD");
3792+}
3793+#undef IP
3794+#undef CP
3795+#undef DP
3796+#undef BP
3797+#undef put_token
3798+
3799+int
3800+getint(FILE *fp)
3801+{
3802+ int c, ret;
3803+
3804+ for (;;)
3805+ {
3806+ while (isspace(c = fgetc(fp)));
3807+ if (c == '#')
3808+ while (fgetc(fp) != '\n');
3809+ else break;
3810+ }
3811+ if (!isdigit(c)) return -1;
3812+ for (ret = c-'0'; isdigit(c = fgetc(fp)); )
3813+ ret = ret*10 + c-'0';
3814+ return ret;
3815+}
3816+
3817+void
3818+do_file(FILE *fp)
3819+{
3820+ int type, iwide, ihigh, ideep, imax, ibyte;
3821+ int wide, deep, byte, row, col, i, k;
3822+ char tupl[128], line[128];
3823+ unsigned char *image, *sp, *dp;
3824+
3825+ while ((type = fgetc(fp)) != EOF)
3826+ {
3827+ type = ((type - 'P') << 8) | fgetc(fp);
3828+ tupl[0] = iwide = ihigh = ideep = deep = imax = ibyte = -1;
3829+ switch (type)
3830+ {
3831+ case '4':
3832+ deep = 1 + (ideep = 0);
3833+ goto six;
3834+ case '5':
3835+ deep = ideep = 1;
3836+ goto six;
3837+ case '6':
3838+ deep = 1 + (ideep = 3);
3839+six: iwide = getint(fp);
3840+ ihigh = getint(fp);
3841+ imax = type == '4' ? 255 : getint(fp);
3842+ break;
3843+ case '7':
3844+ do
3845+ {
3846+ if (!fgets(line, 128, fp)) goto fail;
3847+ if (!strncmp(line, "WIDTH ",6))
3848+ iwide = atoi(line + 6);
3849+ if (!strncmp(line, "HEIGHT ",7))
3850+ ihigh = atoi(line + 7);
3851+ if (!strncmp(line, "DEPTH ",6))
3852+ deep = ideep = atoi(line + 6);
3853+ if (!strncmp(line, "MAXVAL ",7))
3854+ imax = atoi(line + 7);
3855+ if (!strncmp(line, "TUPLTYPE ",9))
3856+ strcpy (tupl, line + 9);
3857+ } while (strcmp(line, "ENDHDR\n"));
3858+ if (ideep != 4 || strcmp(tupl, "CMYK\n")) goto fail;
3859+ break;
3860+ default:
3861+ goto fail;
3862+ }
3863+ if (iwide <= 0 || ihigh <= 0 || imax != 255) goto fail;
3864+ wide = -(-iwide & -8);
3865+ if (ideep)
3866+ ibyte = iwide * ideep;
3867+ else
3868+ ibyte = wide >> 3;
3869+ byte = wide * deep;
3870+ image = calloc (ihigh+2, byte);
3871+ for (row = 1; row <= ihigh; row++)
3872+ {
3873+ i = fread (image, ibyte, 1, fp);
3874+ sp = image;
3875+ dp = image + row*byte;
3876+ for (col = 0; col < iwide; col++)
3877+ {
3878+ dp += deep;
3879+ switch (ideep)
3880+ {
3881+ case 0:
3882+ *dp = ((image[col >> 3] >> (~col & 7)) & 1) * 255;
3883+ break;
3884+ case 1:
3885+ *dp = ~*sp;
3886+ break;
3887+ case 3:
3888+ for (k = sp[2], i = 0; i < 2; i++)
3889+ if (k < sp[i]) k = sp[i];
3890+ *dp = ~k;
3891+ for (i = 0; i < 3; i++)
3892+ dp[i+1] = k ? (k - sp[i]) * 255 / k : 255;
3893+ break;
3894+ case 4:
3895+ for (i=0; i < 4; i++)
3896+ dp[i] = sp[((i-1) & 3)];
3897+ break;
3898+ }
3899+ sp += ideep;
3900+ }
3901+ for (i = 0; i < deep*Clip[0]; i++)
3902+ image[row*byte + deep+i] = 0;
3903+ for (i = deep*(iwide-Clip[2]); i < byte; i++)
3904+ image[row*byte + deep+i] = 0;
3905+ }
3906+ memset(image+deep, 0, byte*(Clip[1]+1));
3907+ memset(image+deep + byte*(ihigh-Clip[3]+1), 0, byte*Clip[3]);
3908+ encode_page(deep > 1, iwide, ihigh, (char *) image);
3909+ free(image);
3910+ }
3911+ return;
3912+fail:
3913+ fprintf (stderr, "Not an acceptable PBM, PPM or PAM file!!!\n");
3914+}
3915+
3916+int
3917+main(int argc, char *argv[])
3918+{
3919+ int c, i;
3920+
3921+ while ( (c = getopt(argc, argv, "m:u:J:U:V")) != EOF)
3922+ switch (c)
3923+ {
3924+ case 'm': MediaCode = atoi(optarg); break;
3925+ case 'u': if (sscanf(optarg, "%d,%d,%d,%d",
3926+ Clip, Clip+1, Clip+2, Clip+3) != 4)
3927+ error(1, "Must specify four clipping margins!\n");
3928+ break;
3929+ case 'J': if (optarg[0]) Filename = optarg; break;
3930+ case 'U': if (optarg[0]) Username = optarg; break;
3931+ case 'V': printf("%s\n", Version); return 0;
3932+ default: usage(); return 1;
3933+ }
3934+
3935+ argc -= optind;
3936+ argv += optind;
3937+
3938+ if (argc == 0)
3939+ {
3940+ do_file(stdin);
3941+ }
3942+ else
3943+ {
3944+ for (i = 0; i < argc; ++i)
3945+ {
3946+ FILE *ifp;
3947+
3948+ if (!(ifp = fopen(argv[i], "r")))
3949+ error(1, "Can't open '%s' for reading\n", argv[i]);
3950+ do_file(ifp);
3951+ fclose(ifp);
3952+ }
3953+ }
3954+ puts("B\033%-12345X@PJL EOJ");
3955+ return 0;
3956+}
3957--- foo2zjs/foomatic-db/driver/foo2hbpl1.xml 1970-01-01 00:00:00.000000000 +0000
3958+++ foo2zjs/foomatic-db/driver/foo2hbpl1.xml 2014-03-24 16:18:13.000000000 +0000
3959@@ -0,0 +1,21 @@
3960+<driver id="driver/foo2hbpl1">
3961+ <name>foo2hbpl1</name>
3962+ <url>http://foo2hbpl.rkkda.com/</url>
3963+ <execution>
3964+ <filter />
3965+ <prototype>foo2hbpl1-wrapper %A</prototype>
3966+ </execution>
3967+ <comments> <en>
3968+
3969+ This is a driver developed for the Dell 1250c, Dell C1660, Dell C1760,
3970+ Epson AcuLaser C1700, and the Fuji-Xerox DocuPrint cp105.
3971+
3972+ </en> </comments>
3973+ <printers>
3974+ <printer><id>printer/Dell-1250c</id></printer>
3975+ <printer><id>printer/Dell-C1660</id></printer>
3976+ <printer><id>printer/Dell-C1760</id></printer>
3977+ <printer><id>printer/Epson-AcuLaser_C1700</id></printer>
3978+ <printer><id>printer/Fuji_Xerox-DocuPrint_CP105</id></printer>
3979+ </printers>
3980+</driver>
3981--- foo2zjs/foomatic-db/opt/foo2hbpl1-ColorMode.xml 1970-01-01 00:00:00.000000000 +0000
3982+++ foo2zjs/foomatic-db/opt/foo2hbpl1-ColorMode.xml 2014-03-24 15:31:46.000000000 +0000
3983@@ -0,0 +1,38 @@
3984+<option type="enum" id="opt/foo2hbpl1-ColorMode">
3985+ <!-- A multilingual <comments> block can appear here, too;
3986+ it should be treated as documentation for the user. -->
3987+ <arg_longname> <en>Color Mode</en> </arg_longname>
3988+ <arg_shortname> <en>ColorMode</en> </arg_shortname>
3989+ <arg_execution>
3990+ <arg_group>General</arg_group>
3991+ <arg_order>120</arg_order>
3992+ <arg_spot>A</arg_spot>
3993+ <arg_required />
3994+ <arg_substitution />
3995+ <arg_proto>%s </arg_proto>
3996+ </arg_execution>
3997+ <constraints>
3998+ <constraint sense="true">
3999+ <driver>foo2hbpl1</driver>
4000+ <arg_defval>ev/foo2hbpl1-ColorMode-mono</arg_defval>
4001+ </constraint>
4002+ </constraints>
4003+ <enum_vals>
4004+ <enum_val id="ev/foo2hbpl1-ColorMode-mono">
4005+ <ev_longname> <en>Monochrome</en> </ev_longname>
4006+ <comments><en>
4007+ Prints in monochrome only
4008+ </en></comments>
4009+ <ev_shortname> <en>Monochrome</en> </ev_shortname>
4010+ <ev_driverval></ev_driverval>
4011+ </enum_val>
4012+ <enum_val id="ev/foo2hbpl1-ColorMode-color">
4013+ <ev_longname> <en>Color</en> </ev_longname>
4014+ <comments><en>
4015+ Prints in color using the best compromise setting.
4016+ </en></comments>
4017+ <ev_shortname> <en>Color</en> </ev_shortname>
4018+ <ev_driverval>-c</ev_driverval>
4019+ </enum_val>
4020+ </enum_vals>
4021+</option>
4022--- foo2zjs/foomatic-db/opt/foo2hbpl1-ICM.xml 1970-01-01 00:00:00.000000000 +0000
4023+++ foo2zjs/foomatic-db/opt/foo2hbpl1-ICM.xml 2014-03-25 10:14:22.000000000 +0000
4024@@ -0,0 +1,52 @@
4025+<option type="enum" id="opt/foo2hbpl1-ICM">
4026+ <comments>
4027+ <en>
4028+ This option controls which .ICM file to use for color correction.
4029+ ICM files are stored in directory /usr/share/foo2hbpl/icm/.
4030+ </en>
4031+ </comments>
4032+ <arg_longname> <en>ICM Color Profile</en> </arg_longname>
4033+ <arg_shortname> <en>ICM</en> </arg_shortname>
4034+ <arg_execution>
4035+ <arg_group>Adjustment</arg_group>
4036+ <arg_order>300</arg_order>
4037+ <arg_spot>A</arg_spot>
4038+ <arg_required />
4039+ <arg_substitution />
4040+ <arg_proto>%s </arg_proto>
4041+ </arg_execution>
4042+ <constraints>
4043+ <constraint sense="true">
4044+ <driver>foo2hbpl1</driver>
4045+ <arg_defval>ev/foo2hbpl1-ICM-none</arg_defval>
4046+ </constraint>
4047+ </constraints>
4048+ <enum_vals>
4049+ <enum_val id="ev/foo2hbpl1-ICM-none">
4050+ <ev_longname> <en>No ICM color correction</en> </ev_longname>
4051+ <!-- A multilingual <comments> block can appear here, too;
4052+ it should be treated as documentation for the user. -->
4053+ <ev_shortname> <en>none</en> </ev_shortname>
4054+ <ev_driverval>-C10 -Gnone.icm</ev_driverval>
4055+ </enum_val>
4056+
4057+ <enum_val id="ev/foo2hbpl1-ICM-testing">
4058+ <ev_longname> <en>File testing.icm</en> </ev_longname>
4059+ <ev_shortname> <en>testing</en> </ev_shortname>
4060+ <ev_driverval>-C10 -Gtesting.icm</ev_driverval>
4061+ </enum_val>
4062+
4063+ <enum_val id="ev/foo2hbpl1-ICM-testing2">
4064+ <ev_longname> <en>File testing2.icm</en> </ev_longname>
4065+ <ev_shortname> <en>testing2</en> </ev_shortname>
4066+ <ev_driverval>-C10 -Gtesting2.icm</ev_driverval>
4067+ </enum_val>
4068+
4069+ <enum_val id="ev/foo2hbpl1-ICM-testing3">
4070+ <ev_longname> <en>File testing3.icm</en> </ev_longname>
4071+ <ev_shortname> <en>testing3</en> </ev_shortname>
4072+ <ev_driverval>-C10 -Gtesting3.icm</ev_driverval>
4073+ </enum_val>
4074+
4075+ </enum_vals>
4076+</option>
4077--- foo2zjs/foomatic-db/opt/foo2hbpl1-MediaType.xml 1970-01-01 00:00:00.000000000 +0000
4078+++ foo2zjs/foomatic-db/opt/foo2hbpl1-MediaType.xml 2014-03-24 15:50:56.000000000 +0000
4079@@ -0,0 +1,82 @@
4080+<option type="enum" id="opt/foo2hbpl1-MediaType">
4081+ <!-- A multilingual <comments> block can appear here, too;
4082+ it should be treated as documentation for the user. -->
4083+ <arg_longname> <en>Media Type</en> </arg_longname>
4084+ <arg_shortname> <en>MediaType</en> </arg_shortname>
4085+ <arg_execution>
4086+ <arg_group>General</arg_group>
4087+ <arg_order>150</arg_order>
4088+ <arg_spot>A</arg_spot>
4089+ <arg_required />
4090+ <arg_substitution />
4091+ <arg_proto>-m%s </arg_proto>
4092+ </arg_execution>
4093+ <constraints>
4094+ <constraint sense="true">
4095+ <driver>foo2hbpl1</driver>
4096+ <arg_defval>ev/foo2hbpl1-MediaType-1</arg_defval>
4097+ </constraint>
4098+ </constraints>
4099+ <enum_vals>
4100+ <enum_val id="ev/foo2hbpl1-MediaType-1">
4101+ <ev_longname> <en>Plain Paper</en> </ev_longname>
4102+ <ev_shortname> <en>plain</en> </ev_shortname>
4103+ <ev_driverval>1</ev_driverval>
4104+ </enum_val>
4105+ <enum_val id="ev/foo2hbpl1-MediaType-2">
4106+ <ev_longname> <en>Bond</en> </ev_longname>
4107+ <ev_shortname> <en>bond</en> </ev_shortname>
4108+ <ev_driverval>2</ev_driverval>
4109+ </enum_val>
4110+ <enum_val id="ev/foo2hbpl1-MediaType-3">
4111+ <ev_longname> <en>Light Weight Card</en> </ev_longname>
4112+ <ev_shortname> <en>lwcard</en> </ev_shortname>
4113+ <ev_driverval>3</ev_driverval>
4114+ </enum_val>
4115+ <enum_val id="ev/foo2hbpl1-MediaType-4">
4116+ <ev_longname> <en>Light Weight Glossy Card</en> </ev_longname>
4117+ <ev_shortname> <en>lwgcard</en> </ev_shortname>
4118+ <ev_driverval>4</ev_driverval>
4119+ </enum_val>
4120+ <enum_val id="ev/foo2hbpl1-MediaType-5">
4121+ <ev_longname> <en>Labels</en> </ev_longname>
4122+ <ev_shortname> <en>labels</en> </ev_shortname>
4123+ <ev_driverval>5</ev_driverval>
4124+ </enum_val>
4125+ <enum_val id="ev/foo2hbpl1-MediaType-6">
4126+ <ev_longname> <en>Envelope</en> </ev_longname>
4127+ <ev_shortname> <en>envelope</en> </ev_shortname>
4128+ <ev_driverval>6</ev_driverval>
4129+ </enum_val>
4130+ <enum_val id="ev/foo2hbpl1-MediaType-7">
4131+ <ev_longname> <en>Recycled Paper</en> </ev_longname>
4132+ <ev_shortname> <en>recycled</en> </ev_shortname>
4133+ <ev_driverval>7</ev_driverval>
4134+ </enum_val>
4135+ <enum_val id="ev/foo2hbpl1-MediaType-8">
4136+ <ev_longname> <en>Plain Paper Side 2</en> </ev_longname>
4137+ <ev_shortname> <en>plain2</en> </ev_shortname>
4138+ <ev_driverval>8</ev_driverval>
4139+ </enum_val>
4140+ <enum_val id="ev/foo2hbpl1-MediaType-9">
4141+ <ev_longname> <en>Bond Side 2</en> </ev_longname>
4142+ <ev_shortname> <en>bond2</en> </ev_shortname>
4143+ <ev_driverval>9</ev_driverval>
4144+ </enum_val>
4145+ <enum_val id="ev/foo2hbpl1-MediaType-10">
4146+ <ev_longname> <en>Light Weight Card Side 2</en> </ev_longname>
4147+ <ev_shortname> <en>lwcard2</en> </ev_shortname>
4148+ <ev_driverval>10</ev_driverval>
4149+ </enum_val>
4150+ <enum_val id="ev/foo2hbpl1-MediaType-11">
4151+ <ev_longname> <en>Light Weight Glossy Card Side 2</en></ev_longname>
4152+ <ev_shortname> <en>lwgcard2</en> </ev_shortname>
4153+ <ev_driverval>11</ev_driverval>
4154+ </enum_val>
4155+ <enum_val id="ev/foo2hbpl1-MediaType-12">
4156+ <ev_longname> <en>Recycled Paper Side 2</en> </ev_longname>
4157+ <ev_shortname> <en>recycled2</en> </ev_shortname>
4158+ <ev_driverval>12</ev_driverval>
4159+ </enum_val>
4160+ </enum_vals>
4161+</option>
4162--- foo2zjs/foomatic-db/opt/foo2hbpl1-PageSize.xml 1970-01-01 00:00:00.000000000 +0000
4163+++ foo2zjs/foomatic-db/opt/foo2hbpl1-PageSize.xml 2014-04-01 11:05:46.000000000 +0000
4164@@ -0,0 +1,80 @@
4165+<option type="enum" id="opt/foo2hbpl1-PageSize">
4166+ <arg_longname> <en>Page Size</en> </arg_longname>
4167+ <arg_shortname> <en>PageSize</en> </arg_shortname>
4168+ <arg_execution>
4169+ <arg_group>General</arg_group>
4170+ <arg_order>135</arg_order>
4171+ <arg_spot>A</arg_spot>
4172+ <arg_required />
4173+ <arg_substitution />
4174+ <arg_proto>-p%s </arg_proto>
4175+ </arg_execution>
4176+ <constraints>
4177+ <constraint sense="true">
4178+ <driver>foo2hbpl1</driver>
4179+ <arg_defval>ev/foo2hbpl1-PageSize-4</arg_defval>
4180+ </constraint>
4181+ </constraints>
4182+ <enum_vals>
4183+ <enum_val id="ev/foo2hbpl1-PageSize-1">
4184+ <ev_longname> <en>A4</en> </ev_longname>
4185+ <ev_shortname> <en>A4</en> </ev_shortname>
4186+ <ev_driverval>1</ev_driverval>
4187+ </enum_val>
4188+ <enum_val id="ev/foo2hbpl1-PageSize-2">
4189+ <ev_longname> <en>B5 (JIS)</en> </ev_longname>
4190+ <ev_shortname> <en>B5jis</en> </ev_shortname>
4191+ <ev_driverval>2</ev_driverval>
4192+ </enum_val>
4193+ <enum_val id="ev/foo2hbpl1-PageSize-4">
4194+ <ev_longname> <en>Letter</en> </ev_longname>
4195+ <ev_shortname> <en>Letter</en> </ev_shortname>
4196+ <ev_driverval>4</ev_driverval>
4197+ </enum_val>
4198+ <enum_val id="ev/foo2hbpl1-PageSize-5">
4199+ <ev_longname> <en>Executive</en> </ev_longname>
4200+ <ev_shortname> <en>Executive</en> </ev_shortname>
4201+ <ev_driverval>5</ev_driverval>
4202+ </enum_val>
4203+ <enum_val id="ev/foo2hbpl1-PageSize-6">
4204+ <ev_longname> <en>Fanfold German Legal</en> </ev_longname>
4205+ <ev_shortname> <en>FanfoldGermanLegal</en> </ev_shortname>
4206+ <ev_driverval>6</ev_driverval>
4207+ </enum_val>
4208+ <enum_val id="ev/foo2hbpl1-PageSize-6-alt">
4209+ <ev_longname> <en>Folio</en> </ev_longname>
4210+ <ev_shortname> <en>Folio</en> </ev_shortname>
4211+ <ev_driverval>6</ev_driverval>
4212+ </enum_val>
4213+ <enum_val id="ev/foo2hbpl1-PageSize-7">
4214+ <ev_longname> <en>Legal</en> </ev_longname>
4215+ <ev_shortname> <en>Legal</en> </ev_shortname>
4216+ <ev_driverval>7</ev_driverval>
4217+ </enum_val>
4218+ <enum_val id="ev/foo2hbpl1-PageSize-9">
4219+ <ev_longname> <en>Env #10</en> </ev_longname>
4220+ <ev_shortname> <en>Env10</en> </ev_shortname>
4221+ <ev_driverval>9</ev_driverval>
4222+ </enum_val>
4223+ <enum_val id="ev/foo2hbpl1-PageSize-10">
4224+ <ev_longname> <en>Env Monarch</en> </ev_longname>
4225+ <ev_shortname> <en>EnvMonarch</en> </ev_shortname>
4226+ <ev_driverval>10</ev_driverval>
4227+ </enum_val>
4228+ <enum_val id="ev/foo2hbpl1-PageSize-11">
4229+ <ev_longname> <en>Env C5</en> </ev_longname>
4230+ <ev_shortname> <en>EnvC5</en> </ev_shortname>
4231+ <ev_driverval>11</ev_driverval>
4232+ </enum_val>
4233+ <enum_val id="ev/foo2hbpl1-PageSize-12">
4234+ <ev_longname> <en>Env DL</en> </ev_longname>
4235+ <ev_shortname> <en>EnvDL</en> </ev_shortname>
4236+ <ev_driverval>12</ev_driverval>
4237+ </enum_val>
4238+ <enum_val id="ev/foo2hbpl1-PageSize-Custom">
4239+ <ev_longname> <en>Custom</en> </ev_longname>
4240+ <ev_shortname> <en>Custom</en> </ev_shortname>
4241+ <ev_driverval>Custom.%0x%1</ev_driverval>
4242+ </enum_val>
4243+ </enum_vals>
4244+</option>
4245--- foo2zjs/foomatic-db/opt/foo2xxx-Copies.xml 2014-04-03 22:23:27.000000000 +0000
4246+++ foo2zjs/foomatic-db/opt/foo2xxx-Copies.xml 2014-03-24 15:32:48.000000000 +0000
4247@@ -65,6 +65,10 @@
4248 <arg_defval>1</arg_defval>
4249 </constraint>
4250 <constraint sense="true">
4251+ <driver>foo2hbpl1</driver>
4252+ <arg_defval>1</arg_defval>
4253+ </constraint>
4254+ <constraint sense="true">
4255 <driver>foo2hbpl2</driver>
4256 <arg_defval>1</arg_defval>
4257 </constraint>
4258--- foo2zjs/foomatic-db/opt/foo2xxx-Halftone.xml 2014-04-03 22:23:40.000000000 +0000
4259+++ foo2zjs/foomatic-db/opt/foo2xxx-Halftone.xml 2014-03-25 10:16:58.000000000 +0000
4260@@ -68,6 +68,10 @@
4261 <arg_defval>ev/foo2xxx-Halftone-Default</arg_defval>
4262 </constraint>
4263 <constraint sense="true">
4264+ <driver>foo2hbpl1</driver>
4265+ <arg_defval>ev/foo2xxx-Halftone-Default</arg_defval>
4266+ </constraint>
4267+ <constraint sense="true">
4268 <driver>foo2hbpl2</driver>
4269 <arg_defval>ev/foo2xxx-Halftone-Default</arg_defval>
4270 </constraint>
4271--- foo2zjs/foomatic-db/opt/foo2xxx-Nup.xml 2014-04-03 22:24:01.000000000 +0000
4272+++ foo2zjs/foomatic-db/opt/foo2xxx-Nup.xml 2014-03-24 15:34:43.000000000 +0000
4273@@ -65,6 +65,10 @@
4274 <arg_defval>ev/foo2xxx-Nup-1</arg_defval>
4275 </constraint>
4276 <constraint sense="true">
4277+ <driver>foo2hbpl1</driver>
4278+ <arg_defval>ev/foo2xxx-Nup-1</arg_defval>
4279+ </constraint>
4280+ <constraint sense="true">
4281 <driver>foo2hbpl2</driver>
4282 <arg_defval>ev/foo2xxx-Nup-1</arg_defval>
4283 </constraint>
4284--- foo2zjs/foomatic-db/opt/foo2xxx-NupOrient.xml 2014-04-03 22:23:50.000000000 +0000
4285+++ foo2zjs/foomatic-db/opt/foo2xxx-NupOrient.xml 2014-03-24 15:35:10.000000000 +0000
4286@@ -65,6 +65,10 @@
4287 <arg_defval>ev/foo2xxx-NupOrient-port</arg_defval>
4288 </constraint>
4289 <constraint sense="true">
4290+ <driver>foo2hbpl1</driver>
4291+ <arg_defval>ev/foo2xxx-NupOrient-port</arg_defval>
4292+ </constraint>
4293+ <constraint sense="true">
4294 <driver>foo2hbpl2</driver>
4295 <arg_defval>ev/foo2xxx-NupOrient-port</arg_defval>
4296 </constraint>
4297--- foo2zjs/foomatic-db/opt/foo2xxx-Quality.xml 2014-04-03 22:24:12.000000000 +0000
4298+++ foo2zjs/foomatic-db/opt/foo2xxx-Quality.xml 2014-03-24 15:35:36.000000000 +0000
4299@@ -68,6 +68,10 @@
4300 <arg_defval>ev/foo2xxx-Quality-Normal</arg_defval>
4301 </constraint>
4302 <constraint sense="true">
4303+ <driver>foo2hbpl1</driver>
4304+ <arg_defval>ev/foo2xxx-Quality-Normal</arg_defval>
4305+ </constraint>
4306+ <constraint sense="true">
4307 <driver>foo2hbpl2</driver>
4308 <arg_defval>ev/foo2xxx-Quality-Normal</arg_defval>
4309 </constraint>
4310--- foo2zjs/foomatic-db/printer/Dell-1250c.xml 1970-01-01 00:00:00.000000000 +0000
4311+++ foo2zjs/foomatic-db/printer/Dell-1250c.xml 2014-03-24 15:58:32.000000000 +0000
4312@@ -0,0 +1,70 @@
4313+<printer id="printer/Dell-1250c">
4314+ <make>Dell</make>
4315+ <model>1250c</model>
4316+ <mechanism>
4317+ <laser/>
4318+ <color/>
4319+ <resolution>
4320+ <dpi>
4321+ <x>600</x>
4322+ <y>600</y>
4323+ </dpi>
4324+ </resolution>
4325+ <margins>
4326+ <general>
4327+ <unit>inch</unit>
4328+ <top>0.085</top>
4329+ <bottom>0.085</bottom>
4330+ <left>0.085</left>
4331+ <right>0.085</right>
4332+ </general>
4333+ </margins>
4334+<!--
4335+ <consumables>
4336+ <comments> <en>
4337+ Toner Cyan (1000 prints) - $45
4338+ Toner Magenta (1000 prints) - $45
4339+ Toner Yellow (1000 prints) - $45
4340+ Toner Black (2000 prints) - $54
4341+ Waste Toner (5000 prints) - $10
4342+ Drum Kit (20000 prints) - $159
4343+ </en> </comments>
4344+ <partno>106R01271</partno>
4345+ <partno>106R01272</partno>
4346+ <partno>106R01273</partno>
4347+ <partno>106R01274</partno>
4348+ <partno>108R00722</partno>
4349+ <partno>108R00744</partno>
4350+ </consumables>
4351+-->
4352+ </mechanism>
4353+ <url>http://www.pcmag.com/article2/0,2817,2380920,00.asp</url>
4354+ <lang>
4355+ <proprietary/>
4356+ <!--no pjl--><!--No "text"?-->
4357+ </lang>
4358+ <autodetect>
4359+<!--
4360+ <parallel>
4361+ <ieee1284>MFG:Xerox;CMD:SPLC;MDL:Phaser 6110;CLS:PRINTER;STATUS:BUSY;</ieee1284>
4362+ <manufacturer>Xerox</manufacturer>
4363+ <model>Phaser 6110</model>
4364+ <commandset>SPLC</commandset>
4365+ </parallel>
4366+-->
4367+ <snmp>
4368+ <description>Dell 1250c</description>
4369+ </snmp>
4370+ </autodetect>
4371+ <functionality>C</functionality>
4372+ <driver>foo2hbpl1</driver>
4373+ <!--not "unverified"--><!--no "contrib_url"-->
4374+ <comments> <en>
4375+
4376+ The Dell 1250c is color printer with a 2014 street price of $200.
4377+
4378+ These printers are supported by the foo2hbpl1 open software printer
4379+ driver.
4380+
4381+ </en> </comments>
4382+</printer>
4383--- foo2zjs/foomatic-db/printer/Dell-C1660.xml 1970-01-01 00:00:00.000000000 +0000
4384+++ foo2zjs/foomatic-db/printer/Dell-C1660.xml 2014-03-24 15:27:13.000000000 +0000
4385@@ -0,0 +1,70 @@
4386+<printer id="printer/Dell-C1660">
4387+ <make>Dell</make>
4388+ <model>C1660</model>
4389+ <mechanism>
4390+ <laser/>
4391+ <color/>
4392+ <resolution>
4393+ <dpi>
4394+ <x>600</x>
4395+ <y>600</y>
4396+ </dpi>
4397+ </resolution>
4398+ <margins>
4399+ <general>
4400+ <unit>inch</unit>
4401+ <top>0.085</top>
4402+ <bottom>0.085</bottom>
4403+ <left>0.085</left>
4404+ <right>0.085</right>
4405+ </general>
4406+ </margins>
4407+<!--
4408+ <consumables>
4409+ <comments> <en>
4410+ Toner Cyan (1000 prints) - $45
4411+ Toner Magenta (1000 prints) - $45
4412+ Toner Yellow (1000 prints) - $45
4413+ Toner Black (2000 prints) - $54
4414+ Waste Toner (5000 prints) - $10
4415+ Drum Kit (20000 prints) - $159
4416+ </en> </comments>
4417+ <partno>106R01271</partno>
4418+ <partno>106R01272</partno>
4419+ <partno>106R01273</partno>
4420+ <partno>106R01274</partno>
4421+ <partno>108R00722</partno>
4422+ <partno>108R00744</partno>
4423+ </consumables>
4424+-->
4425+ </mechanism>
4426+ <url>http://accessories.us.dell.com/sna/productdetail.aspx?c=us&cs=04&l=en&s=bsd&sku=225-411</url>
4427+ <lang>
4428+ <proprietary/>
4429+ <!--no pjl--><!--No "text"?-->
4430+ </lang>
4431+ <autodetect>
4432+<!--
4433+ <parallel>
4434+ <ieee1284>MFG:Xerox;CMD:SPLC;MDL:Phaser 6110;CLS:PRINTER;STATUS:BUSY;</ieee1284>
4435+ <manufacturer>Xerox</manufacturer>
4436+ <model>Phaser 6110</model>
4437+ <commandset>SPLC</commandset>
4438+ </parallel>
4439+-->
4440+ <snmp>
4441+ <description>Dell C1660</description>
4442+ </snmp>
4443+ </autodetect>
4444+ <functionality>C</functionality>
4445+ <driver>foo2hbpl1</driver>
4446+ <!--not "unverified"--><!--no "contrib_url"-->
4447+ <comments> <en>
4448+
4449+ The Dell C1660 is color printer with a 2014 street price of $200.
4450+
4451+ These printers are supported by the foo2hbpl1 open software printer
4452+ driver.
4453+
4454+ </en> </comments>
4455+</printer>
4456--- foo2zjs/foomatic-db/printer/Dell-C1760.xml 1970-01-01 00:00:00.000000000 +0000
4457+++ foo2zjs/foomatic-db/printer/Dell-C1760.xml 2014-03-24 16:04:23.000000000 +0000
4458@@ -0,0 +1,70 @@
4459+<printer id="printer/Dell-C1760">
4460+ <make>Dell</make>
4461+ <model>C1760</model>
4462+ <mechanism>
4463+ <laser/>
4464+ <color/>
4465+ <resolution>
4466+ <dpi>
4467+ <x>600</x>
4468+ <y>600</y>
4469+ </dpi>
4470+ </resolution>
4471+ <margins>
4472+ <general>
4473+ <unit>inch</unit>
4474+ <top>0.085</top>
4475+ <bottom>0.085</bottom>
4476+ <left>0.085</left>
4477+ <right>0.085</right>
4478+ </general>
4479+ </margins>
4480+<!--
4481+ <consumables>
4482+ <comments> <en>
4483+ Toner Cyan (1000 prints) - $45
4484+ Toner Magenta (1000 prints) - $45
4485+ Toner Yellow (1000 prints) - $45
4486+ Toner Black (2000 prints) - $54
4487+ Waste Toner (5000 prints) - $10
4488+ Drum Kit (20000 prints) - $159
4489+ </en> </comments>
4490+ <partno>106R01271</partno>
4491+ <partno>106R01272</partno>
4492+ <partno>106R01273</partno>
4493+ <partno>106R01274</partno>
4494+ <partno>108R00722</partno>
4495+ <partno>108R00744</partno>
4496+ </consumables>
4497+-->
4498+ </mechanism>
4499+ <url>http://accessories.us.dell.com/sna/productdetail.aspx?c=us&cs=04&l=en&s=bsd&sku=225-4111</url>
4500+ <lang>
4501+ <proprietary/>
4502+ <!--no pjl--><!--No "text"?-->
4503+ </lang>
4504+ <autodetect>
4505+<!--
4506+ <parallel>
4507+ <ieee1284>MFG:Xerox;CMD:SPLC;MDL:Phaser 6110;CLS:PRINTER;STATUS:BUSY;</ieee1284>
4508+ <manufacturer>Xerox</manufacturer>
4509+ <model>Phaser 6110</model>
4510+ <commandset>SPLC</commandset>
4511+ </parallel>
4512+-->
4513+ <snmp>
4514+ <description>Dell C1760</description>
4515+ </snmp>
4516+ </autodetect>
4517+ <functionality>C</functionality>
4518+ <driver>foo2hbpl1</driver>
4519+ <!--not "unverified"--><!--no "contrib_url"-->
4520+ <comments> <en>
4521+
4522+ The Dell C1760 is color printer with a 2014 street price of $300.
4523+
4524+ These printers are supported by the foo2hbpl1 open software printer
4525+ driver.
4526+
4527+ </en> </comments>
4528+</printer>
4529--- foo2zjs/foomatic-db/printer/Epson-AcuLaser_C1700.xml 1970-01-01 00:00:00.000000000 +0000
4530+++ foo2zjs/foomatic-db/printer/Epson-AcuLaser_C1700.xml 2014-03-24 16:13:45.000000000 +0000
4531@@ -0,0 +1,71 @@
4532+<printer id="printer/Epson-AcuLaser_C1700">
4533+ <make>Epson</make>
4534+ <model>AcuLaser C1700</model>
4535+ <mechanism>
4536+ <laser/>
4537+ <color/>
4538+ <resolution>
4539+ <dpi>
4540+ <x>600</x>
4541+ <y>600</y>
4542+ </dpi>
4543+ </resolution>
4544+ <margins>
4545+ <general>
4546+ <unit>inch</unit>
4547+ <top>0.085</top>
4548+ <bottom>0.085</bottom>
4549+ <left>0.085</left>
4550+ <right>0.085</right>
4551+ </general>
4552+ </margins>
4553+<!--
4554+ <consumables>
4555+ <comments> <en>
4556+ Toner Cyan (1000 prints) - $45
4557+ Toner Magenta (1000 prints) - $45
4558+ Toner Yellow (1000 prints) - $45
4559+ Toner Black (2000 prints) - $54
4560+ Waste Toner (5000 prints) - $10
4561+ Drum Kit (20000 prints) - $159
4562+ </en> </comments>
4563+ <partno>106R01271</partno>
4564+ <partno>106R01272</partno>
4565+ <partno>106R01273</partno>
4566+ <partno>106R01274</partno>
4567+ <partno>108R00722</partno>
4568+ <partno>108R00744</partno>
4569+ </consumables>
4570+-->
4571+ </mechanism>
4572+ <url>http://www.epson.co.uk/gb/en/viewcon/corporatesite/products/mainunits/overview/10816</url>
4573+ <lang>
4574+ <proprietary/>
4575+ <!--no pjl--><!--No "text"?-->
4576+ </lang>
4577+ <autodetect>
4578+<!--
4579+ <parallel>
4580+ <ieee1284>MFG:Xerox;CMD:SPLC;MDL:Phaser 6110;CLS:PRINTER;STATUS:BUSY;</ieee1284>
4581+ <manufacturer>Xerox</manufacturer>
4582+ <model>Phaser 6110</model>
4583+ <commandset>SPLC</commandset>
4584+ </parallel>
4585+-->
4586+ <snmp>
4587+ <description>Epson AcuLaser C1700</description>
4588+ </snmp>
4589+ </autodetect>
4590+ <functionality>C</functionality>
4591+ <driver>foo2hbpl1</driver>
4592+ <!--not "unverified"--><!--no "contrib_url"-->
4593+ <comments> <en>
4594+
4595+ The Epson AcuLaser C1700 is color printer with a 2014 street price
4596+ of $200.
4597+
4598+ These printers are supported by the foo2hbpl1 open software printer
4599+ driver.
4600+
4601+ </en> </comments>
4602+</printer>
4603--- foo2zjs/foomatic-db/printer/Fuji_Xerox-DocuPrint_CP105.xml 1970-01-01 00:00:00.000000000 +0000
4604+++ foo2zjs/foomatic-db/printer/Fuji_Xerox-DocuPrint_CP105.xml 2014-03-24 16:17:06.000000000 +0000
4605@@ -0,0 +1,71 @@
4606+<printer id="printer/Fuji_Xerox-DocuPrint_CP105">
4607+ <make>Fuji Xerox</make>
4608+ <model>DocuPrint CP105</model>
4609+ <mechanism>
4610+ <laser/>
4611+ <color/>
4612+ <resolution>
4613+ <dpi>
4614+ <x>600</x>
4615+ <y>600</y>
4616+ </dpi>
4617+ </resolution>
4618+ <margins>
4619+ <general>
4620+ <unit>inch</unit>
4621+ <top>0.085</top>
4622+ <bottom>0.085</bottom>
4623+ <left>0.085</left>
4624+ <right>0.085</right>
4625+ </general>
4626+ </margins>
4627+<!--
4628+ <consumables>
4629+ <comments> <en>
4630+ Toner Cyan (1000 prints) - $45
4631+ Toner Magenta (1000 prints) - $45
4632+ Toner Yellow (1000 prints) - $45
4633+ Toner Black (2000 prints) - $54
4634+ Waste Toner (5000 prints) - $10
4635+ Drum Kit (20000 prints) - $159
4636+ </en> </comments>
4637+ <partno>106R01271</partno>
4638+ <partno>106R01272</partno>
4639+ <partno>106R01273</partno>
4640+ <partno>106R01274</partno>
4641+ <partno>108R00722</partno>
4642+ <partno>108R00744</partno>
4643+ </consumables>
4644+-->
4645+ </mechanism>
4646+ <url>http://accessories.us.dell.com/sna/productdetail.aspx?c=us&cs=04&l=en&s=bsd&sku=225-411</url>
4647+ <lang>
4648+ <proprietary/>
4649+ <!--no pjl--><!--No "text"?-->
4650+ </lang>
4651+ <autodetect>
4652+<!--
4653+ <parallel>
4654+ <ieee1284>MFG:Xerox;CMD:SPLC;MDL:Phaser 6110;CLS:PRINTER;STATUS:BUSY;</ieee1284>
4655+ <manufacturer>Xerox</manufacturer>
4656+ <model>Phaser 6110</model>
4657+ <commandset>SPLC</commandset>
4658+ </parallel>
4659+-->
4660+ <snmp>
4661+ <description>Fuji Xerox DocuPrint CP105</description>
4662+ </snmp>
4663+ </autodetect>
4664+ <functionality>C</functionality>
4665+ <driver>foo2hbpl1</driver>
4666+ <!--not "unverified"--><!--no "contrib_url"-->
4667+ <comments> <en>
4668+
4669+ The Fuji-Xerox DocuPrint CP105 is color printer with a 2014 street
4670+ price of $200.
4671+
4672+ These printers are supported by the foo2hbpl1 open software printer
4673+ driver.
4674+
4675+ </en> </comments>
4676+</printer>