Tickle Google Print
When performing a Google search, you can tickle it into always supplying Google Print links by preceding your search with the word "books". E.g.: books java:
http://www.google.com/search?q=books+java
Safari Bookshelf Search
IMO, a better source for book search is the Safari Bookshelf search, http://safari.oreilly.com/. You can easily add a Safari search box to your web site by including something such as:
Put PDF Hacks to the test:
<form action="http://safari.oreilly.com/JVXSL.asp" method="post" style="margin: 0">
<table border="0" cellspacing="4" cellpadding="0" bgcolor="#00a4a3" width="100%">
<tr><td align="center"><span style="color: white; font-weight: bold">PDF Hacks<br>
Full-Text Search</font></span></td></tr>
<tr><td align="center"><span>
<input type="hidden" name="s" value="1" />
<input type="hidden" name="b" value="1" />
<input type="hidden" name="t" value="1" />
<input type="hidden" name="f" value="1" />
<input type="hidden" name="c" value="1" />
<input type="hidden" name="l" value="1" />
<input type="hidden" name="se_isbn" value="0-596-00655-1" />
<input type="hidden" name="view" value="section" />
<input tabindex="1" name="se_text" type="text" value="" size="14" style="background-color: #ccffff" />
<input type="submit" value="Search" style="font-size: 9px" /></span>
</td></tr>
</table>
</form>
Or, search all Safari titles. These include many O'Reilly books.
<form action="http://safari.oreilly.com/JVXSL.asp" method="post" style="margin: 0">
<table border="0" cellspacing="4" cellpadding="0" bgcolor="white" width="100%">
<tr><td align="center">
<span style="color: black; font-weight: bold">Full-Text Book Search</font></span>
</td></tr>
<tr><td align="center"><span>
<input type="hidden" name="s" value="1" />
<input type="hidden" name="b" value="1" />
<input type="hidden" name="t" value="1" />
<input type="hidden" name="f" value="1" />
<input type="hidden" name="c" value="1" />
<input type="hidden" name="l" value="1" />
<input type="hidden" name="view" value="book" />
<input tabindex="1" name="se_text" type="text" value="" size="14" />
<input input type="submit" value="Search" style="font-size: 9px" /></span>
</td></tr>
</table>
</form>
See this code in action at http://www.pdfhacks.com.
Safari bookshelf has an API, an affiliates program, and other goodies, too:
http://safari.oreilly.com/?mode=file&file=tools
Who knew? I didn't, until yesterday.