RE: Dialing a Fax/Modem from A UV basic program

2004-04-22 Thread Jeremy Adell
These are scripts ending with .vbs, .js run with either (command line) 
cscript.exe or (gui) wscript.exe. On server 2003, i have found that only 
privileged users can run these. Used for automated administration of the 
server. 2000 may allow it, but i would hope not. These scripts give you a 
way to automate, access, and programatically control every aspect of your 
windows server including access to networking, modems and printers.
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/script56/html/wsproarguments.asp

The best bet is to create a simple executable to connect the modem, use the 
new socket abilities of Universe 10.0 to setup a client system locally, and 
an always listening server at the remote location and just pipe the data 
over. Then the listening program writes the data to a file. kind of a hacked 
system but oh well.




> What kind of scripts?  Batch files?  I have a number of processes which
> write out and execute batch files and ordinary users can execute 
> them just fine.
> 
> -Original Message-
> From: Jeremy Adell [mailto:[EMAIL PROTECTED]
> Subject: RE: Dialing a Fax/Modem from A UV basic program
> 
> you cannot run scripts if not logged in as administrator, but it 
> would be possible to run an .exe . not sure if you know how to 
> program c++ or vb.
> 
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users


--
Government Service Automation

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: Dialing a Fax/Modem from A UV basic program

2004-04-22 Thread Jeff Schasny
What kind of scripts?  Batch files?  I have a number of processes which
write out and execute batch files and ordinary users can execute them just
fine.

-Original Message-
From: Jeremy Adell [mailto:[EMAIL PROTECTED]
Subject: RE: Dialing a Fax/Modem from A UV basic program


you cannot run scripts if not logged in as administrator, but it would be 
possible to run an .exe . not sure if you know how to program c++ or vb.

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: Dialing a Fax/Modem from A UV basic program

2004-04-22 Thread Steve Moore

Bobby,

Don't know if it will help but we utilize Net Satisfaxtion from Faxback
along with
Advancedware's AWFORMS software to fax and email documents.  We are running
Epicor's
Dataflo software but the interface is coded in Unibasic print programs.

Steve Moore
Amerex Corporation
[EMAIL PROTECTED]


This message has been scanned for viruses by Webshield E500, Groupshield for Exchange, 
and McAfee Virus Enterprise

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: Dialing a Fax/Modem from A UV basic program

2004-04-22 Thread Jeremy Adell
you cannot run scripts if not logged in as administrator, but it would be 
possible to run an .exe . not sure if you know how to program c++ or vb.


> Thanks Jeremy, faxing is done by customer service, so everyone will need
> access to this option. I am having to quickly come-up-to-speed on vbscript;
> in my free time. We can get around this feature not working for a 
> while, but not for too long.
> 
> Bobby Ramirez
> Senior Programmer
> Body Wise International
> 714-368-1260
> http://www.bodywise.com/
> 
> -Original Message-
> From: Jeremy Adell [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 22, 2004 1:58 PM
> To: U2 Users Discussion List
> Subject: Re: Dialing a Fax/Modem from A UV basic program
> 
> Bobby, on the NT system are you logged in with administrator 
> privileges when
> 
> this will be run, or as a limited user?
> If administrator, you can use 'DOS /c ' similar to the shell 
> command. This will get you away from the UV contraints.  I would not 
> recommend using a batch script, but something a little more powerful 
> like wsh scripting. you will need to know a bit about either 
> javascript or vbscript. It should give you control over everything 
> you would need in windows to do this. 'DOS /c cscript filename'. 
> Hopefully there is a simpler option though.
> 
> > I have a program i need to port to a win2k server from DG/UX. This 
program
> > generates a report that can be printed or Faxed. It dials a modem
> connected
> > to the unix server, and off goes the report. Has anyone tried a simular
> > process on an NT server?
> > 
> > My thought was to setup a Fax modem, and have the program execute a batch
> > script to dial the number, but i am not sure how to "spool" to a fax,
> >  this ring any bells with anyone?
> > 
> > Bobby Ramirez
> > Senior Programmer
> > Body Wise International
> > 714-368-1260
> > http://www.bodywise.com/
> > 
> > -- 
> > u2-users mailing list
> > [EMAIL PROTECTED]
> > http://www.oliver.com/mailman/listinfo/u2-users
> 
> --
> Government Service Automation
> 
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users


--
Government Service Automation

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: Dialing a Fax/Modem from A UV basic program

2004-04-22 Thread Karl L Pearson
Is there an easier Solution:

Faxes in Windows are installed as Printers, therefore, could you create
an alias for your Fax driver, such as FAX1 and then just write your
mvBASIC code to send to that printer. Theoretically you could then even
print to a fax from TCL using

SETPTR ,,,AT FAX1
SELECT FILE WITH 
SORT FILE  LPTR

Now that begs the question, which is why I bring this up, "How can you
then determine the phone number, etc.?" Someone has done this, right?

Karl

On Thu, 2004-04-22 at 14:58, Jeremy Adell wrote:
> Bobby, on the NT system are you logged in with administrator privileges when 
> this will be run, or as a limited user?
> If administrator, you can use 'DOS /c ' similar to the shell command. This 
> will get you away from the UV contraints.  I would not recommend using a 
> batch script, but something a little more powerful like wsh scripting. you 
> will need to know a bit about either javascript or vbscript. It should give 
> you control over everything you would need in windows to do this.
> 'DOS /c cscript filename'. Hopefully there is a simpler option though.
> 
> > I have a program i need to port to a win2k server from DG/UX. This program
> > generates a report that can be printed or Faxed. It dials a modem connected
> > to the unix server, and off goes the report. Has anyone tried a simular
> > process on an NT server?
> > 
> > My thought was to setup a Fax modem, and have the program execute a batch
> > script to dial the number, but i am not sure how to "spool" to a fax,
> >  this ring any bells with anyone?
> > 
> > Bobby Ramirez
> > Senior Programmer
> > Body Wise International
> > 714-368-1260
> > http://www.bodywise.com/
> > 
> > -- 
> > u2-users mailing list
> > [EMAIL PROTECTED]
> > http://www.oliver.com/mailman/listinfo/u2-users
> 
> 
> --
> Government Service Automation
-- 
Karl L. Pearson
Director of IT,
ATS Industrial Supply
Direct: 801-978-4429
Toll-free: 888-972-3182 x29
Fax: 801-972-3888
http://www.atsindustrial.com
[EMAIL PROTECTED]

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: Dialing a Fax/Modem from A UV basic program

2004-04-22 Thread Bobby Ramirez
Thanks Jeremy, faxing is done by customer service, so everyone will need
access to this option. I am having to quickly come-up-to-speed on vbscript;
in my free time. We can get around this feature not working for a while, but
not for too long.

Bobby Ramirez
Senior Programmer
Body Wise International
714-368-1260
http://www.bodywise.com/


-Original Message-
From: Jeremy Adell [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 1:58 PM
To: U2 Users Discussion List
Subject: Re: Dialing a Fax/Modem from A UV basic program


Bobby, on the NT system are you logged in with administrator privileges when

this will be run, or as a limited user?
If administrator, you can use 'DOS /c ' similar to the shell command. This 
will get you away from the UV contraints.  I would not recommend using a 
batch script, but something a little more powerful like wsh scripting. you 
will need to know a bit about either javascript or vbscript. It should give 
you control over everything you would need in windows to do this.
'DOS /c cscript filename'. Hopefully there is a simpler option though.

> I have a program i need to port to a win2k server from DG/UX. This program
> generates a report that can be printed or Faxed. It dials a modem
connected
> to the unix server, and off goes the report. Has anyone tried a simular
> process on an NT server?
> 
> My thought was to setup a Fax modem, and have the program execute a batch
> script to dial the number, but i am not sure how to "spool" to a fax,
>  this ring any bells with anyone?
> 
> Bobby Ramirez
> Senior Programmer
> Body Wise International
> 714-368-1260
> http://www.bodywise.com/
> 
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users


--
Government Service Automation

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: Dialing a Fax/Modem from A UV basic program

2004-04-22 Thread Jeremy Adell
Bobby, on the NT system are you logged in with administrator privileges when 
this will be run, or as a limited user?
If administrator, you can use 'DOS /c ' similar to the shell command. This 
will get you away from the UV contraints.  I would not recommend using a 
batch script, but something a little more powerful like wsh scripting. you 
will need to know a bit about either javascript or vbscript. It should give 
you control over everything you would need in windows to do this.
'DOS /c cscript filename'. Hopefully there is a simpler option though.

> I have a program i need to port to a win2k server from DG/UX. This program
> generates a report that can be printed or Faxed. It dials a modem connected
> to the unix server, and off goes the report. Has anyone tried a simular
> process on an NT server?
> 
> My thought was to setup a Fax modem, and have the program execute a batch
> script to dial the number, but i am not sure how to "spool" to a fax,
>  this ring any bells with anyone?
> 
> Bobby Ramirez
> Senior Programmer
> Body Wise International
> 714-368-1260
> http://www.bodywise.com/
> 
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users


--
Government Service Automation

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users