Our users print reports to Laserfiche's Snapshot. For each report they assign the volume. Is it possible to automate this processing using the SDK?
I found this in the SDK documentation for the SnapshotDriver Class however I'm not sure how step 3 (bolded below) is accomplished:
Using this class involves five steps: 1) attach to the Snapshot printer using the AttachToPrinter method; 2) call PrepareBatch with the settings that you would like Snapshot to use; 3) send your print job or jobs to the Snapshot printer; 4) call WaitForJob to wait for Snapshot to finish processing a print job (call this once per job); 5) call CompleteBatch to signal that you are done queuing print jobs. Between calls to PrepareBatch and CompleteBatch you may queue multiple print jobs; call WaitForJob once for each job that is queued. Multiple rounds of PrepareBatch and CompleteBatch can be run after attaching to the Snapshot printer. Dispose of SnapshotDriver instances when they are no longer needed. The CompleteBatch method does not free all allocated resources.
Does anyone have a small code snippet they can share to get me started? Basically, I'm wondering how to initiate the print job while associating that job with any SnapshotDriverSettings that I will configure using C# code.
Thanks,
Bill