| Author |
Creating PDF with Dyalog APL
|
|
| zack85 2004-08-04, 8:55 am |
| Hi Folks,
i searched google etc. for a tutorial about "how to create PDF with dyalog
apl" but i dit not found something interesting.
I m learing dyalog apl since 3 w s or so, cause i have a new job. now i
have to create PDFs with apl, but i dont know how to start. (btw please
excuse my terrible english, i m german)
anyone know some tutorials or so where i can find out about pdf and apl?
greetings,
zack :)
| |
|
|
| Ted Edwards 2004-08-04, 8:55 pm |
| zack85 wrote:
> i searched google etc. for a tutorial about "how to create PDF with dyalog
> apl" but i dit not found something interesting.
> I m learing dyalog apl since 3 w s or so, cause i have a new job. now i
> have to create PDFs with apl, but i dont know how to start. (btw please
> excuse my terrible english, i m german)
> anyone know some tutorials or so where i can find out about pdf and apl?
I use IBM's APL2 but here is how Jay Weinkam helped me to set up to
create PDFs from anything that could print including APL:
>From Jay:
"
If you are originating a document and want to create a pdf, print it to
a file
from your document preparation program (Papyrus?) using a dummy printer
object
for which the driver selected is a postscript driver. (Just download
from
IBM's device driver site and install the post script driver for any
printer.
No need to actually own the printer or to have an available printer
port.)
Load the .ps file into Ghostscript. Go to File->Convert and convert to
pdf.
It's that simple.
> I got the ps driver but now need to create the dummy printer and
> couldn't find anything in the Help files. Would you mind explaining
> the process? Presumably I need to add some sort of file name to my
> list of printers, yes?
Which driver did you get. The latest I have is 30.797 dated 03/08/22.
There are two ways to create a new printer object:
1. Go to OS/2 System->Templates and drag and the printer template onto
the
desktop.
2. Right click on an existing printer object and select Create another
then
Default. A window will come up in which the desktop should already be
selected as the location, so you can just click on create.
In either case, the settings notebook for the new printer object will
come up.
You should go through the pages and make necessary changes. At the very
least you will want to give the new opject an appropriate name (on the
Icon
page) something like Virtual PS Printer, perhaps. On the Output port
page
select Print to File. Then go to the Printer Driver page to install the
postscript driver. Right click on any existing driver and click on
install
then new driver. Now click on Other Printer Driver and enter the path
to the
directory where you have previously (you did do that, didn't you)
unzipped the
driver package. Then click refresh. Scroll down to and select the
appropriate printer model. (Since, in your case, you don't actually
have a
postscript enabled printer, any one will do. You will probably derive
the
greatest satisfaction by selecting the most expensive model. After all
you
save more money by not having an expensive printer than by not having a
cheap
one. Carried to its logical conclusion, I don't know where this will
end.
You can probably laugh about half way to the bank and then reality will
kick
in.) Now click install. Once the install is complete, select the newly
installed postscript driver as the default driver for your new printer
object
and close the settings notebook. That'll do it. No reboot should be
necessary.
You may want to clean up by dropping the new printer object into the
printers
subfolder of the connections object, then dropping a shadow on the
desktop.
When you print from a program such as Papyrus, you select which of the
available printers you want the printout to go to. If you select your
Virtual
PS Printer then click on Print a window will come up asking for the file
name
you want to print to. You should give the file a .ps extension. You
can then
open it in GSView and convert it to .pdf
"
The Ghost twins are available from Hobbes.
Ted
| |
| Dick Bowman 2004-08-05, 3:55 am |
| On Wed, 04 Aug 2004 05:52:33 -0400, "zack85" <nico@crazyking.de>
wrote:
>Hi Folks,
>i searched google etc. for a tutorial about "how to create PDF with dyalog
>apl" but i dit not found something interesting.
>
>I m learing dyalog apl since 3 w s or so, cause i have a new job. now i
>have to create PDFs with apl, but i dont know how to start. (btw please
>excuse my terrible english, i m german)
>
>anyone know some tutorials or so where i can find out about pdf and apl?
>
>greetings,
>zack :)
Something you might try if you have <pdfFactory> installed (make the
usual substitutions for mangled APL characters) ...
'pr1'ŒWC'Printer' 'pdfFactory,FPP2'
'pr1.' Œwc 'Text' (3 5½Œa) (0 50)
pr1.NewPage
Œex 'pr1'
<pdfFactory> is freeware that can be used as a printer; at the end of
the above it opens and gives you the option to save the .pdf file.
I'm fairly sure that there is other software which does a similar job.
| |
| Bj?rn Helgason 2004-08-05, 3:55 pm |
| Dick Bowman <bowman@apl.demon.co.uk> wrote in message news:<80o3h0l8i589re9rcd8dnkbbnq7d5tuigo@4ax.com>...
> <pdfFactory> is freeware that can be used as a printer; at the end of
> the above it opens and gives you the option to save the .pdf file.
> I'm fairly sure that there is other software which does a similar job.
http://www.pdf995.com/
is easy and nice
| |
| Ted Edwards 2004-08-06, 8:55 pm |
| Bj?rn Helgason wrote:
> http://www.pdf995.com/
>
> is easy and nice
Perhaps but not much use in a M$ free zone.
Ted
| |
| Bob Hoekstra 2004-08-11, 3:56 am |
| Ted Edwards wrote:
> Bj?rn Helgason wrote:
>
>
>
>
> Perhaps but not much use in a M$ free zone.
If you (sensibly) do not use M$ products, than you probably have a postscript driver
installed. Use this and pipe the result through postscript (this comes with a ps2pdf
script).
| |
| zack85 2004-08-11, 3:56 am |
| hmm the stuff on vector doesnt work the way i like ;(
is there just an other way to create pdf files thru dyalog apl?
i would be very happy if anyone could help me
zack
| |
| Ted Edwards 2004-08-11, 3:56 pm |
| Bob Hoekstra wrote:
> If you (sensibly) do not use M$ products, than you probably have a postscript driver
> installed. Use this and pipe the result through postscript (this comes with a ps2pdf
> script).
I do. I have a virtual PostScript printer. I print to it and use Ghost
Script to convert the PS file to PDF.
Ted
| |
| Graeme Robertson 2004-08-14, 8:55 am |
| I use pdf995 which can be downloaded free from
http://site4.pdf995.com/download.html
At the end of every use you are taken to an advert on their web site,
which is fair enough.
It works well with Word 2000 but not quite so well with Word XP - at
least that is my feeling.
/Graeme.
| |
| Bj?rn Helgason 2004-08-14, 8:55 am |
| Bob Hoekstra <Bob.Hoekstra@HoekstraSystems.ltd.uk> wrote in message news:<41196FF2.8020808@HoekstraSystems.ltd.uk>...
> If you (sensibly) do not use M$ products, than you probably have a
Talking about using M$ sensibly
I am in the process of installing Linux and on top of it vmware to run
M$ and in it exchange
What I plan to do is move all my M$ servers over on to vmware to
gradually have all of M$ under control
I do have to say that AD in M$ is actually the best system I have come
across to control different things in a network regarding users and
their needs
Moving that over to a secure unix and vm environment seems to be a
real good solution
And in AD the msi files to distribute programs and systems is really
nice
I have distributed several J solutions over it and it is like a dream
come true
I have 1200 users in 19 different places and using AD I can control it
pretty much from anywhere
| |
| Ted Edwards 2004-08-14, 3:56 pm |
| Bob Hoekstra wrote:
> If you (sensibly) do not use M$ products, than you probably have a postscript driver
> installed. Use this and pipe the result through postscript (this comes with a ps2pdf
> script).
I do. I have a virtual PostScript printer. I print to it and use Ghost
Script to convert the PS file to PDF.
Ted
| |
| Bob Hoekstra 2004-08-15, 8:56 am |
| Bj?rn Helgason wrote:
> Bob Hoekstra <Bob.Hoekstra@HoekstraSystems.ltd.uk> wrote in message news:<41196FF2.8020808@HoekstraSystems.ltd.uk>...
>
>
> Talking about using M$ sensibly
No, I was talking about sensibly NOT using M$ products :-)
But seriously, the rest of your posting goes on about controlling M$ servers by
running them in vmware under linux. I suspect that the majority of the APLers reading
this couldn't care. Personally, I think this is a bad move - you're better of running
linux (or any other unix-like os) IMHO. All the services ypou need can be provided.
However, I have preached enough on this subject.
BTW, AD is nothing more than LDAP broken by Microsoft :-)
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GO/! d- s++:+ a+ C++(++++) US++++$ UB++ U*++ P+++ L+++ E--- W+++ N++ w--- O-
M+ V- PS+ PE+ Y+ PGP t+ 5++ X R* tv+ b+ DI++ D G e(*) h++/-- r+++ y?
------END GEEK CODE BLOCK------
-----------------------------------------------------
Bob Hoekstra: APL & Unix Consultant
Telephone: +44 1483 771028
Mobile: +44 7710 562345
Email: Bob.Hoekstra@HoekstraSystems.ltd.uk
-----------------------------------------------------
| |
| Bj?rn Helgason 2004-08-15, 3:55 pm |
| Bob Hoekstra <Bob.Hoekstra@HoekstraSystems.ltd.uk> wrote in message news:<41196FF2.8020808@HoekstraSystems.ltd.uk>...
> If you (sensibly) do not use M$ products, than you probably have a
Talking about using M$ sensibly
I am in the process of installing Linux and on top of it vmware to run
M$ and in it exchange
What I plan to do is move all my M$ servers over on to vmware to
gradually have all of M$ under control
I do have to say that AD in M$ is actually the best system I have come
across to control different things in a network regarding users and
their needs
Moving that over to a secure unix and vm environment seems to be a
real good solution
And in AD the msi files to distribute programs and systems is really
nice
I have distributed several J solutions over it and it is like a dream
come true
I have 1200 users in 19 different places and using AD I can control it
pretty much from anywhere
| |
| Bob Hoekstra 2004-08-16, 3:55 am |
| Ted Edwards wrote:
> Bj?rn Helgason wrote:
>
>
>
>
> Perhaps but not much use in a M$ free zone.
If you (sensibly) do not use M$ products, than you probably have a postscript driver
installed. Use this and pipe the result through postscript (this comes with a ps2pdf
script).
| |
| Bj?rn Helgason 2004-08-16, 3:55 pm |
| Bob Hoekstra <Bob.Hoekstra@HoekstraSystems.ltd.uk> wrote in message news:<411EB549.5070709@HoekstraSystems.ltd.uk>...
> But seriously, the rest of your posting goes on about controlling M$ servers by
> running them in vmware under linux. I suspect that the majority of the APLers reading
> this couldn't care. Personally, I think this is a bad move - you're better of running
> linux (or any other unix-like os) IMHO. All the services ypou need can be provided.
> However, I have preached enough on this subject.
>
> BTW, AD is nothing more than LDAP broken by Microsoft :-)
Well, once I can squeeze Linux in as well as VMWare I can gradually
faze out M$
Problem is that M$ is so hardcoded into the users way of using
computers it is hard to get rid of it.
It is pretty similar to what the situation was with IBM 20 years ago
Then M$ squeezed itself in and gradually fazed out IBM and nearly
killed it at one point in time.
The APL crowd should care because they could well learn from M$ and
Linux
Linux is gradually coming in more and more
In the meantime you have to make the best of the situation and use M$
in the best possible way and learn from them
It is much easier to squeeze J in than other dialects of APL I know of
and that is mainly because of the gr alphabet
J can happily live amongst other scripts and be edited with Vi or
Notepad
The rest of the APL crowd might very well care about that
| |
| Graeme Robertson 2004-08-17, 3:55 am |
| I use pdf995 which can be downloaded free from
http://site4.pdf995.com/download.html
At the end of every use you are taken to an advert on their web site,
which is fair enough.
It works well with Word 2000 but not quite so well with Word XP - at
least that is my feeling.
/Graeme.
| |
| Ted Edwards 2004-08-17, 8:55 pm |
| Bob Hoekstra wrote:
> If you (sensibly) do not use M$ products, than you probably have a postscript driver
> installed. Use this and pipe the result through postscript (this comes with a ps2pdf
> script).
I do. I have a virtual PostScript printer. I print to it and use Ghost
Script to convert the PS file to PDF.
Ted
| |
| Bj?rn Helgason 2004-08-19, 8:55 am |
| Bob Hoekstra <Bob.Hoekstra@HoekstraSystems.ltd.uk> wrote in message news:<411EB549.5070709@HoekstraSystems.ltd.uk>...
> But seriously, the rest of your posting goes on about controlling M$ servers by
> running them in vmware under linux. I suspect that the majority of the APLers reading
> this couldn't care. Personally, I think this is a bad move - you're better of running
> linux (or any other unix-like os) IMHO. All the services ypou need can be provided.
> However, I have preached enough on this subject.
>
> BTW, AD is nothing more than LDAP broken by Microsoft :-)
Well, once I can squeeze Linux in as well as VMWare I can gradually
faze out M$
Problem is that M$ is so hardcoded into the users way of using
computers it is hard to get rid of it.
It is pretty similar to what the situation was with IBM 20 years ago
Then M$ squeezed itself in and gradually fazed out IBM and nearly
killed it at one point in time.
The APL crowd should care because they could well learn from M$ and
Linux
Linux is gradually coming in more and more
In the meantime you have to make the best of the situation and use M$
in the best possible way and learn from them
It is much easier to squeeze J in than other dialects of APL I know of
and that is mainly because of the gr alphabet
J can happily live amongst other scripts and be edited with Vi or
Notepad
The rest of the APL crowd might very well care about that
| |
| Bob Hoekstra 2004-08-20, 4:32 am |
| Bj?rn Helgason wrote:
> Bob Hoekstra <Bob.Hoekstra@HoekstraSystems.ltd.uk> wrote in message news:<41196FF2.8020808@HoekstraSystems.ltd.uk>...
>
>
> Talking about using M$ sensibly
No, I was talking about sensibly NOT using M$ products :-)
But seriously, the rest of your posting goes on about controlling M$ servers by
running them in vmware under linux. I suspect that the majority of the APLers reading
this couldn't care. Personally, I think this is a bad move - you're better of running
linux (or any other unix-like os) IMHO. All the services ypou need can be provided.
However, I have preached enough on this subject.
BTW, AD is nothing more than LDAP broken by Microsoft :-)
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GO/! d- s++:+ a+ C++(++++) US++++$ UB++ U*++ P+++ L+++ E--- W+++ N++ w--- O-
M+ V- PS+ PE+ Y+ PGP t+ 5++ X R* tv+ b+ DI++ D G e(*) h++/-- r+++ y?
------END GEEK CODE BLOCK------
-----------------------------------------------------
Bob Hoekstra: APL & Unix Consultant
Telephone: +44 1483 771028
Mobile: +44 7710 562345
Email: Bob.Hoekstra@HoekstraSystems.ltd.uk
-----------------------------------------------------
| |
| Bj?rn Helgason 2004-08-22, 8:56 pm |
| Bob Hoekstra <Bob.Hoekstra@HoekstraSystems.ltd.uk> wrote in message news:<411EB549.5070709@HoekstraSystems.ltd.uk>...
> But seriously, the rest of your posting goes on about controlling M$ servers by
> running them in vmware under linux. I suspect that the majority of the APLers reading
> this couldn't care. Personally, I think this is a bad move - you're better of running
> linux (or any other unix-like os) IMHO. All the services ypou need can be provided.
> However, I have preached enough on this subject.
>
> BTW, AD is nothing more than LDAP broken by Microsoft :-)
Well, once I can squeeze Linux in as well as VMWare I can gradually
faze out M$
Problem is that M$ is so hardcoded into the users way of using
computers it is hard to get rid of it.
It is pretty similar to what the situation was with IBM 20 years ago
Then M$ squeezed itself in and gradually fazed out IBM and nearly
killed it at one point in time.
The APL crowd should care because they could well learn from M$ and
Linux
Linux is gradually coming in more and more
In the meantime you have to make the best of the situation and use M$
in the best possible way and learn from them
It is much easier to squeeze J in than other dialects of APL I know of
and that is mainly because of the gr alphabet
J can happily live amongst other scripts and be edited with Vi or
Notepad
The rest of the APL crowd might very well care about that
|
|
|
|