🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How get printer port name.

#15809
From: Salvador Huertas
Date: Fri, 13 Jun 2003 10:30
9 lines
1146 bytes
I need get the printer port name giving the windows printer name. More or
less:

PortName = Func(PrinterName);

There are any function into the windows Api for do this?.

Thanks in advance!
Salvador Huertas.
Technical Details
Message-ID: <3ee9a7d5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,7fbb6fa87f367c58,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-13 03:35:24 PST
From: "Salvador Huertas" <shuertasw@ghuertasauto.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How get printer port name.
Date: Fri, 13 Jun 2003 12:30:35 +0200
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 213.96.199.100
Message-ID: <3ee9a7d5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1055500245 213.96.199.100 (13 Jun 2003 03:30:45 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail