GNOME print native drivers.
- From: Miguel de Icaza <miguel gnu org>
- To: gnome-devel-list gnome org, gnome-hackers nuclecu unam mx
- Subject: GNOME print native drivers.
- Date: Thu, 26 Aug 1999 09:07:23 -0500
Hello guys,
I just have to brag about this cool hack of mine. I have added
a preview driver to gnome-print and added a (hackish, proof of
concept) layer for doing native drivers for native printers.
The GnomePrintPreview implements the print preview, the driver
operates on a Canvas, so you have to provide a canvas and then the
pages are rendered there.
A simple control object is used to change the current page
displayed.
On the other hand I have a base abstract class called
GnomePrintRGBP that implements a generic band-based rasterizer (using
the above GnomePrintPreview plus a couple of hacks) to generate RGB
bands that are one inch tall.
These bands are passed to the native driver. Currently only a
sample output-to-rgb-file driver exists. I am going to get my PCL
manual for my printer today and write an HP LaserJet4 driver :-)
Miguel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]