Liu,
I'm not sure that irfanView has a cli. But it's free so it's easy to try. The real advantage of using a spool is that you can easily put all your charts in one spool under program control. Then if you have only have to manually intervene once to write to a pdf.
Problem on saving chart as a pdf by programming.
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Problem on saving chart as a pdf by programming.
The disadvantage of a spool is if you want a separate pdf for each chart.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Problem on saving chart as a pdf by programming.
True, but I think Acrobat Pro is willing to extract pages into separate files. Admittedly, a bit of a kludge.
Re: Problem on saving chart as a pdf by programming.
I did some experiments according to our discussion above, and it almost worked the way I want.
Only there is one thing, I still can not control the default printer. Right now I have to click and set "PDF_writer" as printer before running the program.
Otherwise, by any chance if I printed a chart in eviews with a real physical printer, and forget to set it back to PDF_writer, then next time I will very likely
receive massive printouts from the physical printer when I run the program.
Is there a way to control the printer by command? I tried almost all related commands including output(p), but it doesn't really help.
Also in the printing window, there is an option called "graph size" (please see attached screenshot). Is there a way also to control that by commands?
Thank you all again.
Only there is one thing, I still can not control the default printer. Right now I have to click and set "PDF_writer" as printer before running the program.
Otherwise, by any chance if I printed a chart in eviews with a real physical printer, and forget to set it back to PDF_writer, then next time I will very likely
receive massive printouts from the physical printer when I run the program.
Is there a way to control the printer by command? I tried almost all related commands including output(p), but it doesn't really help.
Also in the printing window, there is an option called "graph size" (please see attached screenshot). Is there a way also to control that by commands?
Thank you all again.
- Attachments
-
- example.gif (84.95 KiB) Viewed 5189 times
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Problem on saving chart as a pdf by programming.
Unfortunately not.
Re: Problem on saving chart as a pdf by programming.
Hi Gareth,
is there a way I can delay the program from processing for a period of time?
I noticed that the spawn command has such option. But I tested it and it's not delaying much as it should, or maybe it didn't delay at all.
is there a way I can tell eviews to "wait for 50 seconds" and then go to the next line of command?
is there a way I can delay the program from processing for a period of time?
I noticed that the spawn command has such option. But I tested it and it's not delaying much as it should, or maybe it didn't delay at all.
is there a way I can tell eviews to "wait for 50 seconds" and then go to the next line of command?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Problem on saving chart as a pdf by programming.
Sleep.
Since this thread has become alive again after a year of inactivity, I'll point out that EViews 8 offers native PDF printing.
Since this thread has become alive again after a year of inactivity, I'll point out that EViews 8 offers native PDF printing.
Who is online
Users browsing this forum: No registered users and 1 guest
