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.
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,
I have an ASP page that contains an A HREF tag. This will load a new page and carry some variables to the new page. What I want is that, whenever a person click the item,the prompt box comes up and ask "why are you not working item." Whatever the person types as the response, I want it to be also carried over to the new page and stored as a variable.
I think that JAVASCRIPT could achieve this, but I do not know how. Can anyone tell me the script that willl accomplish this? The information I have in the page itself is as follows:
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.
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
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?
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.
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.
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.
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.
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.
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.
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?
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?
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?
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.
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.
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?
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.
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.
How do you get a javascript prompt() box to put whatever you enter into the prompt box into a text box. So for example you would be typing in a textbox and you would want to add a word in bold, so you click the a button, a prompt box appears and then you enter the word you want in bold and then click ok and it adds it into the box where the cursor is within the box with the tags <b> </b> .
everytime i access my localhost it always prompts me to enter my user name and password....is there a way for me to access my asp page which is mssql database driven with going thru this username and password thingy?
80070002 corresponding to line18: wshell.run (name).
When I copy & paste this command to prompt it works fine. Have tried other simple commands such as ping as they work fine. Any idea what error number could be or how I could output the error the prompt might be giving. Code:
I have a problem with basic authentication. I redirect a user from a page to another. I don't want to get the NT prompt login, I want the user to be logged in automatically. I want to send the username/password to the page.
I have read something about cookies and sending username/password through the header.
With the new Windows Update 832894 it is no longer possible to use http(s)://username:password@server/resource.ext
Is there any other way to redirect to another page and pass the username and password.
IIS raises login dialog box prompt on browser for resources protected using basic authentication. That login prompt gives user 3 attempts to enter correct userid/password. IIS throw 401.1 error if third attempt fails. Does anyone know how to change this number of attempts. Is it possible or impossible to do ?
I am trying to upload a file on my web server to another website using XMLHTTP. My code logs onto the other website automatically and navigates through about 4 pages to the file upload screen.
If I were trying to post regular form data to the site it would work fine, but I have to some how mimic the <input type="file"> box and enctype="multipart/form-data" parameter of the form within the XMLHTTP post. I know I have to turn the file and other form data on my server into a binary stream and send it to the receiving website.