Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
1a670029
Commit
1a670029
authored
Jun 29, 2012
by
Andrew Dalgleish
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
printcore - send the initial M105 using _send instead of send_now
send_now can't be used until the printer is online.
parent
0ae7e1fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
printcore.py
printcore.py
+2
-1
No files found.
printcore.py
View file @
1a670029
...
@@ -90,7 +90,8 @@ class printcore():
...
@@ -90,7 +90,8 @@ class printcore():
"""
"""
self
.
clear
=
True
self
.
clear
=
True
time
.
sleep
(
1.0
)
time
.
sleep
(
1.0
)
self
.
send_now
(
"M105"
)
if
(
not
self
.
online
and
not
self
.
printing
):
self
.
_send
(
"M105"
)
while
(
True
):
while
(
True
):
if
(
not
self
.
printer
or
not
self
.
printer
.
isOpen
):
if
(
not
self
.
printer
or
not
self
.
printer
.
isOpen
):
break
break
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment