macOS uses the Common UNIX Printing System (CUPS). The most thorough method is via the terminal:
Windows offers several ways to manage stuck documents, ranging from simple settings to advanced command-line fixes. Fix print job stuck in queue errors in Windows how to clear printer queue
Linux follows a similar pattern to macOS: macOS uses the Common UNIX Printing System (CUPS)
The print queue is a First-In-First-Out (FIFO) buffer that manages active print jobs. When functioning correctly, it sends data sequentially to the printer. However, common failure modes include: common failure modes include: