E
E
Exvel2014-07-28 14:03:10
.NET
Exvel, 2014-07-28 14:03:10

How to print on a printer with minimal margins around the edges?

It is necessary to print an image on a receipt printer with minimal margins to the right and left of the edges.
I don't understand how it can be done programmatically.
Below is a screenshot of two receipts. On the left - printed by my program, on the right - through MS Word (or OpenOffice Writer):
91dc4ac71a74457dad563bc17896cd11.jpeg
It can be seen that my print has more indents.
I'm printing via C# PrintQueue, but I tried other options - I can't reduce the indents in any way. Shoveled already a bunch of examples on the Internet. Apparently, Word and Writer, somehow, are able to redefine them at the driver level, but how to do it from your program - no idea.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Aitkulov, 2014-07-29
@Scarfase1989

And if you reduce the indent margins in the printer settings when printing?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question