Dear rainpruf,
I have a self-made routien written in Dbase III (DOS). It prints its
output
to the LPT1 port. I have recently purchased a HP 6310 DeskJet that
connects
to the PC via an USB cable. Does anyone know how to re-route the LPT1
port
to the USSB port assigned to the deskjet printer?
you may want to have a look at Printfil, which can automatically capture the
LPT1 output and forward it to any Windows printer.
Even without capturing the LPT1 port, you can:
SET DEVICE TO PRINT
SET CONSOLE OFF
SET PRINTER ON
SET PRINTER TO ("C:\My_Dir\My_File.txt")
....
@ x,y say ...
....
SET PRINTER OFF
SET CONSOLE ON
SET DEVICE TO SCREEN
SET PRINTER TO
Then you only have to set the "File to Check" field in the Printfil's
configuration dialog as c:\my_dir\my_file.txt to have your Dbase jobs
automatically captured and forwarded by Printfil to any Windows printer,
including the USB, virtual printers (PDF Writers, FaxModems ... ) etc.
Kind regards,
--
Davide Guolo
aSwIt s.r.l.
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.printfil.com
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.aswit.com/odbc4all
--------------------------------------------------------------