Difference between revisions of "Okidata Microline 320 Turbo"
From Robert-Depot
(→direct write) |
|||
(10 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 12: | Line 34: | ||
=Linux= | =Linux= | ||
− | + | Adding microline 320 printer | |
*Adding to linux system | *Adding to linux system | ||
*parallel:/dev/usblp0 | *parallel:/dev/usblp0 | ||
*http://ubuntuforums.org/showthread.php?t=1436079&page=2 | *http://ubuntuforums.org/showthread.php?t=1436079&page=2 | ||
− | + | Printer queue command line tools | |
http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch05s07.html | http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch05s07.html | ||
*<code>lpstat -o</code> | *<code>lpstat -o</code> | ||
*lprm | *lprm | ||
+ | |||
+ | Adding as Raw Printer: | ||
+ | *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
Contents
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
- 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
- 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 drawing reference page https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man1/lp.1.html
- direct stream to LPT, via usb: http://hintsforums.macworld.com/archive/index.php/t-111504.html
- cat myTextFile.txt | lp -oraw
- raw lp from terminal
others
- cups driver for mac http://buymelunch.org/printing/usbtb/
Windows
- generic printer - http://social.msdn.microsoft.com/Forums/hr/netfxbcl/thread/bc5a1635-90ff-4dda-aed7-7e5f6493ccdb
Linux
Adding microline 320 printer
- Adding to linux system
- parallel:/dev/usblp0
- http://ubuntuforums.org/showthread.php?t=1436079&page=2
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