! Please ensure this document is distributed with the PDUMP.EXE file ! ++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + + FUJITSU COLOUR SCREEN DUMP PROGRAM + + + + (C) Fujitsu Europe Ltd + + + + Version 1.6 + + + + FEB 1991 + + + + Programs provided :- + + + + PDUMP Ver 1.6 + + PDCFG Ver 1.5 + + + ++++++++++++++++++++++++++++++++++++++++++++++++++++++ The Fujitsu screen dump program is a terminate and stay resident program which can be loaded into the PC directly via the command line or via the autoexec.bat file at boot time and will then be available to print the currently displayed PC screen on a Fujitsu colour matrix printer. The program currently supports the following screen adaptors := 1: IBM Colour Graphics Adaptor (CGA) 2: IBM Monochrome Adaptor 3: IBM Extended Graphics Adaptor (EGA) While operating in the following modes := Modes - 0,1,2,3,4,5,6,7, 13,14,15,16 Once the program is installed in memory it can be activated at any time by pressing the Hot key twice (by default the CTRL key), the screen be it text or graphics will then be sent to the printer in colour. Note that while printing the PC and its keyboard will be inactive. Once installed the user may change any given setting detailed in the option list below by running PDUMP again with suitable command line options and the copy of the program currently loaded will now operate with these new options set. The user may also obtain a report of the current settings of the program prior to printing an screen, to ensure the correct options are in force. Command Line Options PDUMP has several command line options which may be used when starting the program or included in the autoexec.bat file, they may also be altered by running PDUMP again to experiment with different colour settings etc, see UPDATEing section. Options may also be changed by using the program PDCFG.EXE also supplied with this version. 9 Pin Option: /9 This option instructs PDUMP to work in 9 pin mode. This provides a simple screen dump for use on the DX range of printers. It is more limited than the 24 pin mode, in that the following limitations apply Magnification is fixed at 1 Use of this option makes the following options non operational :- /Q /W /I Magnify option: /Xn - where n is the magnification factor and can be 1,2,3,4,6 The program can expand the screen image up to 6 times. The default is times 2 magnification. The command line option is selected as follows := The program will rotate (landscape) the image on the paper if the magnification selected is to large to fit the image across the page, the point at which this occurs is a detailed in the table below, and depends on the /W option to decide on the size of the printer. Portrait Landscape 80 Col printer 320 x 200 image x1,x2,x3,x4 x6 640 x 350 image x1,x2 x3,x4,x6 136 Col printer (ie /W option selected) 320 x 200 image x1,x2,x3,x4,x6 640 x 350 image x1,x2,x3 x4,x6 Wide Printer option: /W If you are using a printer of 136 columns the setting this option will allow a portrait image of greater size to be printed. Rotate option: /R This option will force the image to be printed in landscape mode despite the printer width/magnifcation settings. Quick output option: /Q This causes the output to be printed at 90 dpi in the horizontal direction which allows the image to be printed more quickly so you can check that the colour mappings are suitable etc. Note that aspect ratio is incorrect in this mode, this is only intended as a preview mode. Invert background: /I By default the program will print the background as black. However dependant on the screen image data being dumped, a more representative output may be obtained by inverting these colours to cause the background to take on a colour rather than appearing as black by using this option. The colours which are swapped with Black are controlled by the /Oxy option. Inverse colour option: /Oce Where c = CGA colour e = EGA colour When selecting an Inverse background as above the swapped colours may be selected with this option as follows: The option /O24 would have the following effect - Screen colour 0 which would normally print Black would be swapped with CGA colour 2 ie Magenta and EGA colour 4 ie Orange These two options are a good case of one picture being worth a thousand words - Not having the room for a thousand words, a few experiments should demonstrate the point. No header option: /H To remove the banner from the final printed output use the /H option. Printer Select option: /Pn - where n is the printer number and can be 0,1,2 This enables the bios output data to be directed to the relavent printer port, all other printer output will be controlled by the MSDOS MODE command. This command is not required if the /D option is in use Colour Mapping Options The program contains default colour mapping tables for the three main modes of operation ie: Text, CGA, EGA. These provide a suitable mapping for most applications, however since you can't please all the people all of the time, these mappings may be overridden from the command line as described below :- The option string is made up of the mode letter and the numbers of the printer inks that are required to be printed for each screen colour. The following mode option letters are valid :- /Tnnnn{...} - remap text colours 8 Colours /Cnnn{...} - remap CGA colours 3 Colours /Ennn{....} - remap EGA colours 7 Colours eg To remap the CGA colours the following command /C123 would map screen colour 1 to printer ink 1 etc. To skip over colours which do not need to be remapped substitute a '.'. The remapping starts from colour 1, ie you cant alter the background colour this is controlled by the /I option. eg /C..6. would cause screen colour 2 to be mapped to printer ink 6, note that trailing full stops can be ommitted. NOTE: The PC when using an EGA card can generate 16 colours although this program only supports 8 colours since the higher numbered colours are just different intensity versions and to support these would require more memory and more printing passes to be made thus slowing down output even further. To assist in setting up these mapping strings the /Mn option may be of use, this will cause a test pattern to be generated in the screen mode 'n' consisting of a pattern of coloured squares, this information will then be captured from the screen and dumped to the printer in the normal manner, and via a process of trial and error using the Update function a suitable mapping selection may be selected. Update + Status report options Update : Re-run PDUMP with new options Status : /? Once PDUMP is loaded and resident in the PC memory it may become neccesary to alter a particular option setting, this may be achived by running PDUMP a second (or N th ) time with the required option settings on the command line, PDUMP will notice that a copy is already loaded and will ask for confirmation that you wished to update it, pressing 'Y' in response will cause the new command line options to become effective. At some point you may forget the current settings of the options in PDUMP after many alterations using the Update mode, therfore by using the status report option ( /? ) PDUMP will reply with a table of the current settings as shown below := Status Report Magnify = 2 Invert = OFF LPT = 1 Rotate = OFF Quick = OFF Width = 80 No of Pins = 24 Screen Text CGA EGA ------------------------------------- 0 Black Black Black 1 Violet Violet Violet 2 Green Magenta Green 3 Cyan White Cyan 4 Orange Orange 5 Magenta Magenta 6 Brown Brown 7 Black White Inv 3 7 Activation Keystroke Currently the program is activated by the CTRL keystroke, this may clash with some other TSR, in this case the sequence may be altered to suit the user requirement. The following command line option may be used to select a new activation keystroke :- /An Where n is as follows := 0 = CTRL key 1 = Left SHIFT key 2 = Right SHIFT key 3 = ALT key NOTE: That the hot key requires 2 depressions in rapid succession. Appendix A FUJITSU DPL24C Colour Mapping n Printing colour -------------------------------- 0 Black 1 Magenta 2 Cyan 3 Violet 4 Yellow 5 Orange 6 Green 7 Brown Default colour mapping tables as contained in the program TEXT MODE Screen colour Printer colour -------------------------------------------- 0 Black Black (screen background) 1 Blue Violet 2 Green Green 3 Cyan Cyan 4 Red Orange 5 Magenta Magenta 6 Brown Brown 7 White White CGA MODE Screen colour Printer colour -------------------------------------------- 0 Black Blank (screen background) 1 Cyan Cyan 2 Magenta Magenta 3 White White EGA MODE As mentioned earlier the EGA supports 16 colours, but this program maps the higher intensity colors to their low intensity partners Screen colour Printer colour -------------------------------------------- 0 Black Black 1 Blue Violet 2 Green Green 3 Cyan Cyan 4 Red Orange 5 Magenta Magenta 6 Brown Brown 7 L.Grey White 8 D.Grey Black 9 L.Blue Violet 10 L.Green Green 11 L.Cyan Cyan 12 L.Red Orange 13 L.Magenta Magenta 14 Yellow Brown 15 White White SCREEN MODE -> COLOUR MAPPING TABLE Screen Mode Resolution Colours Mapping table ---------------------------------------------------- 0 Text 40x25 16 Text 1 Text 40x25 16 Text 2 Text 80x25 16 Text 3 Text 80x25 16 Text 4 Gra 320x200 4 CGA 5 Gra 320x200 4 CGA 6 Gra 640x200 2 CGA 7 Text 80x25 Mono Text 8 \ 9 | 10 |- Unsupported 11 | 12 / 13 Gra 320x200 16 EGA 14 Gra 640x200 16 EGA 15 Gra 640x350 Mono EGA 16 Gra 640x350 16 EGA User Notes: Text screen dumpers please note that YELLOW has been set to print in BROWN since yellow text is not very readable, if you wish YELLOW to be printed as such run the program using the following command line PDUMP /T......4 Or use the PDCFG.EXE program. This will cause Yellow text to be printed in Yellow. Printers Supported This program supports the following FUJITSU printers, depending on the emulation selected in the printer & the mode selected within PDUMP. All of which are either upgradable to colour or available as standard with colour. 9 Pin Dot Matrix DX 2100 80 Column > USE /9 Option DX 2200 136 " >------- DX 2300 80 " > DX 2400 136 " > 9 Pin dump works with all emulations avaliable on the DX 2x00 range of printers. 24 Pin Dot Matrix DL 900 110 Column (wo'nt be colour) DL 1100 " " DL 3300 80 Column DL 3400 136 Column DL 3450 " " DL 3600 " " DL 2400 136 Column DL 2600 " " DL 4400 136 Column DL 4600 " " DL 5600 136 Column DL 5800 " " The 24 pin printers should be set to the DPL24C or DPL24C+ emulation for use with this program. Acknowledgements This program uses a method of safe TSR operation as detailed in TSRDEM2.ARC Copyright 1987 by Thomas Brandenborg, Denmark which is in the public domain and available on several bulletin boards in the UK. This program has been tested in conjuction with many software packages without problem - BUT there are bound to be many more which will cause some problem, I hope it works for you !. +++++++++ SHAREWARE +++++ SHAREWARE +++++ SHAREWARE ++++++++ This program is copyright Fujitsu Europe Ltd but is placed into the public domain and may be freely copied and distributed provided it is not modified in any way & no charge is made for its distribution. DISCLAIMER In no event shall the author of this program or FUJITSU be liable for any damages, material or otherwise, arising from the use (or misuse) or this program. Suitability and functionality of this program is not guaranteed. Chris Bartley FUJITSU EUROPE LtD 2 Longwalk Rd Stockley Park Uxbridge Tel 081-573-4444 Fax 081-573-2643 +++++++++ SHAREWARE +++++ SHAREWARE +++++ SHAREWARE ++++++++