473,624 Members | 2,154 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Fieldset printing problem

rd
Has anyone else noticed a problem when printing html with fieldsets in
them? Whenever I print even the simplest document with a fieldset, the
amount of data sent to the printer jumps from a few K without a
fieldset to almost 50 Megs. This seems to only be noticeable in IE,
but I can replicate every time.

Example:
(70 megs sent to printer)

<form>
<fieldset>
<legend>Test</legend>
Test<br>
Test<br>
Test<br>
Test<br>
Test<br>
Test<br>
Test<br>
Test<br>
Test<br>
</fieldset>
</form>

Example:
(15k sent to printer)
<form>
Test<br>
Test<br>
Test<br>
Test<br>
Test<br>
Test<br>
Test<br>
Test<br>
Test<br>
</form>

Anyone have any ideas, this is crazy!
Thanks,
-rd
Jul 20 '05 #1
5 9425
f_****@hotmail. com (rd) wrote:
Whenever I print even the simplest document with a fieldset, the
amount of data sent to the printer jumps from a few K without a
fieldset to almost 50 Megs.


This made me really worried (particularly since I recommend using
fieldset). But when I tested it, using "print to file" function, I get
just about 14 Kbytes when fieldset is used, about 12Kbytes when it is
not used. So I suspect it's something in your printer, or your CSS, or
maybe even your HTML. Have you checked the syntax of your HTML and CSS?

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #2
In article <ff************ *************@p osting.google.c om>,
f_****@hotmail. com says...
"Jukka K. Korpela" <jk******@cs.tu t.fi> wrote in message news:<Xn******* *************** *****@193.229.0 .31>...
f_****@hotmail. com (rd) wrote:
Whenever I print even the simplest document with a fieldset, the
amount of data sent to the printer jumps from a few K without a
fieldset to almost 50 Megs.
This made me really worried (particularly since I recommend using
fieldset). But when I tested it, using "print to file" function, I get
just about 14 Kbytes when fieldset is used, about 12Kbytes when it is

.... Anyone else have a problem, or did I get some rogue version of
internet explorer (6.0.2800.1106. xpsp2.030422-1633). I guess it could
have something to do with my printer as well.

I get 5Mb - WinXP/IE6/HP880C/print quality 'normal'/pictures 300x300.

Doesn't happen if I print to a file, only if I check the print queue.

Example page: http://porjes.haxorz.org/bigprint.html
Jul 20 '05 #3
Jacqui or (maybe) Pete <po****@spamcop .net> wrote:
I get 5Mb - WinXP/IE6/HP880C/print quality 'normal'/pictures
300x300.

Doesn't happen if I print to a file, only if I check the print
queue.


This is getting very strange indeed. I get only 17.2 kB in the print
queue, using Win98/IE6/HP LaserJet 1000/Best quality, testing with your
document.

I wonder what happens on your systems if you set
fieldset { border: none; }
I suspect the problems might relate to the border, which is a somewhat
odd bird - it's different from normal borders in the CSS sense (it has
a hole where the legend appears) but CSS border properties affect it.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #4
In article <Xn************ *************** **@193.229.0.31 >,
jk******@cs.tut .fi says...
Jacqui or (maybe) Pete <po****@spamcop .net> wrote:
I get 5Mb - WinXP/IE6/HP880C/print quality 'normal'/pictures
300x300.

Doesn't happen if I print to a file, only if I check the print
queue.


This is getting very strange indeed. I get only 17.2 kB in the print
queue, using Win98/IE6/HP LaserJet 1000/Best quality, testing with your
document.

I wonder what happens on your systems if you set
fieldset { border: none; }

....

Yes, 'border:none' solves the problem, as does eg 'border: solid 1px
silver;' so it seems that IE6 is printing its pretty rounded border
thing as an image?

Anyway, it seems that the best solution is something like:

border: solid 1px silver;
padding: 5px;

http://porjes.haxorz.org/bigprint2.html
Jul 20 '05 #5
Jacqui or (maybe) Pete <po****@spamcop .net> wrote:
Yes, 'border:none' solves the problem, as does eg 'border: solid 1px
silver;' so it seems that IE6 is printing its pretty rounded border
thing as an image?


I just realized that we might see different things. On my IE 6, the
default rendering (no style sheet whatsoever) of a fieldset element has
no _rounded_ border. It's a normal _rectangular_ border (no rounding
in the corners), except that the legend element (if present and
nonempty) appears in place of a segment of the border.

My next guess is that you are using a version of IE that by default
produces a different, rounded border, using some technique that causes
the printing problem.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3759
by: Rami | last post by:
Hello All, We have a java application including applets, servlets and ejbs. Users can get reports and print them directly from applets. Our print methods uses PrinterJob and Graphics2d, imports java.awt.print.*, and implements Printable. Each report has different amount of data on a page, so we are using Graphichs.setFont() with different font sizes , ie. some reports prints in font size of 5. The only plugin version I can use without...
0
2124
by: Programatix | last post by:
Hi, I am working on the PrintDocument, PrintDialog, PageSetupDialog and PrintPreviewControl components of Visual Studio .NET 2003. My developement machine is running Windows XP. There are some problems I encountered while using them. Please note that, the Regional and Language setting on my machine is using "Metric" measurement system (where the default is "US"). In this case, the measurement unit is "milimeters" and not "inches".
1
9568
by: DCraig | last post by:
I'm having problems printing to a line printer from both Crystal Reports and SQL Server reporting services using dotnet. When I try and print a report from an application with Crystal I get the error message "the data area passed to a system call is too small", and nothing else. With SSRS when I try to print the report from the IDE I get the same error, I can load the report up to the report server and view it with IE, then print it from...
2
2534
by: Sukh | last post by:
Hi I am stuck with a problem Can anyone help me out from this... I am printing a report on pre-printed continue paper using dot-matrix printer using vb.net. Data is printing on all the locations. But After printing first page it increase paper 3cm vertically/Height so on second
0
1123
by: Sukh | last post by:
Hi I am stuck with a problem Can anyone help me out from this... I am printing a report on pre-printed continue paper using dot-matrix printer using vb.net. Data is printing on all the locations. But After printing first page it increase paper 3cm vertically/Height so on second
1
1953
by: benfly08 | last post by:
Hi, I got a printing problem for my C# program. I need to pull out records from database and format them and then print them out. I used PrintDocument class and PrintPageEventHandler function to handle multiple page printing. When I tried printing the records in testing environment which has an HP LaserJet 2420dn printer, it worked fine. However, when I put the program into production environment which has an EPSON FX-2190, the results...
1
1393
monirul arfin
by: monirul arfin | last post by:
Hi all, can i ask a printing problem in this forum. monirul
0
1341
by: GiftX | last post by:
VB 6.0 And Spreadsheet - Printing problem Good morning West. After much research, I found this code. It scans the spreadsheet and returns up to the last used cell. xlWksht.Cells.Find(What:="*", After:=, SearchDirection:=xlPrevious).Select Note: The above code returned all the data in the used cells. Print Problem#1: Based on the code above, I execute this code: Selection.PrintOut But instead of printing the data returned with the...
6
10237
by: babaidebnath | last post by:
Hello all, I am presently having a problem with printing in C#. The problem is my customer provided me a pre printed paper and I need to print value into some specific positions. But problem is C# for its generic autofit to page nature dont let me doing this. Every time it is decreasing whole page's size and also altering my value position into some specific ratio. Can anyone tell me how can I come over that problem. This is my code
0
8234
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
8172
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8677
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8620
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
8474
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...
0
7158
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6110
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...
1
2605
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
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.