BookmarkSubscribeRSS Feed
deleted_user
Not applicable
how should i schedule the list output in EG to go to my network printer and print my output according to the schedule date and time?
2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12
My guess is that you can't from within EGuide. You can schedule a project to take the results of a task and put them into a particular place (via export). You may be able to have a job scheduler pick up the results and print it (even through Visual BASIC scripting with Word, perhaps even incorporating it into the SAS scheduler script). [I no longer know enough BASIC to even be able to get started on such a task.]

Doc Muhlbaier
Duke
deleted_user
Not applicable
I think it depends on the output. Most tasks generate code, and it should be posible to use Proc PrintTo and the name of the printer to direct the output directly to the device.

Mind you, I'm not sure why you would. It sounds terribly dangerous to me. All it takes is some unexpected data producing 30000 lines of output and an awful lot of paper is produced unattended. The danger of having network printers with 5000 sheet hoppers is that you can empty the hopper with a stupid print request, and the paper almost invariably ends up as an unread door stop in someone's office.

Back in the good old days, we ran our mainframe SAS jobs in multiple steps where the output was produced to a list file and in a new session the output was released to the output destination only after the amount was checked and found to be acceptable. Indeed, to avoid real stupidity, we sometimes set passwords on the output that changed with each job iteration and releasing the output required request / confirmation / authentication processes to stop mindless waste.


Nowadays, I send output to browsable files and printing the output is an option for the person checking the output. Since EG is so well structured around the paradigm of producing output in many different forms of file, I would not be using it to waste any more trees.

Kind regards

David

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1271 views
  • 0 likes
  • 2 in conversation