A version of The Highwayman Outwitted by the Farmer's Daughter, 1802-1819, is in the Bodleian Collection, Ballads Catalogue 2806c. 18(142).
The version in Logan posted by Mick Pearce is superior.
Several other printings of the song are in the Bodleian Collection.