Re: win32 printing
- From: Chris Seaton <chris chrisseaton com>
- To: todd <taf2 lehigh edu>, gtk-app-devel-list gnome org
- Subject: Re: win32 printing
- Date: Sat, 17 Apr 2004 00:34:16 +0100
I think what I need to do to print is the following:
1.  draw to a GdkPixmap
2. get the GdkPixbuf from the Pixmap
3. pass the GdkPixbuf ( which I believe is just raw image data? ) to the 
function described here 
http://support.microsoft.com/default.aspx?scid=kb;EN;138594
I think my reasons for being unsure about how to proceed are because 
win32 refers to images as bitmaps while gtk+ refers to them as pixmaps.  
Are they the same?
And are they interchangeable?
That won't works: your printer will not be expecting a raw bitmap. As 
the article says, it's printer specific. This is for the lowest level 
control of a printer - like writing a user space driver or something odd 
like that.
If would suggest dumping the pixbuf to a file (.png or something else 
less lossless) and then using another program to print it. I'm sure 
paint or something can be asked to print a file from the command line 
like notepad can be with text files.
Chris Seaton
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]