World: r3wp
[Postscript] Emitting Postscript from REBOL
older newer | first last |
Graham 29-Apr-2006 [1002x3] | 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. |
Henrik 8-Jun-2006 [1032] | but it takes 2 seconds to render |
Pekr 8-Jun-2006 [1033] | it does not look like "hokey" to me :-) |
Henrik 8-Jun-2006 [1034] | it's plain VID, done in double size, blurred a couple of times and some contrast added to it and then scaled down quickly with 'fit |
Pekr 8-Jun-2006 [1035] | how is barcode part done? |
Rebolek 8-Jun-2006 [1036] | Henrik, this drop-down menu is your own or standard VID? |
Henrik 8-Jun-2006 [1037x3] | rebolek: it's my own. it uses LIST-VIEW and sports autocompleting |
pekr, http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=ean13.r | |
pekr, sorry, this is a better link: http://www.hmkdesign.dk/rebol/barcode/ | |
Graham 8-Jun-2006 [1040] | http://www.compkarori.com/reb/psd2draw5.r |
Rebolek 8-Jun-2006 [1041] | sounds great, are you going to release it? because IIRC VID' drop-down is somehow buggy |
Graham 8-Jun-2006 [1042x2] | a large chunk of text flows thru three textboxes and over into the next page. |
the text is also partially justified ... | |
Henrik 8-Jun-2006 [1044] | rebolek: this is a prototype and code is somewhat messy, but I want to make a better version of it for release. it depends on a few custom and ugly things that I don't want to release. it works quite well, has keyboard navigation and everything. |
Rebolek 8-Jun-2006 [1045] | Graham: Why is the text visible only on 50% and 100% zoom? |
Graham 8-Jun-2006 [1046x5] | It's visible at all zoom for me. |
I think you don't have the right fonts installed. | |
You need to install this set of fonts ... | |
http://www.synapsedirect.com/files/5/client/entry284.aspx | |
these are the TT equivalents of the standard PS fonts | |
Rebolek 8-Jun-2006 [1051] | OK, I'll try that, thanks |
older newer | first last |