Details
Description
In the RI class PrintHelper constructor, can you rearrange the services array so that the default service is in the zeroeth position? In the method PrintHelper.getSetupDialog(), you call ServiceUI.printDialog(), but since the service array is in "random" order, the "default" printer is also random.
Activity
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #19365 | Wed Oct 07 17:09:56 MDT 2009 | patrick.corless | |
Files Changed | ||||
![]() |
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [5007000000A6siA] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Fix Version/s | 3.1 [ 10181 ] | |
Resolution | Fixed [ 1 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
PrintServiceLookup has two lookup calls one for all services and one for the default service. I couldn't find any documentation about the services array from PrintServiceLookup.lookupPrintServices being random but I can take their word for it. Adding code that will swap the default service with which ever service at index 0.