473,241 Members | 1,770 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,241 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 9365
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: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.