Anonymous

Equipment/Selex: Difference between revisions

From London Hackspace Wiki
Merge pages.
(Fix image size.)
(Merge pages.)
Line 1: Line 1:
[[File:Plotter_in_london_Hackspace.jpg|250px|The printer.]]
{| class="wikitable" style="float:right;width:250px;margin-left:10px;margin-bottom:10px;"
|-
! colspan="2" style="text-align: center;" | {{#if:{{{version|}}} | [[{{#titleparts:{{FULLPAGENAME}}|-1}}|{{{name|{{BASEPAGENAME}}}}}]] | {{{name|{{SUBPAGENAME}} }}} }}
{{#if:{{{created|}}}|
{{!}}-
! Created
{{!}} {{{9/05/11}}}
}}
{{#if:{{{version|}}}|
{{!}}-
! Version
{{!}} {{{version}}}
}}
{{#if:{{{members|}}}|
{{!}}-
! Members
{{!}} {{{members}}}
}}
 
[[File:Plotter in london Hackspace.jpg|250px|The printer.]]
 
{{#if:{{{status|}}}|
{{!}}-
! Project Status
{{!}} {{{in Progress}}}
}}
{{#ifexpr:{{{qrmode|1}}} > 0|
{{!}}-
{{!}} colspan="2" style="text-align: center;" {{!}} {{#ifeq:{{{qrmode|1}}}|2|<div style="height: 200px; width: 200px; margin: 0 auto; background: no-repeat 50% 50% #ccc url(http://chart.apis.google.com/chart?chs=200x200&cht=qr&chl=http://wiki.hackspace.org.uk/wiki/{{FULLPAGENAMEE}}&.png); text-align: center; vertical-align: middle">
&nbsp;
</div>}} [http://chart.apis.google.com/chart?chs=200x200&cht=qr&chl=wiki.hackspace.org.uk/wiki/{{FULLPAGENAMEE}}&.png QR code]}}
|}
 
==Status==
 
Location: Near lovelace. It's kind of hard to lose!
Status: It works! It can be slow for large complex plots.


==Description==
==Description==


We have a Selex A0 black & white printer. It is really really old and quite slow but it does work. Because it was made in around '94, it uses HP-GL/2 and HP-RTL as input.
We have a Selex SR-710E A0 black & white printer. It is really really old and quite slow but it does work. Because it was made in around '94, it uses HP-GL/2 and HP-RTL as input. Apparently it is the same as the TechJet 720c, and Selex was bought out by Canon, which is why there is little information about them on the web.


HP-GL/2 is a vector format designed for plotters. It's like a more terse version of Logo. Because this is actually a printer pretending to be a pen-plotter it can't draw lines in any order like a pen-plotter can. So when you send the HP-GL/2 data to the printer, it converts it to an internal spatially indexed format, so that it can print it out. This can take a long time! And it also can't stream vector data, so the printer can run out of memory.
HP-GL/2 is a vector format designed for plotters. It's like a more terse version of Logo. Because this is actually a printer pretending to be a pen-plotter it can't draw lines in any order like a pen-plotter can. So when you send the HP-GL/2 data to the printer, it converts it to an internal spatially indexed format, so that it can print it out. This can take a long time! And it also can't stream vector data, so the printer can run out of memory.
Line 10: Line 46:


The readable, but long spec for HP-GL/2 and HP-RTL is here: http://www.hpmuseum.net/document.php?catfile=213
The readable, but long spec for HP-GL/2 and HP-RTL is here: http://www.hpmuseum.net/document.php?catfile=213
==Ink==
Black, Canon BC-01 definitely works. The map near the wall was printed with one of these.
BC-02 may work, but Tom tried two and neither worked.
You can get remanufactured cartridges for less than £10. If you are going to buy one, get BC-01.


==Initialising the printer==
==Initialising the printer==
Line 21: Line 65:
==Sending the print job==
==Sending the print job==


The printer is connected via a USB-to-serial adapter to Lovelace. To print, simply cat your HP-GL/2 file into /dev/ttyUSB0 or something like that. HP-GL/2 files have an extension of ".plt". So your command might be:
The printer is connected via a USB-to-serial adapter to Lovelace. To print, simply cat your HP-GL/2 file into /dev/ttyUSB0 or something like that. HP-GL/2 files have an extension of ".plt" or ".hpgl". So your command might be:


cat myplot.plt > /dev/ttyUSB0
    cat myplot.plt > /dev/ttyUSB0


This command will block, and while it is executing the printer will start a count-up timer, with an ASCII busy animation: *+-+*+- etc. This means that it is processing the data. Eventually (~15 minutes for a simple A1 plot), it will suddenly start printing!
This command will block, and while it is executing the printer will start a count-up timer, with an ASCII busy animation: *+-+*+- etc. This means that it is processing the data. Eventually (~15 minutes for a simple A1 plot), it will suddenly start printing!


==Creating plt files==
==Creating plot files==


This is the tricky part! Apparently Inkscape can output HP-GL/2. And suppooosedly CUPS can be set up to print to it, and this will probably work for simple plots, but for complex ones it is better if you can get proper HP-GL/2 output from whatever you are trying to print.
This is the tricky part! Apparently Inkscape can output HP-GL/2. And suppooosedly CUPS can be set up to print to it, and this will probably work for simple plots, but for complex ones it is better if you can get proper HP-GL/2 output from whatever you are trying to print.


For the A1 map near the door I wrote an HP-GL/2 output module for my map program.
For the A1 map near the door I wrote an HP-GL/2 output module for my map program.
==CUPS==
Apparently it can also be made to work with CUPS. The printer should be set (using the menu buttons) to:
Protocol: AUTO (which really means HPGL2/RTL).
Serial: 9600 baud, 8N1 serial (note that the traditional default is 2400 7E1).
Then tell CUPS it is a normal Design jet 500 (or use the driver of the HP DesignJet 650C; which is the best HPGL2 driver - but change the paper to 24inch).
Mac users can do the same - except they need to first install [CUPS serial drivers]. Once done - the serial device will show up - when in doubt - go to localhost:631 and observe.
==Windows==
Windows can print to HP-GL/2 printers, and I have got it to work using XP. It printed the word "Test" fine, however, it did take 50 minutes to print a fairly complex A4 PDF. Also check the links below for drivers. YMMV.
==Links==
* http://xpdrivers.com/printer/selex/sr-series/_4_6673.cfm
* http://www.myinkpro.com/printers-selex-sr-710d-e.html
* http://www.printcountry.com/troubleshooting/selex_sr710_d_e_printing_problem_help.htm