Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm using the javax.print API to print a Jasper Report on Debian Linux. For some reason the saved lpoptions (CUPS settings) always override settings chosen on the Java Print dialog. At this point the only way I am getting around this problem is to delete the .lpoptions file in the user's directory.

This doesn't appear like something I can control with Java so is there a way to keep the Unix CUPS settings from overriding the print settings?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.