dbTalk Databases Forums  

Re: Will This Work

comp.databases.paradox comp.databases.paradox


Discuss Re: Will This Work in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rodney Wise
 
Posts: n/a

Default Re: Will This Work - 07-19-2007 , 12:31 PM






Dick,

Have you tied this?

Go to this link:
http://www.ars-florida.com/PDOXboard/

Read article # 56 "Capture Printer Port in XP"

NOTE: You should be able to program the shell command to execute within your
PAL code behind the scene.


--
....
`·.¸¸.·´¯`·.¸¸.·´¯`·-> rodney



Reply With Quote
  #2  
Old   
Rodney Wise
 
Posts: n/a

Default Re: Will This Work - 07-19-2007 , 12:34 PM






NOTE: This might not work on XP "Home" edition. If it does, please let us
know.



--
....
`·.¸¸.·´¯`·.¸¸.·´¯`·-> rodney



Reply With Quote
  #3  
Old   
Steven Green
 
Posts: n/a

Default Re: Will This Work - 07-19-2007 , 01:06 PM




Rodney.. you can't "NET USE" on a stand-alone XP machine.. doesn't matter if
it's Home or Pro..

--
Steven Green - Waldorf Maryland USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards

"Rodney Wise" <NSpamPlease_rodney1 (AT) bellsouth (DOT) net> wrote

Quote:
Dick,

Have you tied this?

Go to this link:
http://www.ars-florida.com/PDOXboard/

Read article # 56 "Capture Printer Port in XP"

NOTE: You should be able to program the shell command to execute within
your PAL code behind the scene.


--
...
`·.¸¸.·´¯`·.¸¸.·´¯`·-> rodney





Reply With Quote
  #4  
Old   
Steven Green
 
Posts: n/a

Default Re: Will This Work - 07-19-2007 , 01:08 PM



Dick.. there is no "LPT" port on XP, and you can't use NET USE unless you're
really sharing.. you have to do exactly what you're doing.. kick the report
out to file, open it in wordpad or word, print from there.. it's a real
PITA..

--
Steven Green - Waldorf Maryland USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards

"Dick Reuben" <dickre (AT) comcast (DOT) net> wrote

Quote:
I'm using Pdox Dos on a Win XP Home machine. Both of my printers are
connected thru USB ports so I have to print to file and then bring the
file into Wordpad to print 'em.

Could I create a copy of one of them connected to LPT1 and then print
to it?

If that would work, I'd do it with my Brother HL-2040 Laser. Can you
tell me wha setup I'd need to use?



Reply With Quote
  #5  
Old   
Rodney Wise
 
Posts: n/a

Default Re: Will This Work - 07-19-2007 , 01:51 PM



What if you install NetBIOS? (which isn't installed by default).... then
"Share" the USB printer.


--
....
`·.¸¸.·´¯`·.¸¸.·´¯`·-> rodney



Reply With Quote
  #6  
Old   
Rodney Wise
 
Posts: n/a

Default Re: Will This Work - 07-19-2007 , 02:01 PM



How about trying this:
http://geekswithblogs.net/dtotzke/articles/26204.aspx



--
....
`·.¸¸.·´¯`·.¸¸.·´¯`·-> rodney



Reply With Quote
  #7  
Old   
Steven Green
 
Posts: n/a

Default Re: Will This Work - 07-19-2007 , 02:43 PM



maybe, but probably way to non-standard, and too techie, for most people..

--
Steven Green - Waldorf Maryland USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards

"Rodney Wise" <NSpamPlease_rodney1 (AT) bellsouth (DOT) net> wrote

Quote:
What if you install NetBIOS? (which isn't installed by default).... then
"Share" the USB printer.


--
...
`·.¸¸.·´¯`·.¸¸.·´¯`·-> rodney





Reply With Quote
  #8  
Old   
Steven Green
 
Posts: n/a

Default Re: Will This Work - 07-19-2007 , 02:44 PM



cool.. yes, that's something that most of us forgot.. still too techie for
many others, but way cool.. I'm gonna try it over the weekend..

--
Steven Green - Waldorf Maryland USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards

"Rodney Wise" <NSpamPlease_rodney1 (AT) bellsouth (DOT) net> wrote

Quote:
How about trying this:
http://geekswithblogs.net/dtotzke/articles/26204.aspx



--
...
`·.¸¸.·´¯`·.¸¸.·´¯`·-> rodney





Reply With Quote
  #9  
Old   
Steven Green
 
Posts: n/a

Default Re: Re: Will This Work - 07-19-2007 , 03:05 PM



Quote:
Now I'm really confused. When I first installed the printer, LPT`1 was
the default port...I had to select USB. I don't understand your statement
about "no LPT port".

sorry.. bad explanation.. there's no LPT to capture, from DOS, because
there's really no DOS on an XP..

--
Steven Green - Waldorf Maryland USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards

"Dick Reuben" <dickre (AT) comcast (DOT) net> wrote

Quote:
On Thu, 19 Jul 2007 14:08:13 -0400, "Steven Green"
greens (AT) diamondsg (DOT) com> wrote:

Dick.. there is no "LPT" port on XP, and you can't use NET USE unless
you're
really sharing.. you have to do exactly what you're doing.. kick the
report
out to file, open it in wordpad or word, print from there.. it's a real
PITA..

Now I'm really confused. When I first installed the printer, LPT`1
was the default port...I had to select USB.

I don't understand your statement about "no LPT port".




Reply With Quote
  #10  
Old   
Rodney Wise
 
Posts: n/a

Default Re: Re: Will This Work - 07-19-2007 , 03:07 PM



Dick,

I think it has to do with HAL (Hardware Abstraction Layer).

Beginning with Windows NT, the OS Kernel didn't allow DOS applications to
communicate directly with the hardware... like Com and LPT ports... The HAL
intercepted these calls and managed them. The problem is that DOS
applications do not use HAL and they want to talk directly to the hardware
instead.

So, while your Windows applications can print to LPT1 and that might even be
a printer located on your USB port.... the HAL is what is actually managing
it.

In order to use a DOS application to print to the USB port, you will need
to "Capture" the USB device and assign it to LPT1 or LPT2, etc.... Now, your
DOS application can print to it.

Since XP does not give you an easy option to "Capture" a port through popup
dialogs, you will have to do it manually by shelling out to a command prompt
and using the NET USE statements...

I might be all wrong here but this is how I have understood it. If I'm
leading you down the wrong path, hopefully someone here will correct my
mistakes before they go on to become the gospel.



--
....
`·.¸¸.·´¯`·.¸¸.·´¯`·-> rodney



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.