Print An ASP Form By Clickng Print Button On Same Page

i make a data display page, its showing all records, now i want user just press print button, and that print all data on screen, secondly user input 2 dats From ..... To......, so data in between that day will print,

View Replies


ADVERTISEMENT

Submit And Print Button

Is it possible to have a form's SUBMIT button perform two different functions? For instance, to prevent a user from having to perform an extra step, I would like the SUBMIT button to both submit information to the database as well as print the form. Can this be done?

View Replies View Related

Wscript.Shell Run PRINT And NET PRINT Returns Nothing

No error or any feedback that I can work with.

Code:
set objShell = Server.CreateObject("WScript.Shell")

objShell.Run "%comspec% /c NET PRINT GarchiveISLaser[color=blue]
>c:WUTempPrinter_Status1.txt", 0, True[/color]
objShell.Run "%comspec% /c PRINT /d:GarchiveISLaser c:WUTemp est.txt",
0, True

Set objShell = nothing

I can run these commands successfully from the command-prompt on the server
but from an ASP page, I get nothing not even an error. The Text output for
NET PRINT is a blank text file.

I feel something is different on the permissions side because this
code/approach use to work fine.

View Replies View Related

EMULATE THE PRINT SCREEN COPY BUTTON

I would like use the Print Screen Button to copy a part of page using ASP.

En fact, I use a data access page of a chart (pivot)created by access. And I would like copy only the chart.

I think the easiest way is to use a Print Screen Button of keyboard.

Some body could help me to found a solution to control this button using ASP.

View Replies View Related

Self.print Without Browser Print Prompt

When I use self.print the browser launches the print prompt, then I have to manually press print... DOes anyone know how to get around this.

View Replies View Related

Web Print Form Image

My ASP.Net page displays an image file of some application form, legal size. When I choose to print the page, only parts of the form got printed----missing the fields at far left and bottom. It might be possible to adjust the image size when it is saved. But would it be possible to do that from the ASP.Net page?

View Replies View Related

Print Page...

how can i print the current page when i click the print button in this page??

View Replies View Related

Print Page

If I put a link on my webpage that says click here to print page. How can I get the print code to specifically print only the information between a specific <TD></TD> tags? See cause if I just let it print the whole page it is all messed up cause it is too big to print on one page.

View Replies View Related

Print Page

My other concern is that I want to print a ASP web page which takes
some parameters from the current page. How can I print that page
directly without opening it

View Replies View Related

Print Out A Particular Page

If i make a table using a query on a web page.How can i make that web page print to the printer without having to make the user click on file print etc?Is there a way to do this?

View Replies View Related

Print ASP Page

The submission is tomorrow and I am facing problem with printing?My question is how to create a printable version using ASP…

Notice that the data are coming from SQL query Access database.I would like to take transfer specific data to printable version form..

View Replies View Related

Print A Page

how to print a page which we get output from a database table. help me in giving source code for printing a page in asp.

View Replies View Related

Print Two Page List

I have a list that has two pages or more. How to print all the pages
clicking a print button? Right now, it just prints the screen using the
following.

<input type='button' class='button' value='Print'>

View Replies View Related

Print At Foot Of The Page

I need to generate a report from my Asp.

The requirement is, I need to print a disclaimer text, it contains some chinese characters also. This text is like copy right information. This text needs to be always come at the foot of the page.

The report can be in html/pdf/rtf format.

When I try with pdf/rtf by setting the text in footer.
I am struking with chinese characters.

View Replies View Related

Print PDF From Web Page, Without Opening?

I'm on a project for a government application. For a given domain object, there is a report that is pre-generated, converted to PDF, and stored in the database.

The client wants to have a list of these domain objects, each one with a print icon at the end (which is already done).

The problem is when they click on the print icon, a postback is acceptable, but basically they want to hit the database, download the PDF, stream it to the browser, and print it, all without any pop-ups.

In short, other than the blink of a page for a post-back, they want Win App functionality of clicking print, and a PDF printing without any other interaction (downloading the PDF, file-> print, etc).

Since its a PDF, I know this isn't possible with Javascript. I have no experience with ActiveX whatsoever, so I was hoping for advice on whether this was completely impossible, and the level of effort involved.

I think its impossible, but I want to at least say I've done my homework before I tell the consultant that who thinks it can be done.

View Replies View Related

Print This Page Script

i am looking for something which is not entirely the following:

<input type="button" value="Print" Onclick="print()" ;>

<a href="javascriptrint()">Print</a>

i wanted to have a [ print this (friendly version) ] page that would display the content separately and then the user could print the page using the above script.

View Replies View Related

Print Included Page To Pdf

