A function of the WEB page printing

2010-04-29  来源:本站原创  分类:Java  人气:207 

<html>
<head>
<title> look </ title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<! - Media = print this property can be effective in print ->
<style media=print>
. Noprint (display: none;)
. PageNext (page-break-after: always;)
</ Style>

<style>
. Tdp
(
border-bottom: 1 solid # 000000;
border-left: 1 solid # 000000;
border-right: 0 solid # ffffff;
border-top: 0 solid # ffffff;
)
. Tabp
(
border-color: # 000000 # 000000 # 000000 # 000000;
border-style: solid;
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 1px;
border-left-width: 1px;
)
. NOPRINT (
font-family: "Times New Roman";
font-size: 9pt;
)

</ Style>

</ Head>

<body>
<center>
<p>
<OBJECT
</ OBJECT>
<Input type = button value = print
<Input type = button value = direct printing
<Input type = button value = Page Setup
</ P>
<p> <input type = button value = Print Preview
<br/>
</ P>
<hr align="center" width="90%" size="1" noshade>
</ Center>

<table width="90%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td colspan="3"> Page 1 </ td>
</ Tr>
<tr>
<td width="29%"> </ td>
<td width="28%"> </ td>
<td width="43%"> </ td>
</ Tr>
<tr>
<td colspan="3"> </ td>
</ Tr>
<tr>
<td colspan="3"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"> <p> this report </ p>
<p> requirements in general enough. </ P> </ td>
<td> </ td>
</ Tr>
</ Table> </ td>
</ Tr>
</ Table>
<hr align="center" width="90%" size="1" noshade>
<! - Paging ->
<div> </ div>
<table width="90%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td> Page 2 </ td>
</ Tr>
<tr>
<td> see the page the bar </ td>
</ Tr>
<tr>
<td> </ td>
</ Tr>
<tr>
<td> </ td>
</ Tr>
<tr>
<td> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"> <p> this report </ p>
<p> requirements in general enough. </ P> </ td>
<td> </ td>
</ Tr>
</ Table> </ td>
</ Tr>
</ Table>
</ Body>
</ Html>

Article from: Good to love learning network (http://www.haoxiai.net) Website: http://www.haoxiai.net/wangzhanzhizuo/jiaobenyuyan/30010.html

相关文章
  • A function of the WEB page printing 2010-04-29

    <html> <head> <title> look </ title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <! - Media = print this property can be effective in print -> <style media=print> . Nop

  • jatoolsPrinter (kit form. Print Control) is a specialized tool for achieving web chromatography printing 2010-04-09

    jatoolsPrinter (kit form. Print Control) is a specialized tool for achieving web chromatography printing. As a web application developers, we often encounter in the browser to print reports, demand for the paper, these needs the browser's own print f

  • WEB page Print Summary 2010-10-15

    Ordinary print (entire page hit) print parts of the website (custom) Print remove / add headers and footers to use an external control / methods to achieve multi-function print to print the background The above code control Settings "page setup"

  • web page export excel Method (Collection) 2009-07-12

    Collection of web pages to export excel way wish to himself or to others, <! DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Transitional / / EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="ht

  • Web page technology (including fastm) [switch] [Recommended] 2008-11-15

    1. Preface Java Web Application, the page generates some of the most complicated part of the headache. Other layers can be well structured, the only part of the structure of the page is generated scattered. This paper describes and compares a variety

  • PHP generated web page snapshot 2010-02-09

    Code: <?php $url = 'http://www.baidu.com/'; // Grab Baidu echo snapshot($url); // Output results as picture address echo snapshot($url, './baidu.png'); // Save pictures to a local baidu.png, the output image size /** * Build Web page snapshots * @par

  • Web page refresh using javascript method to achieve 2010-03-25

    Web page refresh using javascript method to achieve javascript refresh page Javascript refresh the page several ways: 1 history.go (0) 2 location.reload () 3 location = location 4 location.assign (location) 5 document.execCommand ('Refresh') 6 window

  • Flex and Java types types of instructions and embedded web page 2010-04-15

    Flex embedded web page <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:flexiframe="http://code.google.com/p/flex-iframe/"> <flexiframe:IFrame label="Google" source="http://www.google.com" wi

  • Access technologies including Java Applet Application of the Web page and, IE crashes 2010-05-07

    Problem <! - BEGIN SECTION 1 -> use the Internet Explorer browser to access Java technology Applet Application contains the Web page, Internet Explorer browser crashes. <! - END SECTION 1 -> Reason <! - BEGIN SECTION 2 -> Here are some p

  • [Change] web page, and Simhash of weight algorithm Shingling 2010-07-08

    1 Introduction According to statistics, the duplication of pages on the Internet about 30% to 45%. This image is reproduced which caused because the pages are identical, there are only minor differences existing pages, such as advertising, counters,

  • Play Related web page video player code 2010-07-22

    Here is the code of various players, the video can be a path to write correctly. A variety of player code 1.avi format code snippet is as follows: <object width="400" height="200" border="0" classid="clsid:CFCDAA03-8B

  • 20 kinds of techniques to enhance the speed of web page 2010-08-03

    Introduction Not everyone is able to use high-speed Internet connection. Even if everyone can use high-speed network, will be for a variety of reasons to look for your Web application to run slowly. In this era of increasing broadband speeds, you sho

  • WEB page document methods Export to EXCEL 2010-09-28

    </ Body> </ Html> <! 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 "> &

  • Click the button to save the Web page specified in the picture, the use of js to achieve 2010-10-25

    Sometimes necessary to disable right click menu on a web page, but need to click a button to save the specified image, the code is as follows: <html> <head> <title></title> <style type="text/css"> .mytab{ border:1px

  • Demo EmbeddedWB (D5-D2009) component how to achieve GetExternal events control the browser from the WEB page features 2010-12-22

    This example demonstrates EmbeddedWB (D5-D2009) components of how to achieve GetExternal events control the browser from the WEB page of the function. Summed up the steps to achieve the following steps: 1, in the original project to create a TAutoObj

  • Web Page depth performance based on performance optimization-web 2011-04-19

    Web Page depth in performance. 1 1 Web side performance basis. 4 1.1 Web client the importance of performance. 4 1.1.1 Tracking the performance of Web pages. 4 1.1.2 Web Page of the time consuming analysis. 5 1.1.3 Performance of the Golden Rule. 5 1

  • Web page code into the Complete Works of video playback 2011-05-26

    1.avi Format Code snippet is as follows: <object width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"> <param name="ShowDisplay" value="0"> <par

  • With unique index field in the Session and General Web page functions 2011-02-23

    Although the Web system is now very popular, but the paging problem has long plagued the Web system developers. For different databases, the developer may be the treatment of sub-pages are very different. Individuals that use MySQL programmers develo

  • Recommended a Flex-based Web document printing solutions (transfer) 2011-09-28

    http://blog.csdn.net/sqlhub/article/details/6823957 ITEYE XDOC details on the website below. Free report XDOC Mastering (a) Introduction http://xdoc.iteye.com/blog/866342 Free report XDOC Mastering (b) installation http://xdoc.iteye.com/blog/866362 F

  • Web page template layout Classification 2010-03-30

    A complete web page template should include 1. Index page (and sometimes directly from home page) 2. Home page 3. Inner page 4. Category page 5. Login page (can be based on inner page) 6. 404 page (can be based on inner page) 7 500 page (can be based