A: Edinburgh, Scotland, United Kingdom, B: Aberdeen, Scotland, United Kingdom
The first "major" book printed in Scotland was the 2-volume Breuiarij Aberdone[n]sis ad percelebris eccl[es]ie Scotor[um] potissimu[m] vsum et consuetudine[m] [The Aberdeen Breviary for the principal use and custom of the most famous church of the Scots]. It is generally known as the Aberdeen Breviary. The book was commissioned by William Elphinstone, Bishop of Aberdeen, and printed from 1509 to 1510 in Edinburgh at the press of the first printers in Scotland, Walter Chepman and Androw Myllar.
Only four complete sets of this two-volume work survive. Two sets are now at the National Library of Scotland and available via the NLS website.