Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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 February 2nd, 2006, 01:14 AM
Registered User
Join Date: Jan 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Printer control language command

Does any1 know how to get the pcl command to work in c#. I know that it [u]should</u> be something like this.

st1 = "\x1b*GS ! 55";
PrintDirect.SendToPrinter("Printing a string", st1, "Axiohm");

But i have yet to get it to work using the ASCII from below

Select character size
Hexadecimal 1D 21 n
Decimal 29 33 n
Value of n: 1-8 = vertical number of times normal font
1-8 = horizontal number of times normal font
Range of n: 00-07, 10-17, ...70-77
Default of n: 11 hexadecimal
Selects the character height using bits 0 to 2 and selects the character width using bits 4 to 6, as follows:

anyone know where i am going wrong?

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to control the direction in Assembly Language uppermore Assembly Language 1 January 10th, 2010 07:10 AM
Embedded printer control codes in VB takabyte VB How-To 1 May 13th, 2008 11:38 AM
what is output command in assembly language chottachatri Assembly Language 0 January 28th, 2008 09:13 AM
<%@control Language="VB"%> cp75 ASP.NET 1.0 and 1.1 Basics 2 October 17th, 2006 02:00 PM
VB Printer.print command Hiddenattractor Java GUI 3 December 30th, 2003 09:08 AM

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