Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Faxing from an ASP page

Status
Not open for further replies.

bigfoot

Programmer
May 4, 1999
1,779
US
Has anyone got any ideas how I can fax from an ASP page?
I have salesman who don't have printers, so I wanted them to be able to click a button, put in a fax number, and get the form faxed to them where-ever there are.

Is this do-able?

Thanks, Gary
 
i haven't seen any fax components, but there might be some out there.

if you feel like writing an active x object or an applet/server you can probably get it done, provided you have a modem on the machine. in fact, you can probably do this with any server side language, but, it may not be worth the trouble.

 
bigfoot,

If your fax software allows faxing (either the .exe itself or your fax card's test software) you can use Windows Scripting Host (you may have to install it: directly within the web page (or you could create a .dll easily enough with VB).

The code is...
Code:
<%
  Dim objWSH: Set objWSH = Server.CreateObject(&quot;WScript.Shell&quot;)
	Dim retVal: retVal = objWSH.Run(&quot;c:\faxserver\faxsoftware.exe&quot; & &quot; /some command parameters&quot;, 7, False) 'True waits for exit False doesn't  
	
	Set objWSH = Nothing
%>

hope it helps, Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-
 
I don't have fax software. At least none loaded on the server. Is there any cheap and small fax software I could use for just this purpose?

Thanks ahead of time... The door to life is never locked, but few have the knowledge to open it.
 
You may not need it. Take a look at your fax-card's user guide. I've only worked with FaxServe and RightFax, both of which are enterprise level fax serving programs (although I hate FaxServe) so I can't really point you in the right direction. If you don't have a fax-card (IOW you have a modem), you may be able to do something as simple as set up Microsoft Fax (printer device) and send print jobs to it. If you are in the market for a fax-card the Brooktrout has a good line.

-Later, Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-
 
Thank you. I'll check it out. The door to life is never locked, but few have the knowledge to open it.
 
We use FastFax. I'm gonna call them ans see if they have a command line thing I can use. The door to life is never locked, but few have the knowledge to open it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top