3

I need to create a pdf file of A4 sized page which will have a black and white image and some text. Can I create a pdf file in Rebol or Red programming language?

If not possible directly, what is the best way to do it- create an image file which can be printed by external programs? Thanks for your help.

rnso
  • 23,686
  • 25
  • 112
  • 234

2 Answers2

3

There are some scripts available e.g. pdf-maker.r

sqlab
  • 6,412
  • 1
  • 14
  • 29
1

There is also a Rebol to Haru PDF binding that you can try in addition to Gabriele's PDF-Maker2.

And some of us used a Postscript dialect that allowed us to generate PS directly, and then use something like Ghostscript to convert the PS to PDF.

Graham Chiu
  • 4,856
  • 1
  • 23
  • 41
  • I think, on http://www.fys.ku.dk/~niclasen/postscript/postscript.html , in section 2 (Producing pdf output), test.txt should be test.ps (rebps2pdf being used). – rnso Sep 14 '17 at 12:34
  • Any immediately available solution for Red language? If not, can these scripts be easily adapted to Red also? – rnso Sep 14 '17 at 19:08
  • I've not tried but you can. And if doesn't work, all the authors are still around with Gabriele the only one not active in Rebol. Cheers – Graham Chiu Sep 14 '17 at 19:44