Sign in with
Sign up | Sign in
Your question

DOS printing delays in XP that weren't in 98 or ME

Last response: in Windows XP
Share
Anonymous
June 13, 2005 2:32:01 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

I am using an older, custom written database that is DOS based. When I try
to print, there is a 20-30 second delay unless there is a large amount of
data being printed (i.e. 20+ lines of text). I have tried the correct driver
for the printer as well as several generic drivers with the same results on
all. I have run this same database on Windows 98 and Windows ME in the past
with no delay. I have a new system with Windows XP sp2 installed. I have
tried two different DOS based programs (the custom database and also and old
DOS version of Lotus 123 that I had laying around) with the same result so I
assume there is a setting in Windows that I have overlooked somewhere for DOS
based printing. Thanks for any suggestions!

More about : dos printing delays

Anonymous
June 13, 2005 2:56:14 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

See:
http://members.shaw.ca/bsanders/printfromdos.htm
--
Cari (MS-MVP)
Printing & Imaging



"Vincent B." <Vincent B.@discussions.microsoft.com> wrote in message
news:F18DEC1B-A5F4-40C9-9476-C9269F3199CD@microsoft.com...
>I am using an older, custom written database that is DOS based. When I try
> to print, there is a 20-30 second delay unless there is a large amount of
> data being printed (i.e. 20+ lines of text). I have tried the correct
> driver
> for the printer as well as several generic drivers with the same results
> on
> all. I have run this same database on Windows 98 and Windows ME in the
> past
> with no delay. I have a new system with Windows XP sp2 installed. I have
> tried two different DOS based programs (the custom database and also and
> old
> DOS version of Lotus 123 that I had laying around) with the same result so
> I
> assume there is a setting in Windows that I have overlooked somewhere for
> DOS
> based printing. Thanks for any suggestions!
>
Anonymous
June 13, 2005 5:38:04 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

The printer is already on LPT1 and setup as a local printer. I looked at the
rest of the suggestions on that page and they did not seem to relate to my
issue. I am using an older cable, could that be part of the problem? The
printer is an Okidata Microline 182 tractor-feed 9-pin printer for mailing
labels. I originally thought the delay was with the printer, but XP does not
get the info from the DOS program for 20-30 seconds, then sends it
immediately and the printer carries out the print job. The delay seems to be
with XP getting the info. I tried many settings in the shortcut I created
for executing the program, but nothing seems to help.

"Cari (MS-MVP)" wrote:

> See:
> http://members.shaw.ca/bsanders/printfromdos.htm
> --
> Cari (MS-MVP)
> Printing & Imaging
>
>
>
> "Vincent B." <Vincent B.@discussions.microsoft.com> wrote in message
> news:F18DEC1B-A5F4-40C9-9476-C9269F3199CD@microsoft.com...
> >I am using an older, custom written database that is DOS based. When I try
> > to print, there is a 20-30 second delay unless there is a large amount of
> > data being printed (i.e. 20+ lines of text). I have tried the correct
> > driver
> > for the printer as well as several generic drivers with the same results
> > on
> > all. I have run this same database on Windows 98 and Windows ME in the
> > past
> > with no delay. I have a new system with Windows XP sp2 installed. I have
> > tried two different DOS based programs (the custom database and also and
> > old
> > DOS version of Lotus 123 that I had laying around) with the same result so
> > I
> > assume there is a setting in Windows that I have overlooked somewhere for
> > DOS
> > based printing. Thanks for any suggestions!
> >
>
>
>
>
Related resources
Anonymous
June 14, 2005 1:45:56 AM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

Vincent,

> I am using an older, custom written database that is DOS based. When I
try
> to print, there is a 20-30 second delay unless there is a large amount of
> data being printed (i.e. 20+ lines of text).

it's a common problem for many DOS applications running on XP or newer
versions.
The delay is due to the LPT timeout value. It's because your DOS app is not
closing the LPT port at the end of the print job.
In this case, Windows XP, unlike previous Windows versions, uses a timer in
order to know when the DOS print job is finished.

The best solution is fixing the DOS app., if you can. Otherwise you can try
this:

Go to SYSTEM.INI file
in [386enh] section search [Network] if it does not exist enter the
following :

[Network]
PrintBufTime=10
[IFSMGR]
PrintBufTime=10

This should set the timeout to 10 seconds. Do not set too low the value or
the printer could start printing before the end of the DOS print job.

There is also another solution, by changing the Registry value. Please note
I HAVEN'T TESTED IT.
In particular way, take care using RegEdit: it could be rather dangerous.

In REGEDIT ( START->RUN-> REGEDIT )
click : Hkey_local_machine
then click : System
then click : CurrentControlSet
then click : Control
somewhere at the bottom of the control list Click: WOW
here you should find the LPT_timeout property


You may also want to have a look at Printfil, which allows your DOS app. to
print to any Windows printer (including GDI, WIndows-only and Virtual
Printers: WinFax, PDF writers etc.) with many extras, like print preview,
color, font selection, BMP inclusion, margins, LPT capturing etc.

More info and a free trial is available for download at our web site.

Kind Regards,
Davide Guolo
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.guolo.com/printfil
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.guolo.com/odbc4all
--------------------------------------------------------------
June 14, 2005 6:53:02 AM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

Try this fix

http://www.lvllord.de/?lang=en&url=downloads

"Vincent B." wrote:

> I am using an older, custom written database that is DOS based. When I try
> to print, there is a 20-30 second delay unless there is a large amount of
> data being printed (i.e. 20+ lines of text). I have tried the correct driver
> for the printer as well as several generic drivers with the same results on
> all. I have run this same database on Windows 98 and Windows ME in the past
> with no delay. I have a new system with Windows XP sp2 installed. I have
> tried two different DOS based programs (the custom database and also and old
> DOS version of Lotus 123 that I had laying around) with the same result so I
> assume there is a setting in Windows that I have overlooked somewhere for DOS
> based printing. Thanks for any suggestions!
!