Printing Via A Printer Driver (System/Graphical/Truetype Font) - TransAct POSjet 1500 Programmer's Manual

Transact posjet 1500: software guide
Hide thumbs Also See for POSjet 1500:
Table of Contents

Advertisement

Control Codes
' CHANGE COLOR
Printer.ForeColor = RGB(255, 0, 0)
Printer.Print "
Change Due
Printer.ForeColor = RGB(0, 0, 0)
Printer.Font.Bold = False
Printer.Print ""
Printer.Print ""
Printer.Print ""
Printer.Print ""
Printer.EndDoc

Printing via a printer driver (System/Graphical/TrueType Font)

This is the preferred way to print via a Windows printer driver to a page printer.
' SELECT OUR PRINTER BY NAME
For Each x In Printers
If x.DeviceName Like "Series 1500" Then
Set Printer = x
Exit For
End If
Next
' SET FONT SIZE
Printer.FontSize = 10
' SELECT FONT BY NAME
Printer.FontName = "Arial Black"
Printer.CurrentX = 1000
Printer.Print "20 Bomax Rd"
Printer.CurrentX = 800
Printer.Print "Ithaca, NY 14850"
Printer.Print ""
Printer.Print ""
Printer.Print ""
' SELECT FONT BY NAME
Printer.FontName = "Arial"
' SELECT BOLD PRINT
Printer.Font.Bold = True
Page 74
®
POSjet
1500
$2.69"
Rev M
Programmer' s Guide
Nov-07

Advertisement

Table of Contents
loading

Table of Contents