home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 195 / 1904.ZIP / 1904.TXT
Text File  |  1992-06-05  |  4KB  |  88 lines

  1. Document 1904
  2. Printmap and Printer
  3. 04/13/92
  4. MG
  5.  
  6.         USING THE PRINTMAP AND PRINTER COMMANDS IN MULTIUSER DOS
  7.  
  8. DOCUMENTATION REFERENCES
  9. - Page 16-42 in the Multiuser DOS User Guide
  10. - Pages 13-2 to 13-4 in the Multiuser DOS User Guide
  11. - Pages 11-115 to 11-116 in the Multiuser DOS User Guide
  12.  
  13. DEFAULTS
  14. - The first concept to understand about MDOS port assignments is: while
  15. most DOS applications (and therefore most DOS users) refer to the
  16. printer ports as LPT1, LPT2, etc., and to the serial ports as COM1,
  17. COM2, etc., Multiuser DOS uses these device names as logical names
  18. only, each of which can be mapped to any physical port.  The physical
  19. ports are known to Multiuser DOS as PRN0, PRN1, etc. (for printer
  20. ports), and AUX0, AUX1, etc. (for serial ports).
  21. - The default assignments for PRINTMAP can be seen by typing PRINTMAP
  22. at a prompt.  They are as follows:
  23.  
  24. Logical name    MDOS Physical           Physical port
  25.                     name
  26.  
  27. LPT   1         Printer   0             Parallel Port 0
  28. LPT   2         Printer   1             Parallel Port 1
  29. LPT   3         Printer   2             Parallel Port 2
  30.  
  31. COM   1         Aux       0             COM1 Port
  32. COM   2         Aux       1             COM2 Port or
  33.                                         Multiport 1
  34.  
  35. - The default descriptions for each possible printer and serial device
  36. are stored in a file called PRINTMAP.DAT (in the OSUTILS directory).
  37. For printing from the console, they are as follows:
  38.  
  39. MDOS Physical name              Physical port
  40.  
  41. Printer 0                       Parallel port 0
  42. Printer 1                       Parallel port 1
  43. Printer 2                       Parallel port 2
  44. Printer 3                       COM1 port
  45. Printer 4                       COM2 port or Multiport 1
  46. Printer 5                       Multiport 2
  47. Printer 6                       Multiport 3
  48.    .                                 .
  49. Printer 15                      Multiport 12
  50.  
  51. Aux     0                       COM1 port
  52. Aux     1                       COM2 port or Multiport 1
  53. Aux     2                       Multiport 2
  54. Aux     3                       Multiport 3
  55.   .                                  .
  56. Aux    15                       Multiport 15
  57.  
  58. For printing from a terminal:
  59. ***The default printer for a terminal is the printer off the back of
  60. that terminal.  To the software running on a terminal, "LPT1" is the
  61. printer that is local to the terminal, by default.  To change this, a
  62. PRINTMAP or PRINTER command would be needed.
  63.  
  64. - The syntax of PRINTMAP, in general is:
  65.         PRINTMAP Logical name = MDOS Physical name
  66. The effect of this is to map the physical port to the logical port name
  67. for this session only.  If the mapping needs to take effect for every
  68. session on a given terminal, put /* after the mapping.
  69.  
  70. EXAMPLES
  71.  
  72. - To send all output that software has directed to LPT3 (from the
  73. session the terminal is in) to the printer defined by the system as
  74. Printer 3 (the printer that is plugged into the device which is plugged
  75. into port COM1), type
  76.         PRINTMAP LPT3 = PRN3
  77.  
  78. - To assign the label LPT4 to the printer plugged into the second
  79. parallel port on the system, type
  80.         PRINTMAP LPT4 = PRN1
  81.  
  82. - To reassign the value of LPT1 for a session, one could either type
  83.         PRINTMAP LPT1 = PRNx
  84. where x is the printer number one wishes to use, or one could use the
  85. PRINTER command, to type PRINTER x.  This will make all output to LPT1
  86. from this session go to printer x.  The x is from the MDOS physical
  87. device name, as listed above.
  88.