I can not print with jedit anymore to my linux cups printers and the pdf printer. Printing in a postscript file works. I can print this postscript file with lpr later.
jEdit gives me a PrinterIOException as message, nevertheless I can't see the whole stacktrace in the activity log.
I had a similar issue with intellij idea (also java based) where I was also not able to print, but here I was able to see the stack trace: finally the command 'lpr -o job-sheets=standard' was generated, and my lpr gives then an error that 'standard' is not known. Disabling the banner page in the intellij print dialog was the solution there. I can of course not be sure if this is the same issue as in jEdit. I found no possibility to disable banner pages in jEdit to check it out this way.
jEdit version: 5.6.0 with openJdk 17 (tried different java versions)
OS OpenSuse 15.3
You can't print to any hardware printer?
If you open the activity.log file directly, rather than in the Activity Log viewer, can you see the whole stack trace?
Testing locally, printing to a hardware printer works fine, printing to postscript works fine, printing to pdf does not -- it appears there needs to be special handling for pdf printing like there is for postscript printing. I'll test some more and confirm.
intended for you.
Leslie
I've been reading up on cups. Try this: print something to the pdf printer, then look in /var/spool/cups-pdf/(your user name). Is there a pdf file there with what you printed? That's the default location that cups puts pdf output. I'm still looking into how you can set a filename for it, though. When I do it, I get a file named "var_spool_cups-pdf_danson.pdf".
I've checked in a fix so that you can choose a directory and filename for printing to a pdf. Will this solve your problem?
Here is a stack trace with jEdit rev 25530 with OpenJDK 64-Bit Server VM Zulu17.28+13-CA on Linux:
I have seen this
java.util.ConcurrentModificationExceptionin other situations as well, e.g. the Plugin Manager / Update dialog (but cannot reproduce it now).Printing to cups-pdf works with no problem, I can choose a filename and the pdf will be generated. Nevertheless, printing to hardware printers still not works. And I still see no error message in the activity.log file - also by looking into it directly, also with the newest revision r25530