File: pxl1010.xml

package info (click to toggle)
foomatic-db 20061031-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 113,544 kB
  • ctags: 3
  • sloc: xml: 183,110; sh: 153; makefile: 123
file content (38 lines) | stat: -rw-r--r-- 1,479 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<driver id="driver/pxl1010">
 <name>pxl1010</name>
 <url></url>
 <execution>
  <ghostscript />
  <prototype>gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=pxlmono%A%Z -sOutputFile=- - | perl -0777 -e &apos;my $d; read(STDIN, $d, 10000); $d =~ s/(ENTER LANGUAGE[^\n]*\n[^\n]*\n[^A]*A)/$1\xc2\x11\x20\x70\x68\xf8\x91\x46/s; print $d; while (read(STDIN, $d, 10000)) {print $d}&apos; | perl -p -e &apos;if (! $did) { s/\xc0.\xf8\x26/\xc0%E\xf8\x26/ &amp;&amp; $did++; }&apos;</prototype>
  <ppdentry>
   *DefaultResolution: 600dpi
  </ppdentry>
 </execution>
 <comments>
  <en>
    
    "pxl1010" is not a new driver, but a special way of using the
    "pxlmono" GhostScript driver to make the HP LaserJet 1010 and 1012
    work reliably.  The trick is to add a special sequence of 8 bytes
    at the BeginSession operator of the PCL-XL data stream.&lt;p&gt;

    Simply using "pxlmono" does not print anything and using a PCL-5e
    driver (HPIJS, "ljet4", ...) leads in principle to the jobs being
    printed, but sometimes the printer crashes with an "Unsupported
    personality: PCL" message.&lt;p&gt;

    Thanks to Carl Michal (michal at physics dot ubc dot ca) for
    finding out that. He analyzed the output of the Windows driver,
    where he found this "magic" 8-byte sequence.&lt;p&gt;

  </en>
 </comments>
 <printers>
  <printer>
   <id>printer/HP-LaserJet_1010</id>
  </printer>
  <printer>
   <id>printer/HP-LaserJet_1012</id>
  </printer>
 </printers>
</driver>