How ralphwasnotfound/print-and-snap works
PrintAndSnap is a Windows kiosk application for printing documents and photos. Users select a print workflow, upload or capture files, configure document or photo output, pay through connected payment hardware, and send jobs to a printer. The graph preserves both document and photo capabilities, including photo editing and layout, but some links are omitted because excerpts do not show their invocation; the README is empty and several core modules were not excerpted.
Main entry points: PrintAndSnap.cs Kiosk workflows · DocumentPrinting.cs Document printing · PhotoPrinting.cs Photo printing · PaymentController.cs Payment controller
Components 20
Kiosk UI
- App startup
Program.cs - Kiosk workflows
PrintAndSnap.cs
Document Printing
- Document upload
Services/DocumentPrinting/UploadServices.cs - Page pricing
Services/DocumentPrinting/PricingService.cs - Document printing
Services/DocumentPrinting/DocumentPrinting.cs - Printer status
Services/DocumentPrinting/PrinterManager.cs
Photo Printing
- Photo upload
Services/PhotoPrinting/PhotoUploadServices.cs - Camera capture
Services/PhotoPrinting/CameraServices.cs - Photo operations
Services/PhotoPrinting/PhotoServices.cs - Background removal
Services/PhotoPrinting/BackGroundRemovalService.cs - Photo filters
Services/PhotoPrinting/FilterServices.cs - Photo frames
Services/PhotoPrinting/FrameServices.cs - FUN themes
Services/PhotoPrinting/FunThemeService.cs - Suit overlays
Services/PhotoPrinting/SuitOverlayService.cs - Photo layouts
Services/PhotoPrinting/PhotoLayoutServices.cs - Photo printing
Services/PhotoPrinting/PhotoPrinting.cs
Device Services
- Payment controller
Services/PaymentController.cs
Other components
- Kiosk user
- Physical printer
- Payment hardware
Connections 21
- App startup → Kiosk workflows: launches
Program.cs - Kiosk user → Kiosk workflows: uses
- Kiosk workflows → Document upload: starts upload
PrintAndSnap.cs - Kiosk workflows → Photo upload: starts upload
PrintAndSnap.cs - Kiosk workflows → Page pricing: calculates price
PrintAndSnap.cs - Document printing → Page pricing: parses ranges
Services/DocumentPrinting/DocumentPrinting.cs - Kiosk workflows → Document printing: prints documents
PrintAndSnap.cs - Kiosk workflows → Printer status: checks printer
PrintAndSnap.cs - Kiosk workflows → Payment controller: controls payment
PrintAndSnap.cs - Payment controller → Payment hardware: serial commands
Services/PaymentController.cs - Kiosk workflows → Camera capture: captures photos
PrintAndSnap.cs - Kiosk workflows → Photo operations: processes photos
PrintAndSnap.cs - Kiosk workflows → Background removal: removes background
PrintAndSnap.cs - Kiosk workflows → Photo filters: applies filters
PrintAndSnap.cs - Kiosk workflows → Photo frames: adds frames
PrintAndSnap.cs - Kiosk workflows → FUN themes: applies themes
PrintAndSnap.cs - Kiosk workflows → Suit overlays: adds overlays
PrintAndSnap.cs - Kiosk workflows → Photo layouts: builds layouts
PrintAndSnap.cs - Kiosk workflows → Photo printing: prints photos
PrintAndSnap.cs - Document printing → Physical printer: submits job
- Photo printing → Physical printer: submits job