World: r3wp
[Postscript] Emitting Postscript from REBOL
older newer | first last |
Geomol 26-Apr-2006 [982x2] | Yes, it happens alot to me too and is a waste of paper. Good that many websites has that little printer-friendly-version icon. |
Volker, OpenOffice doesn't include a browser (the versions I've used), while StarOffice did (when I used that). So opening a HTML doc in OO gives you the wordprocessor with the concept of paper-pages, and then you print, what you see. | |
Volker 26-Apr-2006 [984] | But how good is that html->page-maker? |
Geomol 26-Apr-2006 [985] | oops, I remembered wrong. Opening a HTML-file in OpenOffice gives you an HTML editor (without the concept of paper-pages). I'll make a test... |
Volker 26-Apr-2006 [986] | IIRC OO has multiple views, like pages, continuos. MAybe you can simply change that |
Geomol 26-Apr-2006 [987] | Opening a tv-program site from a danish tv-station made NeoOffice (a Mac version of OO) loop. I'll try with www.rebol.com |
Henrik 26-Apr-2006 [988] | geomol, is "Astronomically Slow" still the middle name of NeoOffice? |
Geomol 26-Apr-2006 [989x3] | yes :D |
www.rebol.com opened OK in NeoOffice, and I could change to "Print Layout". Right-margin is not perfect (as often with HTML, because it isn't a wysiwyg format), and it can probably be configured. Saving as PDF gave me exactly what was seen on the screen. | |
Volker, so my first impression is, that OO is OK to handle HTML, but not perfect (and how could any program be with all that misunderstanding of HTML out there). | |
Chris 26-Apr-2006 [992] | H: I think there is hyphenation in CSS 3, iirc. |
Graham 28-Apr-2006 [993x2] | Some small progress .. I can now get floating text tables, and text that flows from one textbox on one page to the next page. But not completely error free yet :( |
This is in Draw .. haven't tackled this in PostScript yet. | |
Graham 29-Apr-2006 [995x10] | do http://www.compkarori.com/reb/psd2draw5.r |
this is an alpha dialect that just does draw at present. | |
I have two textboxes on the first page, and one on the second. Text flows from the first page to the second, sort of justified. | |
A textbox is used also to centre the large titles on each page. | |
I have no idea why the small text looks as though it is in bold. | |
the point of having this dialect is to create page templates for viewing data from databases or whatever. The text is replaced either by evaluation or by compose, and you have your draw layout. | |
sure you can create VID layouts for viewing data from databases, but you can't print it easily. | |
Need to generate bar codes in postscript ? Here's some software on a MIT/X-Consortium license http://www.terryburton.co.uk/barcodewriter/ | |
so, as the author says, you can include a barcode as simply as | |
50 450 moveto (1-86074-271) (includetext) isbn barcode | |
Graham 8-Jun-2006 [1005x5] | I know about ez-plot being capable of doing very useful plots ( barring sequential date data ). |
but of course, there's no great way of printing out these plots. | |
This is a simple graph ( multivariable ) graph using the postscript dialect. http://www.compkarori.com/emr/graph.png | |
That's how it looks in draw and also when printed to a postscript printer. | |
It would be nice to have vertically oriented text for the y-axis label .. but I'm going to have to think again about text rotation in draw so that it can be mapped easily also to postscript. | |
Henrik 8-Jun-2006 [1010] | is that graph drawn with AGG? |
Graham 8-Jun-2006 [1011x2] | Draw is AGG is it not? |
that graph is output from my EMR program. | |
Henrik 8-Jun-2006 [1013x2] | the fonts look a little smeared. |
is that because they are vectorized? | |
Graham 8-Jun-2006 [1015x2] | I guess so. |
But they print fine to the printer. | |
Henrik 8-Jun-2006 [1017x2] | that's good |
I haven't followed it, but did you solve font positioning in DRAW vs. postscript? | |
Pekr 8-Jun-2006 [1019] | dunno what kind of graphs you are using, but sequential data, maybe mrtg or rrdtool would be usefull? Of course it would not probably solve your problem with printing ... what you have apparently works for you ... |
Graham 8-Jun-2006 [1020x2] | I don't have a problem with font positioning in draw and postscript. |
Just text rotations and other fancy stuff. | |
Henrik 8-Jun-2006 [1022] | what about centering? |
Graham 8-Jun-2006 [1023] | Yeah .. seems to work. |
Henrik 8-Jun-2006 [1024] | sizes? |
Graham 8-Jun-2006 [1025] | I have text centring and flow across multiple pages |
Henrik 8-Jun-2006 [1026] | maybe it's time for me to test it... |
Graham 8-Jun-2006 [1027] | Didn't I upload an example of text boxes and flow and centering? |
Henrik 8-Jun-2006 [1028] | I haven't seen it. Synapse? |
Graham 8-Jun-2006 [1029] | hang on .. let me see. |
Henrik 8-Jun-2006 [1030] | http://hmkdesign.dk/run16.png<--- I want to upgrade this preview from "hokey" to "good looking" |
Graham 8-Jun-2006 [1031] | Looks good to me. |
older newer | first last |