🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.install.vdbase
5 messages
5 total messages Started by fnbr Wed, 09 Dec 1998 00:00
Re: Print Capture
#35
Author: fnbr
Date: Wed, 09 Dec 1998 00:00
45 lines
1976 bytes
Thx for the reply Romain Strieff [TeamB].
Did you try CLOSE PRINTER?  Close Printer is only for set printer to
filename, not port, isn't it?
I tried it just for kicks, but doesn't release the capture (or end the print
job).
Any other ideas?
Thx,
Brian


>In article <74hfcm$8f64@forums.borland.com>, fnbr politely paraphrased...
>>
>> We recently moved our NOS to Windows NT 4.0 (clients run Win 95).
>> We have a very large library of dBASE IV 2.0 programs that we must
continue
>> to run.
>>
>> Many of the print jobs now need to start...
>> "set prin to \\domain\printer=port"
>> We are using HP DirectJet print servers, so there is no local port.  When
we
>> issue this command, it creates a print capture.  dBASE IV expects the job
to
>> end with "set prin to" command.  This crashes the local computer.  The
only
>> way to end the print job is "set prin to lpt1" as it is a valid, local
>> device.  Even if we end the print job as "set prin to nul", it crashes.
>>
>> Also, nothing seems to release the capture.  The only way is to go thru
the
>> printer set-up under Win 95 (or run net use statement).  The net use
>> statement hangs quit often.
>>
>> Is there any work-around for dBASE IV 2.0 under Windows NT to end the
print
>> job without capturing yet another port, and, truly end the capture.
>>
>Did you try CLOSE PRINTER?
>--
>Romain Strieff [TeamB]
>Please read this newsgroup guide below before
>posting on the private Inprise newsgroups.
>http://www.inprise.com/newsgroups/guide.html
>--
Re: Print Capture
#37
Author: Romain Strieff [TeamB]
Date: Thu, 10 Dec 1998 00:00
21 lines
991 bytes
In article <74lu5q$bob11@forums.borland.com>, fnbr politely 
paraphrased...
> 
> Thx for the reply Romain Strieff [TeamB].
> Did you try CLOSE PRINTER?  Close Printer is only for set printer to
> filename, not port, isn't it?
----
There's no difference between those.

> I tried it just for kicks, but doesn't release the capture (or end the print
> job).
> Any other ideas?
---
Sorry, no.

-- 
Romain Strieff [TeamB]
Please read this newsgroup guide below before 
posting on the private Inprise newsgroups.
http://www.inprise.com/newsgroups/guide.html
--
Re: Print Capture
#39
Author: fnbr
Date: Fri, 11 Dec 1998 00:00
19 lines
1314 bytes
Close Printer doesn't accomplish what we need to at the DOS level running
under Windows 95, which is the need to physically end the capture.  If I
call a dos batch file with a "net use delete LPTX", this accomplishes our
purpose but seems to eventually causes blue screen errors and lockups in
Windows.  We need a DBASE statement that physically ends the capture at a
DOS level, so that we free that port to capture to other printers.

Thnx for any help.

Romain Strieff [TeamB] wrote in message ...
>In article <74lu5q$bob11@forums.borland.com>, fnbr politely
>paraphrased...
>>
>> Thx for the reply Romain Strieff [TeamB].
>> Did you try CLOSE PRINTER?  Close Printer is only for set printer to
>> filename, not port, isn't it?
>----
>There's no difference between those.
>
Re: Print Capture
#40
Author: Romain Strieff [TeamB]
Date: Fri, 11 Dec 1998 00:00
20 lines
1294 bytes
In article <74rim4$g7618@forums.borland.com>, fnbr politely 
paraphrased...
> Close Printer doesn't accomplish what we need to at the DOS level running
> under Windows 95, which is the need to physically end the capture.  If I
> call a dos batch file with a "net use delete LPTX", this accomplishes our
> purpose but seems to eventually causes blue screen errors and lockups in
> Windows.  We need a DBASE statement that physically ends the capture at a
> DOS level, so that we free that port to capture to other printers.
----
Did you try using the Novell stuff from dBase?

!ENDCAP/ALL

and recapture it later?
-- 
Romain Strieff [TeamB]
Please read this newsgroup guide below before 
posting on the private Inprise newsgroups.
http://www.inprise.com/newsgroups/guide.html
--
Re: Print Capture
#140
Author: Angus W. Scott-Fleming
Date: Wed, 06 Jan 1999 00:00
24 lines
1475 bytes
On Fri, 11 Dec 1998 18:30:49 +0100, teamb@opto-pps.com (Romain Strieff
[TeamB]) wrote:

>In article <74rim4$g7618@forums.borland.com>, fnbr politely 
>paraphrased...
>> Close Printer doesn't accomplish what we need to at the DOS level running
>> under Windows 95, which is the need to physically end the capture.  If I
>> call a dos batch file with a "net use delete LPTX", this accomplishes our
>> purpose but seems to eventually causes blue screen errors and lockups in
>> Windows.  We need a DBASE statement that physically ends the capture at a
>> DOS level, so that we free that port to capture to other printers.
>----

I'd try

SET PRINTER OFF
SET PRINTER TO [some other port or filename]
SET PRINTER TO [captured port]

This will _probably_ re-set the printer port, telling NT to end the
capture ...

Angus Scott-Fleming [ex-TB]
GeoApplications, Tucson AZ
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads