Difference between revisions of "Okidata Microline 320 Turbo"

From Robert-Depot
Jump to: navigation, search
(Linux)
(direct write)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
=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
 +
*Should show up as OKI DATA CORP ML320/1TURBO.
 +
*Will not have software, select Oki 9-Pin Series.
 +
 
==LP==
 
==LP==
 
*lp drawing reference page https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man1/lp.1.html
 
*lp drawing reference page https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man1/lp.1.html
Line 23: Line 45:
 
Adding as Raw Printer:
 
Adding as Raw Printer:
 
*http://www.raspberrypi.org/phpBB3/viewtopic.php?t=35440&p=299332
 
*http://www.raspberrypi.org/phpBB3/viewtopic.php?t=35440&p=299332
 +
 +
Command Line printer management
 +
*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