'Printing / Viewing only Annotated Pages of a PDF file - Ubuntu

I have a PDF with close to 250 Pages . Out of which only in 30 pages (Non Continuous) I have added some form of annotations like - Underlining , Boxes etc.Is it possible via a GUI toll or CLI to just extract the pages which have annotations ?

Operating system Used - Ubuntu

pdf


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source