<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Is resources.swf in the right place?<div>We probably used a script font for the name variable to match the cert graphic.</div><div>If you set embed to 1 but the resources swf with the compiled font library is not available it shows...... nothing.</div><div><br></div><div><br></div><div><div><hr id="stopSpelling">From: knowledgeware@kccsoft.com<br>To: xerte@lists.nottingham.ac.uk<br>Date: Mon, 24 Feb 2014 20:01:08 -0800<br>Subject: [Xerte] Xerte desktop print question<br><br><style><!--
.ExternalClass .ecxshape {
}
--></style><style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:11.0pt;
font-family:"Calibri","sans-serif";
}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}
.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}
.ExternalClass p.ecxMsoAcetate, .ExternalClass li.ecxMsoAcetate, .ExternalClass div.ecxMsoAcetate {
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
}
.ExternalClass span.ecxEmailStyle17 {
font-family:"Calibri","sans-serif";
color:windowtext;
}
.ExternalClass span.ecxBalloonTextChar {
font-family:"Tahoma","sans-serif";
}
.ExternalClass .ecxMsoChpDefault {
font-family:"Calibri","sans-serif";
}
.ExternalClass div.ecxWordSection1 {
}
--></style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="">I have a print problem that I can’t seem to solve. Dave sent me much of the code of this about a year or more ago and it seems to me it was working at one point but not now. The certificate prints OK, it just won’t print the users name or the date on it. The user types in their name which is updated on the ‘namevalue’ page using ‘.setText’, so the name displays on the certificate as well as the date – unless I use the ‘EmbedFonts’ property set to 1 in which case they don’t appear on the certificate. When I print the ‘textpage’ I’m expecting the name and date as well to print as they are attached to that page, but they don’t. What am I doing wrong?</span></p><p class="ecxMsoNormal"><span style=""> </span></p><p class="ecxMsoNormal"><span style="">Thanks </span></p><p class="ecxMsoNormal"><span style="">RonM2</span></p><p class="ecxMsoNormal"><span style=""> </span></p><p class="ecxMsoNormal"><span style=""><img width="152" height="191" id="ecxPicture_x0020_5" src="cid:image001.jpg@01CF319B.28614930"></span></p><p class="ecxMsoNormal">The user types in their name below (it won’t show if embedFont = 1)</p><p class="ecxMsoNormal"><span style=""><img width="309" height="198" id="ecxPicture_x0020_1" src="cid:image002.jpg@01CF319B.28614930"></span></p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">The cert prints, but not the users name or the date:</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">pj = new PrintJob();</p><p class="ecxMsoNormal">if (pj.start()){</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal"> pj.addPage(textpageid,{xMin:-20,xMax:730,yMin:-30,yMax:570});</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal"> pj.send(); </p><p class="ecxMsoNormal">};</p></div><br>_______________________________________________
Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte</div></div> </div></body>
</html>