質問

In SSIS, you can print a file using a batch file and then schedule the batch via SQL Job and File System Task or use more sophisticated solutions, but is there an easier way of sending files to a printer is SSIS (2008)?

For example, does a Print Document or Send to Printer task exist? I can't seem to find it, but you would expect such a basic task to be available in SSIS. With Print I mean sending it to document printer, not the print sql statement. I would like to create a SSRS report, save it in a folder and then print the document automatically.

Thanks!

役に立ちましたか?

解決

No, there is no "print file" task, or anything like it. SSIS tasks tend to be very general, yet highly configurable. You could use an Execute Process Task to print the file using win cmd. Put it after a File System task that moves your report to the desired location.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top