md6410 / wheel-encoder-generator

Automatically exported from code.google.com/p/wheel-encoder-generator
0 stars 0 forks source link

Print fails when no services available #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run WEG on a system with no printers configured
2. Select to print the encoder wheel

What is the expected output? What do you see instead?

Dialog should come up allowing user to print to file even if no printers 
available.  Instead, error is generated and no print dialog appears.

Please use labels and text to provide additional information.

Need to verify if this is an issue on other platforms

Original issue reported on code.google.com by shimniok on 6 Jan 2011 at 7:11

GoogleCodeExporter commented 8 years ago
Similar problem with MATLAB: 
http://www.mathworks.com/support/solutions/en/data/1-3NB5R2/index.html?solution=
1-3NB5R2

Original comment by shimniok on 6 Jan 2011 at 7:19

GoogleCodeExporter commented 8 years ago
Many other web links with problems like this for other java apps such as 
MoneyDance, NetBeans, and others.  The problem appears to have to do with 
either BSD to CUPS compatibility (installing cupsys helps?) or default 
automatic orientation not working with cups (requires adding an orientation 3 
in printers.conf.  More details here: 
http://www.diigo.com/user/mshimniok/linux%20printing%20%20java

Original comment by shimniok on 6 Jan 2011 at 7:42

GoogleCodeExporter commented 8 years ago
With remote printer installed, it works ok on my dev box.
May need to install a bogus local printer to get it to work for hosts with no 
printers installed.  Or... revise the image generation to support higher 
resolution.

Original comment by shimniok on 7 Jan 2011 at 12:02

GoogleCodeExporter commented 8 years ago
Java printdialog api displays an error when no printers are available.  Not a 
defect with WEG.

Original comment by shimniok on 7 Jan 2011 at 4:19