![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
PRSUtil.exe
[Edited to reflect latest version]
I'm pleased to announce PRSUtil.exe, a tool for accessing the reader that does not require Python. Thanks to Igor et al without whom I would never have got this together. The zip file contains a compiled version as well as the C sources and VS.Net support files. You either need to copy it to your c:\Program Files\Sony\CONNECT Reader\Data\bin directory, or you need to copy the files ebookUsb.dll and prsctr.dll from that directory to whatever directory you install PRSutil.exe in. The syntax for the current usage is: PRSUtil <cmd> [-lR] [<path> ...] where:-l will list file type and size info if <cmd> is 'ls' or 'dir' -R will recurse, if <cmd> supports recursion The default path for 'ls' or 'dir' is /.Thus, to dump the whole file tree, you could use: PRSUtil ls -R The available commands are: ls [-lR] <path>... - list directory contents (can use 'dir' instead of 'ls') del <path>... - delete one or more files from the reader get [-R] <readerPath> [<PCpath] - copy one or more files off the reader put <pcfile> [<readerfile] - put a file on the reader For 'put', if no destination path is specified, the <pcfile> will be installed as a book. 'put' won't delete an existing file so if you want to overwrite a file on the reader you'll first need to delete it. NOTE: YOU USE THIS AT YOUR OWN RISK - I TAKE NO RESPONSIBILITY OR LOST OR DAMAGED DATA OR HARDWARE. It works for me. Last edited by geekraver; 01-24-2007 at 01:36 AM. |
![]() |
![]() |
![]() |
#2 |
e-bookviner
![]() Posts: 56
Karma: 10
Join Date: Aug 2006
Device: Sony PRS-505, iPodTouch
|
Happy to see the utility. How to use it? Do I have to go to dir: c:\Program Files\Sony\CONNECT Reader\Data\bin at the command prompt, and write PRSUtil ls -R?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
e-bookviner
![]() Posts: 56
Karma: 10
Join Date: Aug 2006
Device: Sony PRS-505, iPodTouch
|
Hi geekraver,
Would we be able to add new fonts in the next version? |
![]() |
![]() |
![]() |
#4 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Uebermensch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,583
Karma: 1094606
Join Date: Jul 2003
Location: Italy
Device: Kindle
|
geekraver, very nice work. Would it be possible that you publish the sources here too?
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 | |
Addict
![]() ![]() Posts: 285
Karma: 129
Join Date: Sep 2006
Location: New England
Device: PRS-500 · iPad · K3
|
Quote:
www.py2exe.org py2exe is a Python Distutils extension which converts Python scripts into executable Windows programs, able to run without requiring a Python installation. Nice work, Geekraver, sorry couldn't resist ![]() |
|
![]() |
![]() |
![]() |
#8 |
Reborn Paper User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,616
Karma: 15446734
Join Date: May 2006
Location: Que Nada
Device: iPhone8, iPad Air
|
Can anybody write an app. that would convert any text into the best format,size and all, for the PRS? I think a lot of time could be saved there.
|
![]() |
![]() |
![]() |
#9 |
Gizmologist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
|
First there'd have to be some agreement on what the best format, size and all would be.
![]() Or it could let you set your own best options for those attributes; only real way to select the best ones. ![]() What I've been doing is opening files in Word, selecting all the text, and changing things to suit me. Doesn't really take that long, actually. ![]() |
![]() |
![]() |
![]() |
#10 |
Reborn Paper User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,616
Karma: 15446734
Join Date: May 2006
Location: Que Nada
Device: iPhone8, iPad Air
|
As you've said somewhere else, RTF is a good "kind of open" easily chageable format?
I can use it on the Mac also. The reason I'm asking is that not everyone wants to use the connect software and that many, like Mac users, can't. But you can workaround that with the SD. I guess it could also solve Da_Jane's ploblems also. |
![]() |
![]() |
![]() |
#11 |
Gizmologist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
|
Well, except Jane's backlight "problem".
![]() Yup, RTF works great, most of the files I have on my Reader are RTF, and I very much like the fact that I have so much control over the font, size, etc., and there's some discussion around here somewhere (tips & tricks thread , I think) about how to insert the meta-data into an RTF via notepad, so you can de-bloat it from Word, and still have that info. The lack of in-line images is kind of a bummer, but I'm used to that from my Palm. ![]() Last edited by NatCh; 10-19-2006 at 01:06 PM. |
![]() |
![]() |
![]() |
#12 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
|
Quote:
Last edited by porkupan; 10-19-2006 at 01:05 PM. |
|
![]() |
![]() |
![]() |
#13 | |
Addict
![]() ![]() ![]() ![]() ![]() Posts: 273
Karma: 499
Join Date: Nov 2005
Location: San Francisco
Device: Sony Reader
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 |
Reborn Paper User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,616
Karma: 15446734
Join Date: May 2006
Location: Que Nada
Device: iPhone8, iPad Air
|
Oh! I forgot...it has to do batches...big batches!
I installed ProcessTextGroup's ABC Amber LIT Converter. Neat little app. It's got tons of features. Something fast like that would be great, albeit not as fancy will do! |
![]() |
![]() |
![]() |
#15 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 364
Karma: 1035291
Join Date: Jul 2006
Location: Redmond, WA
Device: iPad Mini,Kindle Paperwhite
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |