Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"It's what you learn after you know it all that counts." -- John Wooden


devel / comp.lang.xharbour / Re: LPT1 on Windows 11

SubjectAuthor
* LPT1 on Windows 11Dan
`* Re: LPT1 on Windows 11Marco Boschi
 `* Re: LPT1 on Windows 11info sys
  `- Re: LPT1 on Windows 11dlzc

1
LPT1 on Windows 11

<tq5s7t$36kv5$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17181&group=comp.lang.xharbour#17181

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: webmaster@appliserver.com (Dan)
Newsgroups: comp.lang.xharbour
Subject: LPT1 on Windows 11
Date: Tue, 17 Jan 2023 11:11:06 +0100
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <tq5s7t$36kv5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 17 Jan 2023 10:11:09 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="bec187baeafe0f3431dff77798c76457";
logging-data="3363813"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Y29rYLZLadqfdlzXKsVH1"
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:3ep/ABJKAXvOOZuTam5LqZ2KPCQ=
 by: Dan - Tue, 17 Jan 2023 10:11 UTC

Hi all,
after upgrading the OS to Windows 11 a customer of mines was not able
anymore to print to LPT1 from the (old) program made with xHarbour (and
GTWVW).
The LPT1 is a networked printer (an Epson dot matrix). The mapping is
OK, f.e. a simple dir>LPT1 prints regularly, and is managed by a batch
that maps the printer and start the program (net use... etc).

The program instead does not print. It uses a simple SET PRINTER TO LPT1
Happily, a file prn.prn is created, with the desired output.
So the workaround could be to shell a COPY prn.prn LPT1 after the
printing (ugh).
I also tried SET PRINTER TO TEST.PRN and the result is an empty TEST.PRN
and again the file prn.prn containing the desired output.

Anybody experienced the same issue? From Microsoft docs it appears that
some versions of Windows do have a bug related to the direct printing to
a networked printer.
Dan

Re: LPT1 on Windows 11

<3891801a-1f36-4952-bd49-83b1c38402d1n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17182&group=comp.lang.xharbour#17182

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:5c14:0:b0:3a8:2e9f:6ae9 with SMTP id i20-20020ac85c14000000b003a82e9f6ae9mr72152qti.293.1673964204410;
Tue, 17 Jan 2023 06:03:24 -0800 (PST)
X-Received: by 2002:a25:cf08:0:b0:6f7:dc52:d2cc with SMTP id
f8-20020a25cf08000000b006f7dc52d2ccmr500937ybg.292.1673964204176; Tue, 17 Jan
2023 06:03:24 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Tue, 17 Jan 2023 06:03:23 -0800 (PST)
In-Reply-To: <tq5s7t$36kv5$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=185.55.90.130; posting-account=_oyAawkAAAAkDmcMkD9UQrwxJqiaol5l
NNTP-Posting-Host: 185.55.90.130
References: <tq5s7t$36kv5$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3891801a-1f36-4952-bd49-83b1c38402d1n@googlegroups.com>
Subject: Re: LPT1 on Windows 11
From: info@marcoboschi.it (Marco Boschi)
Injection-Date: Tue, 17 Jan 2023 14:03:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2284
 by: Marco Boschi - Tue, 17 Jan 2023 14:03 UTC

Il giorno martedì 17 gennaio 2023 alle 11:11:11 UTC+1 Dan ha scritto:
> Hi all,
> after upgrading the OS to Windows 11 a customer of mines was not able
> anymore to print to LPT1 from the (old) program made with xHarbour (and
> GTWVW).
> The LPT1 is a networked printer (an Epson dot matrix). The mapping is
> OK, f.e. a simple dir>LPT1 prints regularly, and is managed by a batch
> that maps the printer and start the program (net use... etc).
>
> The program instead does not print. It uses a simple SET PRINTER TO LPT1
> Happily, a file prn.prn is created, with the desired output.
> So the workaround could be to shell a COPY prn.prn LPT1 after the
> printing (ugh).
> I also tried SET PRINTER TO TEST.PRN and the result is an empty TEST.PRN
> and again the file prn.prn containing the desired output.
>
> Anybody experienced the same issue? From Microsoft docs it appears that
> some versions of Windows do have a bug related to the direct printing to
> a networked printer.
> Dan

Dan,
do you set this before to launch the program?

NET USE LPT1: \\server\printer

Re: LPT1 on Windows 11

<c105c828-85d1-4b0a-ae4c-29aa52bc6831n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17309&group=comp.lang.xharbour#17309

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:a10:b0:746:7a30:7469 with SMTP id i16-20020a05620a0a1000b007467a307469mr911557qka.11.1679507423781;
Wed, 22 Mar 2023 10:50:23 -0700 (PDT)
X-Received: by 2002:a25:8712:0:b0:b3d:c59:4d26 with SMTP id
a18-20020a258712000000b00b3d0c594d26mr411737ybl.5.1679507423401; Wed, 22 Mar
2023 10:50:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Wed, 22 Mar 2023 10:50:23 -0700 (PDT)
In-Reply-To: <3891801a-1f36-4952-bd49-83b1c38402d1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=207.179.158.245; posting-account=tCrSPwoAAAAXY5bYtX-iySIGAKJm7JXD
NNTP-Posting-Host: 207.179.158.245
References: <tq5s7t$36kv5$1@dont-email.me> <3891801a-1f36-4952-bd49-83b1c38402d1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c105c828-85d1-4b0a-ae4c-29aa52bc6831n@googlegroups.com>
Subject: Re: LPT1 on Windows 11
From: infosystestuser@gmail.com (info sys)
Injection-Date: Wed, 22 Mar 2023 17:50:23 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 38
 by: info sys - Wed, 22 Mar 2023 17:50 UTC

On Tuesday, January 17, 2023 at 10:03:25 AM UTC-4, Marco Boschi wrote:
> Il giorno martedì 17 gennaio 2023 alle 11:11:11 UTC+1 Dan ha scritto:
> > Hi all,
> > after upgrading the OS to Windows 11 a customer of mines was not able
> > anymore to print to LPT1 from the (old) program made with xHarbour (and
> > GTWVW).
> > The LPT1 is a networked printer (an Epson dot matrix). The mapping is
> > OK, f.e. a simple dir>LPT1 prints regularly, and is managed by a batch
> > that maps the printer and start the program (net use... etc).
> >
> > The program instead does not print. It uses a simple SET PRINTER TO LPT1
> > Happily, a file prn.prn is created, with the desired output.
> > So the workaround could be to shell a COPY prn.prn LPT1 after the
> > printing (ugh).
> > I also tried SET PRINTER TO TEST.PRN and the result is an empty TEST.PRN
> > and again the file prn.prn containing the desired output.
> >
> > Anybody experienced the same issue? From Microsoft docs it appears that
> > some versions of Windows do have a bug related to the direct printing to
> > a networked printer.
> > Dan
> Dan,
> do you set this before to launch the program?
>
> NET USE LPT1: \\server\printer
I have the same problem. prn.prn file is created.
The necessary share that Marco mentioned is mapped, but it does not make a difference. In earlier Windows, no prn.PRN file is created regardless of mapped share.

Re: LPT1 on Windows 11

<05d86671-5f2f-4002-ac50-d52b62d45df9n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17310&group=comp.lang.xharbour#17310

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:622a:181e:b0:3dc:8b51:31dc with SMTP id t30-20020a05622a181e00b003dc8b5131dcmr2465250qtc.4.1679586473207;
Thu, 23 Mar 2023 08:47:53 -0700 (PDT)
X-Received: by 2002:a81:ed11:0:b0:544:d154:fd3c with SMTP id
k17-20020a81ed11000000b00544d154fd3cmr2117978ywm.1.1679586472960; Thu, 23 Mar
2023 08:47:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 23 Mar 2023 08:47:52 -0700 (PDT)
In-Reply-To: <c105c828-85d1-4b0a-ae4c-29aa52bc6831n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=68.107.209.13; posting-account=7bF0GwoAAABMFHX6V4fON4-1F6LFJ834
NNTP-Posting-Host: 68.107.209.13
References: <tq5s7t$36kv5$1@dont-email.me> <3891801a-1f36-4952-bd49-83b1c38402d1n@googlegroups.com>
<c105c828-85d1-4b0a-ae4c-29aa52bc6831n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <05d86671-5f2f-4002-ac50-d52b62d45df9n@googlegroups.com>
Subject: Re: LPT1 on Windows 11
From: dlzc1@cox.net (dlzc)
Injection-Date: Thu, 23 Mar 2023 15:47:53 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1519
 by: dlzc - Thu, 23 Mar 2023 15:47 UTC

I don't know if this will be of any help, but:

https://learn.microsoft.com/en-us/troubleshoot/windows-server/deployment/enable-plug-play-for-parallel-port-devices

https://learn.microsoft.com/en-us/windows-hardware/drivers/parports/installing-parallel-ports-and-devices

.... they are at least current.

David A. Smith

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor