Closed Bug 403984 Opened 18 years ago Closed 14 years ago

canvas objects do not print at the correct size

Categories

(Core :: Printing: Output, defect)

1.8 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ted, Unassigned)

References

()

Details

(Whiteboard: [closeme 2011-03-15])

Attachments

(5 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 I have built several components using the Apple canvas API. The objects look great on the web page. When printing the objects render 10 times smaller. Is there a way to print these objects correctly? Page setup does not have any effect on the print output. except background on or off. Reproducible: Always Steps to Reproduce: 1. goto http://www.evview.com/form3.html note: you may have to log in first, use any info, everyone has access now.. 2. select file | print or file | print preview 3. look at the printed page Actual Results: The actual results are a poorly printed web page. Expected Results: I need the printed page to be the same size as the web page. This is an major problem for me. My customers will are looking for accurate print outs of the systems. Please help fix this problem.
One of my users is getting the same kind of problem and filed a bug report with a PDF you can view: http://code.google.com/p/flot/issues/detail?id=25 The print is from this page: http://people.iola.dk/olau/flot/examples/basic.html I have a similar problem with Firefox 2.0.0.11 on Linux. If you go to http://people.iola.dk/olau/flot/examples/basic.html and get the print preview, it looks fine. But if I try printing it, the canvas doesn't show up at all.
Speach bubble does _not_ appear when printed by HPlaserjet 2300dn or on screen when viewed with ghostview version 1.5
http://www.evview.com/form3.html prints poorly for me too. However like Ole I have seen cases where nothing at all is printed for the <canvas>. Eg http://developer.mozilla.org/samples/canvas-tutorial/2_5_canvas_quadraticcurveto.html on the screen Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.14) Gecko/20080418 Ubuntu/7.10 (gutsy) Firefox/2.0.0.14 this shows a speach bubble (without text) but when printed (using firefox File|Print menue) only the square box appears on the paper. I have done print to file and am attaching the postscript.
I guess for some people this is a deal breaker. That is, they will not spend effort developing applications which use <canvas> when they discover that their users cannot print the output. Is there at least some hope of a work around? I shall advise mine to use "Print Screen" but I am expecting my system to be critised for this. Bill
Behaviour under windowsXP different but still unsatisfactory. When http://developer.mozilla.org/samples/canvas-tutorial/2_5_canvas_quadraticcurveto.html is printed on a newtworked HPlaserjet P2015dn the speach bubble _does_ appear on the paper but is tiny. Approx 0.25in square. Ie much smaller than it appears to be when view by firefox Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16 Again I haved saved the output using print to file. When 2_5_canvas_quadraticcurveto_windowsXP.ps is view by ghostview 1.5 an error is produced. The square border of the <canvas> is displayed by ghostview but _not_ th speach bubble. Ghostview produces an unwanted caution box containing %%[ ProductName: ESP Ghostscript ]%%
<canvas> much too small under windowXP but at least appears. Postscript produced by File|Print|save to disk does _not_ show canvas speach bubble when viewed with ghostview version 1.5
problem resolved(?) by Firefox 3.0.1
Probelm fixed(?) in Firefox 3.0.1 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 I have just upgraded to version 3 and can now print http://www.evview.com/form3.html and http://developer.mozilla.org/samples/canvas-tutorial/2_5_canvas_quadraticcurveto.html ok. I am attaching postscript file produced by "print to file" under microsoft windowsXP
Component: General → Printing: Output
Product: Firefox → Core
QA Contact: general → printing
Version: unspecified → 1.8 Branch
do you see this issue still with version 3.6 or 4.0 beta?
Whiteboard: [closeme 2011-03-15]
wfm per comments, incomplete per lack of response
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
(In reply to comment #10) > wfm per comments, incomplete per lack of response Dear Stephanie, I have just tried again and its ok. (http://www.evview.com/form3.html no longer exists.) Loaded http://developer.mozilla.org/samples/canvas-tutorial/2_5_canvas_quadraticcurveto.html into Firefox 3.6.17, Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-GB; rv:1.9.2.17) Gecko/20110429 CentOS/3.6-1.el5.centos Firefox/3.6.17 print to file and print to real printer look ok. Also tried http://bioinformatics.essex.ac.uk/users/wlangdon/rnanet/scatter.html#209395_at.pm11,209396_s_at.pm3 and it too looks ok I have uploaded the two print to disk (Centos) Many thanks Bill
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: