Program Name : PrtDrvGen - Printer Driver Generator Version : 1.1 (bugs in 1.0 removed) Release Date : 870122 Programmer : Jxrgen Thomsen Copyright : shareware, $10 requested. See "Copyright" and "Availability" below. Files : PrtDrvGen - executable file ( e.g. input: PrtDrv.lod, NECCP6.dat output: NECCP6) PrtDrv.lod - Amiga load module implementing the special functions of the driver generated. DON'T execute it. It will crash the system. NECCP6.dat - parameter file with escape sequences and parameters to be used when generating a driver for the NEC P6,CP6,P7,CP7 printers PrmFil.doc - how to change the parameter file and generate the driver ReadMe - this file Special features: - each paper size (USLetter etc.) may have individually defined width, length, perforation skip length and printer initialization sequence. Allows you through Preferences to select several combinations of character sets, justification, proportional spacing etc. - definable size of Pica, Elite and Fine types for printers supporting other character sizes than 10, 12, 15 CPI - insert internal parameters as binary or decimal numbers into escape sequences specific for your printer - partial line up/down implemented as such and not as sub/superscript, which optionally is available - graphics dumps may be scaled to any size and positioned on the paper according to most recent margins and print pitch settings by user. This provides better support for mixing text and graphics - supports up to four graphics modes, if your printer does the same. Specify by combination of Draft/Letter and 6/8 LPI. - printing of blank lines in graphics dumps optimized. No more idle passes of the print head across the paper. - definable pixel width/height ratio to get you true round circles and square squares with e.g. DPaint - definable print sequence of colors to get the best colors for your printer or match the sequence of data required for your printer - for printers supporting fore/background colors it is possible to define the printer specific color values - pixel bits stored in the print buffer according to specified parameters in order to accomodate different brands of printers - adaptive double buffering (if memory not available for two buffers, then use only one) and allocation of small buffers for b/w and grey scale pictures (compensates for the larger code size of this driver) - in case of lack of sufficient contiguous memory "No mem" will be output to the printer Input data: Files PrtDrv.lod and NECCP6.dat (or your own parameter file) and two prompts Output data: One file containing the driver generated In case of detected errors an error message will be output and no driver generated. Processing: The file .dat is read and an internal table created. If the simple driver is selected, this table is stored into the file . If the full featured driver is selected, this table and the file PrtDrv.lod are combined and stored into the file . Source code: The system is written in TDI Modula-2 and requires release 2.00a of this compiler, if you want to customize the driver. The source files enable you to further customize and optimize the driver generated, if you have specific needs or want to make a (minor) improvement to the speed of generating graphics. The code is written with emphasis on maintainability and reasonable performance speed, but you will probably be able to save a few micro seconds some places and make the code smaller. Support: The generated driver has not been tested in every detail, so please report bugs and suggestions for improvements. When the new release of the TDI Modula-2 compiler becomes available I intend to make the needed, if any, changes to the PrtDrvGen program. I hope, that people with other brands of printers will modify the parameter file and upload it, so that a lot of people may benefit from being able to customize their own printer driver. Availability : After some consideration I have made both source and object code public as shareware, but due to the large amount of hours I have spent on making this generator system (and $ X (X > 150) in connect time supporting the previous version) I will suggest a modest token of appreciation of $10 from you if you feel it has been of any value to you. The source for V1.1 is available at an additional fee of $15. I think a word of warning is needed for people wanting to add features to a printer driver: a driver is a general purpose interface to the hardware supporting its features. It is neither a word processor nor a graphics package, but it supports these by making the hardware features accessible in a simple way. Copyright: PrtDrvGen, Commodore Amiga Printer Driver Generator. ==================================================== Copyright 1987, Joergen Thomsen. All Rights Reserved. Compuserve : 71310,2206 GEnie : J.THOMSEN People Link: J.THOMSEN USMail : 10623 E. 66th S. #366 Tulsa, OK 74133 This product may be freely distributed provided that a) this copyright notice is included b) all files of this product are included c) it is distributed free of charge d) this product is neither explicitly nor implicitly included in another product sold for profit. The copyright owner may at any time selectively revoke the right to distribution.