473,473 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

print pages

hi,
Whenever i click the print button,the window pops up to select the
printer.Is there way that it should use the default printer
automatically. I also want to make the users to print the webpages in
landscape.

I read that there is way to do in css.
can anybody help me with this.

Thanks,
Viki
Jul 20 '05 #1
4 2161
viki wrote:
Whenever i click the print button,the window pops up to select the
printer.Is there way that it should use the default printer
automatically.
There might be. You'd have to check the documentation for your browser
or, if you want to ask in Usenet, choose a more appopriate group, e.g.,
comp.infosystems.www.browsers.*
I also want to make the users to print the webpages in landscape.
You can't make them do anything they don't want to do, unless you stand
behind them with a weapon of some sort.

http://webtips.dan.info/force.html
I read that there is way to do in css.


There are some print media rules, but support is extremely limited; I
think only Opera pays any attention to such rules. As such, I've paid
little attention to them.
--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #2
fr**********@yahoo.ca (viki) wrote:
hi,
Whenever i click the print button,the window pops up to select the
printer.Is there way that it should use the default printer
automatically.


How do you know which printer your users want to print your pages on?
--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 20 '05 #3
fr**********@yahoo.ca (viki) wrote in message news:<de*************************@posting.google.c om>...
I also want to make the users to print the webpages in
landscape.

I read that there is way to do in css.
can anybody help me with this.


This is what you read about:

@page { size: landscape; }

It will work in browsers with print capabilities which fully support
CSS2, which, as Brian notes, are very few. When I say it will work, I
don't mean it'll make the users print in landscape, but rather it'll
tell the browser that you want it printed in landscape.
Jul 20 '05 #4
Christopher wrote:
@page { size: landscape; }

It will work in browsers with print capabilities which fully support
CSS2, which, as Brian notes, are very few. When I say it will work, I
don't mean it'll make the users print in landscape, but rather it'll
tell the browser that you want it printed in landscape.


Very well said. CSS as optional is a concept hard to impress on folks.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dmitry Akselrod | last post by:
Hello Everyone, I have an almost well working Print Queue Monitoring software written. The software works quite well with typical Windows printing situations. However, there's a problem when a...
4
by: Marcos Beccar Varela | last post by:
Hello to all, I have this form with a PrintDocument named prt_doc, theproblem is that when I invoke the prt_doc.print() it only prints the las page, and not multiple pages. I Also Have a Preview...
0
by: Phil | last post by:
When I print an aspx page built in Asp.Net 2.0 (c# - Visual Studios 2005) the resulting print page is cut-off. Anything that spans too far to the right, or to far down is clipped - multiple pages...
0
by: ShaneO | last post by:
There have been similar questions raised in the past, however no answers seem to have been provided, so I thought I'd give it a go. Scenario 1: My Windows Forms app generates (say) 10 pages in a...
9
by: Scott M | last post by:
I'm printing a directory of about 500 multi-page tifs to a high speed printer and the spooler process is killing me!!! here is a little code..... Public Function PrintImage(ByVal...
5
by: Raman | last post by:
Hello friends, I want to print an ID card. I have one Windows Form that contains front and back side. The printer is printing both front and back side at a time. I am trying to send both sides...
8
by: makunag | last post by:
Didn't get answer with google and in my regular forum. Came across this site and posting here. Your help will be highly appreciated ! Our application have frames - MainNav, TaskNave and Content....
6
by: Greg Esres | last post by:
I have some text lines to print that are much longer than the width of the paper, maybe as much as 6 times. For a given page, I'd like everything that doesn't fit to print on a second page, and...
2
by: jen6575 | last post by:
Hello, I have a client who wants their website to print exactly as it looks on the screen. Yes, exactly. No hiding anything. In IE6, some pages print perfectly fine, some print fine but also...
9
by: xprotocol | last post by:
Trying to print a web page that scrolls to right a bit. I would think IE would page break by default when it gets to the end of the sheet, but it doesn't, it just cuts off the print. This only...
0
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
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
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
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 ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.