🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TCPPWebBrowser, print, landscape (please help)

#1685
From: Giles Allen
Date: Mon, 04 Oct 2004 07:14
39 lines
2128 bytes
Thanks a lot, i'll post the code when i've done it :)

G:)

"Mark Finkle" <mark_finkle@nospam.hotmail.com> wrote in message
news:415ce68f$1@newsgroups.borland.com...
> 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: <4160f86d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.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> <415ce68f$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
Reply-To: "Giles Allen" <gallen@solartronmetrology.com>
From: "Giles Allen" <gallen@solartronmetrology.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <415ac2cd$1@newsgroups.borland.com> <415ce68f$1@newsgroups.borland.com>
Subject: Re: TCPPWebBrowser, print, landscape (please help)
Date: Mon, 4 Oct 2004 08:14:54 +0100
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 212.32.58.50
Message-ID: <4160f86d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096874093 212.32.58.50 (4 Oct 2004 00:14:53 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail