Mr modnaR Posted January 16, 2007 Report Posted January 16, 2007 Hi all, does anyone know how TK makes 'screenshots' of LCDs for display on this website? eg:orthanks
moebius Posted January 16, 2007 Report Posted January 16, 2007 Yes we do,but at least I´m too tired to "search the forum" for the answer ;DMoebius
Mr modnaR Posted January 16, 2007 Author Report Posted January 16, 2007 answer found in -wait for it- 'N00B for dummies' thread. *laughs at self*They are generated with selfmade perl scripts:http://www.ucapps.de/midibox64_tutor/gen_mb64_screenshttp://www.ucapps.de/midibox64e_tutor/gen_mb64e_screenshttp://www.ucapps.de/midibox_cv/gen_mbcv_screenshttp://www.ucapps.de/midibox_seq/gen_mbseq_screenshttp://www.ucapps.de/midibox_seq/tutorial1/gen_tut1_screenshttp://www.ucapps.de/midibox_sid_cs/gen_mbsid_screensBest Regards, Thorsten.
smashtv Posted January 16, 2007 Report Posted January 16, 2007 hehe..... ;DHad to be careful on this thread, "Read the noob 4 dummies thread" as an answer to what seems like a very unrelated question might seem a bit hostile when it's really not... :)In hindsight I think we missed a quick opportunity to poke fun at you.... ;DBestSmash
Mr modnaR Posted January 16, 2007 Author Report Posted January 16, 2007 any other suggestions which don't require a degree in gobbledegook are welcome. ;Dall i know is perl is some kind of programming language, and these appear to print out the lettering to a website. quite how this happen is magic to me, or possibly gremlins. ahh well, i'll have to fiddle with photoshop i guess. cheers
Mr modnaR Posted January 16, 2007 Author Report Posted January 16, 2007 hehe..... ;DHad to be careful on this thread, "Read the noob 4 dummies thread" as an answer to what seems like a very unrelated question might seem a bit hostile when it's really not... :)In hindsight I think we missed a quick opportunity to poke fun at you.... ;DBestSmashlol, yeah it was the last place i'd thought of looking. stupidity knows no boundaries i guess.*scuffles back to lair, humbled* ;D
stryd_one Posted January 16, 2007 Report Posted January 16, 2007 There's windows TTF and PS fonts of the HD44780 standard cgrom charset :)Grab the attachment from this post and rename to .zip and go nuts.
Mr modnaR Posted January 17, 2007 Author Report Posted January 17, 2007 stryd, that's a great help man, cheers.
Mr modnaR Posted January 17, 2007 Author Report Posted January 17, 2007 hmmm, strange, it's coming up 'This file is corrupted'. ahh well, i'll have a look round. cheers
stryd_one Posted January 17, 2007 Report Posted January 17, 2007 I am making these fonts freely available. You have permission to use and distribute all of these fonts. So post them on your own website if you want, give them to friends, share the wealthhttp://www.pic101.com/mcgahee/What a nice guy he is! :)
audiocommander Posted January 17, 2007 Report Posted January 17, 2007 all i know is perl is some kind of programming language, and these appear to print out the lettering to a website. quite how this happen is magic to meit's not that complicated if you know how to call them.I don't know if that's also valid for DOS, but in a bash terminal you must type[tt]./scriptname.pl[/tt] to run it.or you may try [tt]perl scriptname[/tt]; of course the filepaths have to match.You may peek into the file itself to lern about parameters you have to pass, but what I saw from these scripts, you may adapt them simply for you needs.Cheers,Michael
Mr modnaR Posted January 17, 2007 Author Report Posted January 17, 2007 http://www.pic101.com/mcgahee/What a nice guy he is! :)once again stryd, thanks!it's not that complicated if you know how to call them.I don't know if that's also valid for DOS, but in a bash terminal you must type./scriptname.pl to run it.or you may try perl scriptname; of course the filepaths have to match.You may peek into the file itself to lern about parameters you have to pass, but what I saw from these scripts, you may adapt them simply for you needs.Cheers,Michaelthanks michael, i'll look into how it all works.
moebius Posted January 17, 2007 Report Posted January 17, 2007 I just tried:perl vx and it doesn´t exist! I feel stupid, I´ve used perl before.. even perl vx.pl didn´t work! Is it the path problem?Moebius
audiocommander Posted January 17, 2007 Report Posted January 17, 2007 perl vx and it doesn´t exist! Is it the path problem?yes, you got to change the current path before calling this; or submit the whole path;so in bash it would be either:[tt]cd /path/to/perl/script/perl myscript.pl[/tt] or use the "shortcut": [tt]./myscript.pl [/tt](cd is for change directory; If I remember right it's the same with DOS)or [tt]perl /path/to/perl/script/myscript.pl[/tt]If the script provides some output (which should normally be the case; eg. infos on expected parameters), then you should see something...Cheers,Michael
mess Posted January 17, 2007 Report Posted January 17, 2007 HiI've just tried one of the script on windowsIt can generate all of the screens in .xpm, if the gif convertion is disabledmy $convert_gif = 0; if I understand correctly, the script needs a conversion program to convert the .xpm to gif: system("convert ${output_file}.xpm ${output_file}.gif") && die ("convert failed!\n"); system("rm ${output_file}.xpm"); *edit: you can find this program here:you can find this program here:http://www.imagemagick.org/script/convert.php
Sasha Posted January 18, 2007 Report Posted January 18, 2007 I`ve created patterns for 2x16, 2x20 and 2x40 LCD in Corel Draw and Adobe Illustrator. You don`t have to mess with perl. I hope it will help someone. Before opening the file install the font from the .rarLCD text.rar
stryd_one Posted January 18, 2007 Report Posted January 18, 2007 Sweet! Thanks man!PS I am going to reply soon ;)Edit: Search keywords... TK LCD font emulation screenshot screen shot picture image jpg manual document perl script TTF truetype HD44780 CLCD
mess Posted January 18, 2007 Report Posted January 18, 2007 I've changed the script for another colorscheme,here are some screens for my seq:the modified script:http://webs.hogent.be/~032573mh/midibox/dseq32/dseq32_screens/gen_dseq32_screens.pl
Mr modnaR Posted January 18, 2007 Author Report Posted January 18, 2007 cheers Sasha and mess, great help!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now