473,785 Members | 2,291 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Always last status button not printing - for 10 ports, 9 status print OK, no last one

365 Contributor
I wrote a status page HTML code, here I have 8 port status, it prints first 7 and last status it won't print, from there onwards it won't print footer also, if I make 10 instead 8, then it prints first 9 and last one status it won't print, samething if I make 15, it prints 14 and last one won't, any issue with this script?.


<html>

<head>
<title>STATUS PAGE</title>
</head>

<body>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<br>
<div id="hedeer">
<CENTER> STATUS PAGE </CENTER>
</div> &nbsp; &nbsp; &nbsp;

<div align="center">
<b><font size="6"> 8 PORTs STATUS </font></b>
<br><br>
</div>

<div align="center">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td> <strong>P1 Status</strong> <input type="button" value="ON" style="backgrou nd-color: #00cc00; color: #ffffff;" /> </td>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<td> <strong>P2 Status</strong> <input type="button" value="ON" style="backgrou nd-color: #00cc00; color: #ffffff;" /> </td>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td><strong>P 3 Status</strong> <input type="button" value="ON" style="backgrou nd-color: #00cc00; color: #ffffff;" /> </td>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<td> <strong>P4 Status</strong> <input type="button" value="ON" style="backgrou nd-color: #00cc00; color: #ffffff;" /> </td>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<td> <strong>P5 Status</strong> <input type="button" value="ON" style="backgrou nd-color: #00cc00; color: #ffffff;" /> </td>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<td> <strong>P6 Status</strong> <input type="button" value="ON" style="backgrou nd-color: #00cc00; color: #ffffff;" /> </td>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<td> <strong>P7 Status</strong> <input type="button" value="ON" style="backgrou nd-color: #00cc00; color: #ffffff;" /> </td>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<td> <strong>P8 Status</strong> <input type="button" value="ON" style="backgrou nd-color: #00cc00; color: #ffffff;" /> </td>
<br>


</div>

<br>

</div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<tr> <CENTER>
<td align="center" width="100%" colspan="2">

<img border="0" src="footer.gif " width="800" height="25"></td> </CENTER>
</tr>
</body>

</html>
Oct 22 '09 #1
0 1495

Sign in to post your reply or Sign up for a free account.

Similar topics

5
2294
by: TrvlOrm | last post by:
Can any one please help me...I am new to JavaScript and I have been struggling with this code for days now and can't figure it out. I would like to get the Buttons to correspond with the action to either a) generate numbers b) Prompts a user to locate a web page c) go to previous page in history list d) Loads next page in history list e) Promps the user for a URL and loads the web page in a new window f) and Re-Sizes the window. ...
2
3043
by: Ryan Gregg | last post by:
I've got a dot matrix printer that I need to print a line at a time to. This is being used for an audit log on an application and every event that occurs needs to print out right as it occurs. I've previously had this working well in a serial communication method where I talk directly to the printer using control codes and what not. However, it seems that the higher ups want to be able to use a network printer or other Windows-configured...
0
1197
by: Harry Whitehouse | last post by:
I can center the print dialog on my parent window just fine. But how can I control the location of the status window that pops up during the actual page printing? My app is programmed to center in the screen, and the printing status dialog appears up in the upper left corner of the screen (outside of the application). Is there any way to control this status window? TIA
0
2233
by: MSDev | last post by:
Hi all, I have a project in C# where I am using the PrintDocument class to automate the printing of a pdf document. Now my requirement is silently printing the document. So I had to remove the Print Status dialog by setting instantiating a StandardPrintController object and assigning it to the PrintController property on the PrintDocument object. But my application also needs to show the printing status in a label like "Printing 1 of...
8
41897
by: Microsoft News | last post by:
Greetings community at large. I have a c# app that generates a PDF file. I have a printer that prints PDF natively. But I cannot figure out how to programatically print in C# ... I can generate the PDF as a file or a stream .. but cannot figure out how to send either to the printer. the only events I can use seem to be e.Graphics.DrawImage( ) or
4
16824
ADezii
by: ADezii | last post by:
Recently, there seems to be several questions specifically related to Printers and changing Printing characteristics for Forms and Reports. For this reason alone, I decided to dedicate this week's Tip to these Topics. The Tip will actually consist of several Tips which I feel are very useful for all Users, from Newbies to Experts. In order to utilize the code contained within these Tips, you must have Access 2002 or later. How can I...
5
1311
by: futileissue | last post by:
Beginner, so please bare with me. I'm not sure what to call what it is I'm looking for. If I have an object class, let's call it "Creature": class Creature: def __init__(self, status): self.status = "happy" def change_status(self, new_status):
0
1317
by: Edwin.Madari | last post by:
updated creature running in its own thread will get you started. try it foryourself, change sleep times per your need. import os, sys, threading, time class Creature: def __init__(self, status): self.status = status self.state = 'run' def start(self): self.athread = threading.Thread(target=self.print_status)
0
1472
by: praveenhathwar | last post by:
Im trying to print to a 40 column printer through my VB Application. But the printer instead of printing it will keep showing Spooling status. Im Using Epson TM-U220PD Printer, VB 6.0 and Sql Server 2000 as Backend. Anybody plz help me out in this context. I need to solve this urgently... Here is my code... sql = "select * from ReportTable" If rstemp.State = 1 Then rstemp.Close rstemp.Open sql, con, adOpenStatic, adLockOptimistic If...
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10163
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7510
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5397
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.