Accessing "Print Setup" from a program
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
Accessing "Print Setup" from a program
Is it possible to set or alter the "Print Setup" entries from within a program? I don't see any documentation on how to do this, so perhaps it isn't. Specifically, we want a batch program to print a spool object to a PDF file. This program will be run by many different people, and so I'd like the program to select our PDF printer automatically and to specify a run-specific name of the PDF file.
-
- EViews Developer
- Posts: 870
- Joined: Tue Sep 16, 2008 3:50 pm
Re: Accessing "Print Setup" from a program
You can turn on/off printer redirection via the 'output' command. For example:
But there currently isn't a command to set which printer you wish to print to.
Code: Select all
output(s) myspool 'have all prints commands print to 'myspool'
print mytable 'adds a copy of the object mytable to myspool
output off 'turn off print redirection and print to the printer
print mytable 'sends mytable to the currently set printer
But there currently isn't a command to set which printer you wish to print to.
Who is online
Users browsing this forum: No registered users and 32 guests