Guidance
指路人
g.yi.org
software / rapidq / Examples / Devices / Printer & Parallel Port / Print Color Text.bas

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
'From:  midiprog2000   Sat Feb 8, 2003  2:16 am

'--------------start code------------------
     CREATE font1 AS QFONT
      size = 30
     END CREATE

     WITH printer
      .begindoc
      .font = font1
      .textout (100, 100, "This is a print test", &h00ff00, -1)
' &h00ff00 defines the text colour, value is hex,
' and the rang order is BGR (Blue, Green, Red)

      .enddoc
     END WITH

     END
'--------------end code---------------------
掌柜推荐
 
 
¥477.00 ·
 
 
¥918.00 ·
 
 
¥370.00 ·
 
 
¥271.00 ·
 
 
¥995.00 ·
 
 
¥1,580.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2003-02-08 08:44:01