Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing to LPT1 from FoxPro for DOS Win 10 32-bit 1

Status
Not open for further replies.

zimj

Programmer
Feb 26, 2009
7
US
On a new Win 10 32-bit machine, I can print to LPT1. But once in FPD 2.6, I get "Printer Not Ready."

In the past, I've gotten FoxPro for DOS printing to work for Windows 7 after issuing in the Command window :
NET USE LPT1: <Printer Network Name>

I have also done it by checking off LPT1 on the Printer Properties Ports tab for a new (separate iteration/definition from the printer name used by Windows) printer.

Now with Win 10, I'm able to print from a Command window to LPT1 by issuing:
copy autoexec.bat lpt1
but can't print from Fox.

(I have sometimes used vDOS/DOSPrinter, but the print rendering isn't great, one reason being I use lots of old printer control codes.)

Thank you in advance for your help and suggestions.
 
years ago I replace direct printing to lpt port with directing to filename.lst, and when report is finished use LIST.COM to display it on screen or use dos command "copy filename.lst LPT2:" for A4 papers or "copy filename.lst LPt3:" for A3 papers. LPT2 and LPT3 mapped with NET USE LPT2: \\machine_name\Printer_name
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top