Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Per E. Johannessen

Pages: 1 2 [3] 4 5 ... 11
Setup & Installation / Re: JFS chkdsk problem
« on: July 20, 2019, 06:40:52 pm »
Thank you, got it.

Setup & Installation / Re: JFS chkdsk problem
« on: July 20, 2019, 04:11:26 pm »
Yes, unicode.sys precedes the JFS.ifs line.

Didn't know about that WPS bug. In the meantime I reformatted p: with HPFS and and copying files to it keep correct file names.

During all this back and forth I've ended up with some backup directories with real file names in the 8.3 format. Is there a script/utility than can be run on these directories/files which will set real name equal to title?

Setup & Installation / Re: JFS chkdsk problem
« on: July 20, 2019, 02:10:13 pm »
I have a good backup so I already recreated the partion and formatted it JFS. However, when copying files back to this new partition the title of the files remain correct but the actual file names are shortened to 8.3. When opening drive P: in details view I can edit the titles but the real name does not get updated correctly if the tilte is longer consists of more then 8 characters. (This procedure works fine on other JFS partitions,.)

Setup & Installation / JFS chkdsk problem
« on: July 19, 2019, 09:49:54 pm »
Have a problem with a jfs formatted partition. After a reboot (ArcoOS), chkdsk seems to be stuck in phase 3 when checking the "troubled" partition which has driveletter P. Disabled autocheck in config.sys and the system boots to the WPS, drive P still exists but the systems cannot list any files/directories. Is there any "safe" tool to fix this?

Utilities / Re: Insert text on pdf's
« on: June 07, 2019, 10:26:06 pm »
Good that you supplied the setup.txt, Ivan, now it's working.

Looks like it can add watermarks in batch mode but only one watermark can be defined so I would end up with identical watermarks on all pdf's.
(I need the filename of the pdf added/inserted as text.)
Also, I don't see any options for adjusting the placement of the watermark. Tried with the text watermark and it is placed diagonally on the page.

I think REXX and Ghostscript will be the solution.

Utilities / Re: Insert text on pdf's
« on: June 05, 2019, 10:15:27 pm »
At this stage I didn't think about pdf versions at all, but in any case the pdf's I produce are only meant for our auditor and "IRS", plus internal use.
I assume that they use "latest everything" under Windows and so far they have not complained about pdf 1.4. (Latest pdf version is now at 1.7 I think.)

The number "1" which was added to lower right corner was my mistake. Created the pdf in OO and I think it automatically added page numbering.
Have done several tests with "new" pdfs and no numbers are added.

Utilities / Re: Insert text on pdf's
« on: June 04, 2019, 11:01:22 pm »
Thanks, I already have ghostscript, did some more searching and found;

My infile test.pdf contains only one line with the word "test.pdf"
(No need to, but I changed "Sample" to "AddedText" and saved it as


gsos2 -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=out.pdf -f test.pdf

and it produced the attached out.pdf

So, it looks like this can be done without conversion.

Just noticed that it also added the number "1" in the lower right corner. Guess this can be controlled
by the ps-file, font, size, where to place text etc.

Utilities / Insert text on pdf's
« on: June 03, 2019, 04:04:31 pm »
I need to insert text, actually the filename of the pdf, to lots of pdf's.
Does anyone know about a "OS/2-utilty" that can do this, preferably in batch mode?
(Attached a sample, 12345.pdf)

Programming / Re: Rexx Socket / SMTP
« on: May 14, 2019, 08:03:19 pm »
Just an update;  a kind soul has provided code that works using REXXCURL.

Programming / Re: Rexx Socket / SMTP
« on: May 07, 2019, 12:53:10 pm »
Thanks David, I tried various port settings and the following works:

Channel definition Outgoing: Server port 465 and Local port 7587

Account settings SEND: Port 587
If I leave "Allow non-secure" unchecked I get a warning; There is no secure Authentication method available for the SEND server.
When checked there is no warning. In both cases it sends the e-mail.

The option "Use secure channel (SSL) is grayed out, so stlll something is wrong.

Programming / Re: Rexx Socket / SMTP
« on: May 06, 2019, 09:49:43 pm »
Have found various "rexx-sendmail-programs" but none of them can be used since they don't support SSL.

Tried PMMail, which receives mail ok, but unable to send. It has lots of configuration options so most likely
I have not set it up right, (so can't use PMMSEND for now).
(Smtp configuration in Seamonkey is easy and works fine.)

Some more searching lead me to:

Seems like rexxcurl supports SSL and is the right tool.

Programming / Re: Rexx Socket / SMTP
« on: May 04, 2019, 01:02:42 am »
I've found another example written in REXX: John Small's ReleaseTool.cmd of FM/2. See the fm2/trunk source directory. It's much shorter than RexxMail.cmd, but regarding emails, it's only able to send them.

Logged in but still I get "no permission" when I try to read the file.

Programming / Re: Rexx Socket / SMTP
« on: May 04, 2019, 12:59:16 am »
Found somewhere a link to rxhelo.cmd, but unfortunately the link was not available anymore.

Have you tried that link on ? Maybe the target of that link is saved there.

It took me to an "archive-site" but got msg that it was unavailable

Programming / Re: Rexx Socket / SMTP
« on: May 03, 2019, 08:32:42 pm »
For now I think I'll go for the PMMSEND utility.

Still, I'd like to learn how do it with RxSock.

"RXHELO which utilises RXSOCK is a good starting point"

Is RXHELO a library?
Or do you mean RXHELO as a term for the connection/authentication commands between the client and the smtp server?

Found somewhere a link to rxhelo.cmd, but unfortunately the link was not available anymore.

Programming / Rexx Socket / SMTP
« on: May 03, 2019, 04:07:06 pm »

I'd like to automate sending e-mails with a file attached from an application I've created with VX-Rexx.  Since I have no experience using Rexx Sockets I'd appreciate help/ sample of how to:
Initialize sockets
Log-in to smtp server
Attach file
Send message

Pages: 1 2 [3] 4 5 ... 11