Search found 2 matches

by Pillbug
Thu Apr 09, 2015 9:41 pm
Forum: Modifications
Topic: Commands not appending
Replies: 2
Views: 5285

Re: Commands not appending

I don't know what you mean exactly by 'opening the connection to the printer with printcore', but I have a separate python file that my main program calls to scan the ports for the printer and set the connection. I took it from printcore I believe (this was a year ago). It declares the 'p' variable ...
by Pillbug
Thu Apr 09, 2015 7:19 pm
Forum: Modifications
Topic: Commands not appending
Replies: 2
Views: 5285

Commands not appending

I am trying to run the makergear m2 printer with my own python code and using printcore for commands. So I connect to the printer and send code like this: string = "G1 X%s Y%s F2000" % (nx, ny) p.send(string) string = "G1 Z%s F100" % height p.send(string) Pretty sloppy, but it gets the job done most...