Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: print delay under Win XP
<<< Printing stop and resume when I go out from app.
Clipper 5.2 and WIN XP pro and Epson LX300  >>>

Do you have CPU time slice release stuff in your app?


Report this thread to moderator Post Follow-up to this message
Old Post
E. Fridman
05-13-05 08:55 PM


Re: print delay under Win XP

> Do you have CPU time slice release stuff in your app?
>

No and I dont know what is it does.



Report this thread to moderator Post Follow-up to this message
Old Post
gv
05-13-05 08:55 PM


Re: print delay under Win XP
call this function after your printjob:

FUNCTION PRCOMMIT()

local cPrinter := set( _SET_PRINTFILE, "LPT3" )
set( _SET_PRINTFILE, "LPT2" )
set( _SET_PRINTFILE, "LPT1" )
set( _SET_PRINTFILE, "" )

// restores the original printer-port!
set(_SET_PRINTFILE, cPrinter, .t.)

return nil







Am Fri, 13 May 2005 08:12:25 +0200 hat gv <goran@goran.htnet.hr>
geschrieben:

>
> 
>
> No and I dont know what is it does.
>
>



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Report this thread to moderator Post Follow-up to this message
Old Post
Markus Wiederstein
05-13-05 08:55 PM


Re: print delay under Win XP
Am Fri, 13 May 2005 11:30:24 +0200 hat Markus Wiederstein
<markus.wiederstein@web.de> geschrieben:

... and don't forget to #include "set.ch" ;-)


>
> call this function after your printjob:
>
> FUNCTION PRCOMMIT()
>
> local cPrinter := set( _SET_PRINTFILE, "LPT3" )
>                    set( _SET_PRINTFILE, "LPT2" )
>                    set( _SET_PRINTFILE, "LPT1" )
>                    set( _SET_PRINTFILE, "" )
>
>                    // restores the original printer-port!
>                    set(_SET_PRINTFILE, cPrinter, .t.)
>
> return nil
>
>
>
>
>
>
>
> Am Fri, 13 May 2005 08:12:25 +0200 hat gv <goran@goran.htnet.hr>
> geschrieben:
> 
>
>
>



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Report this thread to moderator Post Follow-up to this message
Old Post
Markus Wiederstein
05-13-05 08:55 PM


Re: print delay under Win XP
"Markus Wiederstein" <markus.wiederstein@web.de> wrote in message
news:op.sqpj49gsolrrg1@news.t-online.de...
> Am Fri, 13 May 2005 11:30:24 +0200 hat Markus Wiederstein
> <markus.wiederstein@web.de> geschrieben:
>
> ... and don't forget to #include "set.ch" ;-)
>
> 
>
>
>
> --
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Thx
G



Report this thread to moderator Post Follow-up to this message
Old Post
gv
05-13-05 08:55 PM


Re: print delay under Win XP
Did this work for you ?

greetings from germany
Markus


Am Fri, 13 May 2005 13:43:30 +0200 hat gv <goran@goran.htnet.hr>
geschrieben:

>
> "Markus Wiederstein" <markus.wiederstein@web.de> wrote in message
> news:op.sqpj49gsolrrg1@news.t-online.de... 
>
> Thx
> G
>
>



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Report this thread to moderator Post Follow-up to this message
Old Post
Markus Wiederstein
05-13-05 08:55 PM


Re: print delay under Win XP
On Fri, 13 May 2005 14:24:05 +0200, "Markus Wiederstein"
<markus.wiederstein@web.de> wrote:

>Did this work for you ?
>
>greetings from germany
>Markus
>

Unlikely, as the OP is using S87. Another poster hit the nail on the
head by suggesting CPU time release as the problem.


www.tamedos.com is one solution.

>
>Am Fri, 13 May 2005 13:43:30 +0200 hat gv <goran@goran.htnet.hr>
>geschrieben:
> 


Report this thread to moderator Post Follow-up to this message
Old Post
Nick Ramsay
05-13-05 08:55 PM


Re: print delay under Win XP
Hi Nick,
 
>
> Unlikely, as the OP is using S87.

ok, so he should simply use a s87 compatible code like

// cOriginal is the actual lpt port f.e. "LPT1"
procedure prcommit(cOriginal)
set printer to lpt3
set printer to lpt2
set printer to lpt1
set printer to
set printer to cOriginal
return


cheers, Markus

Report this thread to moderator Post Follow-up to this message
Old Post
Markus Wiederstein
05-13-05 08:55 PM


Re: print delay under Win XP
Am Fri, 13 May 2005 18:37:59 +0200 hat Markus Wiederstein
<markus.wiederstein@web.de> geschrieben:

well, i forgot *g*
procedure prcommit()
parameters cOriginal
set printer to lpt3
set printer to lpt2
set printer to lpt1
set printer to
if pcount() = 1
set printer to cOriginal
endif
return



> Hi Nick,
> 
>
> ok, so he should simply use a s87 compatible code like
>
> // cOriginal is the actual lpt port f.e. "LPT1"
> procedure prcommit(cOriginal)
> set printer to lpt3
> set printer to lpt2
> set printer to lpt1
> set printer to
> set printer to cOriginal
> return
>
>
> cheers, Markus



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Report this thread to moderator Post Follow-up to this message
Old Post
Markus Wiederstein
05-13-05 08:55 PM


Re: print delay under Win XP
On 13 May 2005 10:42:24 -0700, "E. Fridman" <pm771.am@gmail.com>
wrote:

>Nick,
>
>While OP indeed specified S'87, the "gv" person mentioned Clipper 5.2
>as his/her tool.

Indeed.

Gah, damn convoluted threads!

Report this thread to moderator Post Follow-up to this message
Old Post
Nick Ramsay
05-14-05 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clipper archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:48 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.