Hello, I would like to know how to use the external functions of the WINSPOOL.drv library
to be able to send a PDF directly to the printer.
I've recently achieved this thanks to a GitHub project called RawPrint, creating a Net Core library to consume in PowerBuilder.
I imagine that this should be able to be implemented directly in PowerBuilder, I don't know if someone from the community could help me.
You may wonder why I want to achieve this, it is because in 64Bit environments the Adobe Acrobat Reader Control does not work to open and print PDF's.
I have replaced with the new WebBrowser control but I have found 2 problems.
The first is that it cannot be printed without opening the dialog box and the second is that there is no event that tells us when the loading of the PDF in the control has finished and in PDFs with many pages we cannot start printing until the pdf is there 100% loaded or a blank page comes out.