You should have already followed the Accessing user settings from action and filter hooks recipe. Alternatively, you can get the resulting code (Chapter 3/ch2-page-header-output/ch2-page-header-output-v9.php) from the downloaded code bundle. You should rename the file ch2-page-header-output-v9.php as ch2-page-header-output.php before starting the recipe.