473,513 Members | 2,266 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Print without saving as file

3 New Member
Hello,
I'm a very beginner in Javascript and sorry if my question sounds stupidly.
I want to print a page without showing the print window and without saving the page as a file. I want the user only to click a button and the page to be printed on the default printer. Is it possible?
Jun 10 '07 #1
6 2131
mrhoo
428 Contributor
Not with javascript.
Jun 11 '07 #2
dmjpro
2,476 Top Contributor
Not with javascript.
These r under the Web-Browser.
So these r not possible with JS.

Kind regards,
Dmjpro.
Jun 11 '07 #3
PetyaNic
3 New Member
Thanks.
But does anyone know how can i do this?

I'm having a web site with .NET C# and I want to make some reports and then print them only with clicking a button.
And also there is a problem that sometimes they can be several pages.How can I control not to be cut in the middle of a row.
Jun 11 '07 #4
pankil
2 New Member
Thanks.
But does anyone know how can i do this?

I'm having a web site with .NET C# and I want to make some reports and then print them only with clicking a button.
And also there is a problem that sometimes they can be several pages.How can I control not to be cut in the middle of a row.

Hi,
I want same thing if you got solution please send me
Jun 12 '07 #5
acoder
16,027 Recognized Expert Moderator MVP
Thanks.
But does anyone know how can i do this?

I'm having a web site with .NET C# and I want to make some reports and then print them only with clicking a button.
And also there is a problem that sometimes they can be several pages.How can I control not to be cut in the middle of a row.
This is probably possible with ActiveX, but that's not Javascript and it would only work in IE. What's wrong with the print dialog box anyway? It just allows the user to confirm the print.
Jun 12 '07 #6
PetyaNic
3 New Member
I don't want to have a print dialog because the documents will be printed very often
So it will not be appropriate to see every time the dialog and again click the print button.
May be I will look for Active-X.
Thanks :)
Jun 16 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

9
4406
by: hari krishna | last post by:
hi, I want to send the data from dataset information to Excel through ASP.Net. there will be no XL installed on web server. web server is win 2000 server machine. I am using visual basic code in...
6
6428
by: Mark Denardo | last post by:
My question is similar to one someone posted a few months back, but I don't see any replies. Basically I want to be able to have users upload photos and save them in a database (as byte data)...
8
8545
by: Lucas | last post by:
I need print a file in binary mode . f = f.open('python.jpg','rb') bytes = f.read() f.close() print(bytes) I can't get any binary code.
1
1880
pankil
by: pankil | last post by:
Hello, I'm a very beginner in Javascript and sorry if my question sounds stupidly. I want to print a page without showing the print window and without saving the page as a file. I want the user...
1
11450
by: kirkus84 | last post by:
I am currently trying to do a multiple record mail merge through a query via a command button on a form. The query basically displays customers who have said yes to privacy. The user inputs a date...
4
2439
by: foal11 | last post by:
Hi all, My problem is that I have generated a text file on unix which I want to print on a neoware(Neolinux) box. The problem is that the line length is 2 big so when I print it the text is...
2
1590
by: foal11 | last post by:
Hi all, My problem is that I have generated a text file on unix which I want to print on a neoware(Neolinux) box. The problem is that the line length is 2 big so when I print it the text is...
6
3344
by: Karl | last post by:
Hi all, It may seem like a rather odd request (or not) but I would like to be able to create a file (doc, jpg, xls or one of many other files that can be automated) on a website and stream it to...
10
9096
by: Snoopy33 | last post by:
I have a DB that I developed on access XP (2002) and deployed over a year ago. No one has had problems printing any of the reports within the DB until we started loading 2007 on new computers. ...
0
7171
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7388
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7111
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5692
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5095
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3240
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3228
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1605
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.