1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4<meta http-equiv="X-UA-Compatible" content="IE=Edge"/> 5<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6<meta HTTP-EQUIV="Pragma" CONTENT="no-cache"> 7<meta HTTP-EQUIV="Expires" CONTENT="-1"> 8<link rel="shortcut icon" href="images/favicon.png"> 9<link rel="icon" href="images/favicon.png"> 10<title>Untitled Document</title> 11<link href="../NM_style.css" rel="stylesheet" type="text/css"> 12<link rel="stylesheet" type="text/css" href="../form_style.css"> 13<script type="text/javascript" src="/help.js"></script> 14<script type="text/javascript" src="/state.js"></script> 15<script> 16if(parent.location.pathname.search("index") === -1) top.location.href = "../index.asp"; 17 18<% login_state_hook(); %> 19 20function initial(){ 21 showtext(document.getElementById("printerModel"), parent.usbPorts[parent.currentUsbPort].deviceName); 22 23 if(parent.usbPorts[parent.currentUsbPort].deviceName != "" 24 && parent.usbPorts[parent.currentUsbPort].serialNum == "<% nvram_get("u2ec_serial"); %>") 25 { 26 showtext(document.getElementById("printerStatus"), '<#CTL_Enabled#>'); 27 document.getElementById("printer_button").style.display = ""; 28 document.getElementById("button_descrition").style.display = ""; 29 } 30 else{ 31 showtext(document.getElementById("printerStatus"), '<#CTL_Disabled#>'); 32 document.getElementById("printer_button").style.display = "none"; 33 document.getElementById("button_descrition").style.display = "none"; 34 } 35 36 if('<% nvram_get("mfp_ip_monopoly"); %>' != "" && '<% nvram_get("mfp_ip_monopoly"); %>' != login_ip_str()){ 37 document.getElementById("monoBtn").style.display = "none"; 38 document.getElementById("monoDesc").style.display = ""; 39 document.getElementById("monoP").style.width = ""; 40 document.getElementById("monoP").style.float = ""; 41 } 42 else{ 43 document.getElementById("monoBtn").style.display = ""; 44 document.getElementById("monoDesc").style.display = "none"; 45 } 46 47 addOnlineHelp(document.getElementById("faq"), ["monopoly", "mode"]); 48} 49 50function cleanTask(){ 51 parent.showLoading(2); 52 FormActions("/apply.cgi", "mfp_monopolize", "", ""); 53 document.form.submit(); 54} 55</script> 56</head> 57 58<body class="statusbody" onload="initial();"> 59 60<form method="post" name="form" action="/start_apply.htm"> 61<input type="hidden" name="productid" value="<% nvram_get("productid"); %>"> 62<input type="hidden" name="current_page" value="device-map/printer.asp"> 63<input type="hidden" name="next_page" value="device-map/printer.asp"> 64<input type="hidden" name="modified" value="0"> 65<input type="hidden" name="action_mode" value=""> 66<input type="hidden" name="action_script" value=""> 67<input type="hidden" name="action_wait" value="2"> 68<input type="hidden" name="preferred_lang" id="preferred_lang" value="<% nvram_get("preferred_lang"); %>"> 69 70<table width="95%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#6b8fa3" class="table1px"> 71 <tr> 72 <td style="padding:5px 10px 5px 15px;"> 73 <p class="formfonttitle_nwm"><#PrinterStatus_x_PrinterModel_itemname#></p> 74 <p style="padding-left:10px; margin-top:3px; background-color:#444f53; line-height:20px;" id="printerModel"></p> 75 <img style="margin-top:5px;" src="/images/New_ui/networkmap/linetwo2.png"> 76 </td> 77 </tr> 78 79 <tr> 80 <td style="padding:5px 10px 5px 15px;"> 81 <p class="formfonttitle_nwm"><#Printing_status#></p> 82 <p style="padding-left:10px; margin-top:3px; background-color:#444f53; line-height:20px;" id="printerStatus"></p> 83 <img style="margin-top:5px;" src="/images/New_ui/networkmap/linetwo2.png"> 84 </td> 85 </tr> 86 87 <tr id="printer_button" style="display:none;"> 88 <td style="padding:5px 10px 5px 15px;"> 89 <p class="formfonttitle_nwm" id="monoP" style="width:138px;"><#Printing_button_item#></p> 90 <input id="monoBtn" type="button" class="button_gen" value="<#WLANConfig11b_WirelessCtrl_button1name#>" onclick="cleanTask();"> 91 <p id="monoDesc" style="padding-left:10px; margin-top:3px; background-color:#444f53; line-height:20px;"><% nvram_get("mfp_ip_monopoly"); %></p> 92 <img style="margin-top:5px;" src="/images/New_ui/networkmap/linetwo2.png"> 93 </td> 94 </tr> 95</table> 96 97<div id="button_descrition" style="display:none;padding:5px 0px 5px 25px;"> 98<ul style="font-size:11px; font-family:Arial; color:#FFF; padding:0px; margin:0px; list-style:outside; line-height:150%;"> 99 <li><#PrinterStatus_x_Monopoly_itemdesc#></li> 100 <li> 101 <a id="faq" href="" target="_blank" style="text-decoration:underline;"><#Printing_button_item#> FAQ</a> 102 </li> 103</ul> 104</div> 105</form> 106</body> 107</html> 108