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

The example cannot print pdf #11

Open
2vl opened this issue May 19, 2022 · 3 comments
Open

The example cannot print pdf #11

2vl opened this issue May 19, 2022 · 3 comments

Comments

@2vl
Copy link

2vl commented May 19, 2022

func main() {

The example cannot print pdf ,

After running, the printer queued up with documents and soon disappeared, but the printer did not respond.

Does it have anything to do with the printer? I don't know why.

@jadefox10200
Copy link
Owner

This code heavily relies on the printer's ability to read a PDF. If PDF printing does NOT work, try a simple TXT file which from what I know should work in all cases. If your printer cannot read the PDF language, it will not be able to print the PDF.

@gedw99
Copy link

gedw99 commented Aug 22, 2023

Maybe postscript is needed

so take the pdf and reverse it to postscript using Ghostscript ?

@AaronChengHao
Copy link

我遇到也是这样的问题

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

4 participants