10-19-2006, 04:40 PM | #16 |
Reborn Paper User
Posts: 8,616
Karma: 15446734
Join Date: May 2006
Location: Que Nada
Device: iPhone8, iPad Air
|
Sorry GR did'nt mean to intrude!
|
10-20-2006, 02:52 AM | #17 |
Addict
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
The source for PRSUtil is available here
Right now there is code to copy a file from the reader to the PC, but it isn't working, and I haven't figured out why. I figured I'll make what I have done available as it should be very close to having that work; someone might see the error and point out a fix. I haven't written C in about 4 years so I apologize if the code is dumb. I wrote this in VS.Net 2005 so the project file requires that but it would be easy to adapt; its pretty straightforward C (although some compiler may barf on the zero-size arrays). |
Advert | |
|
10-20-2006, 05:57 AM | #18 | |
Uebermensch
Posts: 2,583
Karma: 1094606
Join Date: Jul 2003
Location: Italy
Device: Kindle
|
Quote:
|
|
10-28-2006, 04:09 AM | #19 |
Addict
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
Here is an update to prsutil. It now supports basic file put/get:
prsutil get <path> will get the specified file from the reader and save it with name 'junk'. prsutil put <filename> will put the specified file in the /Data/media/books diretcory on the reader, and prsutil put <pcpath> <readerpath> will put the specfied file from the PC to the specified target on the reader. As before, use at your own risk yadda yadda. At some point I'll make the interface more usable; right now I think its more important to just make it available in its kludgy form. Included in the zip is the executable as well as the C project file (VS.Net 2005 native C code project; should be fairly easy to port to other C compilers; main tricky bit is my use of the non-standard zero length arrays in some of the structs). I'll try hook this up with rss2pdf soon to make an automated RSS feed sync. Last edited by geekraver; 10-28-2006 at 05:41 PM. |
10-28-2006, 05:14 PM | #20 |
Enthusiast
Posts: 27
Karma: 10
Join Date: Oct 2006
|
2 geekraver
Did I understand correctly? I have to collect/unpack all these files (PRSUtil.exe, PRSUtil.zip, ebookUsb.dll, prsctr.dll, new tt0003m_.ttf) in one directory (C:/tmp), attach the reader to USB and switch it on mode when the CONNECT software is off. Then write in the command prompt: prsutil put <C:/tmp/tt0003m_.ttf> <B:/opt/sony/ebook/FONT/> if my reader is shown as B: drive and I have updated font on the reader??? or this utility is simply to add some stuff at any place and we cannot replace files??? Last edited by vvaann; 10-28-2006 at 05:22 PM. |
Advert | |
|
10-28-2006, 05:52 PM | #21 |
Addict
Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
I'm not sure what the deal is with fonts, as I haven't had much interest in that problem, but I got the impression that adding fonts requires reflashing the reader with a new filesystem image, not just copying files .ttf files to the reader. But if copying worked, then yes, you've pretty much got it; you would use a command like:
prsutil put c:\tt0003m_.ttf /opt/sony/ebook/FONT/tt0003m_.ttf Note that you need to specify the full filename in the target path, not just the directory.
|
10-31-2006, 09:04 AM | #22 | |
Enthusiast
Posts: 27
Karma: 10
Join Date: Oct 2006
Device: Sony Reader
|
Quote:
|
|
11-12-2006, 12:12 PM | #23 | |
Addict
Posts: 330
Karma: 596
Join Date: Oct 2006
|
Quote:
|
|
12-05-2006, 09:57 AM | #24 | |
Guru
Posts: 632
Karma: 404
Join Date: Nov 2006
Location: Southern CA
Device: Sony PRS-500 /prs 650 soon
|
Quote:
|
|
12-05-2006, 10:24 AM | #25 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
No, Reader can only use its built-in fonts.
|
12-05-2006, 10:27 AM | #26 |
Guru
Posts: 632
Karma: 404
Join Date: Nov 2006
Location: Southern CA
Device: Sony PRS-500 /prs 650 soon
|
Okay, thank you.
So another, is there more than one font in it? I have seen arial..... I haven't seen anything that you can change them if that is possible, you said built in fonts so that egged me to ask <G> |
12-05-2006, 11:57 AM | #27 |
Gizmologist
Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
|
It has three fonts I think, a serif similar to Times Roman, a sans serif similar to Arial and a courier analog.
igorsk is being modest, he's figured out how to add other fonts to the Reader's set, but as of yet it's a rather messy process (the thread is called "Reader Internals," I think, and it's a long and fairly technical one ). I'm one of the ones that is hoping that a self contained executable to handle managing fonts might emerge sometime soon. |
01-08-2007, 02:25 AM | #28 |
Connoisseur
Posts: 51
Karma: 158
Join Date: Jan 2007
Device: Sony Reader PRS-500
|
Thanks for the nice tool, GeekRaver. Got it working after installing .NET framework. Maybe you can edit your post so that this is made explicit - "This program needs .NET framework - in case you don't have it installed already, you can download it from .... "
Otherwise the error message Windows gives is quite cryptic: just cannot run the executable! |
01-08-2007, 11:57 AM | #29 |
Gizmologist
Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
|
I think Internet Explorer 7 installs the most recent .NET framework when it installs, and Vista is supposed to have it integrated in the OS, so the problem will likely take care of itself in time. But you're right, an explicit statement would be a good thing.
Here's a link to the .NET framework if anyone wants it. |
01-19-2007, 11:18 AM | #30 |
Fully Converged
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
It works here (Windows XP), but only partially. I want to copy the content of the Reader to my HDD... so for instance, I use
Code:
PRSUtil get -R /opt/ c:\sonyreader |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where do I get Zip.exe? | Tony_A20 | ePub | 24 | 01-26-2015 08:23 PM |
calibre-parallel.exe twice? | sideburnt | Calibre | 12 | 03-24-2012 08:51 PM |
doc2fb.exe | KoopaOne | Workshop | 2 | 02-10-2010 01:44 PM |
PRS-500 lit2lrf.exe | waykohler | Sony Reader Dev Corner | 38 | 12-25-2009 05:51 AM |
bloated explorer.exe | Rtman6 | Lounge | 6 | 01-24-2004 10:06 PM |