User login

Languages

Donate

Donate for a MSI Installer Package [more]

Target:
$ 1200
Achieved:
$ 1746.88
Fees:
$ 82.2
100 %
Donate
SourceForge.net Logo

Force Landscape Printing

No replies
ihowse
User offline. Last seen 4 weeks 6 days ago. Offline
Joined: 02/07/2010

Is there a way to force Landscape printing when using similar to your URL2PDF.vbs COM sample with .cPrintURL set to a file:\\\.....?

I have tried using the following CSS in the <head> of the file:

<style type='text/css'>@page {size:landscape; margin:2cm}</style>          and

<style type='text/css' media='print'>@page {size:landscape; margin:2cm}</style>

but has no effect.

Thanks.

© pdfforge.org :: Contact us :: Sitemap :: Design by Daniela Martin

Validate XHTML or CSS.