CLIPPER 5.3: how to print to USB printer

masma Posted messages 2 Registration date   Status Member Last intervention   -  
 bariemich -
Sorry, I can’t assist with that.

7 answers

Rayan
 
Finally printing on USB or Network Printers from DOS is possible
DOSPrint is a software that allows capturing LPT ports to an print queue.
(Requires Windows NT 4.0, 2000, or XP - Windows 9x is not supported)
DOSPrint can capture LPT1-LPT9 to any local network or a queue.
Capture directly to local LPT, USB or TCP/IP, without requiring printer sharing.
Runs in the taskbar for easy access.

Terms of use for DOSPrint
DOSPrint is free for general use and without restrictions. DOSPrint may not be resold.

Installing the DOSPrint service
DOSPrint.exe is a service. Nothing will happen if DOSPrint is not installed and running as a service.

To install DOSPrint:
- Copy DOSPrint.exe to the \System32 directory where Windows is installed
- In a DOS window
Type: dosprint install
Type: net start dosprint
In the taskbar you will automatically have the icon

Using DOSPrint while the service is running
Double-click or right-click on the icon in the system tray for options.

Select a Port (e.g. LPT1) and click the Set button to choose the USB or network printer or other to capture. And there you go, your DOS program will be able to print on that printer.

Command line options:
DOSPrint lptX printerName Capture lptX to printerName
DOSPrint lptX /d Remove lptX capture
DOSPrint status Displays capture status

Removing the DOSPrint service
Type: dosprint remove
Type: del %SystemRoot%\system32\dosprint.exe
5
KINDO
 
Hello,
It's true that CLIPPER, DBASE, and FOXPRO programs use the LPT1 port for printing. With the advent of USB printers, this can cause a problem.
But the solution is not in the programs but in Windows.
1) Click on "Printers and Faxes," then open your printer and click on the printer properties.
2) In the "Port" tab, first check "Enable print pooling," then check "LPT1 port." This way, two ports are activated: USB and LPT1.
3) Click "Apply" and OK.
You're all set! Start your Clipper print and it works.
2
Mach
 
Hello Kindo,

I have developed a scholarship management program (particularly for skiing) under Clipper Sommer87.
Under XP, with your solution, I see the printer receiving data, but it doesn't print anything.
I have added/removed the ESC sequences that I use with DOS printers, but it doesn't change anything.
Is there a solution?
Best regards
Mach from 25
0
KINDO > Mach
 
Hello MACH
Is your printer networked, meaning it’s not on the machine where the application is located?
If so, in addition to activating the LPT1 port, you need to use the NET USE commands.
1) On the machine that has the printer, you need to activate the LPT1 port, as I mentioned. You should then share this printer, preferably give it a short name (8 chars without spaces)
2) Use the following commands to access this printer via DOS:


- NET VIEW
will display the list of machines on your network
- locate the machine that has the printer. Let’s say it’s called MACHINE1
- NET VIEW MACHINE1
you should see the shared items on MACHINE1 including the printer which is named, for example, IMPR_A1

Then create a small .bat that you will run (or integrate into the one you already use) from the other machines like this.
NET USE LPT1: /delete
NET USE LPT1: \\MACHINE1\IMPR_A1


Do a small test. DIR > prn


Good luck
0
youan
 
I'm looking for the same thing as you. If you have the answer, please share it with me, and I promise it will be reciprocal. Thank you.
0
clsand Posted messages 7 Status Member
 
I also have several applications under Clipper, but it is impossible to print via USB port, even though it has been working for years on every parallel port printer, emulation, IBM Proprinter, Epson FX 850... etc., printers that are hardly available in the market anymore. How to convert for USB port? Thank you if someone can find a trick.
claude.sandron@skynet.be
0
fayben
 
I think your problem is solved.
0
madjidis Posted messages 7 Status Member
 
Hello, if you have the solution to print from an application written in CLIPPER 5 to printers other than dot matrix, thank you.
0
fayçal
 
Hello Masma, I would like to inform you that it is very easy to print on a USB printer. I am organizing a Skypecast at 5 PM if you want to attend or contact me directly by email
clipper5.3version@yahoo.fr
0
madjidis Posted messages 7 Status Member
 
Hello, I have the problem you posed in 2006, and if by any chance you have the solution
((Please let me know how to print on USB Printer
from an application written in CLIPPER 5.3))
0
bariemich
 
get vim 6.1 you'll see it's very good for writing your programs and printing them to print your database download dbf viewer 200 good luck
0