Monday, September 13, 2010

HP LaserJet 1018 on MacOS

For some marketing reason the HP does not provide any support for this printer. It is possible to make it work using the foomatic but it is a pain and suffer. Thanks to this guy a way to make it run using the native HP drivers was found.  Unfortunately a lot of people report about the problems finding the right 1022 printer driver as for some reason after doing all possible updates the only driver for 1022 in the system is the one from Guteprint. Same thing happened to me. A workaround is to download the driver update bundle directly from the Apple's support website. Finally the procedure of installing the support for the printer is as following:

1. Download the HP Printer Drivers v.2.4.1 for Mac OS X v10.6
2. Connect the printer and turn it on.
3. Add a new printer selecting the HP LaserJet 1022 driver (version 1.3.0.261)

Then the printer should start working well.

Thursday, September 9, 2010

Exporting all events from iPhoto to a disk folder

Recently my wife asked to download all photos from my iMac to her Windows7 notebook PC structured into the directories named after the corresponding event name. As there was no such feature present in the iPhoto I decided to write a script to automate the task. Unfortunately the Apple scripting for the iPhoto application is not able to exploit even a half of all features available. There is no way to get the list of all events and therefore no way to find out the photos they contain. The standard export function can not be accessible with the scripting too.

After some Google searching I found a very interesting resource by Michael Kwaƛnicki. The idea of accessing the files in the iPhoto library package directly using the information in the SQLite database is brilliant. The script bellow creates the "iPhoto export" folder under the users's "Downloads"and saves all events each to the separate folder  having the media files ordered by name.

Download: export all iphoto events.applescript (4 KB) [2010-09-07]