How to set printer orientation

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dev.developer89
Forum Newbie
Posts: 2
Joined: Thu Jan 20, 2011 6:19 am

How to set printer orientation

Post by dev.developer89 »

Hello Everyone,

Can anyone tell me how to set a printer orientation. I need to send my page in landscape orientation rather then default portrait.

Regards
Peter Kelly
Forum Contributor
Posts: 143
Joined: Fri Jan 14, 2011 5:33 pm
Location: England
Contact:

Re: How to set printer orientation

Post by Peter Kelly »

You cant set printer options via PHP you can open the printer console using javascript.
dev.developer89
Forum Newbie
Posts: 2
Joined: Thu Jan 20, 2011 6:19 am

Re: How to set printer orientation

Post by dev.developer89 »

No i don't think so we can't change the printer default option using php and javascript
Post Reply