winc
winc copied to clipboard
Printing
Awesome library !
I want to add the ability to Output to a PDF for all your Windows Controls. This would require making a Window which is alot like the Chrome Print Preview Page, where you have the Printer options on the left and a PDF view of the output like a a4 landscape or portrait, Colour or Black and white.
Like this: https://techdows.com/wp-content/uploads/2011/04/enable-print-preview-in-google-chrome.png
The first bit is to be able to query for all printers and their options. The 2nd bit it to just make your controls be able to output as a PDF. I think i can do that myself. The 3rd bit is to then just display the PDF in the right side of the pane as a raster. that is easy as its easy to convert a PDF to raster image using golang.
SO the main bit of to get all printer and their options. I think maybe we can use the google Printer lib ?
https://github.com/google/cloud-print-connector/blob/master/winspool/win32.go
Sure, you are welcome to contribute. I am working 100% at the moment and can not contribute to this project.