This page will provide an approximation for the shortest distance from a postcode to a line. Enter a postcode then add two points that define the line and hit 'Calculate'. The approximation ignores the curvature of the Earth so will get worse over longer distances