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---------------------
© Fri 2024-5-17  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2003-02-08 08:44:01