Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems #14

Open
jojosboomstick opened this issue Aug 26, 2022 · 1 comment
Open

Problems #14

jojosboomstick opened this issue Aug 26, 2022 · 1 comment

Comments

@jojosboomstick
Copy link

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!

@jadefox10200
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants