GMU:Algorithmic Art/HP 7475A: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 24: Line 24:




'''Serial Connection'''
'''Serial Connection'''<br>
You need to find out the COM port, as which the USB/Serial adaptor was registered in your computer. In Windows, you can find out in the Device Manager, in Mac OS, I don’t know yet).
You need to find out the COM port, as which the USB/Serial adaptor was registered in your computer. In Windows, you can find out in the Device Manager, in Mac OS, I don’t know yet).
   
   


'''HPGL'''
'''HPGL'''<br>
The plotter only understands HPGL (Hewlett Packard Graphics Language). You can try the “HP7475A_live_input” sketch, to test some HPGL commands. You can find documentation about that language here:
The plotter only understands HPGL (Hewlett Packard Graphics Language). You can try the “HP7475A_live_input” sketch, to test some HPGL commands. You can find documentation about that language here:
Simple but incomplete reference
Simple but incomplete reference
Line 47: Line 47:


'''How to use the library for HPGL export in a Processing sketch?'''<br>
'''How to use the library for HPGL export in a Processing sketch?'''<br>
{
import hpglgraphics.*;
import hpglgraphics.*;
HPGLGraphics hpgl;
HPGLGraphics hpgl;
Line 63: Line 64:
   endRecord();
   endRecord();
}
}
 
}


'''How to send a HPGL file to the plotter?'''<br>
'''How to send a HPGL file to the plotter?'''<br>
Use the “HP7475A_feed_hpgl_file_01” or “HP7475A_feed_hpgl_file_02” sketches, which are almost the same (only the buffer handling works differently). Both do not work perfect yet for each case, but almost. For very detailed graphics (for example the “noise.hpgl” file), version 02 works better. Instructions how to use the programs are in the comments
Use the “HP7475A_feed_hpgl_file_01” or “HP7475A_feed_hpgl_file_02” sketches, which are almost the same (only the buffer handling works differently). Both do not work perfect yet for each case, but almost. For very detailed graphics (for example the “noise.hpgl” file), version 02 works better. Instructions how to use the programs are in the comments