Viktor,

Remember that Clipper running on Xp under WoW and the time of printing is 
controlled by the registry variable .-

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WOW\LPT_timeout = x

But now Harbour in Xp is Win32 and release when you close the print handler.    
This is the importance of SET PRINTER TO as I said in .-

http://lists.harbour-project.org/pipermail/harbour/2009-May/019603.html
        
but surely that I not explain me well :'(

--
Xavi

Szakáts Viktor escribió:
Thank you very much. I am now able to run win_prn() :-)

You're welcome.

But I cannot solve my initial problem with simple Clipper type text printing
with DMP (printer halts).
Here is a sample for it :-

To reduce the problem and sort out Harbour from the equation,
you can try saving the output stream to a file, and send it
to the port directly:

 > copy output.txt PRN:

And see if it hangs.

You can then try this (and also your sample) on different
machines/printers because I've seen some antivirus and other
similar packages to mess up the port handling to the point
where they wouldn't work reliably anymore.

To me this issue almost for sure looks like a local problem
and not Harbour bug.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour





_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to