Setting Print Areas

I'm looking for a way to print a page from the browser using asp. The page generates a table with paging from an access db. I would like to be able to set up the print area so it doesn't break up the records when printed.
i.e:
--page 1
Schnuck's---Tim Rogers---210-234-5587
Schnuck's---Bill James-----210-333-0987
Schnuck's---Sam Shepard-210-213-2177
--page 2
Kroger------Betty Thomas---314-222-9987
Kroger------Ryan Anderson---314-333-7890
Kroger------Jeff Blodgett------314-2213-9888

View Replies


ADVERTISEMENT

Text Areas

I have a asp page the posts to itself, then redirects to
another page, passing all the form information in the url.
when I redisplay the form information on the next page,
the text area info from the first page is being cutoff.
It only gets the data up to the first carriage return.
eveything else is cut off

View Replies View Related

3 Text Areas

I have 3 Text Area inputs in a form and getting all the values through request.Querystring.the problem is when I submit the form, there is no action happening i.e the form is not getting submitted.But if I have 1 Text area I am able to submit the form. Is there any way I can update the information using more than 1 Text Area.

View Replies View Related

MultiLine Text Areas

I'm trying to store the results of a rather large form into an access database. The problem I'm running into is it seems that my memo slot is only holding one line of text. I.e. if the user filling out the form presses enter to move to the next line in the textarea field on the form, the asp file that saves data to the database only grabs up to that first enter. how to overcome this error or know of a faq I can read that might teach me how?

View Replies View Related

Passing Text Areas In Asp

I hav an online learning system with a questionaire that emails relative people with the results and also outputs results at end. the input is into textareas and it is being passed via
response.write<input type="hidden">

i.e all data is passed through each page to the last page. At the end only the last pages data is correct, all previous pages have only the first word.

i.e computers annoy me -on page 1

would be:

computers -by the time it gets to page 4 . Is their a restriction in VBScript for passing data more then once.

View Replies View Related

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 View Related

Displaying/placing Number Of Images In The Specific Areas

If I m using a simple code like this;

Set RS = Server.CreateObject("Adodb.Recordset")
strsql= "SELECT Images from product where status = 1 ORDER BY [Supplier]"
RS.Open strSql,Conn,3,3
If RS.RecordCount <> 0 then
While not RS.EOF
Images= RS("Images")
RS.MoveNext
WEND
RS.Close

While using this code "Images" is an array..(a collection of imagesname from the table "Product" whose status is 1). Now I have to use first 4 images at a time among these collection of Images in the different specific locations in a page in the same time.

Like Inshort (For example)....

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

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

IIS Setting To Run Asp

I am trying just to run a simple asp commands in the
Internet Explorer. ( I have windows XP)

When I run this asp lines on ASP Matrix web server it is
ok.

But, when I run this on IIS it acts like the asp engine
is not working.

I created the virtual directory and started the default
server web page but still not working.

Please let me know what else I have to do to run asp
program at IIS?

View Replies View Related

Setting The Value

I am creating an edit facility for an online showroom which I want to output the
contents of a database record into a form so it can be edited and updated by the user.
Two of the form fields are text boxes of type="file". When I try to output the value of
these filenames to the text boxes they don't appear.

I have tried outputting these in a normal text box and they output fine so it is obviously
a restriction when outputing to file type text boxes.

here is the code I am using:

<input type="file" name="file" size="50" value="<%=rs("File Name")%>">
<input name="thumb" type="file" id="thumb" size="50" value="<%=rs("Thumb Name")%>">

View Replies View Related

Setting Up IIS PWS

I am currently having problem with parsing .asp files when I tried to type http://localhost/iisstart.asp file with my new IIS local server.f I tried to open .html with my localhost server.. it is working properly, example: http://www.localhost/postinfo.html

I suspect it could be because of my firewall or the way I setup my IIS local webserver was inappropriate.

View Replies View Related

Setting Up IIS

Does anyone know about setting up IIS on WinXP? I have it installed but when I try to use it, it asks for a username and password, and I dont know what the username and passwords are. Any ideas on how to fix 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

