[PHP] Configuring printer output for a POS printer --> Admin Configuring Printer Drivers or a Select Driver Menu

2002-12-23 Thread Axis Computers
Hi,

I'm developing a Pizza delivery application which uses printer output, and I
want to know which is the better way to format the output to the printer,
and how can I design a select printer menu (communicate with printer
drivers), so the user can select from a number of POS printers (45 columns
?).
Any ideas are welcome:

Thank you and Merry Xmas

__ Omni
ICQ#: 37031810 Current ICQ status: + More ways to contact me
__


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Is it possible to do this in PHP ? If it is then, how ?

2002-11-29 Thread Axis Computers
Marek,

Thanks for your ideas, I was thinking in a complicated scheme using $fp =
fopen ("php://stdin", $hexkeynumber) ...
but I wasn't sure if that is better ...

I think your solution is much neatier ... then I just have to compare the
entered code with an id in the mysql database

- Original Message -
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Friday, November 29, 2002 7:49 AM
Subject: Re: [PHP] Is it possible to do this in PHP ? If it is then, how ?


> In the browser it might look something like this:
> 
>
> 
> 
> Pizza place
> 
> function add(n) {
> document.pizza.num.value=document.pizza.num.value + n;
> if(document.pizza.num.value.length!=2) {
> document.pizzaimage.src='blank.jpg';
> } else {
> // alert("Pizza is " + document.pizza.num.value);
> document.pizzaimage.src='show_image.php?img_id=' +
> document.pizza.num.value;
> }
> }
>
> 
> 
>
> 
> 
> 
>   type="button" value=" Clear " onclick="this.form.num.value='';
add('')">
> 
> 
>  
> 
> 
>  
> 
> 
>  
> 
>  value="Order"> 
> 
>
>
> 
> 
>
> Additional information (size, weitht ...) can be provided in the image
> Axis Computers wrote:
>
> >Thanks for replying,
> >
> >Now I know it's possible to do it, but I still don't know how can I
develop
> >such interface, I will do it in php and mysql, but I need a little
guidance
> >with the way to do it I just can't figure out how ...
> >
> >Thank you
> >
> >Ricardo Fitzgerald
> >
> >
> >>
> >>
> >
> >
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Is it possible to do this in PHP ? If it is then, how ?

2002-11-28 Thread Axis Computers
Thanks for replying,

Now I know it's possible to do it, but I still don't know how can I develop
such interface, I will do it in php and mysql, but I need a little guidance
with the way to do it I just can't figure out how ...

Thank you

Ricardo Fitzgerald

- Original Message -
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 10:34 AM
Subject: Re: [PHP] Is it possible to do this in PHP ? If it is then, how ?


> Using javascript you can change the src of image. So you start with
> blank image, and if onchange
> event handler finds out the input field has two chars, changes the src
> of the image to say show_image.php?id=input.value
>
> Axis Computers wrote:
>
> >Hi,
> >
> >I was wondering if this is possible to in PHP ... I am developing an
> >application for a pizza place, where touch typing interface is much
faster
> >than using the mouse, so I was wondering if I can develop an interface
with
> >a calculator style keypad, and the codes entered (using something like
STDIN
> >in Perl), are automatically compared to the MySQL database to provide
> >realtime feedback to the user, such as code 32 is hawaian pizza, and
after
> >the user enters code 32 Hawaian pizza get's displayed as feedback ... and
> >then awaits for some other input such as size, etc...
> >
> >i.e.
> >
> >x-
> >32 Hawaian pizza    14" $ 12
> >xx xxx  
> >
> >Total = 
> >
> >
> >Thanks in advance,
> >
> >Ricardo Fitzgerald
> >AXIS  Computers
> >Web development
> >
> >
> >__ Omni
> >ICQ#: 37031810 Current ICQ status: + More ways to contact me
> >__
> >
> >
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Is it possible to do this in PHP ? If it is then, how ?

2002-11-27 Thread Axis Computers
Hi,

I was wondering if this is possible to in PHP ... I am developing an
application for a pizza place, where touch typing interface is much faster
than using the mouse, so I was wondering if I can develop an interface with
a calculator style keypad, and the codes entered (using something like STDIN
in Perl), are automatically compared to the MySQL database to provide
realtime feedback to the user, such as code 32 is hawaian pizza, and after
the user enters code 32 Hawaian pizza get's displayed as feedback ... and
then awaits for some other input such as size, etc...

i.e.

x-
32 Hawaian pizza14" $ 12
xx xxx  

Total = 


Thanks in advance,

Ricardo Fitzgerald
AXIS  Computers
Web development


__ Omni
ICQ#: 37031810 Current ICQ status: + More ways to contact me
__


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Application with barcodes

2002-11-25 Thread Axis Computers
Hi,

I am developing a demo of an application which uses barcodes, but I'm
running into the following problems:

1. The gd library's compiled with SuSE 7.3 Pro version of  PHP 4.06 doesn't
support TTF so I have to install Postcript fonts (it does support Type 1),
and I really don't know where I should install them and which barcode font
is better to use.

