Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!orsvax1!pyrnj!caip!cbmvax!daveb From: daveb@cbmvax.cbm.UUCP (Dave Berezowski) Newsgroups: net.micro.amiga Subject: Re: Help: dpaint and printing Message-ID: <75@cbmvax.cbmvax.cbm.UUCP> Date: Sat, 12-Apr-86 11:09:14 EST Article-I.D.: cbmvax.75 Posted: Sat Apr 12 11:09:14 1986 Date-Received: Wed, 16-Apr-86 03:20:39 EST References: <156@mit-amt.MIT.EDU> Organization: Commodore Technology, West Chester, PA Lines: 49 > Dpaint....it is a very nice program but I'm trying to use it in a special > way and it's putting me through the wringer. I'm running it in hi resolution > with only one bit plane (invoke as "dpaint hi 1"). In this mode I can > create nice crisp figures for black and white documents, and the response > time of dpaint is much improved since it only has to write to one bit plane. > > The Problem: if I try printing this image, some clever software (in AmigaDOS > and/or in dpaint) attempts to make the printed output fit exact dimensions > and maintain aspect ratio. The result is that I don't get a 1-to-1 reproduction > of the pixel image I created. Now this is fine for shaded and colored images > but I want to make a crisp diagram and I want the lines and characters to be > exactly like they are on the screen. > > Am I doing something wrong with respect to the preferences ? > I should also mention that I'm also down in the middle of the printer > driver examining all the printer parameters too. There seems to be some > kind of a calculation based on these numbers which causes the printing > to come out with repeated pixels to make the dimensions of the final image > come out right. I'm not really concerned as much with the final aspect > ratio. I just want a 1dot-to-1dot print of the screen. > I've tried alot of parameter combinations with varying success. > I can get either the horizontal or the vertical to work, but not together ! > > If anyone either has experience with this or knows what I'm doing > wrong, your response would be appreciated. I suspect that I'm not the > only person using dpaint to create hi resolution line and text drawings. > Where is this magic being done ? What calculation is it using ? > Is there a way around all this ?..... > ------ Dpaint is calling the dump rport routine specifying that it wants the largest possible picture based on two things; the maximum x/y dots of the printer which fits in the margins/lines per page that you've specified in preferences. There is no easy way for you to figure out the formulae that the printer routine is using (besides its quite ugly). However I do have a (partial) solution for you. I you select the Black&White option under preferences (versus the grey scale or color option) you find that the printed picture is no longer dithered. B&W prints all colors as either black or white no grey scaling. The colors it prints as white and black are determined by the threshold value. It works much like the contrast control on a photocopier. As you slide the control from one end to the other, more colors print as black or white depending on whether or not you also have selected the inverse image option. This won't give you a 1-1 coorespondence BUT the ansense of the dithering will help. Also, if you play with your margins enough, you may find that you can get a 1-1 correspondence as the printer can't print 1/2 dot. Good Luck! Regards, David Berezowski (daveb@cbmvax)