How to print to the printer with minimal padding around the edges?

Need to print on the receipt printer image with minimal indentation on the right and left of the brim.
I do not understand how this can be done programmatically.
Below is the screenshot of the two checks. Left my printed program, on the right using MS Word (or OpenOffice Writer):
You can see that my print margins more.
Print using C# PrintQueue, but tried other options did not manage to reduce the indentation. Shoveled already a lot of examples on the Internet. Apparently, Word and Writer, somehow, are able to override them at the driver level, but how to do it from your program - no idea.
September 26th 19 at 07:02
1 answer
September 26th 19 at 07:04
But if in the printer settings when printing to reduce the margins of the indent?
When you print through my program dialog box is not specifically open. But even with this dialog box in all programs, except for custom editors like Word or Writer, setting padding to 0 does not give the desired result. - Bert commented on September 26th 19 at 07:07
ahh now it is clear, unfortunately I can not help - luciano_Kunze commented on September 26th 19 at 07:10

Find more questions by tags .NETC#Print