🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1581

Re: TCPPWebBrowser, print, landscape (please help)

#1581
From: Mark Finkle
Date: Fri, 01 Oct 2004 05:03
30 lines
1748 bytes
TCppWebBrowser does not use TPrinter. Changing printer settings when using
the WebBrowser is a real pain.  MSDN has several articles on what you can
do. They are all hacks, but its the only way. Use Google to search for
"WebBrowser print settings' and you should see some MSDN articles on the
subject.

Mark Finkle

"Giles Allen" <gallen@solartronmetrology.com> wrote in message
news:415ac2cd$1@newsgroups.borland.com...
> Hi Guys
>
> i have a tcppwebbrowser object and it works ok.
> i can print from it using :
>
CppWebBrowser1->ExecWB(Shdocvw_tlb::OLECMDID_PRINT,Shdocvw_tlb::OLECMDEXECOP
> T_PROMPTUSER);
>
> thats all fine and good except i need it to default to landscape rather
than
> portrait. and i cant see any properties that affect this (it doesn't use
> TPrinter i don't think)
>
> any ideas?
>
> Cheers
>
> Giles
>
>
Technical Details
Message-ID: <415ce68f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <415ac2cd$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,2a650edaf14aa8f1
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mark Finkle" <mark_finkle@nospam.hotmail.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <415ac2cd$1@newsgroups.borland.com>
Subject: Re: TCPPWebBrowser, print, landscape (please help)
Date: Fri, 1 Oct 2004 01:03:45 -0400
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 69.162.33.46
Message-ID: <415ce68f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096607375 69.162.33.46 (30 Sep 2004 22:09:35 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail