473,406 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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 9386
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*************************@posting.google.com> ,
f_****@hotmail.com says...
"Jukka K. Korpela" <jk******@cs.tut.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
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...
0
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...
1
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...
2
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...
0
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...
1
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...
1
monirul arfin
by: monirul arfin | last post by:
Hi all, can i ask a printing problem in this forum. monirul
0
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. ...
6
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#...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...
0
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...

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.