A media edge detection method and apparatus for hard copy apparatus uses a
scanning-carriage-based optical sensor. Scan reflectance data from the
print medium and the platen is compared to calculated shaped data to get a
cumulative error. Recursively converging the data to a best fit, the
shaped data reflective transition point is substituted as a true edge
position.