Solved

HTML envelope

Posted on 2004-09-02
4
228 Views
Last Modified: 2013-12-25
I have an HTML envelope with a pdi report file which is created by an application that runs on a WEB server. When you click on the HTML file it brings up the browser ready to print the report. IF I know the ip address of a client, how do I send this HTML file to the client automatically after the server generates the report? Is it possible to have the client browser automatically launch to print this report?

The following is the HTML envelope, which prints the report:

<HTML><HEAD>
<TITLE>Report Viewer Control Document</TITLE>
</HEAD><BODY>
<OBJECT WIDTH=100% HEIGHT=100%
  CLASSID="CLSID:66960E23-DE25-11CF-876F-444553540000"
  CODEBASE="c:\rr\rrprview.cab#Version=2,0,0,5">
  <PARAM NAME="LanguageID" VALUE="0409">
  <PARAM NAME="ReportURL" VALUE="c:\home\FREQREPT.pdi">
<EMBED WIDTH=85% HEIGHT=85%
  CLASSID="CLSID:66960E23-DE25-11CF-876F-444553540000"
  CODEBASE="c:\rr\rrprview.cab#Version=2,0,0,5"
  TYPE="application/oleobject"
  PARAM_ReportURL="c:\home\FREQREPT.pdi">
</OBJECT>
</BODY>
</HTML>

I would prefer to use HTML code is possible, but I am open to just about anything. Hope someone out there can help.

Richard
0
Comment
Question by:richard2378
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 250 total points
ID: 11980818
The server cannot initiate a transaction with the client.  the server responds to requests from the client.  Having an IP does not help.  The IP might or might not be the actual client.  Icould be  adnamic ip, the proxy ip, and ISP or spoofed.  

There is also no guarantee the client computer is actually running.

Then on top of that you have to have some kind of application on the client listening to the port you are sending on.  A browse only listens for responses to requests it has sent.

Cd&
0
 
LVL 6

Expert Comment

by:michaelbuddy
ID: 12589313
the client would have to access it through the server.  I don't know PDI files, but if the client's apps supported opening it, they could open or download it just fine.  Or you could format it in a more web readable format perhaps with a parser.

0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question