Print Spool to PDF

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

TimGrun
Posts: 36
Joined: Wed Sep 16, 2009 8:01 am

Print Spool to PDF

Postby TimGrun » Wed Sep 16, 2009 1:45 pm

Hi

Within a program, I would like to be able to print the spool to a pdf file. Currently, "print spoolname" prints the spool to the default printer.

If eviews 7 will not be able to print directly to a pdf file, can options be added to the print command to specify the print device and destination and possibly other print options?

Thanks,
Tim

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13315
Joined: Tue Sep 16, 2008 5:38 pm

Re: Print Spool to PDF

Postby EViews Gareth » Wed Sep 16, 2009 2:06 pm

We're investigating changing the printer in a program. However it isn't clear to me that this will help you much. Most of the PDF making printer drivers that I know of will pop up a second dialog/interface asking you questions about the file you want to make whenever you print to them. There is no way that EViews could control these dialogs/interfaces, so even if you were able to print a spool to a PDF in a program, you still wouldn't be able to automate the process completely.
Follow us on Twitter @IHSEViews

startz
Non-normality and collinearity are NOT problems!
Posts: 3775
Joined: Wed Sep 17, 2008 2:25 pm

Re: Print Spool to PDF

Postby startz » Wed Sep 16, 2009 2:57 pm

There is an open source program to create pdfs that can be run a COM-object. I wonder if this might help at some point.

TimGrun
Posts: 36
Joined: Wed Sep 16, 2009 8:01 am

Re: Print Spool to PDF

Postby TimGrun » Thu Sep 17, 2009 6:24 am

Ok, I see that the paradigm for creating pdfs in the windows environment is to use a pdf printer driver.
Supplying defaults to the printer driver, such as printer device, destination file name, and spool size would minimize mistakes made by users of our programs.

Graphs can be saved as postscript files, why can't spools?

Thanks,
Tim

QMS Gareth wrote:We're investigating changing the printer in a program. However it isn't clear to me that this will help you much. Most of the PDF making printer drivers that I know of will pop up a second dialog/interface asking you questions about the file you want to make whenever you print to them. There is no way that EViews could control these dialogs/interfaces, so even if you were able to print a spool to a PDF in a program, you still wouldn't be able to automate the process completely.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13315
Joined: Tue Sep 16, 2008 5:38 pm

Re: Print Spool to PDF

Postby EViews Gareth » Thu Sep 17, 2009 8:04 am

Sending information to the printer driver is not really going to work - how would we know what printer driver each user has, and how would we support every printer driver out there?
Follow us on Twitter @IHSEViews

TimGrun
Posts: 36
Joined: Wed Sep 16, 2009 8:01 am

Re: Print Spool to PDF

Postby TimGrun » Thu Sep 17, 2009 10:16 am

Two more questions:

1. The R language and latex are able to create pdf files from within programs. That might be worth looking into.

2. Eview's charts can create postscript files. Can Eview's create postscript files from a spool file?

Thanks again,
Tim

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13315
Joined: Tue Sep 16, 2008 5:38 pm

Re: Print Spool to PDF

Postby EViews Gareth » Thu Sep 17, 2009 10:26 am

Currently, no.
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 23 guests