[Zope] Printing HTML

Meilicke, Scott scott.meilicke@intp.com
Thu, 6 Dec 2001 11:19:22 -0800


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C17E8A.E93ADC60
Content-Type: text/plain

1. From the help that comes with zope:
 
Creating alternate colored table cells: 
      <table>

      <dtml-in objectValues>

      <tr <dtml-if sequence-odd>bgcolor="#EEEEEE"

          <dtml-else>bgcolor="#FFFFFF"

          </dtml-if>

        <td><dtml-var title></td>

      </tr>

      </dtml-in>

      </table>


2. Sorry, can't help you here.  Sounds like you need a page break, and I
don't think HTML has this.
-Scott

-----Original Message-----
From: Paul Zwarts [mailto:redfred5@hotmail.com]
Sent: Thursday, December 06, 2001 11:08 AM
To: zope@zope.org
Subject: [Zope] Printing HTML



Hi all,

I'm dearly sorry that this is html. I cant send email except through
hotmail, but I need some advice....

I'm creating large variable sized tables and I need to try and solve two
problems. These tables are printed out and I want the following from the
HTML:

1) To be able to print the bgcolor of the table cell. Using <dtml-if
sequence-even> and such to alternately color the rows. I want this to show
in the print as well

2) To be able to tell the printer to have the column head at the top of each
printed page.

Are these things even remotley possible in HTML from zope? Perhaps I need to
be exporting the html into Excel where it is formatted more to do this?

Thanks much for any advice,

Paul Zwarts


   _____  

Get your FREE download of MSN Explorer at http://explorer.msn.com
<http://go.msn.com/bql/hmtag_itl_EN.asp> 
_______________________________________________ Zope maillist -
Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts
or HTML encoding! ** (Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )

The information contained in this email message may be privileged and is
confidential information intended only for the use of the recipient or any
employee or agent responsible for delivering it to the intended recipient.
Any unauthorized use, distribution or copying of this information is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately and destroy the
original message and all attachments from your electronic files.

------_=_NextPart_001_01C17E8A.E93ADC60
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">


<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D685411919-06122001><FONT face=3DArial =
color=3D#0000ff size=3D2>1.=20
>From the help that comes with zope:</FONT></SPAN></DIV>
<DIV><SPAN class=3D685411919-06122001><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D685411919-06122001></SPAN><SPAN=20
class=3D685411919-06122001>Creating alternate colored table cells: =
</DIV>
<DIV><PRE>      &lt;table&gt;
      &lt;dtml-in objectValues&gt;
      &lt;tr &lt;dtml-if sequence-odd&gt;bgcolor=3D"#EEEEEE"
          &lt;dtml-else&gt;bgcolor=3D"#FFFFFF"
          &lt;/dtml-if&gt;
        &lt;td&gt;&lt;dtml-var title&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;/dtml-in&gt;
      &lt;/table&gt;
</PRE><PRE><SPAN class=3D685411919-06122001>2. Sorry, can't help you =
here.  Sounds like you need a page break, and I don't think HTML has =
this.</SPAN></PRE><PRE><SPAN =
class=3D685411919-06122001>-Scott</SPAN></PRE></SPAN></DIV>
<BLOCKQUOTE>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Paul Zwarts=20
  [mailto:redfred5@hotmail.com]<BR><B>Sent:</B> Thursday, December 06, =
2001=20
  11:08 AM<BR><B>To:</B> zope@zope.org<BR><B>Subject:</B> [Zope] =
Printing=20
  HTML<BR><BR></FONT></DIV>
  <DIV>
  <P>Hi all,</P>
  <P>I'm dearly sorry that this is html. I cant send email except =
through=20
  hotmail, but I need some advice....</P>
  <P>I'm creating large variable sized tables and I need to try and =
solve two=20
  problems. These tables are printed out and I want the following from =
the=20
  HTML:</P>
  <P>1) To be able to print the bgcolor of the table cell. Using =
&lt;dtml-if=20
  sequence-even&gt; and such to alternately color the rows. I want this =
to show=20
  in the print as well</P>
  <P>2) To be able to tell the printer to have the column head at the =
top of=20
  each printed page.</P>
  <P>Are these things even remotley possible in HTML from zope? Perhaps =
I need=20
  to be exporting the html into Excel where it is formatted more to do =
this?</P>
  <P>Thanks much for any advice,</P>
  <P>Paul Zwarts</P></DIV><BR clear=3Dall>
  <HR>
  Get your FREE download of MSN Explorer at <A=20
  =
href=3D"http://go.msn.com/bql/hmtag_itl_EN.asp">http://explorer.msn.com<=
/A><BR>_______________________________________________=20
  Zope maillist - Zope@zope.org =
http://lists.zope.org/mailman/listinfo/zope **=20
  No cross posts or HTML encoding! ** (Related lists -=20
  http://lists.zope.org/mailman/listinfo/zope-announce=20
  http://lists.zope.org/mailman/listinfo/zope-dev =
)</BLOCKQUOTE></BODY></HTML>

<P><FONT SIZE=3D2 FACE=3D"Arial">The information contained in this =
email message may be privileged and is confidential information =
intended only for the use of the recipient or any employee or agent =
responsible for delivering it to the intended recipient.  Any =
unauthorized use, distribution or copying of this information is =
strictly prohibited and may be unlawful.  If you have received this =
communication in error, please notify the sender immediately and =
destroy the original message and all attachments from your electronic =
files.</FONT></P>

------_=_NextPart_001_01C17E8A.E93ADC60--