Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 7th, 2006, 05:31 AM
Registered User
 
Join Date: Oct 2006
Location: Pune, Maharashtra, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Set Printer Font

Hello,

I want to use fonts which are available on in my Driver.

I am doing Barcode Printing in C# .NET.

In VB I can do that easily by following code :

Printer.FontName = "TSC CODE128" ''Set Printer Font
Printer.Print "F700001" ''Set Printer Text

How can I do in .Net

I can't use Font Class as there is no font like "TSC CODE128"
in windows font directory.

It is in drivers.

Please Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set font Roman 10cpi in Crystal Reports Rajesh.Prajapat C# 0 October 14th, 2008 06:14 AM
set font for grid column header suji Visual Studio 2005 0 June 12th, 2008 07:40 AM
set font in text file! dpkbahuguna Beginning VB 6 2 August 23rd, 2007 07:08 AM
Set font for different word inside a table field android66 Java GUI 0 March 7th, 2006 05:52 AM
Set font for DataGrid text enabled = false humour General .NET 3 August 26th, 2004 12:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.