mirror of
https://github.com/storytold/cadcraft.git
synced 2026-12-02 22:30:47 +00:00
The CUPS destinations (`lpstat -e`) are devices next to the built-in ones, each with the papers and printable areas of its PPD (PageSize, PaperDimension, ImageableArea, DefaultPageSize). PLOT to one renders the PDF the PDF plotter writes for that paper and sends it to `lp` with the paper's PageSize, the copies, and no scaling (the plot's scale is already applied); the reply is the job id. EXPORTPDF to a printer still writes the PDF. - doc: PlotterConfig.system (never read from or written to files). - engine: SystemPrinters host hook (list, print), listed after the built-in devices and cached for a few seconds; plot_options adds `printer` and the paper for PLOT; run_plot prints when `printer` is given (`copies` 1..999). - io: cups.rs with the PPD / lpstat / lp parsers (tested on text) and, on Unix, the commands. - app: installs CUPS printers on Unix. - ui: the Plot dialog prints straight to a printer (no file dialog) with a Number of copies field. Co-Authored-By: Claude Opus 5.5 <[email protected]>