[Xerte] Re: Xerte desktop print question
Dave Burnett
d_b_burnett at hotmail.com
Tue Feb 25 10:52:35 GMT 2014
Is resources.swf in the right place?We probably used a script font for the name variable to match the cert graphic.If you set embed to 1 but the resources swf with the compiled font library is not available it shows...... nothing.
From: knowledgeware at kccsoft.com
To: xerte at lists.nottingham.ac.uk
Date: Mon, 24 Feb 2014 20:01:08 -0800
Subject: [Xerte] Xerte desktop print question
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? Thanks RonM2 The user types in their name below (it won’t show if embedFont = 1) The cert prints, but not the users name or the date: pj = new PrintJob();if (pj.start()){ pj.addPage(textpageid,{xMin:-20,xMax:730,yMin:-30,yMax:570}); pj.send(); };
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20140225/adefa44d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5940 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20140225/adefa44d/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 10520 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20140225/adefa44d/attachment-0003.jpg>
More information about the Xerte
mailing list