📄 print_emrrecord.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Print_EMRRecord.aspx.cs" Inherits="Src_IndividualOperation_Doctor_Print_EMRRecord" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>EMR-电子病历系统->电子病历打印</title>
<link href="../../../Emr.css" rel="stylesheet" type="text/css" />
</head>
<script language="Javascript" type="text/jscript"><!--
function doprint() {
//保留客户打印机设置
var h = factory.printing.header;
var f = factory.printing.footer;
var t = factory.printing.topMargin;
var b = factory.printing.bottomMargin;
var l = factory.printing.leftMargin;
var r = factory.printing.rightMargin;
document.all("printbtn").style.visibility = 'hidden';//打印时隐藏打印按钮
//设置页眉页脚上下左右边距
factory.printing.header = "";//设置页眉
factory.printing.footer = "";//设置页脚
factory.printing.portrait=true; //纵 factory.printing.portrait = false; 横
factory.printing.topMargin="6";//存在最小默认值5.02
factory.printing.bottomMargin="6";//存在最小默认值4.13
factory.printing.leftMargin="7";//存在最小默认值5.08
factory.printing.rightMargin="7";//存在最小默认值6.79。。。本人机子上测出来是这样的,不知道普遍是否如此。
// 直接打印
factory.DoPrint(true);//true时弹出打印对话框
//返回到原来的打印设置
factory.printing.header = h;
factory.printing.footer = f;
factory.printing.topMargin=t;
factory.printing.bottomMargin=b;
factory.printing.leftMargin=l;
factory.printing.rightMargin=r;
//显示打印按钮
document.all("printbtn").style.visibility = 'visible';//通过document.all("printbtn").来指定页面中的任何类,并给以进一步属性设置
}
//--></script>
<body>
<object id="factory" style="display:none"
classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814"
codebase="<%=Request.ApplicationPath %>/Print/smsx.cab#Version=6,3,435,20">
</object>
<form id="form1" runat="server">
<table border="0" align="left" cellpadding="0" cellspacing="0" class="tableb" style="background-color:#f2f8fb">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" style="text-align: left">
<tr>
<td class="title" colspan="2" style="height: 30px; text-align: center">
<span style=" font-weight:bolder">病人基本信息</span></td>
</tr>
<tr>
<td class="text" style="width: 141px; text-align: left">
姓名:</td>
<td style="width: 319px; text-align: left">
<asp:TextBox ID="TextBoxPatientName" runat="server" ReadOnly="True" Width="175px"></asp:TextBox>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="text" style="width: 141px; height: 22px; text-align: left">
性别:</td>
<td style="width: 105px; height: 24px; text-align: left">
<asp:DropDownList ID="DropDownListPatientSex" runat="server" Width="80px">
<asp:ListItem Value="0">女</asp:ListItem>
<asp:ListItem Value="1">男</asp:ListItem>
</asp:DropDownList></td>
<td class="text" style="width: 111px; height: 24px; text-align: left">
年龄:</td>
<td style="width: 103px; height: 24px; text-align: left">
<asp:DropDownList ID="DropDownListPatientAge" runat="server" Width="80px">
</asp:DropDownList></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="text" style="width: 141px; text-align: left">
生日:</td>
<td style="width: 319px; text-align: left">
<asp:DropDownList ID="DropDownListYear" runat="server" Width="60px">
</asp:DropDownList>年<asp:DropDownList ID="DropDownListMonth" runat="server">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
</asp:DropDownList>月
<asp:DropDownList ID="DropDownListDay" runat="server">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem>31</asp:ListItem>
</asp:DropDownList>日</td>
</tr>
<tr>
<td class="text" style="width: 141px; text-align: left">
电话号码:</td>
<td style="width: 319px; text-align: left">
<asp:TextBox ID="TextBoxPatientTelephoneNum" runat="server" Width="175px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="text" style="width: 141px; height: 24px; text-align: left">
身份证号:</td>
<td style="width: 319px; height: 24px; text-align: left">
<asp:TextBox ID="TextBoxPatientIDCardNum" runat="server" ReadOnly="True" Width="175px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="text" style="width: 141px; height: 24px; text-align: left">
户口:</td>
<td style="width: 319px; height: 24px; text-align: left">
<asp:TextBox ID="TextBoxPatientRPRPlace" runat="server" Width="175px"></asp:TextBox>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="width: 458px; text-align: left">
<tr>
<td class="text" style="width: 136px; height: 24px; text-align: left">
籍贯:</td>
<td style="width: 107px; height: 24px; text-align: left">
<asp:TextBox ID="TextBoxPatientNativePlace" runat="server" Width="80px"></asp:TextBox></td>
<td class="text" style="width: 101px; height: 24px; text-align: left">
名族:</td>
<td style="width: 103px; height: 24px; text-align: left">
<asp:TextBox ID="TextBoxPatientNation" runat="server" Width="80px"></asp:TextBox></td>
</tr>
<tr>
<td class="text" style="width: 136px; text-align: left">
职业:</td>
<td style="width: 107px; text-align: left">
<asp:TextBox ID="TextBoxPatientJob" runat="server" Width="80px"></asp:TextBox></td>
<td class="text" style="width: 101px; text-align: left">
婚否:</td>
<td style="width: 103px; text-align: left">
<asp:DropDownList ID="DropDownListIsMarry" runat="server" Width="85px">
<asp:ListItem Value="0">未婚</asp:ListItem>
<asp:ListItem Value="1">已婚</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td class="text" style="width: 136px; height: 24px; text-align: left">
邮编:</td>
<td style="width: 107px; height: 24px; text-align: left">
<asp:TextBox ID="TextBoxPatientPostalCode" runat="server" Width="80px"></asp:TextBox>
</td>
<td class="text" style="width: 101px; height: 24px; text-align: left">
文化程度:</td>
<td style="width: 103px; height: 24px; text-align: left">
<asp:TextBox ID="TextBoxPatientEducation" runat="server" Width="80px"></asp:TextBox>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="text-align: left">
<tr>
<td class="text" style="width: 141px; text-align: left">
家庭住址:</td>
<td style="width: 319px; text-align: left">
<asp:TextBox ID="TextBoxPatientAddress" runat="server" Width="175px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="text" style="width: 141px; text-align: left">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -