home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / info / faq / os2_20 / os2help / dosprt.fax < prev    next >
Encoding:
Text File  |  1992-09-17  |  8.3 KB  |  197 lines

  1. COMMON PROBLEMS WITH PRINTING IN DOS APPLICATIONS
  2. -------------------------------------------------
  3.  
  4. *PROBLEM*
  5. DOS application generated print job spools but does not print.
  6. (Green arrow still points to document in job object found in the
  7. print object).
  8.  
  9. *SOLUTION*
  10. The DOS application has not closed the printer data stream.
  11. If the DOS application is printing using BIOS interrupt 17h
  12. then use the PRINT_TIMEOUT DOS Setting to force the data
  13. stream closed.  You may be able to determine if the application
  14. is using int 17h (as opposed to int 21h) by the destination
  15. name.  LPTx in Win-OS/2 uses int 17h while LPTx.OS2 uses
  16. int 21h function calls.  Parallelx in DOS uses int 17h.  LPTx
  17. in DOS can be either one, older versions of applications use
  18. int 17h.  The PRINT_TIMEOUT setting, by default, is turned
  19. ON and set to 15 seconds.  User should wait 15 seconds, if
  20. the job doesn't complete spooling, then the DOS application
  21. is not using int 17h (See discussion below on lptdd.sys).
  22. -------------------------------------------------------------
  23.  
  24. *PROBLEM*
  25. DOS application generated print job is split into several
  26. spool files.
  27.  
  28. *SOLUTION*
  29. If the DOS application opens and closes the printer data
  30. stream for every character, line, or page then there is
  31. nothing short of disabling the spooler for that printer to
  32. correct this problem.  An alternative may be to upgrade
  33. the application.  Contact the manufacturer.  If the problem
  34. occurs with complex printouts, then you may need to increase
  35. the DOS Settings PRINT_TIMEOUT value.
  36. --------------------------------------------------
  37.  
  38. *PROBLEM*
  39. The DOS application generated print job will not begin printing
  40. until the application is terminated.
  41.  
  42. *SOLUTION*
  43. The DOS application has opened the data stream and sent the
  44. print output but has not closed the the data stream.  If the
  45. application is printing using int 21h, then use the DOS_DEVICE
  46. DOS Setting to load the c: os2 mdos lptdd.sys device driver
  47. to convert the int 21h calls into int 17h calls.  The
  48. PRINT_TIMEOUT DOS Setting can be used to close the print job.
  49. -------------------------------------------------------------
  50.  
  51. *PROBLEM*
  52. My security device attached to the parallel port doesn't
  53. work.  Any of my DOS applications that use the security device
  54. can only be started from one DOS session.  An error message
  55. is displayed when trying to start additional copies of this
  56. application.
  57.  
  58. *SOLUTION*
  59. USER can press the key sequence Ctrl-Alt-PrtSc simultaneously to
  60. have the security software release access to the parallel port
  61. software prior to starting second copy of the DOS application.
  62. -------------------------------------------------------------
  63.  
  64. *PROBLEM*
  65. After printing from one DOS application and then trying to print
  66. from anywhere else within OS/2, nothing prints. When I terminate
  67. the DOS application, other printing works fine.
  68.  
  69. *SOLUTION*
  70. The particular DOS application you are initially printing from,
  71. is accessing the parallel port hardware directly.  OS/2 prevents
  72. collisions from two or more applications trying to access the
  73. same parallel port hardware simultaneously by preventing the
  74. second access until the first DOS application terminates.  This
  75. is true even if the second application is the OS/2 print object!
  76. -------------------------------------------------------------
  77.  
  78. *PROBLEM*
  79. Other parallel attached devices (not printers) such as tablet
  80. systems, LAN adapters, and parallel to SCSI devices do not
  81. work in a DOS session.
  82.  
  83. *SOLUTION*
  84. There's a current restriction within DOS sessions where hardware
  85. interrupt IRQ7 is not reflected into the DOS session.  OS/2
  86. development is aware of this limitation and is working on a
  87. solution.  These hardware attachments may attempt to use this
  88. feature of the parallel port and are prevented from doing so.
  89. -------------------------------------------------------------
  90.  
  91. *PROBLEM*
  92. I have a PS/2 system that supports a DMA parallel port.  Can OS/
  93. take advantage of this?
  94.  
  95. *SOLUTION*
  96. The current systems with a DMA parallel port include PS/2 models
  97. 56, 57, 80-A21, 80-A31, 90 and 95.  Customer with these systems
  98. should ensure that the built-in parallel port arbitration level
  99. is set to SHARED7 (DMA is enabled).  OS/2 will automatically
  100. take advantage of this feature; no additional setup is required.
  101. OS/2 1.3 customers with CSD 5054 or greater can reenable this
  102. feature.  Use the reference diskette shipped with this system
  103. to view the system configuration (setup).
  104. -------------------------------------------------------------
  105.  
  106. *PROBLEM*
  107. My printer does not have a supported OS/2 PM printer driver.
  108.  
  109. *SOLUTION*
  110. If your printer driver is not among the 200 printers supported
  111. then determine if your printer supports a more common printer
  112. emulation mode.  Install the printer driver that supports your
  113. printer in the emulation mode.
  114. -------------------------------------------------------------
  115.  
  116. *PROBLEM*
  117. My printer has a supported Win-OS/2 printer driver but not a
  118. PM printer driver.  How should I configure my system?
  119.  
  120. *SOLUTION*
  121. If you will be doing primarily Win-OS/2 printing then setup
  122. the proper Windows printer driver within the control panel.
  123. Setup the OS/2 print object with the IBMNULL printer driver.
  124. You should be able to print from Win-OS/2 with no problems.
  125. Contact your printer manufacturer to obtain an OS/2 printer
  126. driver or to determine what other printers your printer
  127. emulates.
  128. ------------------------------------------------------------
  129.  
  130. *PROBLEM*
  131. Printing from Win-OS/2 is very slow, everywhere else is okay.
  132.  
  133. *SOLUTION*
  134. If printing from Win-OS/2 and Print Manager is specified for
  135. the printer, then you may need to set the Print Manager Options
  136. menu to a higher priority than what it is currently set to.
  137. ------------------------------------------------------------
  138.  
  139. *PROBLEM*
  140. My system has an AT bus (ISA) and my parallel printer prints
  141. slowly from anywhere under OS/2, DOS, or Win-OS/2 sessions.
  142.  
  143. *SOLUTION*
  144. Your parallel port address and hardware interrupt levels are
  145. not set correctly.  Valid parallel port combinations include
  146. 3BC/IRQ7, 378/IRQ7, and 278/IRQ5.  Power off your system, remove
  147. the parallel port adapter and configure the adapter by adjusting
  148. the DIP switches and/or jumpers to set the parallel port to
  149. one of these industry standard combinations.  Make sure that
  150. other adapter cards are not interrupting on the same interrupt
  151. levels.  Sound, MIDI and serial cards can share these same
  152. hardware interrupt levels.
  153. ------------------------------------------------------------
  154.  
  155. *PROBLEM*
  156. Printing works just fine under the DOS operating system but
  157. after installing OS/2, printing does not work.
  158.  
  159. *SOLUTION*
  160. If the print output can be seen in the print object (if spooler
  161. is enabled), then the problem is most likely either the cable
  162. or the hardware interrupt level.  See the solution above for
  163. directions to configure your parallel port.  Some signals used
  164. to transmit data under OS/2 are not used when printing under
  165. DOS, some cable manufacturers reduced the costs of their cables
  166. by not wiring these signals.  You may need to purchase a new
  167. cable.  Some older parallel port adapter cards do not interrupt
  168. properly, since DOS did not use this feature you may not have
  169. seen this problem.  You may need to upgrade your parallel port
  170. adapter.
  171. ---------------------------------------------------------------
  172. *Problem*
  173. .
  174. Customer has Printer Speedup boards and or utilities that can
  175. be used under DOS but not OS/2 such as printer engines and
  176. Postscript speedup devices.
  177. .
  178. *Solution or Limitation*
  179. .
  180. These Speedup boards are not supported under 2.0.  The only
  181. possibility of using them is if they are not for a specific
  182. printer port that is also a generic printer port under OS/2
  183. for example LPT3 and a physical LPT3 device exists, the
  184. customer may be able to either use the device driver in a
  185. VDM or in a VM Boot session.  This is the only possible
  186. support.
  187.  
  188.  
  189.  
  190. -------------------------------------------------------------------------------
  191. Thank you for calling the OS/2 2.0 Support Line.  Regarding the problem
  192. reported to the Support Line, we feel that this information may assist
  193. you in resoloving your problem.  If you still require assistance, please
  194. call 1-800-237-5511, and reference your customer number and problem (PMR)
  195. number.  Your Problem Record Number (PMR) should appear on the cover
  196. page of this faxed document.
  197.