Re: DOS Printing WinXP Pro


Go Back   Computer Help Articles > Windows XP Print Fax
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 06:43 AM
Jens R. Rasmussen
 
Posts: n/a
Default Re: DOS Printing WinXP Pro

Can you please tell me I shall place the file "LTP1" in order for WinXP to
grap it and starts printing? C:\LTP1 or C:\windows\ltp1 or ...?

Best regards
/Jens

"Davide Guolo" wrote:

> Klaus,
>
> > The problem you describe is very common when printing from DOS
> > applications under Windows. Windows grabs data being sent to physical
> > port LPT1, and feeds it to the printer spooler. When data is being
> > sent to a physical port, Windows does not know when the job is
> > finished, so it waits for additional data for a number of seconds
> > before flushing the spooler.
> > Often this problem can be solved if the DOS application supports
> > printing to a file called "LPT1" instead of a physical printer. When
> > the DOS application "closes" the file, Windows knows that no more data
> > will be created for the session, and flushes the spooler instantly.

>
> this is true, however sometimes is not possible to fix the DOS app.
>
> In this situations you can solve the problem by tuning the LPT_Timeout XP
> property.
> One of the following 2 solution should do the trick:
>
> 1) 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.
>
> 2) 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
>
> 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
> --------------------------------------------------------------
>
>
>

Reply With Quote
  #2  
Old 01-05-2006, 06:44 AM
Davide Guolo
 
Posts: n/a
Default Re: DOS Printing WinXP Pro

Jens,

> Can you please tell me I shall place the file "LTP1" in order for WinXP to
> grap it and starts printing? C:\LTP1 or C:\windows\ltp1 or ...?


sorry, I don't understand what is the LTP1 file supposed for.

If your question is somehow related to Printfil, please forward it to
support [at] printfil.com

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


Reply With Quote
  #3  
Old 01-05-2006, 06:44 AM
Jens R. Rasmussen
 
Posts: n/a
Default Re: DOS Printing WinXP Pro

Hi Davide,

I read the following

"> > The problem you describe is very common when printing from DOS
> > applications under Windows. Windows grabs data being sent to physical
> > port LPT1, and feeds it to the printer spooler. When data is being
> > sent to a physical port, Windows does not know when the job is
> > finished, so it waits for additional data for a number of seconds
> > before flushing the spooler.
> > Often this problem can be solved if the DOS application supports
> > printing to a file called "LPT1" instead of a physical printer. When
> > the DOS application "closes" the file, Windows knows that no more data
> > will be created for the session, and flushes the spooler instantly.

>

"

and now I am asking: "Where skal I put the file LTP1 in order to solve the
problem"?

best regard Jens

"Davide Guolo" skrev:

> Jens,
>
> > Can you please tell me I shall place the file "LTP1" in order for WinXP to
> > grap it and starts printing? C:\LTP1 or C:\windows\ltp1 or ...?

>
> sorry, I don't understand what is the LTP1 file supposed for.
>
> If your question is somehow related to Printfil, please forward it to
> support [at] printfil.com
>
> Regards,
> Davide.
> --------------------------------------------------------------
> Printfil - Windows Printing System for Applications
> http://www.printfil.com
> Odbc4All - Connection to ODBC Data Sources for any Application
> http://www.guolo.com/odbc4all
> --------------------------------------------------------------
>
>
>

Reply With Quote
  #4  
Old 01-05-2006, 06:44 AM
Davide Guolo
 
Posts: n/a
Default Re: DOS Printing WinXP Pro

Jens,

> I read the following
>
> > > Often this problem can be solved if the DOS application supports
> > > printing to a file called "LPT1" instead of a physical printer...

>
> and now I am asking: "Where skal I put the file LTP1 in order to solve the
> problem"?


The OP (Klaus Jorgensen) should answer your question, but I believe he was
referring to a DOS programming technique, rather than to simply put an ascii
file somewhere.

I misunderstood your question because Printfil does exactly this: you put an
ascii file somewhere on disk (or let Printfil capturing the LPT output) and
Printfil automatically redirects it to any Windows printer.

If you want to give it a try, you can find a free trial to download at our
web site.

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


Reply With Quote
  #5  
Old 01-05-2006, 06:44 AM
Klaus Jorgensen
 
Posts: n/a
Default Re: DOS Printing WinXP Pro

Davide Guolo wrote :
> Jens,
>
>> I read the following
>>
>>>> Often this problem can be solved if the DOS application supports
>>>> printing to a file called "LPT1" instead of a physical printer...

>>
>> and now I am asking: "Where skal I put the file LTP1 in order to solve the
>> problem"?

>
> The OP (Klaus Jorgensen) should answer your question, but I believe he was
> referring to a DOS programming technique, rather than to simply put an ascii
> file somewhere.
>


No path, no drive letter, just tell the DOS app to print to a file
called LPT1. Well, it's actually a predefined device name and not a
file name.

(...or in plain Danish:
Drev og sti er ikke nødvendigt, og filen skal ikke laves i forvejen da
navnet faktisk indikerer en forud defineret enhed og ikke en fil.)


/klaus


Reply With Quote
  #6  
Old 01-05-2006, 06:44 AM
Jens R. Rasmussen
 
Posts: n/a
Default Re: DOS Printing WinXP Pro

Thanks Klaus, I really owe you a beer. You have just solved a major problem
for me. Why isn't this solution highlighted anywhere?

best regard og tusind tak

/Jens


"Klaus Jorgensen" skrev:

> Davide Guolo wrote :
> > Jens,
> >
> >> I read the following
> >>
> >>>> Often this problem can be solved if the DOS application supports
> >>>> printing to a file called "LPT1" instead of a physical printer...
> >>
> >> and now I am asking: "Where skal I put the file LTP1 in order to solve the
> >> problem"?

> >
> > The OP (Klaus Jorgensen) should answer your question, but I believe he was
> > referring to a DOS programming technique, rather than to simply put an ascii
> > file somewhere.
> >

>
> No path, no drive letter, just tell the DOS app to print to a file
> called LPT1. Well, it's actually a predefined device name and not a
> file name.
>
> (...or in plain Danish:
> Drev og sti er ikke nødvendigt, og filen skal ikke laves i forvejen da
> navnet faktisk indikerer en forud defineret enhed og ikke en fil.)
>
>
> /klaus
>
>
>

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
winXP/winMe Dual Boot (winXP already installed) Dean Windows XP Configuration Manage 2 01-05-2006 07:31 AM
Network Printing... Jacky Windows XP Print Fax 4 01-05-2006 06:45 AM
WinXP & Win98 network printing problem SRS Windows XP Print Fax 4 01-05-2006 06:44 AM
Can't boot HD cloned from WinXP HD Tim Haynes Windows XP Setup Deployment 5 01-05-2006 06:21 AM
WinXP printing to Win98 shared Printer, very slow, help Admire123 Windows XP Network Web 0 01-05-2006 04:07 AM


All times are GMT. The time now is 04:03 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

Re: DOS Printing WinXP Pro