Solved

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

Posted on 2006-07-17
4
2,496 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
A short article about a problem I had getting the GPS LocationListener working.
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 fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

765 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