?
Solved

Printing and breakups of Entry Forms !!

Posted on 1999-06-28
3
Medium Priority
?
224 Views
Last Modified: 2013-12-24
Hi,
I have Frontpage '98 installed in my system and I have a big client and they have their own intranet..and they want to make a web site in which they have couple of lenghty entry forms..just a normal fill up forms with fields,check boxes and other stuff...and they want all users to fill them up and after submitting the form they want to print that form as they look like on web. so how I can do it through web i mean can I send the filled form as it is on printer ?

And second thing is all forms contains 40 to 50 fields..its a bank data actually...and no need to save..just fill and make a hard copy thats it...so how can i break the print outs of a lenghty form in couple of pieces cause its impossible to print the whole form on A4 size paper...so answer me please...

thanks.
0
Comment
Question by:zahziah
[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
  • 2
3 Comments
 

Accepted Solution

by:
lobos earned 40 total points
ID: 1867871
Try this example....it's has a print button on the page
and the statement
hello world...

you press the button and it prints....




<HTML>
<HEAD>
<script>
function print_ms()
{
var OLECMDID_PRINT = 6;
var OLECMDEXECOPT_DONTPROMPTUSER = 2;
var OLECMDEXECOPT_PROMPTUSER = 1;

//print webpage with no prompt
WebBrowser1.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER);
}
</script>
</HEAD>
<BODY>



<!ie browser object used for printing>
<Object ID="WebBrowser1" Width="0" Height="0"
ClassID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></Object>


Hello world!

<input type=button value="Print page" onclick="print_ms() "> 

</BODY>
</HTML>

0
 

Author Comment

by:zahziah
ID: 1867872
well it worked but tell me about the commands you've used..is this OLE commands ?
0
 

Expert Comment

by:lobos
ID: 1867873
Not sure what kind of response you want but the commands are used to do the proccess for the printing.(for IE)  One command is don'tprompuser which means it will print without a prompt window.
Not sure what else to say?

0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…

719 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