sqweek / dialog

Simple cross-platform dialog API for go-lang
ISC License
493 stars 76 forks source link

Print preview dialog #48

Open gedw99 opened 4 years ago

gedw99 commented 4 years ago

I suspect this is completely out of scope we are building a open source system using the golang GUI system called gio, and want to send pdfs to desktop printers.

It feels like a good idea to just talk directly to each OS's print preview API and send it a pdf ( or whatever it needs ).

If anyone has any tips in this area it would be great. We want to of course make it a seperate open source golang lib that any golang GUI can reuse.

Again sorry if this is totally out of scope but it maybe that others dealing with the fun and games of desktop integration of golang GUI have the same frustrations as us.

sqweek commented 4 years ago

Hiya! You're right it does feel quite out of scope, which is the reason I closed #23. The requester of that issue had some ideas but didn't provide enough information for me to understand the domain requirements. That said I also don't have any motivation to print from golang so you might have better luck following their train of thought.

This package is intentionally light and minimalist and it's not clear to me that it's possible to implement a print dialog without introducing a ton of dependencies.