ESC/P is a command in python printing library to manipulate images, text, etc send to printers. It also gives access to all the operations handled by printers like aligning text, font change, etc.
Questions tagged [escp]
12 questions
14
votes
2 answers
Use full page width with Brother P950NW
I would like to use the full width of the 18mm strips in my Brother P950NW printer for an image. At the moment, I am using ESC/P (not ESC/POS, which this printer does not seem to support), but if it's not possible with that I'm fine with any other…

phihag
- 278,196
- 72
- 453
- 469
3
votes
1 answer
libusb, pyusb and python-escpos on a windows machine
I am trying to work with Epson POS TM-82 printer on windows 7 (64 bit). I have installed the printer's driver. I have python 2.7.15 (64 bit) installed. To work with python I am using this package, python-escpos.
After I have installed python-escpos,…

Kakar
- 5,354
- 10
- 55
- 93
2
votes
0 answers
Sending ESC/P cut command to Brother VC-500w
for my current project, in which I'm using the Brother vc-500w as printer, I need to perform a full cut. I intend to use ESC/P commands to do it.
For the first step I tried to send data from commandline to printer, as shown in this answer:…

Artur Sparwasser
- 31
- 6
1
vote
1 answer
Image printing with Epson compatible Thermal printer problem
I am using C# and write code for print contents for the Thermal ticket printer.
There are codes that people use for image print, and it indeed prints images, but something goes wrong. This is my code for image print class, it is widely using open…

Stephen W. Park
- 71
- 4
0
votes
0 answers
How to get the c/c++ standard representation of all the esc/p2 and pcl commands?
I found a reference manual for esc/p2.
ESC / Select vertical tab channel — · · C-67
ESC 0 Select 1/8-inch line spacing · · · C-51
ESC 1 Select 7/72-inch line spacing — — · C-60
ESC 2 Select 1/6-inch line spacing · · · C-53
ESC 3 Set n/180-inch line…

chaithanya reddy
- 1
- 2
0
votes
0 answers
Programmatically select 17cpi pitch on Epson LQ-590II dot matrix using ESC/P 2
This printer has control panel settings for 10cpi, 12cpi, 15cpi, 17cpi, 20cpi pitch. However all the ESC/P references I find only have escape sequences for selecting up to 15cpi. It would seem reasonable to assume that since it's on the control…

Alan B
- 4,086
- 24
- 33
0
votes
1 answer
Safely ignoring unknown ANSI, ESC/P, ESC/POS sequences, know the length
Some context first:
I'm making a device which transforms an electronic typewriter into a serial printer/terminal.
(don't ask why; I know that this does not make much sense practically)
Device inserted between the typewriter's controller and its…

bicyclesonthemoon
- 132
- 9
0
votes
1 answer
How to set character set using ESC/POS?
More specifically, what is the difference between ESC t and ESC R and when should i use them?
How does it tie with the character encoding of the byte arrays i may send to the printer?
Edit
As a follow-up,
the text to be printed is coming as…

vesperto
- 804
- 1
- 6
- 26
0
votes
1 answer
How to print box drawing character using ESC/POS
I would like to print box drawing character using ESC/POS to Epson LQ310 dot matrix printer in android app. The sample printout would be as below,
Initially, I am using underscore and vertical bar to draw its borders. But the printout turned out to…

user2256761
- 11
- 1
- 4
0
votes
0 answers
Send a line of text to an ESC/POS printer in Python using win32print
I am trying to send a line of text to a thermal printer which uses ESC/P using win32api.
I am aware of the existence of python-escpos, but I want to understand how the raw printing works.
The printer is conected and configured as default printer.…

M.E.
- 4,955
- 4
- 49
- 128
0
votes
0 answers
Print CODE128 barcode Epson/IBM OKI thermal
printer : oki ml3320, emulation IBM
I can't print this barcode...
Now I took 22. example from https://files.support.epson.com/pdf/general/escp2ref.pdf
My last try looking that
final char[] x = {0x1B, 0x28, 0x42, 0x10, 0x00, 0x06, 0x02, 0x00, 0x7D,…

KanekiSenpai
- 122
- 10
0
votes
0 answers
Converting from TIFF to ESCP2
I am trying to develop a printing interface for my epson printer that will be used in a .net project. I need to convert any known format (maybe pdf, tiff, even jpeg) to epson ESCP/R format.
I made my research.
There is some ways. For example :…

haaking
- 1
- 1