r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Postscript] Emitting Postscript from REBOL

Rebolek
8-Nov-2006
[1232x2]
Geomol, here's PDF dialect too, so what about making PS and PDF dialect 
compatible? Then you need not some external convertor.
yes, that's what I was thinking :)
Geomol
8-Nov-2006
[1234x2]
Rebolek, :-) I haven't got the time to do everything! You do that 
part! :-)
(Also I'm on OS X, so I don't have the preview problem, because the 
OS auto convert to PDF, if I'll like to see a .ps file.)
Rebolek
8-Nov-2006
[1236]
geomol:)) OK but if I will, who's going to finish this? http://bolek.techno.cz/pix/app/request-color.png
;-)
Geomol
8-Nov-2006
[1237]
Nice! :-) We need more than 24 hours in the day! Who can help us 
with that? ;-)
Rebolek
8-Nov-2006
[1238]
nobody on AltME I think :) Everybody's busy :)
Henrik
8-Nov-2006
[1239]
I'm writing down some preliminary ideas for coordination...
Maxim
8-Nov-2006
[1240x2]
Rebolex, that's such a nice target for liquid... is the code anywhere?
(oops I don't know how the x got there... I meant Rebolek)
Rebolek
8-Nov-2006
[1242]
maxim: what's nice target for liquid? you mean my hsv/rgb color requestor?
Maxim
8-Nov-2006
[1243x2]
yep
especially using the up and comming liquidGL which plugs liquid direcly 
within the GLayout dialect
Geomol
9-Nov-2006
[1245]
Perhaps we need a little print-spooler in a multi-user environment? 
May be a good job to solve using REBOL. It should be able to receive 
printjobs from plenty of users at the same time (using multi-threading 
much like the way Apache serve multiple users with web-pages) and 
then send the jobs to the printer one at a time. Maybe someone already 
did it in REBOL? Or if there is a server at hand, just send the jobs 
to the spooler in the server. I'm not too familar with spoolers. 
Will they leave the PostScript printjob as it is, and just send it 
to the printer? I could figure, that Windows spoolers would like 
to change the PS into something else using a print-driver.
Henrik
9-Nov-2006
[1246x2]
I wrote a very small one, about 2 kb in size with a GUI. I can't 
remember, but I think it uses Rugby.
I made it for a very specific purpose (as one would do in REBOL), 
so it may have to be rewritten.
Anton
14-Nov-2006
[1248]
I don't know if this software has been noticed:
http://www.cenon.info/frame_gb.html
Graham
1-Jan-2007
[1249]
Tiny progress .. my dialect can now put multiple text boxes on one 
page, and produce the same output in PS and draw.  Now to find some 
PS text justification routines.
xavier
31-Jan-2007
[1250]
is there someone who have an idea for printing in rebol on a dot 
matrix printer ? i have to pilot it for printing a pre formated bill 
for dental care.  If anybody see what i mean..  I was wondering about 
how to do it in rebol, by passing by a markup langage but i dont 
know how it work.  if anybody got an idea...
Henrik
31-Jan-2007
[1251]
xavier, are you doing it from windows?
xavier
31-Jan-2007
[1252x2]
yes
i probably have to do it with a tally manesman if it can help
Henrik
31-Jan-2007
[1254]
I suppose it doesn't contain any graphics? if that's the case, you 
can print directly to the printer through LPT
xavier
31-Jan-2007
[1255x3]
yes no graphics and by lpt i think
it typically the kind of paper you got when you went out of the dentist, 
only caracters
and a dot matrix printer is not supposed to be connected by something 
else then the lpt port
Henrik
31-Jan-2007
[1258]
if you have access, try this on the machine in a dos prompt:

echo test > lpt1:
xavier
31-Jan-2007
[1259]
yes it s ok
Henrik
31-Jan-2007
[1260]
ok, then you can do the same from within rebol. I don't know if you 
can write to LPT from within rebol though, but you can call dos commands 
the same way as you just did with CALL.
xavier
31-Jan-2007
[1261]
yes .... and the format is 80x25 so i can put what i want where i 
want
Henrik
31-Jan-2007
[1262]
yes, that should be possible
xavier
31-Jan-2007
[1263]
thanks for your help ... sorry if my question was too simple
Henrik
31-Jan-2007
[1264]
no problem. this can be hard to figure out sometimes. at least you 
got at choice between this or going full postscript which is considerably 
harder. :-)
xavier
31-Jan-2007
[1265]
lollllll the tally will not support postscript and i dont need to 
do something harder
Sunanda
31-Jan-2007
[1266]
You may wnat to investifate Epson escape codes, eg:
http://www.cyberroach.com/analog/an10/epson.htm

There is a chance the printer will respond to them, and it may give 
you extra flexibility -- eg sending tabs rather than loads of spaces; 
or bolding, underline etc.
xavier
31-Jan-2007
[1267]
thanks .... terribly usefull too
Henrik
31-Jan-2007
[1268]
btw. is there anything like ncurses for rebol?
Sunanda
31-Jan-2007
[1269x2]
investifate --> invesigate (though I like the sound of the typo.....The 
sort of thing that happens to extras in the early reels of horror 
movies)
A bit like curses:
http://www.rebolforces.com/articles/tui-dialect/
Henrik
31-Jan-2007
[1271]
neat. could sometimes be nice if you are using SSH terminals a lot.
xavier
31-Jan-2007
[1272x2]
perfect.  It looks like what i need too.
it must be possible to describe a document for a dot matrix printer 
with that
Graham
31-Jan-2007
[1274x3]
I take it the application is windows based.
So, generate the output as postscript, and then use gsprint to print 
the postscript file to the epson printer ( default windows printer 
).
gsprint will format it for windows.
BrianH
2-Feb-2007
[1277]
So Graham, why did you get rid of John's blocks in your fork of his 
dialect? Was it to make generation easier?
Graham
2-Feb-2007
[1278x2]
it looked ugly
I think John agreed too!
BrianH
2-Feb-2007
[1280]
Is the dialect faster to process without them?
Graham
2-Feb-2007
[1281]
never went that far ...