<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=276110311-29042008><FONT face=Verdana
color=#0000ff size=2>I found the same thing, and could only workaround it using
non-transparent images. Tried swfs?</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Mark
Tomlinson, AC&S Ltd<BR><B>Sent:</B> 29 April 2008 11:58<BR><B>To:</B>
'Xerte discussion list'<BR><B>Subject:</B> RE: [Xerte]
Certificate<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=015165710-29042008><FONT face=Arial
color=#0000ff size=2>Thanks Jules</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015165710-29042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015165710-29042008><FONT face=Arial
color=#0000ff size=2>That is working, except the transparent areas on a png on
screen is showing as black in the printout.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015165710-29042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015165710-29042008><FONT face=Arial
color=#0000ff size=2>Mark</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Tenney
Julian<BR><B>Sent:</B> 29 April 2008 09:11<BR><B>To:</B> Xerte discussion
list<BR><B>Subject:</B> RE: [Xerte] Certificate<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=229395407-29042008><FONT face=Verdana
color=#0000ff size=2>You can easily print the whole stage using
rootIcon.printScreen(); Possibly not what you want to do.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=229395407-29042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=229395407-29042008><FONT face=Verdana
color=#0000ff size=2>For much finer control, you can print the contents of any
icon, probably a page, that contains the certificate's elements. I gave a page
icon the id 'pageIcon', and this works:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=229395407-29042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=229395407-29042008><FONT face=Verdana
color=#0000ff size=2>pj = new PrintJob();</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=229395407-29042008><FONT face=Verdana
color=#0000ff size=2>if (pj.start()){</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=229395407-29042008><FONT face=Verdana
color=#0000ff size=2> if (pj.orientation == "portrait")
{<BR> // Here, the printArea measurements are appropriate
for an 8.5" x 11" portrait page.<BR>
pj.addPage(pageIcon,{xMin:0,xMax:600,yMin:0,yMax:800});<BR> } else
{<BR> // orientation is "landscape". Now, the printArea
measurements are appropriate for an 11" x 8.5" landscape
page.<BR> pageAdded =
my_pj.addPage(pageIcon,{xMin:0,xMax:750,yMin:0,yMax:600});<BR>
}</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=229395407-29042008><FONT face=Verdana
color=#0000ff size=2> pj.send(); <BR>}</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=229395407-29042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=229395407-29042008><FONT face=Verdana
color=#0000ff size=2>You'll need to play around with the values in the
parameters, and you need to read the flash documentation about printjob,
because there are a few other things to bear in mind, but basically, that's
it. Put the button the user clicks to print the certificate somewhere other
than the page you're print otherwise the certificate will have the button on
it as well.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=229395407-29042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=229395407-29042008><FONT face=Verdana
color=#0000ff size=2>Julian</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=229395407-29042008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Mark
Tomlinson, AC&S Ltd<BR><B>Sent:</B> 29 April 2008 08:48<BR><B>To:</B>
'Xerte discussion list'<BR><B>Subject:</B> [Xerte]
Certificate<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=234034707-29042008><FONT face=Arial size=2>What are my
options for having a certificate available in a course that can be
printed?</FONT></SPAN></DIV>
<DIV><SPAN class=234034707-29042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=234034707-29042008><FONT face=Arial size=2>Any examples
available?</FONT></SPAN></DIV>
<DIV><SPAN class=234034707-29042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=234034707-29042008><FONT face=Arial
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=234034707-29042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=234034707-29042008><FONT face=Arial
size=2>Mark</FONT></SPAN></DIV>
<DIV><SPAN class=234034707-29042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV> </DIV>
<STYLE>A.psl {
        COLOR: #003366; TEXT-DECORATION: none
}
A:hover {
        TEXT-DECORATION: underline
}
A.psl:hover {
        COLOR: #999999
}
.noro {
        FONT-SIZE: 8pt; COLOR: #003366; FONT-FAMILY: Verdana,Arial,fixed
}
.tiny {
        FONT-SIZE: 1pt
}
.logotext {
        FONT-SIZE: 10pt; COLOR: #ffffff; FONT-FAMILY: Verdana,Arial,fixed; TEXT-DECORATION: none
}
A.brand {
        FONT-SIZE: 8pt; COLOR: #ffffff; FONT-FAMILY: Verdana,Arial,fixed; TEXT-DECORATION: underline
}
</STYLE>
<TABLE cellSpacing=0 cellPadding=0 width=600 border=0>
<TBODY>
<TR>
<TD>
<TABLE height=80 cellSpacing=0 cellPadding=0 width=600 align=right
border=0>
<TBODY>
<TR>
<TD class=tiny>
<TABLE
style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
height="100%" cellSpacing=0 width=600>
<TBODY>
<TR bgColor=#003366>
<TD class=tiny width="100%" height=1>
<TABLE cellSpacing=0 cellPadding=1 width="100%"
border=0><TBODY>
<TR>
<TD class=logotext
style="PADDING-LEFT: 5px">Aerospace Consulting &
Services Ltd</TD>
<TD class=noro
style="PADDING-RIGHT: 5px; FONT-SIZE: 7pt; COLOR: #ffffff"
align=right><A class=psl style="COLOR: #ffffff"
href="http://www.acns-gmbh.com/"
target=_blank>Engineering, Training,
Consultancy</A></TD></TR></TBODY></TABLE></TD>
<TD class=tiny></TD></TR>
<TR>
<TD colSpan=2>
<TABLE height="100%" cellSpacing=2 width="100%"
align=right border=0>
<TBODY>
<TR style="PADDING-BOTTOM: 4px" height=1>
<TD class=noro style="PADDING-LEFT: 4px"
vAlign=top><B>Mark Tomlinson</B><BR><I>Managing
Director</I> </TD>
<TD class=noro style="PADDING-RIGHT: 4px" vAlign=top
align=right><B>AC&S LTD</B><BR>35A Victoria Road
East<BR>Thornton-Cleveleys<BR>Lancashire<BR>FY5
5BU<BR>UK </TD></TR>
<TR height=1>
<TD class=noro
style="PADDING-LEFT: 4px; PADDING-BOTTOM: 4px"
vAlign=bottom><A class=psl
href="mailto:mark.tomlinson@acns-group.com"
target=_blank>mark.tomlinson@acns-group.com</A><BR><A
class=psl href="http://www.acns-group.com/"
target=_blank>www.acns-group.com</A> </TD>
<TD class=noro
style="PADDING-RIGHT: 4px; PADDING-BOTTOM: 4px"
vAlign=bottom align=right>
<TABLE cellSpacing=0 align=right border=0>
<TBODY>
<TR>
<TD class=noro noWrap align=right>tel: <BR>fax:
<BR>mobile: </TD>
<TD class=noro style="PADDING-LEFT: 4px" noWrap
align=right><A class=psl
title="Click to call. Cheap rates & no headset required!"
href="http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+1253+855+997&Email=mark.tomlinson@acns-group.com"
target=_blank>+44 1253 855 997</A><BR>+44 870
762 6818<BR><A class=psl
title="Click to call. Cheap rates & no headset required!"
href="http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+789+968+7257&Email=mark.tomlinson@acns-group.com"
target=_blank>+44 789 968 7257</A>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
<TD></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<DIV> </DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>