Skip to content

Commit 5fb92df

Browse files
committed
Merge pull request fozzle#6 from 50atoms/master
Update README.md
2 parents 0cf370c + 04352c6 commit 5fb92df

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ You should review the official Brother documentation [here (ESCP Docs)](http://w
2727
Regardless of which mode you are using, you need to intialize and connect a socket object, and pass the resulting socket object to the BrotherLabel object instantiator.
2828

2929
from brotherprint import BrotherPrint
30+
from socket
3031
f_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
31-
f_socket.connect((<ip_address>,<port (9100 by default for QL580N)>))
32+
f_socket.connect(('<ip_address>', <port (9100 by default for QL580N)>))
3233
printjob = BrotherPrint(f_socket)
3334

3435
### ESC/P Printing

0 commit comments

Comments
 (0)