Re: linux 2.x kernel lp.c and parport.c bug

Riley Williams (rhw@MemAlpha.CX)
Sun, 6 Jun 1999 00:58:17 +0100 (GMT)


Hi Tim.

> What's happening is that 'write to file' is done on an NT box,
> generating a PostScript file, which is then sent directly to the
> printer from an NT box and from a Linux box.

Since when did NT's write-to-file produce valid postscript output with
an NT postscript driver installed!!!

I suggest you have a look at the output sometime - take a PDF file,
load it into acroread on both NT and Linux, and tell both to
print-to-file it, and then examine the output.

Result: The NT version has several lines of junk at the start, and
when you later send that file to the printer under NT, the driver
chops that junk out and just sends the valid postscript to the
printer. Tell Linux to send it to the printer, and it CORRECTLY sends
the junk as well - and it's that junk that causes the "illegal
instruction" report on the printer.

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/