HP printer delay for Dos printing.

D

DittoBoy

Have tried recommended approach (net use & also pooling printer) by
Bruce Sanderson's webb site.Am using Win XP Home, HP 3210 all-in-one
printer. When printing Dos document, the printer says "printing" fo
about
3 minutes the prints the document. Printer is local. Have re-installe
printer multiple times - no effect. Thanks for your support
 
G

Guest

Click your printer Properties in the Control Panel>Printers and Faxes>
Advanced tab. Try one of the two settings and see which one works
best. Try the "Start printing immediately" setting, or try "print directly
to the printer".
Resources for troubleshooting printing problems in Windows XP

http://support.microsoft.com/?kbid=308028
 
D

DittoBoy

Byte said:
Click your printer Properties in the Control PanelPrinters and
Faxes
Advanced tab. Try one of the two settings and see which one works
best. Try the "Start printing immediately" setting, or try "prin
directly
to the printer".
Resources for troubleshooting printing problems in Windows XP

http://support.microsoft.com/?kbid=308028
--
XP - WNP
Today is the first day of the
rest of your life.


:


Have tried recommended approach (net use & also pooling printer) by
Bruce Sanderson's webb site.Am using Win XP Home, HP 3210 all-in-one
printer. When printing Dos document, the printer says "printing" for
about
3 minutes the prints the document. Printer is local. Hav
re-installed
printer multiple times - no effect. Thanks for your support.

Thanks for the response.
The print directly causes a page fault.
The Start printing immediately has no effect.

Since I sent this original question, have learned additional facts.
1. If I print a 3 page document, the printer prints the 1st 2 pages
immediately, and hangs for 3 minutes on the 3rd page.

2. If I add a LPRINT CHR$(13) in my VBasic program (form feed)
the printer prints all 3 pages immediately but then goes into its
minute loop
(with the HP screen saying "printing") before quitting
 
D

DittoBoy

Thanks for your repsonse
Tried Start printing immediately - no change.
Tried Print directly - page fault (no LPT1)

Since my 1st message have learned additional facts.

1. When printing a 3 page document - prints 1st 2 pages immediately
then hangs for 3 minutes before print 3rd page.
2. If I add a LPRINT CHR$(12) statement in my Vbasic program
(forms feed) it prints all 3 pages immediately then printe
hangs for 3
minutes (with HP screen saying "printing" before EOJ.
 
B

Bruce Sanderson

Unfortunately, when a DOS application prints, in general, there is no way to
know when all of the data has been sent to the printer. Windows XP (as did
earlier Windows versions) thus waits for a while in case there is a delay in
the application to avoid incomplete pages. I seem to remember, but can't
find the reference now, that if the DOS application "closes" the printer
(LPT) device (which most DOS applications apparently don't do), XP will
assume that the last page is complete.

See the KB article at
http://support.microsoft.com/default.aspx?scid=kb;en-us;101850. This
says that the defualt wait time is 15 seconds (not three minutes), so there
may be some other factor involved that is not explained by this article.

Since sending a Form Feed eliminates the delay, it may well be that the
printer itself is waiting (e.g. 3 minutes) before printing the page when
there is no Form Feed to make sure that all of the page's data has been
received.

--
Bruce Sanderson MVP Printing
http://members.shaw.ca/bsanders

It is perfectly useless to know the right answer to the wrong question.
 
K

Klaus Jorgensen

DittoBoy wrote :
Have tried recommended approach (net use & also pooling printer) by
Bruce Sanderson's webb site.Am using Win XP Home, HP 3210 all-in-one
printer. When printing Dos document, the printer says "printing" for
about
3 minutes the prints the document. Printer is local. Have re-installed
printer multiple times - no effect. Thanks for your support.

If your DOS application supports writing to a file instead of a
physical printer port, you could try changing the destination to a file
called LPT1.


/klaus
 
D

Davide Guolo

DittoBoy,
2. If I add a LPRINT CHR$(12) statement in my Vbasic program
(forms feed) it prints all 3 pages immediately then printer
hangs for 3
minutes (with HP screen saying "printing" before EOJ.

the LPRINT method does not close the LPT1 port at the end of the print job,
so XP waits for the LPT_Timeout value to expire before spooling your job.

You can obtain your jobs immediately printed by closing your DOS app. (so
all the buffers will be closed too), or by changing the printing routines
this way:

instead of:

10 LPRINT "Hello world"

change it as:

10 OPEN "LPT1:" FOR OUTPUT AS #1
20 PRINT #1,"Hello world"
30 CLOSE #1

instead of "LPT1:" you may also print to "LPT2:", "LPT3:" or "c:\myfile.txt"
as well.

Kind regards,
Davide Guolo
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.printfil.com
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.guolo.com/odbc4all
--------------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top