2. My application runs under a PostNuke enabled site so I can't just
recompile the gd library and php to make TTF available, I'm afraid it will
mess up a whole working system !

3. The barcode will be printed over an image gif ? jpeg ? which ones works
better ?



Since this my first app with barcode, any advise from seasoned users it's
very welcome.
3.

TIA,

Ricardo Fitzgerald
Web Developer

 ICQ# 37031810


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] php teleprogramming -- How to avoid being ripped off ?

2002-11-22 Thread Axis Computers
Hi to all fellow collegues,

Here is the story, a while ago I've signed an NDA with a company from Los
Angeles, the agreement was for programming (PHP, Perl, Java, Javascript),
designing and other tasks, and payment was established on a fixed hourly
rate, the guy in charge,
was very impatient and I had to answer his queries almost instantaneously,
besides he just throw in scripts, and pieces of code,
that were very badly documented and required intense study, and reverse
engineer, one of the tasks was to generate a template from an html code, and
the proper scripts, well I had to get acquainted with everything in the
server, and to study and understand many scripts, and the database and so
forth, the thing is I had to work an average of thirteen hours per day,
for a very low hourly rate, but I accepted that conditions, the thing
happened when I finished the template and also developed a frontend for a
java applet , and delivered it,
and he asked me how much I was charging for the job, I calculated the hours
and told him because I had to spend too many hours studying everything, I
took of f  24 hs. from the fee, well after he received the estimate he
didn't answer anything, he didn't pay me, he refused to answer all the
emails I send him, trying to explain things out, and telling him if he
thinks there were so many hours they can be somewhat balanced with faster
future development, and I we can renegotiate, I was really open,offering
even to just charge development hours and not study hours, the answer was a
complete silence, he just revoked
my privileges to the server and that's it, not even a single word.
So, I'm asking you fellow programmers, for guidance in a situation like
this, I just have to say goodbye and forget it or is there something I can
do to get at least something for my efforts ?

Thank you all in advance for any assistance.

Ricardo Fitzgerald
AXIS Computers

P.S. Needless to say I'm workless and because of my country economic
situation I really don't know when I'm going to work again ...

__ Omni
ICQ#: 37031810 Current ICQ status: + More ways to contact me
__


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Fw: Questions regarding inserting and updating data into a MySQL db

2002-09-10 Thread Axis Computers



 
- Original Message - 
From: Axis Computers 

To: [EMAIL PROTECTED] ; PHP 

Sent: Tuesday, September 10, 2002 4:51 PM
Subject: Questions regarding inserting and updating data into a 
MySQL db

Hi,
 
I'm developing a web application that uses forms 
for user input and then after each form is filled shows something like Welcome 
Bob to our site ... bla. bla... inserts data in a table and on the same page 
continues with the rest of the data, and goes to another form and so 
on.
 
I have no problems inserting the data from the 
first form in the table, display the personalized message, and then connect 
to the mySQL db, my problem is some fields in the table which must be filled are 
null in this first instance, and then on the second form they are 
filled,
but my I don´t know how can I fill the gaps and 
leave all the data in one row, because the first field auto increments, and I'm 
worried the data instead of filling one row spreads accross two or 
three.
 
i.e
 
First: Bob
Last: Evans
//user submits form
///On the second form
says "Welcome Bob Evans and congratulations ... bla 
bla ..."
// inserts data into table
// Then asks for more data
Address : Somewhere 555
Ocupation: Something
// user submits form
// data is inserted into the table and the gaps are 
filled or is updated ?
>>>> here is what I don't know if data 
is still on the same row and effectively filled the gaps, or it is inserted into 
another road ... using insert or update ?
 
Thanks for your tips
 
TIA
 
Rick
  
 
__ICQ#: 37031810


  
  
Current ICQ status:  
 
  
+  More ways to contact me 
__


[PHP] Questions regarding inserting and updating data into a MySQL db

2002-09-10 Thread Axis Computers



Hi,
 
I'm developing a web application that uses forms 
for user input and then after each form is filled shows something like Welcome 
Bob to our site ... bla. bla... inserts data in a table and on the same page 
continues with the rest of the data, and goes to another form and so 
on.
 
I have no problems inserting the data from the 
first form in the table, display the personalized message, and then connect 
to the mySQL db, my problem is some fields in the table which must be filled are 
null in this first instance, and then on the second form they are 
filled,
but my I don´t know how can I fill the gaps and 
leave all the data in one row, because the first field auto increments, and I'm 
worried the data instead of filling one row spreads accross two or 
three.
 
i.e
 
First: Bob
Last: Evans
//user submits form
///On the second form
says "Welcome Bob Evans and congratulations ... bla 
bla ..."
// inserts data into table
// Then asks for more data
Address : Somewhere 555
Ocupation: Something
// user submits form
// data is inserted into the table and the gaps are 
filled or is updated ?
 here is what I don't know if data 
is still on the same row and effectively filled the gaps, or it is inserted into 
another road ... using insert or update ?
 
Thanks for your tips
 
TIA
 
Rick
  
 
__ICQ#: 37031810


  
  
Current ICQ status:  
 
  
+  More ways to contact me 
__