go-astilectron icon indicating copy to clipboard operation
go-astilectron copied to clipboard

Open Print Dialog or just Print without opening.

Open ghost opened this issue 7 years ago • 9 comments

Looks like it supports all the needed Printing functions: https://electronjs.org/docs/api/web-contents#contentsgetprinters

But i did not see it exposed in this project ??

ghost avatar Jul 07 '18 19:07 ghost

You're right, this is not exposed in this project for now.

I won't have a lot of time to work on this so if anyone wants to work on this, I'd be happy to review a PR.

Cheers

asticode avatar Jul 08 '18 07:07 asticode

I can do it. Can you point me to a similar example ?

ghost avatar Jul 09 '18 11:07 ghost

Great!

For the actions, you can take a look at the code in go-astilectron as well as the code in astilectron.

Let me know if you have any questions.

asticode avatar Jul 09 '18 12:07 asticode

where is you test harness for the current code ? SO i can see the current code beign used and then makes it easier to add stuff.

ghost avatar Jul 09 '18 12:07 ghost

@asticode all i have found is this: https://github.com/asticode/go-astilectron-demo Thats not a kitchen sink test harness to test the core functionality.... I know Electron project has a core APiI test harness. https://github.com/electron/electron-quick-start

we need something like this i feel..

ghost avatar Jul 09 '18 12:07 ghost

you can try the README's quick start

asticode avatar Jul 09 '18 13:07 asticode

OK :(

ghost avatar Jul 09 '18 15:07 ghost

@asticode sorry but i got held up with person stuff. House renovation and need a bathroom :) Just wanted to let you know... Its going to be a long while until i get to this. Do you think you can whip this up ?

ghost avatar Aug 10 '18 09:08 ghost

@gedw99 no bother, bathrooms are more important than code :D I'll add it to my TODO and will take a look when I have time.

In the meantime if somebody else wants to take a crack at it, fell free.

asticode avatar Aug 11 '18 08:08 asticode