Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


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

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

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

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.

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

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close