🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: USB ports - can no-one help?

#5114
From: Antonio Felix
Date: Mon, 10 Oct 2005 10:46
24 lines
1565 bytes
"David Ayre" <davidcayre@aol.com> wrote:
>
>"David Ayre" <davidcayre@aol.com> wrote:
>>
>>When printers were connected to the normal parallel port, it was
>>possible to open PRN or LTP1 as a file and write directly to it.
>>This was useful with dot matrix printers.
>>Is it possible to do this with a USB port, and if so, how would I
>>go about it?
>>
>>Thanks,
>>
>>David
>

Hi Davis,

It is possible, using the LPT1 old way, if you share the
LPT1 port with the USB one.
Set the printer pooling on the Control Panel Printer Port definition and use the old method to open the PRN or LPT1. 

HTH
Antonio
Technical Details
Message-ID: <434a4681$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!multikabel.net!feed20.multikabel.net!gatel-ffm!gatel-ffm!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <433d3dec@newsgroups.borland.com> <43456e8a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b446b45f7002f3e1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Antonio Felix" <nomail@nm.pt>
Sender: "Antonio Felix" <nomail@nm.pt>
Reply-To: "Antonio Felix" <nomail@nm.pt>
Subject: Re: USB ports - can no-one help?
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 195.245.190.94     
X-Forwarded-For: unknown
References:  <433d3dec@newsgroups.borland.com> <43456e8a$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <434a4681$1@newsgroups.borland.com>
Date: 10 Oct 2005 03:46:25 -0700
X-Trace: newsgroups.borland.com 1128941185 207.105.83.66 (10 Oct 2005 03:46:25 -0700)
Lines: 24
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!multikabel.net!feed20.multikabel.net!gatel-ffm!gatel-ffm!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail