LiveScribe Custom Printing... ALMOST!

by alocurto Email

To custom print your own forms using the LiveScribe Pen there are a few steps. This tutorial assumes you have installed
the LiveScribe Desktop and have it all working normally. CLOSE THE LIVESCRIBE DESKTOP SOFTWARE BEFORE DOING THIS.

Locate your AFD files. By default they are located at "C:\Program Files\Livescribe\Livescribe Desktop\Printing". You will see AFD files here along with a "Printables.xml" files. Go ahead and copy the "LS_PYON_TestPage.afd" and the "Printables.xml" for backup so that you can restore them later if need be. Now, on to the file changing.

Rename "LS_PYON_TestPage.afd" to "MyTestForm.afd".

Open "Printables.xml" in notepad. Change the first Printable Node

from:

<Notepad id="1" guid="0x66d4de896a2c6c85" filename="LS_PYON_TestPage.afd" numberofpages="1" menutext="T&est Page (1 Page)..." menuorder="5" mustexist="True" />

to:

<Notepad id="1" guid="0x66d4de896a2c6c85" filename="MyTestForm.afd" numberofpages="1" menutext="Wicked Cool Document..." menuorder="5" mustexist="True" />

Now, you can open the LiveScribe Desktop and see your form listed on the menu. That is the first step... the next is actually making that document look like one you want.

Go back to the "C:\Program Files\Livescribe\Livescribe Desktop\Printing" folder, rename "MyTestForm.afd" to "MyTestForm.zip".

Extract the "MyTestForm.zip" files to a directory. Look through the files, you will see a bunch of different things. The AFD (as discovered previously) stores a bunch of information. I am not sure what it all is, or even if stroke data that I was looking for would be in there but, there are some good things in here.

Since we want to make our own custom looking form, navigate to the "\userdata\lsac_data" in the extracted file. There you will see "LS_PYON_TestPage.v1.png", that is the form background image. Change that to whatever you would like using Photoshop, or any other imaging tool. There is also a EPS file in "pages\resources", open and change that as well. Once your modifications have been completed go ahead and copy the changed file into the "MyTestForm.zip" file using a zip utility (Winzip, PKZIP, etc.). Finally, rename the file to "MyTestForm.afd".

I figured that would do the trick but the document is not printing to the printer. It says it is but then it doesn't print. So, I am looking into why that could be. I am thinking it has to do with my EPS editing. I am probably not exporting properly. There might also be some kind of check on the AFD file. I'm still not sure.... Any ideas? I plan to revist this soon. I have to get back to getting stroke data out of the AFD for now...

3 comments

Comment from: JK_NY [Visitor]
This is great post. Did you ever get it to print. I am dying to make my own custom forms
01/07/09 @ 17:35
Comment from: JK_NY [Visitor] Email
I used what you found (which I never would have figured out) and got it to work part way. Two things
1) Choose no compression when you rezip
2) Use the EPS to regenerated the PNG ( I used adobe 8)
I am going to try and make something more interesting. My first try I just removed a box and it worked but I have not yet figured out how to alter the image on the screen in livescribe. I think I just need to find the PNG that stores the image as displayed.
01/07/09 @ 19:48
Comment from: Visitor [Visitor]
Hi,

I followed up the procedure however even in step 1. I could not find the MyTestForm on the LiveScribe Desktop Manager.

Please advise me.
06/05/09 @ 02:54

This post has 10 feedbacks awaiting moderation...

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)