Printer support for Win32 :)


I have coded up some basic printer support for
Win32. I believe I have done it in the
best SDL-style possible :slight_smile:
But it’s not complete… it might need some
PrinterInfo structure for changing printer,
orientation etc. (now it just uses the default
printer with default settings), but there seems
to be missing some EnumPrinters functions
in the free Win32 API Functions…

More importantly, it needs to have
an SDL_Surface set up from a printerDC
before it will work, and I’m not at all
sure how this is best done so that it’s
integrated properly into SDL.

Sam: Are you interested in doing this?
I believe it should be just like the other
DC’s :slight_smile:

-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDLPrinting.c
Type: application/x-unknown-content-type-projectbuilder.c
Size: 4228 bytes
Desc: not available