<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@include file="/base/taglibs.jsp"%>
<%@include file="/base/prefix.jsp"%>
<%@include file="/base/gridImport.jsp"%>
<html>
<head>
<title></title>
<style media=print>
.Noprint {
display: none;
}
<!-- 用本样式在打印时隐藏非打印项目--> .PageNext {
page-break-after: always;
}
<!--控制分页-->
</style>
<style type="text/css">
body {
margin-left: 30px;
margin-top: 92px;
color:black;
} .aa {
font: normal 18px "宋体";
text-align: middle;
} .bb {
font: normal 15px "宋体";
} .taskbill {
font: 15px "宋体";
color: #000000;
border: solid windowtext .5pt;
border-bottom: none;
border-right: none;
} .taskbill td {
font: 14px "宋体";
border: solid windowtext .5pt;
border-left: none;
border-top: none;
color:black;
} .button_4
{
cursor:hand;
width: 74px;
height: 20px;
background-image: url(${ctx}/images/button_new_bigger.gif);
background-repeat: repeat;
background-attachment: scroll;
background-position: center;
border: 0 solid #000000;
text-align: center;
padding-top: 3px;
font-family: "宋体";
font-size: 12px;
}
</style>
</head>
<center class="Noprint">
<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0>
</OBJECT>
<p>
<input type=button class="button_4" value=打印
onclick=document.all.WebBrowser.ExecWB(6,1)> <input
type=button class="button_4" value=直接打印
onclick=document.all.WebBrowser.ExecWB(6,6)> <input
type=button class="button_4" value=页面设置
onclick=document.all.WebBrowser.ExecWB(8,1)> <input
type=button class="button_4" value=打印预览
onclick=document.all.WebBrowser.ExecWB(7,1)>
</p>
<hr align="center" width="760" size="0" noshade>
<br>
</center>
<body>
<center>
<p class="aa">
<strong>操作员日终对账详细信息</strong>
</p>
</center>
<center>
<p class="bb">
报表日期:${startdate}&nbsp;00:00:00-${enddate}&nbsp;23:59:59
打印日期:${printdate}
</p>
</center> <center>
<TABLE class="taskbill" cellpadding="0" cellspacing="0" width="94%">
<TBODY>
<TR>
<td width="5%" align="center"><strong>客户编号</strong>
</td>
<td width="5%" align="center"><strong>客户姓名</strong>
</td>
<td width="8%" align="center"><strong>收费项目</strong>
</td>
<td width="6%" align="center"><strong>费用金额</strong>
</td>
<td width="12%" align="center"><strong>收费时间</strong>
</td>
<td width="5%" align="center"><strong>发票号</strong>
</td>
<td width="6%" align="center"><strong>POS单号</strong>
</td>
<td width="5%" align="center"><strong>操作员</strong>
</td>
</TR>
<s:iterator var="sumMap" value="#request.list" status="st">
<TR>
<TD align="right"><s:property value="#sumMap.CUST_NO"/>&nbsp;</TD>
<TD align="left"><s:property value="#sumMap.CUST_NAME"/>&nbsp;</TD>
<TD align="left"><s:property value="#sumMap.FEENAME"/>&nbsp;</TD>
<TD align="right"><s:property value="#sumMap.MONEY"/>&nbsp;</TD>
<TD align="center" nowrap><%-- <s:date name="#sumMap.CREATETIME" format="yyyy-MM-dd HH:mm:ss" /> --%>&nbsp;</TD>
<TD align="right"><s:property value="#sumMap.INVO_NO"/>&nbsp;</TD>
<TD align="right"><s:property value="#sumMap.POSNUM"/>&nbsp;</TD>
<TD align="left"><s:property value="#sumMap.OPERATORNAME"/>&nbsp;</TD>
</TR>
</s:iterator>
</TBODY>
</TABLE>
</center>
<p></p>
<center>
<p align="center" class="bb">
<!-- 总计&nbsp;&nbsp;n&nbsp;&nbsp;笔&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -->
实收金额共&nbsp;&nbsp;${paymentMoney}&nbsp;&nbsp;元&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
应付金额共&nbsp;&nbsp;${sumMoney}&nbsp;&nbsp;元&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</p>
</center>
</body> </html>

经过实际检验,可运行  鉴定完毕

