主权项 |
1. A document production system comprising:
a scanner equipped with a motor which rotates a medium to be scanned around an axis; a printer; and a computing device, including a processor, configured to perform the functions of: causing the scanner to scan a template comprising a pre-printed media; determining, based on the scanned template, a printable area of the pre-printed media by: (a) identifying a first variation in the intensity of light detected by a scan head of the scanner, (b) identifying the angle that the motor has rotated the pre-printed media when the first variation is detected and calculating a distance therefrom, (c) providing a first offset of the linear distance from the top of the pre-printed media and marking the first offset as unprintable, (d) identifying a second variation in the intensity of light detected by a scan head of the scanner, (e) identifying the angle that the motor has rotated the pre-printed media when the second variation is detected and calculating a linear distance therefrom, and (f) providing a second offset starting at the linear distance from the top of the pre-printed media and extending to the bottom of the pre-printed media and marking the second offset as unprintable; manipulating a soft copy of a document such that the document is configured to fit into the printable area of the template; and causing the printer to print the document in the printable area of the pre-printed media. |