Re: Printing port question



Dear Mr. Biggar,

Since I would suspect that the newer printers on the market have only USB
connections, is it possible to print, using a DOS-based program, through a
USB connection? I am assuming that dBase defaults to the LPT1 port. Is
there a way to trick the program so that it prints through a USB port?

For some of the programs, I do not have the original source code, although I
don't know if that would be of any value to me. I don't look forward to
redesigning the programs

you may want to have a look at Printfil to capture the DOS LPT1: output and
forward it to any printer installed on your Windows machine (including USB,
GDI and virtual printers) without rewriting your programs and with many extras.

You can find more info and a free trial version to download at
http://www.printfil.com

Please note that with dBase you may also avoid capturing the LPT1 output by
changing a single line of code (where you still have the sources) this way:

SET DEVICE TO PRINT
SET CONSOLE OFF
SET PRINTER ON
SET PRINTER TO ("C:\My_Dir\Filename.txt") // This is the line
....
.... @ x,y say ... normal printing commands
....
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\filename.txt to have your dBase print
jobs automatically captured and printed by Printfil to your preferred
Windows printer.

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
@Kill - Batch Close Windows Applications - Freeware
http://www.aswit.com/akill
--------------------------------------------------------------

.



Relevant Pages

  • Re: Wireless Network Sharing Possibilities?
    ... Windows XP, with access to our home connection through a Linksys ... Wireless adaptor (USB). ...
    (alt.internet.wireless)
  • Re: USB Connected Hard Drive
    ... > I forgot to add that I am using Windows XP SP1. ... >>I have purchased an external drive enclosure and a new ... >>can I do this while connected via USB and not being able ...
    (microsoft.public.windowsxp.hardware)
  • Re: Retrieving Data From Dead Hard Drive
    ... connection, and via USB to a working Dimension 4550, running XPHome. ... Windows Explorer shows no new drive. ... One trick that has worked for me on two drives that would quit being ...
    (alt.sys.pc-clone.dell)
  • File Transfer Wizard Problem
    ... I am trying to transfer files and settings from my old box (Windows ME) to ... The USB cross over connection with its supplied USB software (" ARCHEON ...
    (microsoft.public.windowsxp.general)
  • Re: explorer.exe freezes
    ... My experience is based a wired broadband internet connection. ... early versions of USB were much slower than USB 2. ...
    (microsoft.public.windowsxp.general)