Solved

Activating sheet cutter in POS receipt printer using c# PrintDocument?

Posted on 2006-07-17
4
2,511 Views
Last Modified: 2007-12-19
I'm writing something which prints out  a docket on an Epson M239C Thermal Docket Printer.

I'm using C# to write the app & the System.Drawing.PrintDocument to handle most of the printing functionality.

I can't figure out for the life of me how I tell the printer to automatically cut the docket off with it's automatic cutter.

Any ideas?
0
Comment
Question by:JohnCarlMorgan
4 Comments
 
LVL 4

Author Comment

by:JohnCarlMorgan
ID: 17120047
Oops.  That should read M129C.
0
 
LVL 15

Accepted Solution

by:
bpmurray earned 125 total points
ID: 17121481
Well, for a docket printer, I'd focus more on the POS stuff - see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ccl/html/T_Microsoft_PointOfService_PosPrinter.asp since the posprinter is really the object you should be working with. AFAIK, it's very difficult to send escape sequences directly to the PrintDocument, and that's the vert functionality that the posprinter provides.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Hide vba in gp 7 114
Java Loop 6 73
VB.net and sql server 4 54
Generate Unique ID in VB.NET 21 101
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this post we will learn different types of Android Layout and some basics of an Android App.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question