|
#1
|
|||
|
|||
|
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 > -------------------------------------------------------------- > > > |
|
#2
|
|||
|
|||
|
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 -------------------------------------------------------------- |
|
#3
|
|||
|
|||
|
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 > -------------------------------------------------------------- > > > |
|
#4
|
|||
|
|||
|
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 -------------------------------------------------------------- |
|
#5
|
|||
|
|||
|
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 |
|
#6
|
|||
|
|||
|
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 > > > |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
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 |