aperez@cvbnet.UUCP (Arturo Perez x6739) (02/22/90)
I'm trying to get the ImageWriter ][ to print onto 3x5 and 5x8 index cards (either handfed or tractorfed). Since I don't have source code (nor a compiler, for that matter!) I am working directly on a copy of the ImageWriter device driver executable, image, or whatever you wanna call it. I duly bought my copy of Inside Mac I, II, and III and found the description of the PREC data structure. I then used ResEdit to modify the device driver so that the page and paper rectangles were the correct size for index cards. But MALDICIONES! something, somewhere is resetting the values back to full size pages, i.e. 8 1/2 x 11. Where is this beast? Also, how do I determine which radio button on the style dialog screen uses which PREC. In other words, I want the style dialog box to display the correct paper sizes when I'm using my doctored driver. How do I do that? Arturo Perez ComputerVision, a division of Prime aperez@cvbnet.prime.com Too much information, like a bullet through my brain -- The Police
casseres@apple.com (David Casseres) (02/24/90)
In article <20@cvbnetPrime.COM> aperez@cvbnet.UUCP (Arturo Perez x6739) writes: > I'm trying to get the ImageWriter ][ to print onto 3x5 and 5x8 > index cards (either handfed or tractorfed). Good luck! After you get the software doing what you want, I predict you'll be fighting the mechanics of the printer > I duly bought my copy of Inside Mac I, II, and III and found the > description of the PREC data structure. I then used ResEdit to > modify the device driver so that the page and paper rectangles > were the correct size for index cards. The right way to do this is as follows: Using a recent version of ResEdit (I use 1.2) duplicate the PREC 3 resource. Use the Get Info command to set its ID to 4. Now use the Open as Template command to open PREC 4 with the PRC3 template. This gives you a form on the screen where you can tell exactly what you're doing. Note that the units for defining paper sizes are 120ths of an inch. > But MALDICIONES! something, somewhere is resetting the values back > to full size pages, i.e. 8 1/2 x 11. What application are you using? Try using the above procedure and see if things work better. David Casseres Exclaimer: Hey!