Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper > Re: Print SCR
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 14 Topic 3856 of 3959
Post > Topic >>

Re: Print SCR

by "Eckhard Sallermann" <ecki@[EMAIL PROTECTED] > Mar 5, 2008 at 05:22 PM

hi Stephen

thank you, but this never will work, because "if i % 80 = 0" will never be

true

better use

"if len(a) = 80"


"Stephen Quinn" <steveqNO@[EMAIL PROTECTED]
> schrieb im Newsbeitrag 
news:fqklb3$41m$1@[EMAIL PROTECTED]
> Eckhard
>
> // 25/80 screen = 4000 character string
> // every 2nd element is the colour element (check that as I'm doing this

> from memory<g>)
> // so stepping through it printing each odd element will give you the 
> text.
>
> cString := ''
> cScreen := SaveScreen()
> for i := 1 to 4000 step 2
>    // You might also want to check for non printable CHR() codes
>    cString := cScreen[ i ]
>    if i % 80 = 0
>        // send line to printer & reset
>        cString := ''
>    endif
> next
> // Send the last line to the printer
>
> CYA
> Steve
>
 




 14 Posts in Topic:
Print SCR
"Eckhard Sallermann&  2008-03-04 08:51:33 
Re: Print SCR
"AUGE_OHR" <  2008-03-04 17:51:28 
Re: Print SCR
"Stephen Quinn"  2008-03-05 10:19:55 
Re: Print SCR
"Eckhard Sallermann&  2008-03-05 17:22:59 
Re: Print SCR
"Stephen Quinn"  2008-03-05 23:55:20 
Re: Print SCR
"Eckhard Sallermann&  2008-03-06 08:11:51 
Re: Print SCR
dlzc <dlzc1@[EMAIL PRO  2008-03-06 07:14:57 
Re: Print SCR
Maurizio la Cecilia <m  2008-03-04 23:44:38 
Re: Print SCR
"Marek Horodyski&quo  2008-03-07 08:45:05 
Re: Print SCR
dlzc <dlzc1@[EMAIL PRO  2008-03-07 08:28:14 
Re: Print SCR
aardvark <aardvark@[EM  2008-03-09 03:00:00 
Re: Print SCR
"sali" <sali  2008-03-11 08:34:27 
Re: Print SCR
cherszage@[EMAIL PROTECTE  2008-03-12 17:52:46 
Re: Print SCR
"N:dlzc D:aol T:com   2008-03-12 21:59:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 16:19:25 CDT 2008.