Make the scanned page of a packing slip searchable
Admin ·
A packing slip combines two pages of selectable text with a scanned middle page. Add search to that middle page and verify that the three-page PDF still looks the same.
Add a text layer to page 2 of the packing slip
Download the three-page packing slip from Sources and choose it in the workspace. Select English and leave Page range empty. Select Make PDF searchable.
The report should show one new searchable layer. Pages 1 and 3 already have selectable text. Expand page 2 to check that the two lines read CHECK SEAL and TOTAL 18.
Download the three-page packing slip (PDF, 9 KB)Tesseract.js recognition and PDF output API
Search for CHECK SEAL and compare its highlight with the scan
Download the searchable PDF and open it in a PDF reader. Search for CHECK SEAL. Its highlight should appear on the first printed line on page 2. Next, select and copy TOTAL 18 to confirm the recognized number.
Compare page 2 with the source at the same zoom. The scan stays in the same position because the tool adds text that the PDF reader does not paint. The printed layer and original images remain in the page.
Adobe PDF 32000-1 specification, text rendering modeDownload the three-page packing slip (PDF, 9 KB)
Choose which pages to check on a longer document
Try Page range 2 alone. All three original pages remain in the download, and the page report covers only the selected page.
Choose the language printed on the scan. If a word is still wrong, a sharper scan or an upright source may help. On a mixed page with existing selectable text above an image, the tool leaves that page as it is.
ihateimg.cv OCR PDF workflowTesseract.js recognition and PDF output API
Common questions
Will the new PDF contain an OCR layer on a blank page?
A selected page that contains no recognized text is reported separately. The tool leaves that page unchanged.
How do I check that OCR retained a leading zero on another page?
Search the result for Order 0427 on page 1. It is in the pre-existing text layer, which this workflow preserves.