• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Network and Printer Objects > Printing from Scripts

Printing from Scripts

Thus far we've discussed how to manage printers from scripts. Now let's take a short look at using printers in scripts. You may wish to have your script generate printed output if it generates reports that you want to view in printed form, or if it runs automatically under the Task Scheduler.

Tip

In a business environment, for scheduled scripts that perform critical tasks such as backups, I recommend printing a report every day. This way, if the scheduled task stops working, you'll know that something is wrong by the details in the report or by the report's absence. If you're concerned about the wasted paper, you might write a script to summarize the results of all the scheduled tasks and print a single sheet, or you might use the e-mail tools discussed in the next chapter. In any case, automatic status reports can really help avoid losing track of those things that go crash in the night. I'll talk about this in more detail in Chapter 10.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint