When I create printer job with a printer or set printer to existing one it doesn't display properly in PrintDialog. There is always a default printer selected.
Steps to reproduce:
1. Run attached project
2. Choose any printer except default one
3. Click "Print" button
4. Check selected printer in print dialog
5. If you click OK on print dialog it will print page with a label "Label" on a printer from print dialog, not on one selected in step 2.
Steps to reproduce:
1. Run attached project
2. Choose any printer except default one
3. Click "Print" button
4. Check selected printer in print dialog
5. If you click OK on print dialog it will print page with a label "Label" on a printer from print dialog, not on one selected in step 2.
- duplicates
-
JDK-8124225 Printing: can't set printer through API
- Resolved