WEB打印(jsp版)的更多相关文章

  1. 2013第39周一Web打印

    2013第39周一Web打印 项目中遇到了Java Web打印问题,简单调用IE浏览器的打印不能完全满足要求,于是就搜集了Web打印相关的主题,简单汇总一下.web打印难点在分页.页面纸张设置,页眉页 ...

  2. WEB打印插件jatoolsPrinter

    为什么选择 jatoolsPrinter 免费版? 支持无预览直接打印 真正免费,不加水印,没有ip或域名限制,不限时间,兼容ie6+ 无须注册,下载即用 提供经过微软数字签名的cab自动安装包,安装 ...

  3. 专业的web打印插件

    Lodop是什么?参考官方网站:http://www.lodop.net/ 有人说她是Web打印控件,因为她能打印.在浏览器中以插件的形式出现,用简单一行语句就把整个网页打印出来: 有人说她是打印编程 ...

  4. Web打印--Lodop API

    Lodop是一款专业的WEB打印控件,其设计目标是简单易用.功能足够强大,开创WEB打印开发的新局面. Lodop设计者对WEB下的打印开发任务进行了分类汇总,高度抽象,设计出仅用几个功能函数,就可实 ...

  5. WEB打印的几种方案

    -------------------------------------------一  基于Web的打印方案比较分析-------------------------------- 基于web的套 ...

  6. 提示“Web打印服务CLodop未安装启动”的各种原因和解决方法

    旧版提示:"CLodop云打印服务(localhost本地)未安装启动!"新版提示:"Web打印服务CLodop未安装启动,点击这里下载执行安装(若此前已安装过,可点这里 ...

  7. 关于使用smsx.cab控件做web打印使用方法(转)

    注意:在使用之前先告诉下我的痛苦经历 在做WEB项目是我的JSP页面在jsp文件夹里,我把smsx.cab放在js文件夹里(jsp和js是用级别目录) 在本机上测试可以正确下载控件,但是部署到测试服务 ...

  8. jsp版ueditor图片在线管理返回绝对路径

    引用:http://zhengyunfei.iteye.com/blog/2149979 如果你有富文本编辑器的功能需要开发,我推荐你用百度的ueditor.本文将与你分享jsp版ueditor开发中 ...

  9. ASP.NET MVC5+EF6+EasyUI 后台管理系统(55)-Web打印

    系列目录 前言 1.本次主要弥补工作流,用户表单数据的打印 2.使用JQprint做为web打印插件 3.兼容:FireFox,Chrome,IE. 4.没有依赖也没有配置,使用简单 代码下载:htt ...

  10. Web打印控件

    Lodop是什么? 有人说她是Web打印控件,因为她能打印.在浏览器中以插件的形式出现,用简单一行语句就把整个网页打印出来: 有人说她是打印编程接口,因为她介于浏览器和打印设备之间,是个通道和桥梁,几 ...

随机推荐

  1. 【Unity】4.2 提升开发效率的捷径--导入 Unity 5.3.4 自带的资源包

    分类:Unity.C#.VS2015 创建日期:2016-04-06 一.简介 Unity自带的资源包也称为标准资源包.换言之,Unity自带的所有标准资源包导入到Unity项目中以后,都会放在Pro ...

  2. 用NPOI创建Excel、合并单元格、设置单元格样式、边框的方法

    本篇文章小编为大家介绍,用NPOI创建Excel.合并单元格.设置单元格样式.边框的方法.需要的朋友参考下 今天在做项目中,遇到使用代码生成具有一定样式的Excel,找了很多资料,最后终于解决了,Ex ...

  3. [Windows Azure] Create a Virtual Network in Windows Azure

    Create a Virtual Network in Windows Azure This tutorial walks you through the steps to create a basi ...

  4. [Windows Azure] Windows Azure Web Sites, Cloud Services, and VMs: When to use which?

    This document provides guidance on how to make an informed decision in choosing between Windows Azur ...

  5. MediaStore insert bitmap为黑色

    MediaStore.Images.Media.insertImage(mFragmentActivity.getContentResolver(), qrBitmap, "xx券面值10元 ...

  6. analytics详解

    数据来源,手机端上传至服务器端的原始数据 1,基本信息(第一次启动) 字段名 字段类型 备注 是否必填 appkey String   Y deviceCode String 设备号  与wifima ...

  7. openfire 发送 接受 注册 广播 好友列表 在线状态

    package cn.zsmy.utils.openfire; import java.io.BufferedReader; import java.io.InputStreamReader; imp ...

  8. Chrome中使用flash引起cpu飙升问题的处理

    本人使用的是Chrome 30 flash 18,在看视频或者登陆有调用flash插件的页面之后,经常会遇到Shockwave Flash插件CPU占用超过50%的情况(在Chrome的任务管理器可以 ...

  9. java 多线程 27 :多线程组件之CountDownLatch

    前言 在多线程环境下,JDK给开发者提供了许多的组件供用户使用(主要在java.util.concurrent下),使得用户不需要再去关心在具体场景下要如何写出同时兼顾线程安全性与高效率的代码.之前讲 ...

  10. MyBatisBatchItemWriter Cannot change the ExecutorType when there is an existing transaction

    但凡使用mybatis,同时与spring集成使用时,接下来要说的这个问题是躲不了的.众所周知,mybatis的SqlSessionFactory在获取一个SqlSession时使用默认Executo ...