• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

REXX replacement for CUPS shell script pstoraster??

Started by Paul Smedley, 2008.12.20, 11:29:21

Previous topic - Next topic

Paul Smedley

Hi Gang,

I'm wondering how hard it would be to come up with a REXX replacement for the unix shell script pstoraster that is used by CUPS?

My REXX is a bit rusty, so I thought I'd ask here if someone could take a look - a sample of the shell script is at http://smedley.info/pstoraster

The use of a unix shell is a PITA and (I think) the cause of several users having problems with CUPS.

Thanks in advance,

Paul.

herwigb

Doesn't look very difficult and resembles REXX code that I have created in PDFMergeNX for "direct" distilling (without using  ePDF).

However I need to check what several details in the script do exactly as my shell script knowledge is rather ???

Kind regards,
Herwig
Kind regards,
HerwigB.

Paul Smedley

Hiya Herwig,

Quote from: herwigb on 2008.12.20, 20:25:28
Doesn't look very difficult and resembles REXX code that I have created in PDFMergeNX for "direct" distilling (without using  ePDF).

However I need to check what several details in the script do exactly as my shell script knowledge is rather ???

Any questions see me on IRC :) the other problem(?) is that ghostscript needs to be able to accept input on stdin, and the output will go to stdout - I don't know if this is a problem or not??