Answer the question
In order to leave comments, you need to log in
How to print to printer from golang on windows?
Good afternoon!
There was a question - which sensibly I can not solve.
It is necessary to print from GO to the printer, and it is necessary to print without a system dialog box, so that the data is printed immediately after sending the command.
From ideas which I saw:
- cgo+qt. there are no sensible implementations, a terrible crutch that will make a monster out of a program
- syscall - did not find a sensible description, until I found a strange call that creates a window with YES / NO / CANCEL buttons for me
.
Answer the question
In order to leave comments, you need to log in
I rant:
The following print commands can be run from the command line.
Command to print a text file or display the contents of the print queue
Command to manage jobs and printer queues or display information about them
Command to connect to and disconnect from a shared printer
Command to start the print spooler
service Command to stop the print spooler service
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question