|
|
#226 |
|
Mathematician
![]() Posts: 24
Karma: 10
Join Date: Oct 2008
Device: IRex Digital Reader
|
Thanks for your reply,
unfortunately Sony US refuses to sell the DPT-S1 to people outside the US, I have tried to buy from Sony US and their formal answer was that they will not sell the product outside the US. It is a pity because I think they have a great product for reading and annotating mathematical papers. Marc |
|
|
|
|
|
#227 | |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2015
Device: Sony DPT-RP1
|
Quote:
2. Based on many sources, you cannot turn on English in the Japanese model. There is no known way to do this at the moment. 3. I've only been to Japan a few times. I recommend going to Akihabara, that's where all the geeks go to buy their electronics, Akihabara is famous for that. The selection there is just ridiculous. I'm certain you can find the DPT-S1 there. |
|
|
|
|
| Advert | |
|
|
|
|
#228 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 97
Karma: 28464
Join Date: Dec 2006
|
is there a case for this unit? thx
|
|
|
|
|
|
#229 |
|
E-Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 274
Karma: 1606616
Join Date: Oct 2012
Device: DPT-S1
|
I just figured someone could be interested in the script I had lying around my computer for quite some time now. I use it to crop PDFs for the reader. Example invocation
:/croppdf -o outfile.pdf infile.pdf 10 20. 500. 700 20 30. 500. 700 If you just run it without arguments, it gives a command summary for all features. Runs on Linux/Bash with ghostscript (command gs) installed. Code:
#!/bin/bash
page_dimension=2
testmode=0
viewer=xdgopen
first_page=0
last_page=0
usage=0
for (( i = 0; i<page_dimension; i++ ))
do
ratio[ i ]=1
done
ratio[ 0 ]=596
ratio[ 1 ]=842
while getopts :tf:l:v:a:o:d: name
do
case "$name" in
t)
testmode=1
;;
f)
first_page=$(( OPTARG*1 ))
;;
l)
last_page=$(( OPTARG*1 ))
;;
o)
outfile="$OPTARG"
;;
v)
viewer="$OPTARG"
;;
d)
page_dimension=$((OPTARG))
;;
a)
remainder="${OPTARG}"
i=0
while echo "$remainder" | grep -oq '^[[:digit:]]*'
do
value=$(echo "$remainder" | grep -o '^[[:digit:]]*')
ratio[ i ]=$value
remainder=${remainder#${value},}
(( i++ ))
done
;;
?)
usage=1
;;
esac
done
shift $((OPTIND - 1))
edge_count=$((2*page_dimension))
if (( usage || $#<5 || ( $#-1 )%edge_count ))
then
echo "Usage $0 \\"
echo " (-t)? \\"
echo " (-a <Width>,<Height>)? \\"
echo " (-f <First Page>)? (-l <Last Page>)? \\"
echo " (-o <Out File>)? \\"
echo " (-d <Dimension>)? \\"
echo " (-v <Viewer>)? \\"
echo " <In File> (<Left> <Bottom> ... <Right> <Top> ... )+"
echo ""
printf "Crop pages of PDF document <In File> to remove margins. If <First Page> is specified, will only output pages after that page. If <Last Page> is specified, will only output pages before that page.\nThe first group of <Left>, <Bottom>, <Right>, and <Top> specify the desired area to be cropped to on the first page of <In File>. The desired area for the n-th page after that page is obtained from the according group, with the groups being cyclically continued.\n\nTESTMODE\nIf -t is given, all outputted pages are cropped to their respective, desired areas and the resulting pdf is shown with the command specified by <Viewer> or \`xdgopen\`, if <Viewer> is not specified. This allows to tweak the areas to the exact desired amount.\n\nNORMAL MODE\nIf -t is not given, the smallest possible area with an optimal aspect ratio of width and height that contains the desired area is calculated. The outputted pages are then cropped to that optimal area with the optimal aspect ratio. If any of the values of <Left>, <Bottom>, <Right> or <Bottom> were suffixed by a period sign (.), the desired area will be aligned with the according edge of the optimal area. Otherwise, the desired area is centered within the optimal area. If no <Out File> is given, a filename is guessed based upon the <In File>. Otherwise, the output will be written to <Out File>.\nThe optimal aspect ratio can be specified by passing <Width> and <Height> and defaults to portrait oriented DIN A4. The dimensionality of pages can be specified by <Dimension>. Currently, the Ghostscript backend only supports 2 dimensional pages." | fmt -s
exit 1
fi
infile=$1
shift 1
loop_count=$(($#/edge_count))
if [[ "$outfile" == "" ]]
then
if echo "$infile" | grep -q '\.[^\/]*$'
then
outfile="${infile%.*}_cropped.pdf"
else
outfile="${infile}_cropped"
fi
fi
optimal_ratio=$(echo "scale=3;${ratio[ 1 ]}/${ratio[ 0 ]}" | bc)
echo "Optimal ratio set to $optimal_ratio"
if (( testmode ))
then
outfile="$(mktemp)"
else
echo "Cropping '$infile' to '$outfile'"
if [[ -f "$outfile" ]]
then
echo "'$outfile' already exists. Overwrite? y/[n]"
read confirm
if [[ "$confirm" == "y" ]]
then
rm "$outfile"
else
exit 1
fi
fi
fi
# GHOST SCRIPT DATA
declare -a lefts bottoms rights tops transx transy
for (( i = 0; i < loop_count; i++ ))
do
echo "CropBox #$i:"
declare -a desired
aligns=(0 0)
for (( edge = 0; edge<edge_count; edge++ ))
do
index=$((1+edge+i*edge_count))
desired_value=${!index}
if [[ "$desired_value" == *'.' ]]
then
desired_value=${desired_value:0:-1}
(( aligns[ edge%page_dimension ]+=2*( edge/page_dimension )-1 ))
fi
desired[ edge ]=$((desired_value))
done
echo " Desired box: ${desired[ 0 ]} ${desired[ 1 ]} ${desired[ 2 ]} ${desired[ 3 ]}"
echo " H-Alignment: ${aligns[ 0 ]}"
echo " V-Alignment: ${aligns[ 1 ]}"
if ! (( testmode ))
then
# Find constraining dimension, expand page in all other dimensions
normalization=1
for (( axis = 0; axis<page_dimension; axis++ ))
do
(( normalization*=ratio[ axis ] ))
done
constraining_axis=0
constraining_factor=0
for (( axis = 0; axis<page_dimension; axis++ ))
do
desired_distance=$((desired[ axis+page_dimension ]-desired[ axis ]))
testfactor=$((( desired_distance*normalization )/ratio[ axis ]))
if (( testfactor>constraining_factor ))
then
constraining_axis=$axis
constraining_factor=$testfactor
fi
done
constraining_distance=$((desired[ constraining_axis+page_dimension ]-desired[ constraining_axis ]))
echo " Fit axis: $constraining_axis"
# Now expand all other directions
for (( align_dir = 0; align_dir<page_dimension; align_dir++ ))
do
if (( align_dir != constraining_axis ))
then
desired_distance=$((desired[ align_dir+page_dimension ]-desired[ align_dir ]))
needed_distance=$((( constraining_distance*ratio[ align_dir ] )/ratio[ constraining_axis ]))
margin=$((needed_distance-desired_distance))
echo " Margin along axis $align_dir: $margin"
for side in {0..1}
do
factor=$((( (-1)+2*side )-aligns[ align_dir ] ))
(( desired[ align_dir+2*side ]+=( margin*factor )/2 ))
done
fi
done
fi
echo " Effective box: ${desired[ 0 ]} ${desired[ 1 ]} ${desired[ 2 ]} ${desired[ 3 ]}"
# BEGIN GHOSTSCRIPT SPECIFIC DATA PREPARATION
if (( desired[ 0 ]>=0 ))
then
lefts[ i ]=${desired[ 0 ]}
rights[ i ]=${desired[ 2 ]}
transx[ i ]=0
else
lefts[ i ]=0
rights[ i ]=$((desired[ 2 ]-desired[ 0 ]))
transx[ i ]=$((-desired[ 0 ]))
fi
if (( desired[ 1 ]>=0 ))
then
bottoms[ i ]=${desired[ 1 ]}
tops[ i ]=${desired[ 3 ]}
transy[ i ]=0
else
bottoms[ i ]=0
tops[ i ]=$((desired[ 3 ]-desired[ 1 ]))
transy[ i ]=$((-desired[ 1 ]))
fi
# END GHOSTSCRIPT SPECIFIC DATA PREPARATION
done
pages_string=''
if (( $first_page ))
then
pages_string=" -dFirstPage=$first_page"
fi
if (( $last_page ))
then
pages_string="$pages_string -dLastPage=$last_page"
fi
if (( first_page ))
then
page_offset=$((first_page-1))
else
page_offset=0
fi
read -d '' code <<endcode
<<
/BeginPage
{
${page_offset} add
${loop_count} mod
[ ${transx[@]} ]
1 index
get
[ ${transy[@]} ]
2 index
get
translate
}
/EndPage
{
0 eq
{
${page_offset} add
${loop_count} mod
[
/CropBox
[
[ ${lefts[@]} ]
4 index
get
[ ${bottoms[@]} ]
5 index
get
[ ${rights[@]} ]
6 index
get
[ ${tops[@]} ]
7 index
get
]
/PAGE
pdfmark
[
/MediaBox
[
0
0
[ ${rights[@]} ]
6 index
get
[ ${tops[@]} ]
7 index
get
]
/PAGE
pdfmark
true
}
{false}
ifelse
}
>>
setpagedevice
endcode
gs -o "$outfile"$pages_string -sDEVICE=pdfwrite -c "$code" -f "$infile"
if (( testmode ))
then
$viewer "$outfile"
rm "$outfile"
fi
|
|
|
|
|
|
#230 | |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2015
Device: dpt-s1
|
You can buy it from some kind of company in the US
Or you can buy it through your friends in the US. One friend of mine bought it through a transferring company
Quote:
|
|
|
|
|
| Advert | |
|
|
|
|
#231 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 119
Karma: 87860
Join Date: May 2007
Location: Strasbourg France
Device: Onyx Max 3 & Onyx Lumi 2
|
Looking only at the self-promoting video at the Sony website, I'm a bit worried about the contrast of the display. The background is quite grey...
https://store.sony.com/gsi/webstore/...2FHVavA8FOFTe2 The video would like you to think it's better than paper for lots of think but what strikes me in this vid is that I can't read so well than on the paper due to this apparently low contrast... I had the same problem with my PocketBook Pro 903. Last edited by Huyggy; 07-05-2015 at 04:04 AM. |
|
|
|
|
|
#232 |
|
E-Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 274
Karma: 1606616
Join Date: Oct 2012
Device: DPT-S1
|
It's kinda like unbleached newspaper print. Not particularly shining but nothing to worry about, either, imo.
|
|
|
|
|
|
#233 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,847
Karma: 105494725
Join Date: Apr 2011
Device: pb360
|
DPT-S1 web browser local file access
Is the web browser on the DPT-S1 able to acess local files via file:///path/to/local/file.html URL method?
|
|
|
|
|
|
#234 |
|
Member
![]() Posts: 14
Karma: 10
Join Date: Jul 2015
Device: Sony DPT-S1
|
Hi all,
I am starting to really enjoy my new DPT-S1. I'd love to take it on the road with me (think packed carry-on bag for airplane rides and what not). The device is beautiful but it feels delicate. The sleeve that comes with the device is nice and elegant but it does not seem to provide much protection when placed in a packed bag - in particular I am afraid the (tall) device will bend in a packed backpack... Has anyone found a hard shell case that fits the DPT-S1? Deosnt have to be a perfect fit. Even something as old fashioned as a tin box the device the device can be placed inside with a bit of padding, for travel protection, will be fine. Any and all advice/experiences welcome. Many thanks! |
|
|
|
|
|
#235 | |
|
purpose priority passion
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 646
Karma: 9002000
Join Date: Jan 2010
Location: socal, usa
Device: sony prs-350, rM2, kindle scribe, boox poke5
|
Quote:
|
|
|
|
|
|
|
#236 | |
|
Member
![]() Posts: 14
Karma: 10
Join Date: Jul 2015
Device: Sony DPT-S1
|
Quote:
Amazon has some options (if you search DPT-S1) but they all seem not much hardier than the original we get from Sony. Last edited by gbgbgb; 07-07-2015 at 10:52 PM. |
|
|
|
|
|
|
#237 | |
|
purpose priority passion
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 646
Karma: 9002000
Join Date: Jan 2010
Location: socal, usa
Device: sony prs-350, rM2, kindle scribe, boox poke5
|
Quote:
|
|
|
|
|
|
|
#238 | |
|
Member
![]() Posts: 14
Karma: 10
Join Date: Jul 2015
Device: Sony DPT-S1
|
Quote:
FORAY® Leather Padfolio, Zipper Closure, Black Item # 173150 OfficeMax # 25003629 Slightly more expensive, had more junk for me to take out (inc a calculator but the thing "swallows" the DPT-S1 while still in its Sony sleeve. So I'm happy. Thanks again!
|
|
|
|
|
|
|
#239 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 33
Karma: 1022
Join Date: Jul 2011
Device: M92 black
|
@gbgbgb, @rem736: could you make a photo of the DPT-S1 in the Padfolio?
Thanks |
|
|
|
|
|
#240 |
|
purpose priority passion
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 646
Karma: 9002000
Join Date: Jan 2010
Location: socal, usa
Device: sony prs-350, rM2, kindle scribe, boox poke5
|
FORAY Pad & Tablet Folio, 9 1/2" x 12 1/4", Black (# 844148)
@md02439, here you go. this folio has an elastic strap that wraps around to keep the folio closed. it is sized too perfectly for the DPT-S1, leaving the pen sticking out of the cover, which is a negative. it does have a pen holster on the inside spine. however, using it will cause the reader to stick out. so i decided not to use that holster. besides, removing the holster from the DPT-S1 leaves a hole, which could lead to dust entering the unit.
Last edited by rem736; 07-09-2015 at 01:22 PM. |
|
|
|
![]() |
| Tags |
| crop, croppdf |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Testmode app on sony DPT-S1 | Yokowa | Sony Reader | 32 | 02-15-2024 04:39 AM |
| In depth Look through of Sony Digital Paper | davidspitzer | Sony Reader | 5 | 08-24-2014 04:38 PM |
| Sony Digital Paper Quick look video | davidspitzer | Sony Reader | 6 | 08-16-2014 01:10 PM |
| How can one get Sony DPT-S1 repaired | bbhuston | Sony Reader | 6 | 07-20-2014 03:03 PM |
| Wo/wie einen Sony DPT-S1 Reader bestellen? | joblack | Sony Reader | 4 | 05-07-2014 07:30 AM |