Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Printing phpmyadmin output
Date: Wed, 13 Apr 2011 19:15:25
Message-Id: 201104132014.18086.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Printing phpmyadmin output by Mick
1 On Wednesday 13 April 2011 19:54:51 Mick wrote:
2 > On Wednesday 13 April 2011 17:55:24 Peter Humphrey wrote:
3 > > On Wednesday 13 April 2011 15:58:46 Mick wrote:
4 > > > I assume that you use the "Print view" button at the bottom of the
5 > > > tables.
6 > >
7 > > Ah! I hadn't spotted it; that does work - it prints one table description
8 > > per page.
9 > >
10 > > > I've just looked at this demo site using print preview in Firefox and
11 > > > Opera:
12 > > >
13 > > > http://demo.phpmyadmin.net/STABLE/index.php
14 > > >
15 > > > FF will only show the first page of a table - this to me translates to
16 > > > a poorly written CSS for printing purposes, or lack of a print-CSS
17 > > > altogether.
18 > >
19 > > I've filed a bug report; let's see what comes of it. It's phpmyadmin-
20 > > Bugs-3286026.
21 > >
22 > > > In Opera the first print preview page is blank. If I click on the
23 > > > print preview icon on the toolbar it will switch between successive
24 > > > frames. The 3rd frame contains the table across 3 pages, so it should
25 > > > print the lot. The CSS is not well written though because e.g. there
26 > > > is a blank page between the 1st page which just contains a header and
27 > > > the third page which starts right from the top (no margin) with the
28 > > > table.
29 > >
30 > > I've tried Opera and Chrome; Chrome does the same as Firefox while Opera
31 > > shows one line giving the phpMyAdmin location and version number.
32 >
33 > Yes, Opera's printing is a bit buggy in general compared to other browsers.
34
35 ... and I was just advised by my other half (a web developer) that FF will
36 follow a print-CSS if one is there, otherwise will follow the HTML code which
37 may contain the frame and specify it to the size of the screen. Hence,
38 subsequent pages do not print.
39
40 You can't win! ;-)
41
42 BTW, I don't know what Firefox 4 does, I haven't yet tried it out. It may
43 print things differently.
44 --
45 Regards,
46 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Printing phpmyadmin output Peter Humphrey <peter@××××××××××××××.org>
Re: [gentoo-user] Printing phpmyadmin output Stroller <stroller@××××××××××××××××××.uk>