var fDesc=new Array(); fDesc[0] = "Another notable improvement is the ability to get a list of printers from the system without having to start a PrintJob first; you can use this information to create a drop down box of choices for the user, and set which printer should be used for future jobs. You can also set the paper size, change orientation, receive information about the printable area based on your paper selection, and gain more control over the printing UI. You can choose to display the page setup dialog (without needing to start a PrintJob), and you can also choose to print by displaying the native system UI or suppress the native UI and send the job directly to the printer. The latter of those two options is useful if you want your application to control all aspects of the page/printer setup, and/or if you want to streamline the printing process for the user."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }