goprint icon indicating copy to clipboard operation
goprint copied to clipboard

The example cannot print pdf

Open 2vl opened this issue 2 years ago • 3 comments

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.

2vl avatar May 19 '22 12:05 2vl

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.

jadefox10200 avatar Jul 31 '22 23:07 jadefox10200

Maybe postscript is needed

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

gedw99 avatar Aug 22 '23 17:08 gedw99

我遇到也是这样的问题

AaronChengHao avatar Nov 05 '23 10:11 AaronChengHao