🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #148

Re: Print Properties

#148
From: Camiel Wijffels
Date: Wed, 21 Jan 2004 05:01
14 lines
1608 bytes
"Camiel Wijffels" <Remove@Me.Com> schreef in bericht
news:400d85c5@newsgroups.borland.com...
> However I seem to have solved it, by using the following construct:
>   with Printer do begin
>     PrinterIndex := ListBox1.ItemIndex;
>     SetPrinter(PChar(Printers[PrinterIndex]), nil, nil, 0);
>   end;

I thought to have solved the problem, while testing using three different
WinXP's. Now testing using Win95 I get an access violation, so this is
appearently not enough. (I already wondered that it worked in XP). Can you
help me out here?
--
Met vriendelijke groet, Camiel Wijffels
Technical Details
Message-ID: <400e1557$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <400b0645@newsgroups.borland.com> <400c4998$1@newsgroups.borland.com> <VA.0000a8c2.0062bc4e@nomail.please> <400d85c5@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,9c65616b0876a2f9
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-01-20 22:09:40 PST
From: "Camiel Wijffels" <Remove@Me.Com>
Newsgroups: borland.public.delphi.nativeapi
References: <400b0645@newsgroups.borland.com> <400c4998$1@newsgroups.borland.com> <VA.0000a8c2.0062bc4e@nomail.please> <400d85c5@newsgroups.borland.com>
Subject: Re: Print Properties
Date: Wed, 21 Jan 2004 06:01:33 +0100
Lines: 16
Organization: BluePrint
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 213.75.177.145
Message-ID: <400e1557$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074664791 213.75.177.145 (20 Jan 2004 21:59:51 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail