rainpro?
9 posts
• Page 1 of 1
rainpro?
1. In versions 12 and 12.1 there is no function ToPDF, but it is mentioned in help:
View PG ⍝
OK
'test.ps' ToPDF PG ⍝ Save on file for Acrobat distiller
VALUE ERROR
'test.ps'ToPDF PG ⍝ Save on file for Acrobat distiller
∧
2. Function PostScrp.Write, but doesn't work:
'D:\RAIN.PS' PostScrp.Write PG ⍝ Write direct to PS device
DOMAIN ERROR
psput[19] txt ⎕NAPPEND fh ⋄ ⎕NUNTIE fh ⋄ r←1
∧
'D:\RAIN.EPS' PostScrp.Write PG ⍝ Write direct to PS device
DOMAIN ERROR
psput[19] txt ⎕NAPPEND fh ⋄ ⎕NUNTIE fh ⋄ r←1
∧
Any way to write rainpro plots to a file? Thanks.
/Sahsa
View PG ⍝
OK
'test.ps' ToPDF PG ⍝ Save on file for Acrobat distiller
VALUE ERROR
'test.ps'ToPDF PG ⍝ Save on file for Acrobat distiller
∧
2. Function PostScrp.Write, but doesn't work:
'D:\RAIN.PS' PostScrp.Write PG ⍝ Write direct to PS device
DOMAIN ERROR
psput[19] txt ⎕NAPPEND fh ⋄ ⎕NUNTIE fh ⋄ r←1
∧
'D:\RAIN.EPS' PostScrp.Write PG ⍝ Write direct to PS device
DOMAIN ERROR
psput[19] txt ⎕NAPPEND fh ⋄ ⎕NUNTIE fh ⋄ r←1
∧
Any way to write rainpro plots to a file? Thanks.
/Sahsa
- askom
- Posts: 36
- Joined: Fri Apr 09, 2010 7:22 pm
Re: rainpro?
Hi Sasha,
I shall ask Adrian Smith (the author of RainPro) about ToPDF.
The DOMAIN ERROR occurs as the default writing type of ⎕NAPPEND is 80.
For compatibility, you can call ⎕NAPPEND with 82, telling it to convert txt on output to type 82.
⎕DR txt
160
txt ⎕NAPPEND fh 80
DOMAIN ERROR
txt ⎕NAPPEND fh 80
∧
Compatibility conversion:
txt ⎕NAPPEND fh 82
Regards,
Vince
I shall ask Adrian Smith (the author of RainPro) about ToPDF.
The DOMAIN ERROR occurs as the default writing type of ⎕NAPPEND is 80.
For compatibility, you can call ⎕NAPPEND with 82, telling it to convert txt on output to type 82.
⎕DR txt
160
txt ⎕NAPPEND fh 80
DOMAIN ERROR
txt ⎕NAPPEND fh 80
∧
Compatibility conversion:
txt ⎕NAPPEND fh 82
Regards,
Vince
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
Re: rainpro?
Vince,
Thanks a lot. It works well for me.
You saved me a day. It is general saying.
YOU saved ME at least a MONTH!
Please, do not forget about function ToPDF.
/Sasha.
Thanks a lot. It works well for me.
You saved me a day. It is general saying.
YOU saved ME at least a MONTH!
Please, do not forget about function ToPDF.
/Sasha.
- askom
- Posts: 36
- Joined: Fri Apr 09, 2010 7:22 pm
Re: rainpro?
Hello Sasha,
Adrian Smith's function ToPDF is a simple cover function, which basically is:
Regards,
Vince
Adrian Smith's function ToPDF is a simple cover function, which basically is:
- Code: Select all
fi ToPDF page
⍝ The trailing 1 gives colour support (required)
PostScrp.POSTSCRP page fi 1
Regards,
Vince
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
Re: rainpro?
Hi Vince,
Thanks. It works (with your advice on 82 code), but for only 50%.
Create a file, which can't be viewed:-(
Does it work for you?
Regards,
Sasha.
Thanks. It works (with your advice on 82 code), but for only 50%.
Create a file, which can't be viewed:-(
Does it work for you?
Regards,
Sasha.
- askom
- Posts: 36
- Joined: Fri Apr 09, 2010 7:22 pm
Re: rainpro?
Hi Sasha,
The ToPDF command creates a postscript file which can then be passed to Distiller, as the comment in the Help indicates.
You could use a postscript viewer such as GSView to view the postscript file. You could also try out the various Postscript to PDF converters that are available on the net.
Regards,
Vince
The ToPDF command creates a postscript file which can then be passed to Distiller, as the comment in the Help indicates.
You could use a postscript viewer such as GSView to view the postscript file. You could also try out the various Postscript to PDF converters that are available on the net.
Regards,
Vince
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
Re: rainpro?
Hi Sasha,
I shall email you a new copy of the NewLeaf workspace. With this, I was able to create PDF files like this:
)copy newleaf pdf
C:\Program Files\Dyalog\Dyalog APL 12.1 Unicode\ws\newleaf saved Tue Jul 20 11:59:23 2010
Cloud ⍝ 3D scatter using straws and balls
View PG
'c:\tmp\scatter1.pdf' pdf.PS PG
9967 bytes written to file c:\tmp\scatter1.pdf
Regards,
Vince
I shall email you a new copy of the NewLeaf workspace. With this, I was able to create PDF files like this:
)copy newleaf pdf
C:\Program Files\Dyalog\Dyalog APL 12.1 Unicode\ws\newleaf saved Tue Jul 20 11:59:23 2010
Cloud ⍝ 3D scatter using straws and balls
View PG
'c:\tmp\scatter1.pdf' pdf.PS PG
9967 bytes written to file c:\tmp\scatter1.pdf
Regards,
Vince
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
Re: rainpro?
Hi Sasha,
Just to let you know, these domain errors from RainPro have been fixed with the latest version of RainPro which is now available on tools.dyalog.com.
Regards,
Vince
Just to let you know, these domain errors from RainPro have been fixed with the latest version of RainPro which is now available on tools.dyalog.com.
Regards,
Vince
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
Re: rainpro?
Vince,
Thanks a lot. I downloaded it and played a bit. There are a number of improvements,
but it still doesn't like Cyrillic:-(
/Sasha.
Thanks a lot. I downloaded it and played a bit. There are a number of improvements,
but it still doesn't like Cyrillic:-(
/Sasha.
- askom
- Posts: 36
- Joined: Fri Apr 09, 2010 7:22 pm
9 posts
• Page 1 of 1
Return to Windows: GUI, COM/OLE/ActiveX
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group