Written in Microsoft Access, invoices were created by running a macro that sent a complex series of "sendKey" commands to the UI that simulated scrolling through the records and clicking the "Print Report" button. This was not only time-consuming, but it was what made the workstation off-limits to the user while the process was running. The only thing missing was the duct tape.
Sounds kinda familiar, doesn't it?