Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IsPrinterDotMatric()
Message
From
03/06/2005 11:17:29
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01019594
Message ID:
01019918
Views:
74
Hello Sergey

Yes, of course. for one reasone or the other i always write those things the long way - don't realy know why {imbarresed grin}.

thanks Sergey


>
>Wouldn't it be simpler to write this piece of code as below?
* *** number of colors is smaler or equal then 16
>* *** and the printer prints true type fonts as graphics
>* *** its a dot-metrix printer
>THIS.PrinterIsDotMatrix = ((m.nNumberColor <= 16) AND (m.PrintTTFAsGraphic = DCTT_BITMAP))
>
>*IF ;
>*		m.nNumberColor <= 16 .AND. ;
>*		m.PrintTTFAsGraphic = DCTT_BITMAP
>*	THIS.PrinterIsDotMatrix = .T.
>*ELSE
>*	THIS.PrinterIsDotMatrix = .F.
>*ENDIF
>
Previous
Reply
Map
View

Click here to load this message in the networking platform