View Single Post
Old 03-02-2009, 08:28 AM   #4
akirk
Junior Member
akirk began at the beginning.
 
Posts: 5
Karma: 22
Join Date: Mar 2009
Device: prs500
Thanks DaveNB! Just found out about this.

I have added something to the code to transfer the generated lrf directly to the device (in my case a prs500, not tested with others):

Code:
cd $HOME/Desktop    # This is where the LRF file will be saved
while ( $# )
	pdf2lrf --enable-autorotation --left-margin=2 --right-margin=2 --top-margin=2 --bottom-margin=2 --page-break-before-tag='\$' --blank-after-para "$1"
	set n=`basename "$1" .pdf`
	prs500 cp "$n.lrf" prs500:/Data/media/books/
	shift
end
So now, if the device is connected, the file is auto-transfered to it. Makes it even better for me
akirk is offline   Reply With Quote