home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / CPPIDA.FAX < prev    next >
Text File  |  1995-01-01  |  7KB  |  149 lines

  1. OSPRDOS - COMMON PRINTING PROBLEMS IN DOS APPLICATIONS
  2. 12/06/94
  3.  
  4. ================================================================
  5.         COMMON PRINTING PROBLEMS IN DOS APPLICATIONS
  6. ================================================================
  7.  
  8.  
  9. 1.  DOS application print job spools but does not print.  (Green
  10.     arrow still points to document in job object found in the
  11.     print object).
  12.  
  13.     The DOS application has not closed the printer data stream.
  14.     If the DOS application is printing using BIOS interrupt 17h,
  15.     then use the PRINT_TIMEOUT DOS Setting to force the data
  16.     stream closed.  You may be able to determine if the
  17.     application is using int 17h, as opposed to int 21h, by the
  18.     destination name.  LPTx in Win-OS/2 uses int 17h while
  19.     LPTx.OS2 uses int 21h function calls.  Parallelx in DOS uses
  20.     int 17h.  LPTx in DOS can be either one, older versions of
  21.     applications use int 17h.  The PRINT_TIMEOUT setting, by
  22.     default, is turned ON and set to 15 seconds. Wait 15 seconds,
  23.     if the job doesn't complete spooling, then the DOS
  24.     application is not using int 17h (See discussion
  25.     below on lptdd.sys).
  26. ----------------------------------------------------------------
  27.  
  28. 2.  DOS application print job is split into several spool files.
  29.  
  30.     If the DOS application opens and closes the printer data
  31.     stream for every character, line, or page, you need to
  32.     disable the spooler for that printer to correct this problem.
  33.     An alternative may be to upgrade the application.  Contact
  34.     the manufacturer.  If the problem occurs with complex
  35.     printouts, you may need to increase the DOS Settings
  36.     PRINT_TIMEOUT value.
  37. ----------------------------------------------------------------
  38.  
  39. 3.  The DOS application print job does not begin printing until
  40.     the application is ended.
  41.  
  42.     The DOS application has opened the data stream and sent the
  43.     print output but has not closed the data stream.  If the
  44.     application is printing using int 21h, then use the
  45.     DOS_DEVICE DOS Setting to load the c:  OS2 MDOS LPTDD.SYS
  46.     device driver to convert the int 21h calls into int 17h
  47.     calls.  The PRINT_TIMEOUT DOS Setting can be used to close
  48.     the print job.
  49.  
  50. ----------------------------------------------------------------
  51.  
  52. 4.  My security device attached to the parallel port doesn't
  53.     work.  Any of my DOS applications that use the security
  54.     device can only be started from one DOS session. An error
  55.     message appears when trying to start additional copies
  56.     of this application.
  57.  
  58.     Press Ctrl+Alt+PrtSc simultaneously to have the security
  59.     software release access to the parallel port software before
  60.     starting the second copy of the DOS application.
  61.  
  62. ----------------------------------------------------------------
  63.  
  64. 5.  After printing from one DOS application and then trying to
  65.     print from anywhere else within OS/2, nothing prints.  When I
  66.     end the DOS application, other printing works fine.
  67.  
  68.     The DOS application you are initially printing from is
  69.     accessing the parallel port hardware directly.  OS/2 prevents
  70.     two or more applications trying to access the same parallel
  71.     port hardware simultaneously by preventing the second access
  72.     until the first DOS apulication ends.  This happens even if
  73.     the second application is the OS/2 print object.
  74.  
  75. ----------------------------------------------------------------
  76.  
  77. 6.  I have a PS/2 system that supports a DMA parallel port.  Can
  78.     OS/2 take advantage of this?
  79.  
  80.     The current systems with a DMA parallel port include PS/2
  81.     models 56, 57, 80-A21, 80-A31, 90 and 95.  If you have one of
  82.     these systems, ensure that the built-in parallel port
  83.     arbitration level is set to SHARED7 (DMA is enabled).  OS/2
  84.     automatically takes advantage of this feature; no
  85.     additional setup is required.  OS/2 1.3 customers with CSD
  86.     5054 or greater can reenable this feature.  Use the reference
  87.     diskette shipped with this system to view the system
  88.     configuration (setup).
  89. ----------------------------------------------------------------
  90.  
  91. 7.  My printer does not have a supported OS/2 PM printer driver.
  92.  
  93.     You printer may not be one of the 200 supported printers.
  94.     Determine if your printer supports a more common printer
  95.     emulation mode and install the printer driver that supports
  96.     your printer in the emulation mode.
  97.  
  98. ----------------------------------------------------------------
  99.  
  100. 8.  My printer has a supported Win-OS/2 printer driver but not a
  101.     PM printer driver.  How should I configure my system?
  102.  
  103.     If you are doing primarily Win-OS/2 printing, setup the
  104.     proper Windows printer driver in the control panel.  Setup
  105.     the OS/2 print object with the IBMNULL printer driver.  You
  106.     should be able to print from Win-OS/2 without problems.
  107.     Contact your printer manufacturer to get an OS/2 printer
  108.     driver or to determine what other printers your printer
  109.     emulates.
  110. ----------------------------------------------------------------
  111.  
  112. 9.  Printing from Win-OS/2 is very slow, everywhere else is okay.
  113.  
  114.     If printing from Win-OS/2 and Print Manager is specified for
  115.     the printer, you may need to set the Print Manager Options
  116.     menu to a higher priority than what it is currently set to.
  117. ----------------------------------------------------------------
  118.  
  119. 10. My system has an AT bus (ISA) and my parallel printer prints
  120.     slowly from anywhere under OS/2, DOS, or Win-OS/2 sessions.
  121.  
  122.     Your parallel port address and hardware interrupt levels are
  123.     not set correctly.  Valid parallel port combinations include
  124.     3BC/IRQ7, 378/IRQ7, and 278/IRQ5.  Turn off your system,
  125.     remove the parallel port adapter and configure the adapter by
  126.     adjusting the DIP switches and/or jumpers to set the parallel
  127.     port to one of these industry standard combinations.  Make
  128.     sure that other adapter cards are not interrupting on the
  129.     same interrupt levels.  Sound, MIDI and serial cards can
  130.     share these same hardware interrupt levels.
  131.  
  132. ----------------------------------------------------------------
  133.  
  134. 121 Printing works just fine in DOS, but after installing
  135.     OS/2, printing does not work.
  136.  
  137.     If the print output can be seen in the print object (if
  138.     spooler is enabled), then the problem is most likely either
  139.     the cable or the hardware interrupt level.  See the solution
  140.     above for directions to configure your parallel port.  Some
  141.     signals used to transmit data under OS/2 are not used when
  142.     printing under DOS, some cable manufacturers do not wire
  143.     these signals.  You may need to purchase a new cable.  Some
  144.     older parallel port adapter cards do not interrupt properly,
  145.     since DOS did not use this feature you may not have seen this
  146.     problem.  You may need to upgrade your parallel port adapter.
  147.  
  148.  
  149.