News:

  • September 29, 2026, 09:51:07 AM

Login with username, password and session length

Author Topic: Sending a print to a laser printer  (Read 8409 times)

Bobby

  • Sr. Member
  • ****
  • Posts: 60
Sending a print to a laser printer
« on: February 28, 2019, 11:39:51 AM »
Is it possible to send a print request from a Do-more to a network printer? I would want to simply print a barcode.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3847
    • Host Engineering
Re: Sending a print to a laser printer
« Reply #1 on: February 28, 2019, 01:03:07 PM »
There are no printer drivers in a Do-more PLC.

You might be able to emulate one if you are familiar with the low level protocol of your printer.

Typically, a PC would be more capable.  Then you can set up a simple protocol from the PLC to the PC to print a barcode.  Host Engineering does this in our own manufacturing of all the Do-more PLCs, CPUs, Ethernet modules, and I/O modules.

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: Sending a print to a laser printer
« Reply #2 on: February 28, 2019, 05:37:15 PM »
I know the Zebra Laser printers are much more PLC friendly. There was something about an option involving Ethernet IP if I recall.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3626
  • Darth Ladder
Re: Sending a print to a laser printer
« Reply #3 on: March 01, 2019, 01:10:02 PM »
Is it possible to send a print request from a Do-more to a network printer? I would want to simply print a barcode.

Network printer I'm not sure.   Typically printers that work well with PLC's are just serial connected, so that's going to be weird with a network printer.  If the printer you want to use has a serial port, you might could run a serial cable direct if the printer is willing to take jobs from both network and serial.  Or, if the printer has a serial port, but it's too far to run a cable, you might be able to install a serial over Ethernet bridge next to the printer using the same physical Ethernet access by which the printer sees the network (local wired connection, WiFi, whatever).  Most of those are intended for use with PC's so you'd have to make sure the one you get can communicate with the PLC.

Ooh, you can roll your own, by using a BRX as the local Ethernet to serial bridge and send that PLC the strings you want sent to the printer, via the network.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.