IR print NEC Superscript

2002-04-01 Thread Harry Yeh

I have an NEC superscript 1800 with the Irda interface. Any suggestions on
how to print to it? Anybody have any good resources on writing printer
drivers?

Thanks



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Database Search with Packed Records

2002-03-17 Thread Harry Yeh

I have read some of the posts regarding fast database searches. I am
wondering how fast search would be done with packed records, since I was
told and learned that record storage should be used with packed records.
However, I am not sure about how to do sorting with null terminated strings.
Here is an example of my structs:


struct{
int iD;
char * Text[];
}packedProduct;

struct{
int ID;
char* SKU;
char* UPC;
}Product;

Thanks All!

Harry





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: IR Printing

2002-03-12 Thread Harry Yeh

Hey Guys

I found that the symbol sdk Supports printing, and I was playing around with
the Postscript and it seems to work without any sort of printer driver.
Fortunately I am only printing text right now, don't know what is going to
happy with Graphics though :o

Harry
"Harry Yeh" <[EMAIL PROTECTED]> wrote in message
news:79378@palm-dev-forum...
>
> I am interested in adding printing to my application but I notice there is
> not much out there regarding how to write an app to add IR printing. Could
> anybody point me to some resources? I know about all the 3rd party addons
to
> develop for but for me this is more of a personal interest.
>
> I know i probably have to write a driver (using canon bjc50). Thanks!
>
> Harry
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Generic Data Structures

2002-03-11 Thread Harry Yeh

Is it possible to create a generic data structure so that when you add more
columns to a record, you don't have to keep rewriting all the functions
associated with the struct?

Here is my example:

struct
{
Int16 ID;
*Char Name;
}Product

if I needed to add 1 more type or more, I always have to redifne my struct
and procedures, conduits etc.

{
Int16 ID;
*Char Name;
*Char Description;
}

I am wondering what techniques you can use to create generic structures
without having to rewrite all you structs and functions conduits. Any
examples or advice would be greatly appreciated.

Thanks!

Harry



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: IR Printing

2002-03-10 Thread Harry Yeh

You guys are awesome, thanks for all the quick responses.

Harry
"Harry Yeh" <[EMAIL PROTECTED]> wrote in message
news:79378@palm-dev-forum...
>
> I am interested in adding printing to my application but I notice there is
> not much out there regarding how to write an app to add IR printing. Could
> anybody point me to some resources? I know about all the 3rd party addons
to
> develop for but for me this is more of a personal interest.
>
> I know i probably have to write a driver (using canon bjc50). Thanks!
>
> Harry
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



IR Printing

2002-03-09 Thread Harry Yeh

I am interested in adding printing to my application but I notice there is
not much out there regarding how to write an app to add IR printing. Could
anybody point me to some resources? I know about all the 3rd party addons to
develop for but for me this is more of a personal interest.

I know i probably have to write a driver (using canon bjc50). Thanks!

Harry



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/