Difference between revisions of "Okidata Microline 320 Turbo"

From Robert-Depot
Jump to: navigation, search
(OS X)
(direct write)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Home | <<< back to Wiki Home]]
+
=Arduino control=
 +
*parallel port interface
 +
*arduino nano with ethernet shield.
 +
=direct write=
 +
*with newline: <syntaxhighlight lang="bash">echo "works just fine" | nc 192.168.1.101 1000</syntaxhighlight>
 +
*without newline: <syntaxhighlight lang="bash">echo -n "works just fine" | nc 192.168.1.101 1000</syntaxhighlight>
 +
*printf: <syntaxhighlight lang="bash">printf " keep on going" | nc 192.168.1.101 1000</syntaxhighlight>
 +
=echo to /dev/usb/lp0=
 +
*change rules so device loads R/W
 +
*edit /lib/udev/rules.d/50-udev-default.rules
 +
*add line:
 +
<syntaxhighlight lang="bash">KERNEL=="lp[0-9]*", GROUP="lp", MODE="0666"</syntaxhighlight>
 +
 
 +
=Okidata Microline 320 Control=
 +
*http://my.okidata.com/MAN390HB.NSF/MOCContents/4F6AD49DB70B93F6852562F400594112?OpenDocument
 +
*http://www.myokidata.com/MANTR320.NSF/MOCContents/E106A4737149EFB9852561B7006D2384?OpenDocument
 +
*http://my.okidata.com/MAN-ML320-1TURBO-N.NSF/WebBPXContents/5E8F9A6F259F89F185256A710048FD40?OpenDocument
 +
 
 
=OS X=
 
=OS X=
 
*Systems Preferences -> Printers and Scanners -> Add New Printer
 
*Systems Preferences -> Printers and Scanners -> Add New Printer
Line 31: Line 48:
 
Command Line printer management
 
Command Line printer management
 
*http://www.techrepublic.com/article/control-printers-in-linux-from-the-command-line/5055067
 
*http://www.techrepublic.com/article/control-printers-in-linux-from-the-command-line/5055067
 +
 +
=Arduino=
 +
*http://forum.arduino.cc/index.php?topic=74776.0

Latest revision as of 12:01, 28 September 2015

Arduino control

  • parallel port interface
  • arduino nano with ethernet shield.

direct write

  • with newline:
    echo "works just fine" | nc 192.168.1.101 1000
    
  • without newline:
    echo -n "works just fine" | nc 192.168.1.101 1000
    
  • printf:
    printf " keep on going" | nc 192.168.1.101 1000
    

echo to /dev/usb/lp0

  • change rules so device loads R/W
  • edit /lib/udev/rules.d/50-udev-default.rules
  • add line:
KERNEL=="lp[0-9]*", GROUP="lp", MODE="0666"

Okidata Microline 320 Control

OS X

  • Systems Preferences -> Printers and Scanners -> Add New Printer
  • Should show up as OKI DATA CORP ML320/1TURBO.
  • Will not have software, select Oki 9-Pin Series.

LP

others

Windows

Linux

Adding microline 320 printer

Printer queue command line tools http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch05s07.html

  • lpstat -o
  • lprm

Adding as Raw Printer:

Command Line printer management

Arduino