how to print graphics with Apple II+ ? [message #359767] |
Fri, 29 December 2017 16:57 |
|
Originally posted by: Chris Tobar
Hi all,
I haven't posted here in a while, but I have a question. A while back, I installed a Super Serial card in my Apple II+ and I also hooked up an ImageWriter printer (which I found in a thrift shop!). The printer is working great. I was wondering if it's possible to get the printer to print graphics that have been drawn on the screen, or would I need to have some other hardware? Like say if I just used the GR command and drew a low resolution picture with HLIN and VLIN, could I somehow send that to the printer? I first tried to use PR#1 as the first line of code, thinking that would send everything to the printer instead of the monitor, but that only sent the text I had below the graphics and not the picture itself.
Is there a relatively easy way to do this?
- Chris
|
|
|
Re: how to print graphics with Apple II+ ? [message #359779 is a reply to message #359767] |
Fri, 29 December 2017 17:32 |
Anthony Lawther
Messages: 62 Registered: May 2013
Karma: 0
|
Member |
|
|
Chris Tobar <gatewaycityca@yahoo.com> wrote:
> Hi all,
>
> I haven't posted here in a while, but I have a question. A while back, I
> installed a Super Serial card in my Apple II+ and I also hooked up an
> ImageWriter printer (which I found in a thrift shop!). The printer is
> working great. I was wondering if it's possible to get the printer to
> print graphics that have been drawn on the screen, or would I need to
> have some other hardware? Like say if I just used the GR command and
> drew a low resolution picture with HLIN and VLIN, could I somehow send
> that to the printer? I first tried to use PR#1 as the first line of
> code, thinking that would send everything to the printer instead of the
> monitor, but that only sent the text I had below the graphics and not the picture itself.
>
> Is there a relatively easy way to do this?
>
> - Chris
>
>
You don't need more hardware, but software.
Essentially, the ImageWriter is put into graphics mode, and the image can
then be read from the screen and printed.
I recall a program that I used; I think it might have been a Beagle
Brothers product.
Regards,
Anthony
|
|
|
Re: how to print graphics with Apple II+ ? [message #359780 is a reply to message #359767] |
Fri, 29 December 2017 17:35 |
scott
Messages: 4237 Registered: February 2012
Karma: 0
|
Senior Member |
|
|
In article <c2096003-8365-4c4c-b618-8d1814764eea@googlegroups.com>,
Chris Tobar <gatewaycityca@yahoo.com> wrote:
> I haven't posted here in a while, but I have a question. A while back,
> I installed a Super Serial card in my Apple II+ and I also hooked up an
> ImageWriter printer (which I found in a thrift shop!). The printer is
> working great. I was wondering if it's possible to get the printer to
> print graphics that have been drawn on the screen, or would I need to
> have some other hardware? Like say if I just used the GR command and
> drew a low resolution picture with HLIN and VLIN, could I somehow send
> that to the printer? I first tried to use PR#1 as the first line of
> code, thinking that would send everything to the printer instead of the
> monitor, but that only sent the text I had below the graphics and not
> the picture itself.
The Imagewriter will print graphics, but there's nothing in ROM that knows a
thing about doing so. You'd need to write your own screen-dump software, or
find someone else's. I had working Hi-Res screen-dump code that I'd written
back in the day, but I'm not sure if I still have it.
_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( https://alfter.us/ Top-posting!
\_^_/ >What's the most annoying thing on Usenet?
|
|
|
Re: how to print graphics with Apple II+ ? [message #359782 is a reply to message #359767] |
Fri, 29 December 2017 18:43 |
gids.rs
Messages: 1395 Registered: October 2012
Karma: 0
|
Senior Member |
|
|
On Friday, December 29, 2017 at 3:57:46 PM UTC-6, Chris Tobar wrote:
> Hi all,
>
> I haven't posted here in a while, but I have a question. A while back, I installed a Super Serial card in my Apple II+ and I also hooked up an ImageWriter printer (which I found in a thrift shop!). The printer is working great. I was wondering if it's possible to get the printer to print graphics that have been drawn on the screen, or would I need to have some other hardware? Like say if I just used the GR command and drew a low resolution picture with HLIN and VLIN, could I somehow send that to the printer? I first tried to use PR#1 as the first line of code, thinking that would send everything to the printer instead of the monitor, but that only sent the text I had below the graphics and not the picture itself.
>
> Is there a relatively easy way to do this?
>
> - Chris
You wont be able to use HLIN or VLIN, as the printer can only print one dot at a time, but you could probably use PLOT. PLOT plots to the hi-res screen, so you will have to write a program that at the same time plotting to the screen, will send a plot to the printer. Although, I think plotting one pixel at a time defeats the purpose of printing a picture. Just PLOT or DRAW everything to the screen, then print the whole picture. Two hi-res pictures can be printed side by side on a 8 inch wide printer paper.
I have a collection of printer routines for both imagewriter (serial) and Epson compatibles (parallel printing) for printing the full hi-res screen.
For printing in Dbl hi-res (IIe or greater) there is a couple of Nibble programs on disk in Asimov. "Three Way Picture Printer and DublStuff" print full screen dbl hi-res in color.
Email me so I have something to reply to, I can send you a disk image of what I have.
Rob
|
|
|
Re: how to print graphics with Apple II+ ? [message #359784 is a reply to message #359782] |
Fri, 29 December 2017 20:30 |
|
Originally posted by: Chris Tobar
Well, yeah, that's what I wanted to do - draw a picture on the screen with code and then print it. I use HLIN and VLIN to draw a picture line-by-line. I like using low resolution because it has more colors.
At the moment, I don't have any way of transferring disk images to the Apple II. None of my modern computers have a serial port, so I guess I would need a serial to USB adapter.
|
|
|
|
|
|
Re: how to print graphics with Apple II+ ? [message #359798 is a reply to message #359784] |
Fri, 29 December 2017 23:20 |
gids.rs
Messages: 1395 Registered: October 2012
Karma: 0
|
Senior Member |
|
|
On Friday, December 29, 2017 at 7:30:12 PM UTC-6, Chris Tobar wrote:
> Well, yeah, that's what I wanted to do - draw a picture on the screen with code and then print it. I use HLIN and VLIN to draw a picture line-by-line. I like using low resolution because it has more colors.
>
> At the moment, I don't have any way of transferring disk images to the Apple II. None of my modern computers have a serial port, so I guess I would need a serial to USB adapter.
The smallest program I have is small enough to type in but only prints in only one of the six colors, so I will post it here.
1 HOME : PRINT "PRINT ON RIGHT SIDE OF PAPER (Y/N) -> ";: GET A$:T = 40 * (A$ = "Y")
2 PRINT : PRINT "WHICH COLOR WOULD YOU LIKE TO PRINT IN:": FOR I = 0 TO 6: READ A$: HTAB 10: PRINT I" - "A$: NEXT : DATA BLACK,YELLOW,RED,BLUE,ORANGE,GREEN,PURPLE
4 PRINT : PRINT "CHOICE (0-6) -> ";: GET A$:C = VAL (A$)
5 PRINT CHR$ (21): CALL - 3100: POKE 230,32
10 D$ = CHR$ (4):E$ = CHR$ (27): PRINT D$"PR#1"
11 PRINT CHR$ (9)"80N"
12 PRINT E$"L000": IF T = 40 THEN PRINT E$"L040"
15 PRINT E$"T07": PRINT E$"K"C: PRINT E$"D" CHR$ (0) CHR$ (32)
20 FOR I = 39 TO 0 STEP - 1: POKE 6,I: FOR J = 0 TO 2: PRINT E$"G0192"
30 CALL 768: NEXT : PRINT : NEXT
40 PRINT : PRINT E$"T08": PRINT D$"PR#0"
50 TEXT : HOME
0300:A9 00 D0 04 A9 00 85 09 A9 40 85 08 A5 09 85 1B
0310:0A 0A 85 1A 0A 2A 2A 05 1A 29 1F 05 E6 48 29 00
0320:6A 24 1B 10 02 69 50 50 02 69 28 85 1A 68 85 1B
0330:A9 40 20 A8 FC A4 06 B1 1A 29 7F 8D 90 C0 49 7F
0340:91 1A E6 09 C6 08 D0 C4 60
|
|
|
Re: how to print graphics with Apple II+ ? [message #359827 is a reply to message #359798] |
Sat, 30 December 2017 22:33 |
|
Originally posted by: Chris Tobar
Rob,
I tried to type in your code tonight, but the computer gave me sytax errors on the lines at the bottom (what I'm guessing is assembly code, starting at 0300)
I wrote code to draw a simple picture on the screen with HLIN and VIN, and then typed in your code at the end of that. I don't know what I'm doing wrong.
BTW, Matthew, I'm definitely interested in getting a couple of color ribbons if/when I can ever figure this out!
- Chris
|
|
|
|
Re: how to print graphics with Apple II+ ? [message #359831 is a reply to message #359827] |
Sun, 31 December 2017 00:20 |
gids.rs
Messages: 1395 Registered: October 2012
Karma: 0
|
Senior Member |
|
|
> I tried to type in your code tonight, but the computer gave me sytax errors on the lines at the bottom (what I'm guessing is assembly code, starting at 0300)
>
> I wrote code to draw a simple picture on the screen with HLIN and VIN, and then typed in your code at the end of that. I don't know what I'm doing wrong.
>
Even without the CALL -151 you shouldn't get syntax errors.
The ML lines would just show up as applesoft line #300,310,320,330,340
Getting a SYNTAX ERROR baffles me as to what you might be entering.
|
|
|
Re: how to print graphics with Apple II+ ? [message #359836 is a reply to message #359767] |
Sun, 31 December 2017 00:37 |
Michael J. Mahon
Messages: 1767 Registered: October 2012
Karma: 0
|
Senior Member |
|
|
Chris Tobar <gatewaycityca@yahoo.com> wrote:
> Hi all,
>
> I haven't posted here in a while, but I have a question. A while back, I
> installed a Super Serial card in my Apple II+ and I also hooked up an
> ImageWriter printer (which I found in a thrift shop!). The printer is
> working great. I was wondering if it's possible to get the printer to
> print graphics that have been drawn on the screen, or would I need to
> have some other hardware? Like say if I just used the GR command and
> drew a low resolution picture with HLIN and VLIN, could I somehow send
> that to the printer? I first tried to use PR#1 as the first line of
> code, thinking that would send everything to the printer instead of the
> monitor, but that only sent the text I had below the graphics and not the picture itself.
>
> Is there a relatively easy way to do this?
>
> - Chris
Chris, what you're looking for is a screen dump program.
They dump a selected hi-res screen to your dot matrix printer. Practically
all of them are monochrome, and most don't do lo-res or double hi-res.
There were a lot of them in the 1980s, and several parallel printer cards
had the capability in ROM.
A search should turn up everything from type-in programs to commercial
ones. They were a common utility.
--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
|
|
|
Re: how to print graphics with Apple II+ ? [message #366207 is a reply to message #359779] |
Mon, 09 April 2018 21:45 |
|
Originally posted by: questar
On Friday, December 29, 2017 at 2:32:51 PM UTC-8, Anthony Lawther wrote:
> Chris Tobar <gatewaycityca@yahoo.com> wrote:
>> Hi all,
>>
>> I haven't posted here in a while, but I have a question. A while back, I
>> installed a Super Serial card in my Apple II+ and I also hooked up an
>> ImageWriter printer (which I found in a thrift shop!). The printer is
>> working great. I was wondering if it's possible to get the printer to
>> print graphics that have been drawn on the screen, or would I need to
>> have some other hardware? Like say if I just used the GR command and
>> drew a low resolution picture with HLIN and VLIN, could I somehow send
>> that to the printer? I first tried to use PR#1 as the first line of
>> code, thinking that would send everything to the printer instead of the
>> monitor, but that only sent the text I had below the graphics and not the picture itself.
>>
>> Is there a relatively easy way to do this?
>>
>> - Chris
>>
>>
>
> You don't need more hardware, but software.
>
> Essentially, the ImageWriter is put into graphics mode, and the image can
> then be read from the screen and printed.
>
> I recall a program that I used; I think it might have been a Beagle
> Brothers product.
>
> Regards,
> Anthony
The Beagle Brothers program is called 'Triple Dump' and could dump any type of screen to the printer.
|
|
|