goprint icon indicating copy to clipboard operation
goprint copied to clipboard

Problems

Open jojosboomstick opened this issue 2 years ago • 1 comments

The example prints the pdf as a series of different characters, just a tiny bit at the beginning of the page and then the next one. A simple text document prints normally, but the Russian text does not display correctly (the file is saved in UTF-8). Printer Kyocera ECOSYS M2735dw KX. Thanks for your hard work!

jojosboomstick avatar Aug 26 '22 10:08 jojosboomstick

Hello. Sorry for the delay. Please pull the 'dev' branch and try that code. There is a comment in the code as follows:

//The pDatatype in the DOC_INFO_1 stuct should be either set to "RAW" or XPS_PASS". This is obtained from the PRINTER_INFO_2 struct and passed in directly. To check which data type your printer is using, use the ShowPrintProcessor() method to print this infomation to the console.

I have not been able to test much of the code in that branch but there are functions to check your printer's ability. From looking up your printer, it should have the ability to print PDFs. There are some comments in the code that should help direct you what settings you need to put into the function in order to print. I believe your printer also supports XPS but again, you should be able to run the functions first in order to debug the issues. Please let me know what you find.

jadefox10200 avatar Jan 11 '23 04:01 jadefox10200