Jump to content

Controlling printer settings in browser


griffinmt
 Share

Recommended Posts

I am trying to controll the setup of a browser when printing specific types of forms. For example, many browers print the url info, page numbers etc along the header and footer of each page that gets printed. I want to temporarily override that when printing a form that uses the entire page space (eg: label pages, tax forms etc).Is there a way to accomplish this from Javascript, or even via CSS?Martyn

Link to comment
Share on other sites

Unfortunately, you can't.
Thanks for the answer, even if it isn't what I had hoped to hear!!. I suppose that it would be considered a security risk anyway. Doing this sort of thing with vb apps was quite straight forward. Thought I would get more portability with it being a browser based app, and indeed I did, just lost a few things along the way.
Link to comment
Share on other sites

There is an ActiveX control that will change those settings, but it works in IE only. Nothing else supports ActiveX.
Yep, I was familiar with using some of those when we knew the customer was 'supposed' to be using IE.But now it is just as likely Firefox and Opera. Was hoping (beyond hope) that something was available to JS on all the platforms.Thanx
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...