/* * PrintQueue.h * C interface to routines for processing and printing spool files. * * Written by: Ken McLeod, 2026-01-16 * Last update: 2026-01-28 * * This software is provided as-is, with no warranties expressed or implied, * under the terms of the BSD 2-Clause License. See separate "LICENSE" file. */ #ifndef __PRINT_QUEUE__ #define __PRINT_QUEUE__ #include #ifdef __cplusplus extern "C" { #endif /* call this in main event loop to check and process spooled print jobs. */ /* startHour and endHour values define a time window when we can actually print. */ void CheckPrintQueue(Boolean printingEnabled, short startHour, short endHour); void StartPrintQueue(char *prefixToAccept, char *serialPortName); void StopPrintQueue(void); long JobsPrinted(void); #ifdef __cplusplus } #endif #endif /* __PRINT_QUEUE__ */