Re: [Gambas-user] Re; Webcams ...
Ok, It's an issue with the gb.v4l module and what it expects to see from the camera. I'm using a logitech QuickCam 4000 which doesn't seem to fall within it's current criteria. I've made a couple of mods and now get a picture (after a fashion), just working on an output filter now .. with any luck I may have a patch later today ... Gareth. - Original Message - From: Fabien Bodard gambas...@gmail.com To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Friday, 9 January, 2009 7:48:05 AM GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re: [Gambas-user] Re; Webcams ... I've recently have the same problem ! Fabien 2009/1/5 Gareth Bult gar...@encryptec.net: Hi, I notice that the webcam demo doesn't work for me , I just get a blank screen .. I also notice that the module is called gb.v4l and my webcam seems to use v4l2 in other software where it works fine .. anyone know if this is likely to be why I don't get a picture? (i.e. no v4l2 support in Gambas?) tia Gareth. -- Managing Director, Encryptec Limited Tel: 0845 5082719, Mob: 0785 3305393 Email: gar...@encryptec.net Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Managing Director, Encryptec Limited Tel: 0845 5082719, Mob: 0785 3305393 Email: gar...@encryptec.net Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Datepicker inside a frame bug
hi ppl, i think i have found a bug, System: Ubuntu8.10 Gambas version 3 revision 1794 In old projects when trying to update all forms, i get a window with this error, It is not posible to safe file path_to_form_here Void key (FForm.SaveOne.771) Tryng to fix it i realise its a problem with a frame component and a datepicker. You can recreate the problem like this, new project, insert a frame and then insert a datepicker inside the frame and try to run the app you get the same error. And also too, when you just insert a datepicker into a form, the form gets the same error but instead of 771 it says 730 please confirm or let me know what i am doing wrong. Thanks PD: Atach two shots of the error i get. inline: screenshot5.pnginline: screenshot6.png-- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Ask About POS Programming using Gambas
Here is a suggestion and is what I do: (I use ver 1.17) Make a TIMER which is only for printing to the printer. It is set for 1 second and all it does is try to print chars to the printer. When an error condition comes up, it won't print until the next second. Works ok for me. I have a global String var called 'pr'. This is what is sent to the printer. Anywhere in any class at anytime, I can do something like pr = This is a new line cr lf when the timer fires, it tries to print some chars example something like...(not syntatically correct shown here) Sub Timer(OPTIONAL s) 'I can pass string 's' in to 'add to 'pr' and attempt print immediately DIM a AS STRING if len(s)0 then pr =s'append optional s to pr if len(pr) = 0 then return 'pr has nothing..just exit 'try to print some chars 'TRY open...I have my printer open always from program start if ERROR=0 then while len(pr)0 AND ERROR=0 a = left$(pr,20) 'I try printing 20 chars at a time TRY WRITE #hfile, a, len(a) if error=0 then 'no error, reduce pr pr=right$(pr,len(pr)-len(a) endif wend endif ERROR.clear 'TRY close end sub -- Original Message --- From: jose julio vidal j...@2creations.com To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Thu, 08 Jan 2009 22:22:19 +0100 Subject: Re: [Gambas-user] Ask About POS Programming using Gambas Hi! my code: DIM hFile AS File DIM txt AS String txt=Chr$(H1B) m Chr$(49) Chr$(0) 'corte papel parcial TRY hFile = OPEN /dev/lp0 FOR WRITE WRITE #hfile, txt IF ERROR THEN message.Error(No se puede acceder a la Impresora) ELSE END IF regards El jue, 08-01-2009 a las 13:02 +0800, Leo Sendra escribió: Hi all, I have a problem with my POS program. I have printed a receipt through /dev/lp0. It works. But, when I want to execute a cut paper command, an error occurs. It says that /dev/lp0 is busy. I know that the printer is still printing when I execute a cut paper command. So, how to handle this error? I think, the solution is I have to execute a cut paper command after the printer stop printing. But, I don't understand the code. So, how the codes??? Help me please... Thanks for your help... Berbagi foto Flickr dengan teman di dalam Messenger. Jelajahi Yahoo! Messenger yang serba baru sekarang! http://id.messenger.yahoo.com -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user --- End of Original Message --- -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user