I have a pretty complicated site written in ASP (it's not live yet, so I really do not want to post a url). On one of my pages, I have a header, the top area, and then the middle area which changes when I click on different links, but the url remains the same.

I need to figure out how to print the middle area. When I just do a print page, it doesn't come out formatted correctly at all. I've been playing around with printing/converting to PDF, which works well, except that most pdf components expect a URL to print, and in this case my url is generic..it doesn't point to a specific page.

View Replies View Related

Print Page With Javascript

I display an HTML Report on the screen and have a print button on the page. The print button uses the following JavaScript code.

onClick="window.print()"

Works great except it displayed the print dialog box and the user must hit the print button on the diaglog box to print the report. Is there any way to print the Web Page directly without displaying the Print Dialog Box?

View Replies View Related

Prompt To Print Page

Is it possible to prompt the user to print an asp page? For example, in this instance, I have created a job logging and monitoring system. At the completion of the job, I would like the user to be prompted if they want to print the job. If they say yes then the page is printed.

View Replies View Related

Print Page Without Loading

While not rs.eof
<td><%=rs("InvoiceNo")%></td>
<td><%=rs("Name")%></td>
<td><a href="InvoicePrint.asp?WInv=<%=rs("InvoiceNo")%>"></a></td>
<td>Print this invoice</td>
rs.MoveNext
Wend

Now user needs to click the link to open the invoice, and then select File--Print from the menu to print it out, and then return back to print another. As the table is very long, they need to scroll again to find the next one.

I want to make the user more comfortable, that they simply click the "Print" button in the end of the row, without opening the page, print the invoice no they want. Is it possible?

View Replies View Related

Print 3 Tabular Records Per Page

Is it possible to print multiple records wherein there should be 3 records per page.Once the supervisor logged-in, there's a link where he can print all the records of his subordinates. Currently I have a print.asp file which gets all the data and arranged in aparticular format.

I've created a tabular form(interface) with proper arrangement of data. How can I set such condition, wherein there's only 1 form, but it should be printed on the paper depends on the # of records (3 tabular form per page, where 3 tabular form = 3 records of different people)? Is it possible? Do I have to make 3 tabular forms? If I'm going to do this how will I select or use the recordset?

View Replies View Related

Print From ASP How To Break The 400 Lines Page

I have to make a print page that have 400 lines. How to break it in few pages? How to contrl it?

View Replies View Related

Printing - Large Image Starts To Print On Second Page

I have an ASP page with a header (title) and a long image. I get the image name from the database and write out the image's "src" attribute using response.write. Easy stuff. But when I print the page using Internet Explorer, the header prints on the first page, but the image shows up on the second page. (the image is too large to print on one page) Is there any way to force the image to start printing right underneath the header and not go to the second page? I've looked into CSS to see if I can force this somehow. No luck. If I make the image smaller, it prints on first page. But I don't want to do that.

View Replies View Related

Printing Web Page Without Using Javascript Command Window.print()

I want to print a complete asp page without using Javascript command window.print(). I want to print current web page in backgroud withot displaying printer dialog. Can you give me some information.

View Replies View Related

Print Content Of An ASP Page To Acrobat PDF Destiller And Send PDF To Browser

I have an ASP page, whisch generates dynamic report for a SQL server DB.
Now the users want to have the content in PDF format (not HTML page). The
server machine had "adobe acrobat destiller" installed.

How can I print the content of this ASP page to acrobat PDF destiller and
send PDF file to browser?

View Replies View Related

Printer Friendly Page :: Directly Print The Content From Textbox Data

how to print the content of a multiline textbox without taking the content to some other "printer friendly" page. I just wanna send whatevers in the textbox directly to the printer.

View Replies View Related

Page Size In Print Page

I write a page in HTML ,user can print it I want to fix page size in
print page set up to (legal) that doesn't need user every time change
option how I can do this.

View Replies View Related

Print ASP From SQL

I have ASP statements stored in SQL and want to run them on an ASP page. I am printing the data onto the page using ASP, but the ASP code that comes from SQL just appears as actual text. For example, it appears as:

<a href="<%request.redirect("http://www.yahoo.com")%>">Yahoo</a> Rocks

instead of just the link: Yahoo Rocks

Any idea of how to run the ASP scripts from SQL, yet still print out the text around it plainly?

View Replies View Related

Print

I am developing an Intranet application for a business. I would like to be
able to print out certain bits of information just as regular applications
do. I realize that this is a little more difficult, and after doing
research it seems that the best way to print is to use JavaScript's
"window.print();" command.

The only problem I have with this is that

#1 - it prints the address and date at the bottom of the page
#2 - it prints the page numbers at the top of the page.

Is there any way around this (without having to alter IE's configuration)?
Or perhaps do I need to approach printing in another way? Perhaps VBScript?

View Replies View Related

No Print

Is there such a thing as putting some code on a page that makes it so noone could print out that page? Maybe something that disables the browsers print function or something?

View Replies View Related

Print

How to print in asp or how to use Crystal report in visual Interdev or frontpage?

View Replies View Related

Print A Pdf

I have a problem opening a file with ADODB.Stream when <HTML> exists on the same page

here is the code I use :....

View Replies View Related

Print Into A4

i seem to have a problem printing my timesheet to make it fit into a a4 paper. is there a way to have it to print using ASP but force it to print in a4 landscape.I have tried using my printer settings and force it to landscape,but the whole table and font comes out really big and makes it continue to print to another page.

I have also tried to use the printer settings to print into A4 or even print to 60% of the size, but still cannot. Even though the data is not really long it goes to another page.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved