Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
I'm voting to close this question as off-topic because it's not about Unix or Linux within the scope defined in the help center. – Stephen Kitt May 23 at 7:22

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.