SSIS print document task or other way to easily print file via SSIS package

StackOverflow https://stackoverflow.com/questions/23386796

  •  12-07-2023
  •  | 
  •  

Вопрос

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