sample is in \contrib\hbwin\tests\testprn.prg
at line 112 is present
oPrinter:SetColor( GREEN )
I confirm problem
2009/10/19 Viktor Szakáts <[email protected]>:
> Hi Itamar,
>
> Pls provide self-contained, runnable example.
>
> To me this looks like an error in your test program.
>
> You probably need to use RGB_GREEN, not GREEN.
>
> I also suggest to turn on warnings to avoid such errors
> in the first place.
>
> Brgds,
> Viktor
>
> On 2009 Oct 19, at 15:59, Itamar Lins wrote:
>
>> Hi!
>> Win_Prn() Class test program. Choose a printer to test
>> Bitmap file name
>> ┌
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ─
>> ──────────────────────┐
>> │CutePDF Writer │
>> Error BASE/1003 Variable does not exist: GREEN │
>> Called from PRNTEST(112) │
>> Called from MAIN(28) │
>> C:\harbour\trunk\harbour\contrib\hbwin\tests> │
>>
>> Best regards,
>> Itamar M. Lins Jr.
>>
>> _______________________________________________
>> Harbour mailing list
>> [email protected]
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
--
Massimo Belgrano
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour