I hare a asp page which is use as a report. I have a print button so user can print this page. I use javascript window.print function. Is there any way that I can set the page orientation like landscape so all the time it print this report into landscape format.
i am printing a page from ASP using javascript Window.print(); but am having a problem in page breaking i.e. last 1 or 2 lines print in 2nd page but I want to print entire contents in one page.How do i customize page break.
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 would like to pop up a window, that will fill with the data from the parent window, via a post and print the screen then close the window again. I tried js but it was printing the screen before the asp was loaded.
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?
I'm trying to implement a page that automatically prints a page using javascript. It brings up the dialogue box for print, however I need it to print another page that I don't want the user to see. The only page they see is "Printing in progress" and redirects to the start of the application.
how I would automatically print another page without displaying it, and automatically setting it to landscape mode?
I have a child window that has a button to close it. I would like the parent window to be refreshed (since action taken in the child would change the values in the parent). The code I have works, but I get that "Retry" popup... I would like to bypass that. Any suggestions? Code:
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 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.
1. I have a form, with a textbox and a button. I have to enter a value in the text box and then i have to click the button, which opens a popup window. Here i want to pass the value of the text box which is entered in the parent window to popup window.
I have to use that value in the popup window's form_load event in the Code behind, and i have to take the values from the database using the value which i have entered in the parent window. Code:
I want to provide a lookup facility for users to select a code from a list. I want this to be done in a small popup window, which, when a code is selected, will close down and return the selected value to the main form. Can this be done ??
I'am not familiar wit ASP but I have to maintain an application. In a window there are some text selection fields and a search button. If you press on the search button record list is build according to what is filled in the selection fields. You can select a record and then a detailed window is shown or in another occasion a popup window is shown.
The request is now if the opened window or popup window is closed, then the opener window has to be opened with the same content (content selection fields + record list) as it was before the window or popup is opened.
Now I thought that I have read that every window which is opened gets an ID and that it is possible to call up that window by the ID from the cache again. Is that right? And if so? Or has somebody a better idea. Code:
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:
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?
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?
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.
I am trying to implement a printing to file solution of a html page on the server. What I have is a form with a IE control that loads the page I want to print to.
I am using execWB command for printing. Printer's port is set 'To file'. Everything works fine when I am running that component from a desktop apps. But when I call that component from an asp page nothing is happening. I dont see any dialogs popping up on the screen. BTW, if I print to a printer works fine either.
We have LOADS of documents scanned to PDF format, stored in SQL tables.Allowing a client to browse our ASP driven site to select and view individual PDFs has been no problem. ("index" table is queried to show list of available PDFs, user clicks a link in the list, PDF reader shows the document in a new window.) Now, they would like a feature that would PRINT (at their location) batches of documents via the website, preferablely with a single click.
I would like to have a PRINT button on my page, that redirects to another page which is more printer friendly. I am pulling the content of a database (msAccess) into the initial page, and want that content to carry accross..
Here is an example of the page http://www.australie-voyages.com/en...-tours.asp?id=8
I'm having problems printing to the page. When the user click on the print button it is suppose to print the document to the page and it's not. What am I doing wrong? Code:
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
Im trying to print a report from a web service. When the web service is called, a message "invalid logon" appear. The following code is the code used to print the report: Code: