🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3176

Re: setdefaultprinter

#3176
From: mattk
Date: Sun, 03 Sep 2006 03:29
28 lines
1824 bytes

you must assume the person has specific reasons for doing this - and nobody 
ever said anything about having customers ....




"Bob Gonder" <notbg@notmindspring.invalid> wrote in message 
news:5pqgf29jd13onp8q7kf9mt1fv15mm9uqh9@4ax.com...
> "mattk" <<none>> wrote:
>
>>My program uses SetDefaultPrinter and SendMessageTimeout to switch between
>>two printers.
>
> You should not be doing that.
> It isn't very nice to mess with a user's windows settings.
>
>>The problem is I also have a TRichEdit component and I use the Print()
>>method - but it does not necessarily print to the default printer ....
>>
>>How to solve such a problem?
>
> You should ask in vcl.components.using
> They could also explain to you how to use the VCL to switch printers
> so you don't have to make your customers mad at you.
>
> 
Technical Details
Message-ID: <44fa4c27@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44f739be$1@newsgroups.borland.com> <5pqgf29jd13onp8q7kf9mt1fv15mm9uqh9@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d62b258d0db94032
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "mattk" <rain001@npcc.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <44f739be$1@newsgroups.borland.com> <5pqgf29jd13onp8q7kf9mt1fv15mm9uqh9@4ax.com>
Subject: Re: setdefaultprinter
Date: Sat, 2 Sep 2006 23:29:16 -0400
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 66.249.229.138
Message-ID: <44fa4c27@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1157254183 66.249.229.138 (2 Sep 2006 20:29:43 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail