The typical CVS is everything from a pharmacy and five-and-dime store to a minimart.Now a book printing technology company has signed an agreement with Eastman Kodak Co. that could make a CVS, as well as other retailers, into a vast bookstore as well.New York City-based On Demand Books said Thursday it hopes as soon as late this year to begin wrapping its Espresso Book Machine into Kodak's retailer-based photo kiosks.About the size of a pair of office multifunction devices, and built with Xerox Corp. 4112 copier/printers, Espressos can print, bind and trim a softbound book within a couple of minutes. By adding in Kodak picture kiosks, the Espresso would also be able to turn out photo-related merchandise such as photo books, said On Demand CEO Dane Neller.While the company does a lot of printing work of public domain and self-published works and small publishers, On Demand separately is working with publishers to get greater access to their backlists of books that wouldn't be stocked currently at such non-bookstore retailers, Neller said. "Think of it as a bookstore meets Kinko's," he said.Kodak President Laura Quatela said the deal gives retailers using Kodak kiosks "new avenues for increased revenue as they expand their photo book sales in store and deliver a massive list of book titles to their customers instantly."This all comes with one huge catch -- Kodak is in the midst of selling its photo kiosk business as part of its Chapter 11 bankruptcy.Neller said the Kodak agreement, though announced Thursday, was signed before the Rochester printing and imaging company announced last month it had decided to sell a set of businesses that include its photo kiosks, document scanners and still camera film operations. He said On Demand's hope is that whatever company buys Kodak's kiosk operations would also continue the Espresso arrangement.On Demand has more than 30 Espressos installed around the nation, from Michigan State University's library to the famed Powell's Books store in Portland, Ore.Kodak has roughly 105,000 photo kiosks installed at retailers around the globe, including at legions of CVS, Target and Sam's Club stores.Neller said he's in discussions with Kodak about the scope of the rollout. But the planned Espresso/Kodak hybrids could come out at almost the same moment Kodak hands over its kiosk business to a new owner. Kodak has said it hopes to find buyers for its for-sale operations by mid 2013."We're going to move with all deliberate speed," Neller said.