🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: install print again

#8051
From: Sam S. Firouz
Date: Fri, 26 Nov 2004 17:38
34 lines
1980 bytes
also there is a global function called Printer() that returns a pointer to
the selected printer of type TPrinter. It has encapsulated all the
functionality you need. If you dont want VCL involved at all you can use
fopen and use "prn" as the name of the printer and just write into it.

Sam



"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:sfhcq0pkenqpohl1mj5stmqm7d3b12fi5t@4ax.com...
> Francisco navarro wrote:
>
> >    I just need Install one generic / text printer , or if it is
possible,
> >use the generic printer driver without install it, from my program, I
need
> >use it with a name I want , if there is another one in the system no use
it,
> >and if isn't one not install it.
>
> Why do you think you need that particular driver?
>
> Why not just use
> OpenPrinter
> StartDocPrinter
> StartPagePrinter
> WritePrinter   for as long as you want
> When done:
> EndPagePrinter
> EndDocPrinter
> ClosePrinter
>
>
Technical Details
Message-ID: <41a769ce$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41a5e8c0@newsgroups.borland.com> <sfhcq0pkenqpohl1mj5stmqm7d3b12fi5t@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8b222c418e17163b
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Sam S. Firouz" <sfirouz@Hotmail.com>
From: "Sam S. Firouz" <sfirouz@Hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41a5e8c0@newsgroups.borland.com> <sfhcq0pkenqpohl1mj5stmqm7d3b12fi5t@4ax.com>
Subject: Re: install print again
Date: Fri, 26 Nov 2004 12:38:30 -0500
Lines: 36
Organization: P.T.F.S.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 132.250.186.165
Message-ID: <41a769ce$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1101490638 132.250.186.165 (26 Nov 2004 09:37:18 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail