dbTalk Databases Forums  

Foxpro DOS 2.6 Win XP printers take forever to print to LPT2

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Foxpro DOS 2.6 Win XP printers take forever to print to LPT2 in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
E-Rick
 
Posts: n/a

Default Foxpro DOS 2.6 Win XP printers take forever to print to LPT2 - 10-17-2004 , 12:19 AM






We have an older FoxPro DOS 2.6 program we need to keep alive for a
few more months. This program prints multi-part forms to 2 Okidata
Dot-Matrix printers, using Courier 10 (i.e no printer setup prprogram
The printers are set up as LPT1 + LPT2 on a server running Windows
98SE with separate physical printer ports. When we added new PC's
running Windows XP Professional (as opposed to DOS) we started having
a problem with the print jobs sent to LPT2, specifically they take
upwards of 40 seconds to print.

Quiting the FoxPro program, causes the print job to print almost
immediately. I researched this problem on Google and the MicroSoft KB.
It appears FoxPro is not closing the print job.

The recommended solution was to insert the command "SET PRINTER TO" in
the program. This solved the problem for LPT1, however, it has no
effect on the jobs sent to LPT2. Another solution was to redirect the
printer to \\Server_name\Printer_name. FoxPro accepts this command
but the sending the controls codes with ???" for page length and
bold/double wide results in an error message "Invalid printer
redirection."

Setting the printer timeout in the Lantastic network program ("NET LPT
TIMEOUT xx") forces the job, but, causes multiple page ejects and
multiple forms of garbage characters.

Suggestions?

Thanks,

Rick

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.