Eclipse Won’t Print under Linux

Eclipse won’t print under linux. The bug report makes for an interesting read.

However, Kim Lux has posted a rather satisfying workaround for KDE users which allows you to open your currently selected text file in kwrite and print from there.

To set this up: Run/External Tools/External Tools. Create New, name it kwrite-print, location: /usr/bin/kwrite, Working directory: ${container_loc}, Arguments ${resource_name} then, if you wish, switch to the Common tab and select External Tools in the Display in Favourites menu window.

Now you can use Run/External Tools/kwrite-print to open your code in the external editor and print it from there.

Leave a Reply