Benutzer-Werkzeuge

Webseiten-Werkzeuge


playground:us_patent_20080316183

= US Patent Application 20080316183 Download US Patent Application 20080316183 and synthesize the ImageMagick command to turn it into one single PDF document.

Requires wget

#!/bin/sh
# Download the us patent application 20080316183
# http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&p=1&u=%2Fnetahtml%2FPTO%2Fsearch-bool.html&r=1&f=G&l=50&co1=AND&d=PG01&s1=20080316183&OS=20080316183&RS=20080316183
# and convert the single tiff images to a more handy pdf.
#
# <embed width="570" height="840" type="image/tiff" src="/.DImg?Docid=us20080316183ki&amp;PageNum=1&amp;IDKey=15CD25D49828&amp;ImgFormat=tif"/>
 
pat="us20080316183"
base="http://aiw2.uspto.gov"
file="/.DImg?Docid=${pat}ki&IDKey=15CD25D49828&ImgFormat=tif"
 
cmd="convert"
for (( i = 1; i <= 23; i++ ))
do
	src="$base$file&PageNum=$i"
	if [[ $i -lt 10 ]]
	then
		num="0"$i
	else
		num=""$i
	fi
	dst="${pat}_$num.tiff"
	wget --output-document "$dst" "$src"
 
	cmd="$cmd $dst"
	if [[ $i -eq 1 ]]; then
		cmd="$cmd -rotate -90"
	fi
	if [[ $i -eq 10 ]]; then
		cmd="$cmd -rotate 90"
	fi
done
cmd="$cmd $pat.pdf"
echo "$cmd"

== Und noch eins: Touchscreen Handschuhe High tactility glove system

#!/bin/sh
# Download the us patent application us20090000010
# http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&p=1&u=/netahtml/PTO/search-bool.html&r=1&f=G&l=50&co1=AND&d=PG01&s1=20090000010.PGNR.&OS=DN/20090000010RS=DN/20090000010
# and convert the single tiff images to a more handy pdf.
#
# <embed width="570" height="840" type="image/tiff" src="/.DImg?Docid=us20090000010ki&amp;PageNum=1&amp;IDKey=BB9528CA2376&amp;ImgFormat=tif"/>
 
pat="us20090000010"
base="http://aiw1.uspto.gov"
file="/.DImg?Docid=${pat}ki&IDKey=BB9528CA2376&ImgFormat=tif"
 
cmd="convert"
for (( i = 1; i <= 8; i++ ))
do
	src="$base$file&PageNum=$i"
	if [[ $i -lt 10 ]]
	then
		num="0"$i
	else
		num=""$i
	fi
	dst="${pat}_$num.tiff"
	wget --output-document "$dst" "$src"
 
	cmd="$cmd $dst"
done
cmd="$cmd $pat.pdf"
echo "$cmd"

== Und weil's grad durch die Nachrichten geistert http://www.tuaw.com/2009/01/27/apple-wins-comprehensive-patent-for-iphone-bares-teeth-at-palm/

#!/bin/sh
# Download the us patent application US07479949
# http://patimg1.uspto.gov/.piw?Docid=07479949&homeurl=http%3A%2F%2Fpatft.uspto.gov%2Fnetacgi%2Fnph-Parser%3FSect1%3DPTO2%2526Sect2%3DHITOFF%2526p%3D1%2526u%3D%25252Fnetahtml%25252FPTO%25252Fsearch-bool.html%2526r%3D1%2526f%3DG%2526l%3D50%2526co1%3DAND%2526d%3DPTXT%2526s1%3D7,479,949%2526OS%3D7,479,949%2526RS%3D7,479,949&PageNum=&Rtype=&SectionNum=&idkey=NONE&Input=View+first+page
# and convert the single tiff images to a more handy pdf.
#
 
pat="US007479949"
base="http://patimg1.uspto.gov"
file="/.DImg?Docid=${pat}&IDKey=BE476479DAB7 &ImgFormat=tif"
 
cmd="convert"
for (( i = 1; i <= 358; i++ ))
do
	src="$base$file&PageNum=$i"
	if [[ $i -lt 100 ]]
	then
		if [[ $i -lt 10 ]]
		then
			num="00"$i
		else
			num="0"$i
		fi
	else
		num=""$i
	fi
	dst="${pat}_$num.tiff"
	wget --output-document "$dst" "$src"
 
	cmd="$cmd $dst"
done
cmd="$cmd $pat.pdf"
echo "$cmd"
playground/us_patent_20080316183.txt · Zuletzt geändert: 2009/01/28 23:12 von 127.0.0.1