OBNB doesn't sell books, but you may be able to find a copy at one of these websites:
Your guide to Dunfermline by Bert McEwan. Published by Dunfermline Heritage Community Projects in 2009. Publication and catalogue information, links to buy online and reader comments.