Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Creating PDF with Dyalog APL
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 ws 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 :)


Report this thread to moderator Post Follow-up to this message
Old Post
zack85
08-04-04 01:55 PM


Re: Creating PDF with Dyalog APL
> anyone know some tutorials or so where i can find out about pdf and apl?

Of course! Vector (http://www.vector.org.uk/). Courtesy of Adrian Smith:
http://www.vector.org.uk/v184/pdf184.htm

--
WildHeart'2k4



Report this thread to moderator Post Follow-up to this message
Old Post
Stefano Lanzavecchia
08-04-04 01:55 PM


Re: Creating PDF with Dyalog APL
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 ws 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


Report this thread to moderator Post Follow-up to this message
Old Post
Ted Edwards
08-05-04 01:55 AM


Re: Creating PDF with Dyalog APL
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 ws 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.

Report this thread to moderator Post Follow-up to this message
Old Post
Dick Bowman
08-05-04 08:55 AM


Re: Creating PDF with Dyalog APL
Dick Bowman <bowman@apl.demon.co.uk> wrote in message news:<80o3h0l8i589re9rcd8dnkbbnq7d5tu
igo@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

Report this thread to moderator Post Follow-up to this message
Old Post
Bj?rn Helgason
08-05-04 08:55 PM


Re: Creating PDF with Dyalog APL
Bj?rn Helgason wrote:

> http://www.pdf995.com/
>
> is easy and nice

Perhaps but not much use in a M$ free zone.

Ted



Report this thread to moderator Post Follow-up to this message
Old Post
Ted Edwards
08-07-04 01:55 AM


Re: Creating PDF with Dyalog APL
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 postscrip
t driver
installed. Use this and pipe the result through postscript (this comes with 
a ps2pdf
script).

Report this thread to moderator Post Follow-up to this message
Old Post
Bob Hoekstra
08-11-04 08:56 AM


Re: Creating PDF with Dyalog APL
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


Report this thread to moderator Post Follow-up to this message
Old Post
zack85
08-11-04 08:56 AM


Re: Creating PDF with Dyalog APL
Bob Hoekstra wrote:

> If you (sensibly) do not use M$ products, than you probably have a postscr
ipt driver
> installed. Use this and pipe the result through postscript (this comes wit
h 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


Report this thread to moderator Post Follow-up to this message
Old Post
Ted Edwards
08-11-04 08:56 PM


Re: Creating PDF with Dyalog APL
Bob Hoekstra <Bob.Hoekstra@HoekstraSystems.ltd.uk> wrote in message news:<41
196FF2.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

Report this thread to moderator Post Follow-up to this message
Old Post
Bj?rn Helgason
08-14-04 01:55 PM


Sponsored Links




Last Thread Next Thread Next
Pages (3): [1] 2 3 »
Search this forum -> 
Post New Thread

APL archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:36 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.