RE: Symbol Print SDK

2000-08-17 Thread Srinivas Mogalapalli

u need to have ptdynlib.prc and printcap.pdb on ur unit.

-Original Message-
From: Richard.Johnstone [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 17, 2000 12:00 PM
To: Palm Developer Forum
Subject: RE: Symbol Print SDK


Did you ever try the sample print program??
I can't seem to open the printer let alone try any of the other fun stuff.
It just complains that the printer I specify in the open command cannot be
found in the printcap database.
I can't find any reference for the data structure for this so I presume it
is in the library.
Is there anything else I need?? This is the command

status = ptOpenPrinter("Postscript",PTIr,psettings);

-Original Message-
From: Dave Lippincott [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 17, 2000 2:47 PM
To: Palm Developer Forum
Subject: Re: Symbol Print SDK


Yes and Yes.   We even wrapped it in C++ calls.



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

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

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



RE: Question on Launching Network prefrences from my application - Bug in buttons panel?

2000-07-19 Thread Srinivas Mogalapalli

Thanks for the reply.  Looks like I was using incorrect type and creator.


It works once I changed these values.   However, I noticed that the 'Done'
button does not appear when I use this to launch the buttons panel
(sysFileTPanel type and sysFileCButtons creator).  Any idea why?

I am using PalmOS Version 3.2

- Srinivas

-Original Message-
From: Nageshwar Rao [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 17, 2000 5:56 PM
To: Palm Developer Forum
Subject: Re: Question on Launching Network prefrences from my
application


Hi,
I 'm sorry for the last answer.It's type is sysFileTPanel and
creator ID is sysFileCNetworkPanel for going to NetworkPrefs directly in ur
code.It works fine for u then.


- Original Message -
From: Srinivas Mogalapalli [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Friday, July 14, 2000 4:32 PM
Subject: Question on Launching Network prefrences from my application


 I want to to launch 'Network Preferences' panel from my application when
the
 user hits a button.  How do I do this?

 I tried the code below but something is definitely wrong with this.  What
is
 wrong with this code?

 (i) I am also not sure how to specify to go to the right prefrences panel
as
 there are multiple-preferences panels)
 (ii) I am also not sure whether I should use SysAppLaunch or
SysUIAppSwitch
 in this case.


 Thanks - Srinivas

 Launch(sysFileTApplication, 'pref',  sysAppLaunchCmdPanelCalledFromApp,
 NULL, false);

 where the function Launch is defined as:

 Err Launch(UInt32 type, UInt32 creator, UInt16 launchCode,
void *param, Boolean sub)
 {
 DmSearchStateType searchState;
 UInt16 cardNo;
 LocalID dbID;
 Err err;
 UInt32 result;

 // look for the app
 err = DmGetNextDatabaseByTypeCreator(true, searchState, type,

 creator, true, cardNo, dbID);

 if (err == 0) {
 if (dbID) {
 // launch the app
 if (sub)
 err = SysAppLaunch(cardNo, dbID, 0,
 launchCode, (char *)param, result);
 else
 err = SysUIAppSwitch(cardNo, dbID,
 launchCode, (char *)param);
 } else {
 err = -1;
 }
 }
 return err;
 }


 - Srinivas

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





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

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



Question on Launching Network prefrences from my application

2000-07-14 Thread Srinivas Mogalapalli

I want to to launch 'Network Preferences' panel from my application when the
user hits a button.  How do I do this?

I tried the code below but something is definitely wrong with this.  What is
wrong with this code? 

(i) I am also not sure how to specify to go to the right prefrences panel as
there are multiple-preferences panels)
(ii) I am also not sure whether I should use SysAppLaunch or SysUIAppSwitch
in this case.

Thanks - Srinivas

Launch(sysFileTApplication, 'pref',  sysAppLaunchCmdPanelCalledFromApp,
NULL, false);

where the function Launch is defined as:

Err Launch(UInt32 type, UInt32 creator, UInt16 launchCode,
   void *param, Boolean sub)
{
DmSearchStateType   searchState;
UInt16  cardNo;
LocalID dbID;
Err err;
UInt32  result;

// look for the app
err = DmGetNextDatabaseByTypeCreator(true, searchState, type,

creator, true,  cardNo, dbID);

if (err == 0) {
if (dbID) {
// launch the app
if (sub)
err = SysAppLaunch(cardNo, dbID, 0,
launchCode, (char *)param, result);
else
err = SysUIAppSwitch(cardNo, dbID,
launchCode, (char *)param);
} else {
err = -1;
}
}
return err;
}


- Srinivas

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



RE: Java/Palm developer position

2000-05-17 Thread Srinivas Mogalapalli

cool it, brandon.  chris was just replying (in earnest) to some jokes going
around on the original post.

-Original Message-
From: Brandon Wallace [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 17, 2000 1:20 PM
To: Palm Developer Forum
Subject: Re: Java/Palm developer position


Can you please quit spamming this public forum with your
developer position?  I come here to read information on
developing for the Palm OS, not to learn your recruitment
techniques.

Thank you,

Brandon



Terwilliger Chris-A229AA wrote:
 
 Motorola is a major fortune 100 company.  Our payscales are appropriate
for
 talent/experience.  This position is fairly flexible, entry level to
 experienced level.  I do however want to see some Java/Palm experience.
 Send me a resume, we'll evaluate it.  If we decide to interview you, we'll
 do that too.  If you fit, we'll make you an offer.  Simple as that.
 
 /// Chris Terwilliger
 /// Motorola - iDEN Software Development
 /// office: 954-723-5318
 /// mobile: 954-325-0345
 /// [EMAIL PROTECTED]
 /// http://www.idendev.com

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

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




PrefSetPreference questions

2000-05-15 Thread Srinivas Mogalapalli

Has anybody used PrefSetPreference extensively.  Appreciate your help and
time.

Here are a few issues that I can't seem to figure out:


(i) Where are the possible values for the arguement value for each of the
choice type for the function below defined?

PrefSetPreference(SystemSetPreferencesChoice choice, UInt32 value)

value = 64;
PrefSetPreference(prefSysSoundVolume, value);

- this sets the sound to high. This is OK.

value = 9;
PrefSetPreference(prefSysSoundVolume, value);

- this sets it to Medium.

value = 1;
PrefSetPreference(prefAlarmSoundVolume, value);

- this also sets it to Medium

value = 0;
PrefSetPreference(prefAutoOffDuration, value);
- this sets it to Off.  This also is OK.


(ii) How do you set the Overall Sound preference as seen on the "Prefs -
General" screen.

(iv) Why doesn't this function call seem to succeed? (atleast on Emulator -
I know it doesn't have an IR beam but I can set it manually)

UInt32 value = true;
PrefSetPreference(prefBeamReceive, value);

So, does this call not work for me.

value = 1;
PrefSetPreference(prefAutoOffDuration, value);


- Srinivas


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




RE: Preventing Hotsync on Symbol SPT 1700

2000-05-11 Thread Srinivas Mogalapalli

prefs - buttons - hotsync - set 'modem' or 'serial' to your app name.


-Original Message-
From: Steve Branin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 11, 2000 3:29 PM
To: Palm Developer Forum
Subject: Preventing Hotsync on Symbol SPT 1700



When I launch a teminal session with Hyperterminal to test serial
communications on the SPT 1700, the unit tries to do a HotSync.  I, of
course, have HotSync on my PC turned off.  Anyway, I have to cancel the
HotSync program on the unit and then can run my program and everything works
fine.  How can I prevent the unit from trying to HotSync when I dont want it
to.  This must be a standard problem with serial communication but I cant
find anything in the docs to help me solve it.  TIA for any help you can
offer.

Also, what is the address to send posts to for the Symbol Mailing List?

Steve Branin
Web Applications Engineer
Diversified Software Industries, Inc.
625 S. Gilbert St.
Iowa City, IA 52240
Phone: (319) 337-2668 Fax: (319) 351-1596
http://www.dsi-inc.net
Email: [EMAIL PROTECTED]


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

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