Thread View: comp.sys.ibm.pc.programmer
1 messages
1 total messages
Started by Andries Dippenaar
Mon, 03 Aug 1992 09:21
Drawing vectors on HP IIP
Author: Andries Dippenaar
Date: Mon, 03 Aug 1992 09:21
Date: Mon, 03 Aug 1992 09:21
32 lines
2037 bytes
2037 bytes
Hi Netters(tm), I've got this problem of having to draw simple vectors on an HP IIP laser printer. The scenario is this: The page consists of a lot of text with one area containing a simple graph (just a few connected lines). If I position the `cursor' at the last printing position, can I simply enter graphics mode and start `plotting'? I've figure that lines may be drawn with relative (or absolute if that's required) cursor motions (+/-x dots, etc) and points plotted by drawing 1x1 dot rectangles (yes, utterly yech). The only problem is this: it does not work! Note: I do *not* want to generate a full bitmap and download that! Question(s): Do I have to be in graphic mode to draw the rectangles? I've only got a User's Manual, no Programmer's Manual, so it only lists the command codes. Will the `define rectangle height, define rectangle with, fill rectangle (Esc*c#a#b2P) sequence do the `plot'? Will the move cursor with relative coordinates (ie. # prefixed with +/-) work for move the plot position? Alternatively: Has somebody perhaps got sample code to show how the vectors can be done? Any pointers will be highly appreciated. Andries *********************************************************************** * /|~~\ * APJ Dippenaar * "If you wanna make the world a * * /__|__/ * apj@sunvax.sun.ac.za * better place, take a look at * * / | * Univ of Stellenbosch * yourself and make a change." * * / \__| * South Africa * -- Michael Jackson * ***********************************************************************
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads