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
ADVERTISEMENT
Has anyone written code in COM to automatically print to a server printer. I am having trouble doing this at the moment. I want to be able to print the contents of a web browser to a PDF print driver, which will convert the web browser content into a PDF file.
I can currently print a word document by creating a word object and using its print command but cannot print browser using browser object. I'm access COM via ASP page. So just wondering if anyone has had experience in printing browser content in COM.
View Replies
View Related
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
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
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
View Replies
View Related
I am supposed to return the content value within the tags "<RESULT>SUCCESS</RESULT>". So I had code it as
<%
tmpStartPos = InStr(StrObject, "<RESULT>") + 8 '8 is the length of string "<RESULT>"
tmpEndPos = InStr(StrObject, "</RESULT>")
Set sContent = Mid(StrObject, tmpStartPos + 1, tmpEndPos - tmpStartPos)
%>
but when i try to print out the sContent value, i got nothing.
View Replies
View Related
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
View Related
I've got a bit of a problem which I need sorting. I'm creating a news system on our work intranet. The main content is entered into a textarea which most people will use as a simple text editor (carriage returns for paragraphs).
The advanced users will be able to enter HTML tags for more advanced articles (lists, character formatting etc). The problem comes when I'm rendering the text.
At the moment, I'm storing the content as it is submitted (carriage returns are stored as carriage returns, not <br>'s). When rendering the articles to the screen, I replace the carriage returns for <br>'s.
The reason I don't convert the carriage returns to <br>'s on submission is incase the content needs to be rendered for another program/platform in the future (we use all sorts of software from the same database at work so it is a possibility at the moment). Code:
View Replies
View Related
I'm using a flat text file in place of sessions to run my shopping cart. I have a couple different asps' that manipulate the session file to preform tasks like deleting items and updating quantities. The file stores one product along with the user selected options per line so it looks something like this:
product, color, qty, unit_price, selection_total |
product, color, qty, unit_price, selection_total |
...
Code:
View Replies
View Related
Our organization's web site requires a lot of content updates. I like to develop a browser based content management system in asp. I like to show my end users
exactly live format of our web site into edit mode so that they can just go there and change the text, or text within a table, or change a link. Is there any ASP component that can help me to develop this?
View Replies
View Related
I created 3 select lists :
One is a dropdown style that has options in it like : location,date,usage
Second one is a select list that I filled with value from a vbscript that get all groups on my domain.
Third one is a list that gets automatically generated when user select an option from the first one I also got 2 input button that allows the user to move item from list 2 to list 3.
Now here's the deal I want a way, maybe a button, that would circle around all the options in list3 and insert each of them in my DB. Code:
View Replies
View Related
I need to perform a task where I read PDF file on the server and send it to the client without using Redirect.
The problem is that As far as I have read ASP and VBscript does not have a support for reading binary files so I need to use external dll developed in VB but the hosting company does not Let me register the dll. I there any other way to send pdf file to the client???
View Replies
View Related
I am trying to see what people think about placing verbaige to download Adobe Acrobat on a website that utilizes PDFs. Is this still neccessary?
View Replies
View Related
how can i print the current page when i click the print button in this page??
View Replies
View Related
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
I am trying to read webpage content into a string variable to be able to search it for a pattern that I want to be able to display on another ASP page.Is there any obvious method to do this with VB script?It would be something compatible with following PHP script:
<? $fd = fread(fopen("http://www.vedur.is/vedrid/stutt_spa.html?", "r"), 100000); if ($fd) { /* $start = strpos($fd, "<unique HTML tag>">"); */$start = strpos($fd, "Veðurhorfur á landinu til kl. 18 á morgun:"); /* $finish = strpos($fd, "<unique, sem næst lokun HTML tags>"); */$finish = strpos($fd, "Næsta veðurspá er væntanleg"); $length = $finish - $start; $code = substr($fd, $start, $length); echo $code;}?>
View Replies
View Related
i have a web app whereby the content for each page is stored in the database. This content is interweaved in html and saved in the Database. As a result when teh user does a search through the app and searches for say <table it brings back everything with teh table tag in the database
Does anyone know if I can only search the text rather than the html and content in my Database.
View Replies
View Related
Is there a way to save the contents of a web page to a variable? I have some Word docs that have been saved as HTML (yuck!), but I am stuck with them. I would like to create a page that writes out the contents of the word/html document while maintaining the formatting.
View Replies
View Related