Can I Connect the Printer Using Pronterface over Ethernet? May 17, 2015 12:12PM |
Registered: 8 years ago Posts: 12 |
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 17, 2015 12:17PM |
Registered: 10 years ago Posts: 665 |
Quote
Versia
It seems that when connecting to the printer over Ethernet, we can only use the web interface.
Quote
Versia
But we cannot do the printing work automacally in that way. For example, we cannot using a task planning node to control all the printers using TCP commands, we have to click the bottons on the web interface to control the printers.
Although we can do this work using the serial port, but if we can use the Ethernet to connect, it will make the system structure simpler.
And since the original Pronterface from Printrun is able to connect the printer using TCP commands, does Ormerod support this way?
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 17, 2015 11:34PM |
Registered: 8 years ago Posts: 12 |
Quote
zombiepantslol
Quote
Versia
It seems that when connecting to the printer over Ethernet, we can only use the web interface.
That is not correct. FTP and Telnet are supported, too.
Quote
Versia
But we cannot do the printing work automacally in that way. For example, we cannot using a task planning node to control all the printers using TCP commands, we have to click the bottons on the web interface to control the printers.
Although we can do this work using the serial port, but if we can use the Ethernet to connect, it will make the system structure simpler.
And since the original Pronterface from Printrun is able to connect the printer using TCP commands, does Ormerod support this way?
You can use Telnet to control your printer, however Telnet does not fully emulate Marlin (yet). So even if Pronterface is able to communicate TCP/IP, it will be somewhat experimental since this functionality has not been officially tested.
telnet [The printer IP address]Then it told me that the connection is refused.
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 18, 2015 02:00AM |
Registered: 10 years ago Posts: 665 |
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 19, 2015 10:39AM |
Registered: 8 years ago Posts: 12 |
Quote
zombiepantslol
Which firmware are you using? You need the latest version (1.09) to use this feature.
T:23.2 B:24.7However, after upgrading, the temperature is something like that:
T: B:24.7 H0:24.7/-273.0 H1:23.2/-273.0
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 19, 2015 11:09AM |
Registered: 10 years ago Posts: 665 |
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 19, 2015 11:36AM |
Registered: 8 years ago Posts: 12 |
Quote
zombiepantslol
No big deal, you need to send T0 to activate the first tool. Then the temperature should be reported.
Out of curiosity, why don't you use the web interface instead?
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 19, 2015 12:13PM |
Registered: 10 years ago Posts: 665 |
Quote
Versia
But why it didn't work by adding T0 to the last line of config.g (I have added T0 to the last line of config.g, but it still responds with something like T: B:24.7 H0:24.7/-273.0 H1:23.2/-273.0)? I think it should work same as I send it manually.
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 19, 2015 12:46PM |
Registered: 10 years ago Posts: 2,472 |
Quote
Versia
I prefer to use the command because I want to make multiple printers to work at the same time to print a product, and the web interface cannot do that work.
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 19, 2015 01:16PM |
Registered: 10 years ago Posts: 665 |
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 19, 2015 10:16PM |
Registered: 8 years ago Posts: 12 |
Yes, I know that I can control multiple printers in that way. In fact, I want to print an object with 3~4 parts, and each part can be customized (e.g. the color or the shape). Then I want to make a web interface to do the customization. And after I press the "Print" button in the webpage, the corresponding printers will start to print. So I think the web interface in the printer cannot meet my need.Quote
dmould
You can then open a separate browser window or tab for each printer by typing its IP address into the browser's address bar and control as many printers as you like from one PC.
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 20, 2015 01:01AM |
Registered: 9 years ago Posts: 177 |
Quote
Versia
Yes, I know that I can control multiple printers in that way. In fact, I want to print an object with 3~4 parts, and each part can be customized (e.g. the color or the shape). Then I want to make a web interface to do the customization. And after I press the "Print" button in the webpage, the corresponding printers will start to print. So I think the web interface in the printer cannot meet my need.Quote
dmould
You can then open a separate browser window or tab for each printer by typing its IP address into the browser's address bar and control as many printers as you like from one PC.
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 20, 2015 09:15AM |
Registered: 10 years ago Posts: 2,472 |
Quote
Versia
Yes, I know that I can control multiple printers in that way. In fact, I want to print an object with 3~4 parts, and each part can be customized (e.g. the color or the shape). Then I want to make a web interface to do the customization. And after I press the "Print" button in the webpage, the corresponding printers will start to print. So I think the web interface in the printer cannot meet my need.Quote
dmould
You can then open a separate browser window or tab for each printer by typing its IP address into the browser's address bar and control as many printers as you like from one PC.
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 20, 2015 10:41AM |
Registered: 8 years ago Posts: 12 |
Quote
dmould
Yes, a remarkable idea. I am however still not sure why a web interface (or at least a TCP/IP connection) could not be used. It would be just as much programming work to open a USB connection to a specific printer as it would to open a TCP/IP connection. In the former case the variable is the COM port number, in the latter case it is the IP address. And while the IP address will always refer to a particular printer, the COM port number can change if you plug the printers into a different USB port - or even after a reboot of the PC. Added to which I would have thought it would be more convenient to site at least some of the printers further away from the PC than the max. USB cable length (5m without repeaters). IIUC Zombie's firmware will allow you to use a Telnet connection in the same way as a pseudo-serial USB connection.
Dave
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 21, 2015 05:20AM |
Registered: 8 years ago Posts: 12 |
Quote
zombiepantslol
Quote
Versia
But why it didn't work by adding T0 to the last line of config.g (I have added T0 to the last line of config.g, but it still responds with something like T: B:24.7 H0:24.7/-273.0 H1:23.2/-273.0)? I think it should work same as I send it manually.
Yes that's right, it should work, although it is not officially supported either. It's best to run T0 in your start G-code instead. Nonetheless, I'll check if I can reproduce that on my machine and fix it if anything is wrong in the firmware.
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 21, 2015 05:56AM |
Registered: 10 years ago Posts: 14,672 |
Quote
Versia
Besides, I found that if I add the "T0" to the last line of the config.g, I will be unable to connect the printer using the Ethernet (neither through web interface nor telnet).
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 21, 2015 06:05AM |
Registered: 10 years ago Posts: 665 |
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 21, 2015 06:15AM |
Registered: 10 years ago Posts: 14,672 |
Quote
zombiepantslol
... which is why I'm considering to move away entirely from Eclipse/Arduino IDE for compilation and to use qmake or cmake instead.
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 21, 2015 11:09PM |
Registered: 8 years ago Posts: 12 |
Quote
dc42
It works in 1.09a-dc42, I just tested it. Perhaps it is because in my fork, I have code that skips running the tool change files if the printer has not been homed yet.
Temperature fault on heater 1, T = -273.1
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 22, 2015 03:20AM |
Registered: 10 years ago Posts: 14,672 |
Quote
Versia
Everytime I heat the tool to about 100 ℃, it stops heating and sends the message:
Temperature fault on heater 1, T = -273.1
And this problem also exists in the official firmware 1.09. So do you know what's wrong with my printer?
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 31, 2015 04:31AM |
Registered: 8 years ago Posts: 12 |
Re: Can I Connect the Printer Using Pronterface over Ethernet? May 31, 2015 05:13AM |
Registered: 9 years ago Posts: 1,699 |
Quote
dc42
Quote
Versia
Besides, I found that if I add the "T0" to the last line of the config.g, I will be unable to connect the printer using the Ethernet (neither through web interface nor telnet).
It works in 1.09a-dc42, I just tested it. Perhaps it is because in my fork, I have code that skips running the tool change files if the printer has not been homed yet.