Print From ASP

I've built a form/report for visualize the informations from database. I've used jscript code. How do for printing on the network or local printer ?

View Replies View Related

Setting Cookies

I am not able to set cookies with the domain name on a
Windows 2000 server with IIS 5.0. If I use the IP address
it works. I have another machine running IIS and I
configured them together.

View Replies View Related

Setting Up An Array

im trying to set up an array of database records. i want to be able to display all information but only display the request numbers once for each number...while displaying all seq number's associated with each request number. ex:

request # seq number instead of
500 1 500 1
2 500 2
501 1 501 1
2 501 2
3

right now, it works so that the request numbers are printed out for each seq number....i've marked the section of code where the problem is being caused...i think it's in the way im trying to set up the array. Code:

View Replies View Related

Setting Up The ASP Server ...

i'd like to make asp page which will run on my computer and other users can connect through the internet on it ...it's a simple one asp page. .. the thing is i don't know how to setup ASP server ... anyway ... Code:

View Replies View Related

Setting Img Size

I need to set the image size in the following line. When I try to set the
img to 75x75 I am getting an error. The line I'm having problems with is :

Response.Write "<a href='" & imageFilePath & strPicArray(0,x) & "'><img
src='" & thumbFilePath & strPicArray(0,x) & "'width="75" height="75"></a>"

View Replies View Related

Setting Selections

I have a dropdown box in my ASP page, which the user can select multiple values.
I can read the values out and save them to my database, but how do I make the selected values appear selected on a page when the user goes back to edit/update page?

Have tried the following JavaScript....
document.frmAccom.selAccomType.value=1,3;
document.frmAccom.selAccomType.values=1,3; ??
Doesn't work

View Replies View Related

Setting The HTMLDirectionality

How do one set the HTMLDirectionality of a Page that is using a Master Page.
Normally one would have set the 'dir' attribute of the <html> tag, but one cannot do that on the Master Page.

View Replies View Related

Setting A Referer

I am making a small ASP script to track users from an email marketing campaign. Basically the email is sent to subscribers, then when they click on an offer they are sent to a third party provider. Right now we can track how many users open the email, and how many visit the site, but we would like to track conversions.
The third party will only provide stats via referer. Is there an easy way in ASP to set a referer to a custom url during the redirection?

View Replies View Related

Setting Up An ASP Application

I have not used ASP before. Are there cookbook instructions for how to
set up an asp directory structure. It is not clear to me how I must
mark directories (virtual or physical), so they will all be considered
to be part of the same application.

View Replies View Related

Language Setting

I have no idea what would cause this because my system setting is set to English and all of my other programs that use the date and time are doing it in English but my ASP seems to be giving me the date in Italian
For example..

WeekDayName(WeekDay(Now())) = venerd́ instead of Friday.

View Replies View Related

Setting Up A New Shopping Sit

Is there anyone out there who can set up a relatively easy shopping site. I will need it for selling music cds.
This would be for about an inventory of about 2500 titles, which I have in .csv text format or MS Ecxel or MS Access but it should be database driven and easy to be maintained by a non-techie....
I was thinking of mals-ecommerce (oscommerce, I hear has been somewhat difficult), or some other ones that I've seen out there, like ezstores.net, comersus.com, cactusshop.net, or www.alanward.net/acart
Thank you very much, and please ask questions, as I am sure there is something I probably left out.

View Replies View Related

Setting Up My Web Page

I just want to know what are the setup needed to run my web page without logging in to the server? Im using Windows NT 4.0 as my server and using IIS 4.0 and Micorosoft Transaction Server.

View Replies View Related

Setting Up SciTE For ASP

I've just about got calltips and Autocomplete working for PHP in sciTE - but I can't get it to work for ASP.

Has anyone else using sciTE for ASP coding got it working?

View Replies View Related

Setting The Focus

Does anyone have some simple (non ASP.NET) code to set the focus after a button has been clicked?

View Replies View Related







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