[Xerte] Re: Toolkits - printing a certificate - how to?

Paul Swanson Paul.Swanson at harlandfs.com
Fri Jun 17 22:38:57 BST 2011


Hi Ron,

 

I meant just create a page in Xerte that looks like the certificate you
want to produce. Display the user's name and other details in a text
icon. Use Actionscript to draw borders, display logos, etc. Then use one
of the print functions to print that page. You can print any page in
Xerte.

 

That's not how I actually do certificates, though. I use a PHP script to
create a certificate in pdf format that is then downloaded by the
learner. I use the FPDF library <http://www.fpdf.org/>  to create the
pdf. It takes some PHP scripting to pull that off, if you want to go
that route. I can share the script I came up with.

 

Sorry about the Canucks. 

Paul

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of KnowledgeWare
Sent: Friday, June 17, 2011 1:11 PM
To: 'Xerte discussion list'
Subject: [Xerte] Re: Toolkits - printing a certificate - how to?

 

Hello Paul:

 

Thanks for that suggestion....one question....how do you mean 'create a
certificate'? 

 

How/what would I use to actually 'create' the certificate? Is it like a
jpg image? I'd need to be able to plug the users name, etc. into it.

 

Thanks

RonM2

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Swanson
Sent: Thursday, June 16, 2011 1:00 PM
To: Xerte discussion list
Subject: [Xerte] Re: Toolkits - printing a certificate - how to?

 

One thing you could do is create a certificate on a page in Xerte, and
include a button or other interaction (such as an Event or timed
response) to print it. Attach a script icon with printAsBitmapNum(0,
"bframe"); to the print button. There are other print options, but
printAsBitmapNum worked best for my Desktop Xerte apps. I use that to
allow students to print whatever page they are on. If you aren't
including anything with alpha transparency, print() might work better
than printAsBitmap() or priintAsBitmapNum().

 

Paul

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of KnowledgeWare
Sent: Thursday, June 16, 2011 11:35 AM
To: Xerte discussion list
Subject: [Xerte] Toolkits - printing a certificate - how to?

 

I posted a while back on this but have not seen a convenient
solution....I'm using toolkits 1.5 and would like to allow the student
to print themselves a certificate if they pass the final quiz. 

 

Anyone have suggestions on doing this before I started trying things? I
see a 'Flash Paper' icon in toolkits 1.5...but isn't Flash Paper
history? This is totally out of my area..any suggestions appreciated.

 

Thanks

RonM2

 

 

This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it.
Please do not use, copy or disclose the information contained in this
message or in any attachment. Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham. 

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system: you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110617/41e5ca95/attachment-0001.html>


More information about the Xerte mailing list