Re: [Gambas-user] Parallel Port - Illegal Seek -

2010-04-08 Thread Doriano Blengino
, 07 Apr 2010 11:06:42 +0200 Subject: Re: [Gambas-user] Parallel Port - Illegal Seek - nando ha scritto: Using SEEK is not correct. If you think of the parallel port as a file, you cannot seek. It doesn't make sense. You can only read and write. What are you trying

Re: [Gambas-user] Parallel Port - Illegal Seek -

2010-04-08 Thread Benoît Minisini
Hi All, I am writing a parallel port interface, however I am struggling with how to write to the parallel port. Below I have included the code that I have used. Following that I have included the BASIC code that I am bastardizing. My Gambas version is Gambas2.13 I am running Linux

Re: [Gambas-user] Parallel Port

2010-04-08 Thread Les Hardy
Hi there, I don't have a program to offer you. All my old code is in other languages. I did however write a little working example for you. You will need to use port, not parport0. For some reason that is unknown to me, I too, am unable to get parport to work correctly from gambas. I tested

Re: [Gambas-user] Parallel Port

2010-04-08 Thread Benoît Minisini
Hi there, I don't have a program to offer you. All my old code is in other languages. I did however write a little working example for you. You will need to use port, not parport0. For some reason that is unknown to me, I too, am unable to get parport to work correctly from gambas. I

Re: [Gambas-user] Parallel Port - Illegal Seek -

2010-04-07 Thread Doriano Blengino
-user] Parallel Port - Illegal Seek - Hi All, I am writing a parallel port interface, however I am struggling with how to write to the parallel port. Below I have included the code that I have used. Following that I have included the BASIC code that I am bastardizing. My Gambas version

Re: [Gambas-user] Parallel Port - Illegal Seek -

2010-04-07 Thread nando
: Fri, 2 Apr 2010 21:09:58 +1300 Subject: [Gambas-user] Parallel Port - Illegal Seek - Hi All, I am writing a parallel port interface, however I am struggling with how to write to the parallel port. Below I have included the code that I have used. Following that I have included

Re: [Gambas-user] Parallel Port - Illegal Seek -

2010-04-07 Thread mike
+0200 Subject: Re: [Gambas-user] Parallel Port - Illegal Seek - nando ha scritto: Using SEEK is not correct. If you think of the parallel port as a file, you cannot seek. It doesn't make sense. You can only read and write. What are you trying to accomplish ? -Fernando

Re: [Gambas-user] Parallel Port - Illegal Seek -

2010-04-06 Thread nando
@lists.sourceforge.net Sent: Fri, 2 Apr 2010 21:09:58 +1300 Subject: [Gambas-user] Parallel Port - Illegal Seek - Hi All, I am writing a parallel port interface, however I am struggling with how to write to the parallel port. Below I have included the code that I have used. Following that I have

Re: [Gambas-user] Parallel Port - Kadaitcha Man

2010-04-04 Thread Doriano Blengino
Bjorn Macintosh ha scritto: Hiya, My Gambas version is Gambas2.13 I am running Linux Mint 8 I do have a parallel port on my PC. It is '0378' - '037a' and '0778' - '077a' The error code I am getting is System error. illegal seek I had already found and gone through the link you

Re: [Gambas-user] Parallel Port - Kadaitcha Man

2010-04-04 Thread Ron_1st
On Sunday 04 April 2010, Bjorn Macintosh wrote: Hiya, I had already found and gone through the link you sent, it is what part of my code was based on. If you have read it and can fully understand it can you tell me what iPortNumber should be in order for me to access the parallel port. I

[Gambas-user] Parallel Port

2010-04-03 Thread Bjorn Macintosh
Hi all, Does anyone have a program that interfaces with the parallel port, one written in Gambas. If you do would you be willing to share this program with me as I am trying to write a parallel port interface and am struggling to get my head around a few concepts. mainly how to write to the

Re: [Gambas-user] Parallel Port

2010-04-03 Thread Kadaitcha Man
On 4 April 2010 08:14, Bjorn Macintosh bjorn.macint...@gmail.com wrote: Hi all, Does anyone have a program that interfaces with the parallel port, one written in Gambas.  If you do would you be willing to share this program with me as I am trying to write a parallel port interface and am

[Gambas-user] Parallel Port - Kadaitcha Man

2010-04-03 Thread Bjorn Macintosh
Hiya, I had already found and gone through the link you sent, it is what part of my code was based on. If you have read it and can fully understand it can you tell me what iPortNumber should be in order for me to access the parallel port. I was thinking it would be 888 as a integer (378 in hex

[Gambas-user] Parallel Port Programming in Gambas

2009-12-16 Thread Me
Hi all, I am new to Gambas 2.16 and also Ubuntu 9.04. I trying to write a Gambas program to control parallel port's input/output in Ubuntu. For example, Switch parallel port pin 2 to on or off. From How To Use Parallel Port http://gambasdoc.org/help/howto/parport Solution 1: opening