home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / djet_os2.doc < prev    next >
Text File  |  1996-01-16  |  12KB  |  231 lines

  1.                  The HP Deskjet Printer Series and OS/2
  2.  
  3.             Some Hints, Tips and Frequently Asked Questions
  4.  
  5.   Compiled by Bruce Probst [71154,3171], Assistant SysOp, HPPER forum
  6.  
  7. DISCLAIMER: I don't work for HP or IBM, and none of the statements
  8. contained herein should be considered "official" or anything other than
  9. my own experiences and observations.  Suggestions for expansion or
  10. corrections are welcomed.
  11.  
  12. For "official" Technical Support for OS/2 printer drivers, contact IBM
  13. directly (GO OS2SUPP).
  14.  
  15. (NB: The Deskjet 1200C, 1200C/PS, 1600C and 1600CM printers are classed
  16. as "laserjets" and are covered by the laserjet and PostScript drivers
  17. respectively, and are not discussed further in this document.)
  18.  
  19. OS/2 2.x
  20. ========
  21.  
  22. For OS/2 v2.1, the only driver available is the HPDJPM.DRV, sometimes
  23. known as the "specific" deskjet driver (as opposed to the more generic
  24. "OMNI" driver supplied with Warp).  This driver supports all the model
  25. 3xx portable deskjets and the 5xx series (which includes the original
  26. Deskjet and Deskjet Plus), with the exception of the Deskjet 540 (with
  27. or without colour option).  For this printer, use the 520 driver for
  28. monochrome only and the 500C driver for monochrome/colour.  None of the
  29. more recent 6xx or 8xx deskjets, or the portable deskjet 400, are
  30. directly supported; you will need to use the closest 5xx or 3xx model
  31. driver.
  32.  
  33. HPDJPM.DRV is only a 16-bit driver, and has a number of limitations; in
  34. particular, it has very poor greyscale and colour capabilities.  The
  35. driver does not support internal fonts, downloaded soft fonts or font
  36. cartridges, so you must use either the bitmapped OS/2 system fonts or
  37. ATM Type 1 scalable fonts when printing from OS/2 applications.
  38.  
  39. The latest version of this driver available for download is available as
  40. the file HPDJET.ZIP in Library 23 of the OS2SUPP forum.  This version
  41. provides "nominal" support of the 520 and 560C printers; I say "nominal"
  42. because the 600x300 resolution is not supported, so the driver treats
  43. the 520/560C no differently to a 510/550C.  The driver does fix a couple
  44. of minor bugs over the version shipped with OS/2 so it is worth
  45. downloading if you are not planning to upgrade to Warp.
  46.  
  47. OS/2 2.x printing has a number of differences to DOS printing.  The most
  48. notable is that all 25 pins of a standard Centronics interface are used,
  49. unlike DOS which only uses 18 (?) of the 25 pins.  Some cheap cables are
  50. sold with these extra pins not wired to cut costs.  They will work fine
  51. with DOS but will *not* work with OS/2.  Any decent "name" brand cable
  52. will be fully wired and should be fine.
  53.  
  54. Another difference is that OS/2 2.x uses interrupts to control access to
  55. the printer devices.  DOS doesn't care about interrupts; in fact for
  56. many months my parallel port was configured to a non-existant IRQ and
  57. DOS never complained.  OS/2, however, was a different story.  OS/2
  58. requires that your LPT1 port be configured to IRQ7 and LPT2 be
  59. configured to IRQ5.  Many sound cards come configured for IRQ7 as their
  60. default and if this is the case you will be unable to print from OS/2,
  61. or, at best, your printing will be very, very slow.  It is possible to
  62. make OS/2 "share" the IRQ so that you can have two cards sharing the
  63. same IRQ but this is not recommended as it will adversely affect the
  64. performance of both devices.  Note that this interrupt scheme was
  65. altered for Warp; see below.
  66.  
  67. For best performance you should have a parallel port that will support
  68. bidirectional printing.  I don't think OS/2 printing will fail if your
  69. port is not bidirectional but it may be very slow or cause other
  70. problems.  Many of the recent deskjet models are designed for
  71. bi-directional interfaces in any case.
  72.  
  73. (Note that if you have OS/2 2.11 with Fixpack XR_B099 or later applied,
  74. you can install and use the "OMNI" driver as supplied with Warp; see
  75. below.)
  76.  
  77. OS/2 Warp
  78. =========
  79.  
  80. With Warp, IBM introduced a new printer driver scheme.  This is called
  81. the "OMNI" driver, presumably so named because it supports many
  82. different brands and models of printers.  (I don't know exactly how it
  83. does this.)  Like the HPDJPM driver it does not support internal fonts
  84. etc.; however unlike the older driver it is fully 32-bit in its
  85. operations and has (in theory) much superior greyscaling and colour
  86. depth controls.
  87.  
  88. The HPDJPM driver is still available with Warp.  It will not be
  89. "automatically" installed by the OS/2 installation routine.  However, if
  90. you look at the files on the Printer Driver Diskette #1 (or the
  91. corresponding directory on the CD-ROM) you will see that the "specific"
  92. driver is to be found there.  From the OS/2 drives object, you can
  93. "drag-and-drop" this file to your desktop and OS/2 will automatically
  94. create a new printer object using this driver.  You may then choose
  95. either this driver or the OMNI driver as you prefer.  This version of
  96. the HPDJPM driver is much newer than the one supplied in the file
  97. HPDJET.ZIP described above, but it has not been enhanced in terms of
  98. features and has all the same limitations.  I have been told by an IBM
  99. developer that this driver will not be enhanced at all in the future;
  100. all future development will be to the OMNI driver (or whatever may
  101. replace that in the future).
  102.  
  103. There is no doubt that the OMNI driver is buggy in many ways (although
  104. recent versions have demonstrated various improvements).  The
  105. consequences of this bugginess seems to vary widely, however, depending
  106. on your system and the applications you are using.  Speaking for myself
  107. I have not noticed any significant problems with the OMNI driver.  I can
  108. only suggest that you try it for yourself; if the results are not
  109. satisfactory then try the HPDJPM driver.  If you do find that the OMNI
  110. driver is not working on your system, be sure to let IBM know!
  111.  
  112. Another change in Warp, as hinted above, is that the interrupt method of
  113. printing was changed to "polling".  This has the advantage that you can
  114. overlap IRQs.  It has the disadvantage that it often simply doesn't
  115. work; and even if it does work printing is slowed down significantly, at
  116. least for the deskjets (other printer types may not be so severely
  117. affected).  Fortunately it is easy to re-enable the old IRQ method of
  118. printing by adding the /IRQ switch to your PRINT0x.SYS line in your OS/2
  119. CONFIG.SYS file.  That is, look for a line like this:
  120.  
  121.     BASEDEV=PRINT01.SYS
  122.  
  123. and change it to:
  124.  
  125.     BASEDEV=PRINT01.SYS /IRQ
  126.  
  127. save the file and reboot your system.  (Note that if you have a
  128. Microchannel PC, such as a PS/2, you will be using PRINT02.SYS, but
  129. otherwise the procedure is identical.)  For more information consult the
  130. online help in OS/2.  Note that making this change requires that your PC
  131. have no IRQ overlaps, as for OS/2 2.x.
  132.  
  133. Aside from these difference the notes under OS/2 2.x apply equally to
  134. Warp.
  135.  
  136. Windows under OS/2
  137. ==================
  138.  
  139. I am making no distinctions here between "OS/2 for Windows" and "OS/2
  140. with Win-OS/2".  For printer drivers there *is* no difference.  If you
  141. see a reference to "Win-OS/2 printer drivers" in IBM documentation, what
  142. is really meant is standard Windows drivers; they are one and the same.
  143. These notes are equally applicable to OS/2 2.1x and Warp.
  144.  
  145. When you install your OS/2 deskjet driver you will be asked if you want
  146. to install the corresponding Windows driver.  The driver that will be
  147. installed here is the Microsoft "universal" driver, which does not
  148. support colour printing and has only indifferent greyscaling abilities.
  149. For the colour deskjets, or if you want to use the HP deskjet driver
  150. with a monochrome deskjet, you need to start up a Program Manager
  151. session and run SETUP.EXE as if you were installing it into a normal
  152. DOS/Windows environment.
  153.  
  154. Regardless of which Windows deskjet driver you use, some general rules
  155. are applicable.  For best performance you want to *disable* the Print
  156. Manager and "direct printing to port" options in Control Panel.  You
  157. should connect the printer to the corresponding OS2 port, i.e., use
  158. LPT1.OS2 rather than LPT1.  If you do not do this you are sending your
  159. print job directly to the LPT port and your system will have to wait for
  160. it to finish before you get access to your Windows application again.
  161. By sending the job to the OS2 port you are sending it to the OS/2
  162. spooler, which is far more efficient than Windows Print Manager.  Your
  163. job will spool in the background and print when it's ready; in the
  164. meantime you have almost immediate access to your application back.
  165. (This is an example of the superior OS/2 multitasking at work, which is
  166. one of the reasons you installed it in the first place, right?)  The
  167. reason that you disable Print Manager is that if you don't your job will
  168. be spooled by Print Manager (and you'll have to wait for it to finish),
  169. and then sent to the OS/2 spooler where it will be spooled again.  This
  170. is not harmful, as far as I'm aware, but it *is* dreadfully inefficient.
  171.  
  172. Incidentally you must always make sure that you have a corresponding
  173. OS/2 printer driver setup along with your Windows driver.  If nothing
  174. else you can use the IBMNULL driver supplied with OS/2.  The OS/2
  175. spooler will not function properly if it doesn't detect an OS/2 driver
  176. attached to the port that you want to print from.
  177.  
  178. Finally, note that by connecting the HP deskjet driver to an OS2 port,
  179. you will disable the HP Status Monitor supplied with v5 and later of
  180. that driver.  I am not sure if the Status Monitor will work even if you
  181. connect the printer directly to the LPT port.  Personally, I've never
  182. noticed the lack.
  183.  
  184. Some Frequently Asked Questions
  185. ===============================
  186.  
  187. Q.  Why is the Windows driver much better at colour printing than the
  188.     OS/2 driver?
  189.  
  190. A.  Simply put, the OMNI driver needs improvement.  Hopefully future
  191.     releases of this driver will get better.  Note that the OMNI driver
  192.     is written by IBM, not HP.  Please do not hesitate to express your
  193.     disappointment with the OMNI driver directly to IBM.
  194.  
  195. Q.  Why doesn't HP write its own OS/2 driver to match the Windows
  196.     driver?
  197.  
  198. A.  HP don't seem to recognise OS/2 as a market worth pursuing, I'm
  199.     afraid.
  200.  
  201. Q.  Where can I get the latest drivers?
  202.  
  203. A. On CompuServe, GO OS2SUPP, Lib.23.  IBM usually post these files to
  204.    their other regular FTP and BBS sites as well.  Drivers will usually
  205.    be posted in DSK format; to expand these files, you need the LOADDSKF
  206.    utility, available on the OS/2 installation CD-ROM or it can be
  207.    downloaded from any of the usual sites.  Sometimes, however, the
  208.    drivers are posted in a standard ZIP file.
  209.  
  210.    If you are using ....        the file you want is ....
  211.  
  212.     OS/2 v2.1                    HPDJET.ZIP
  213.     OS/2 v2.11                    XRP016.DSK  *
  214.     OS/2 Warp (any version)        XRP013.DSK  **
  215.  
  216. *  You must have applied fixpak XR_B099 or later to use this driver.
  217. ** At the time of writing, the latest OMNI driver is in "beta" form, in
  218. the file called OMNI457.ZIP.  This version is required if you want
  219. support for the 660C or 850C deskjets.  Although officially a beta, it
  220. is in my experience quite stable.  It will presumably be eventually
  221. migrated by IBM into the official XRP013.DSK file.
  222.  
  223. -----------------------
  224.  
  225. This document's copyright belongs to the author, Bruce Probst.
  226. Permission is granted to reproduce this document in any media so long as
  227. content is not changed without express permission of the author.
  228.  
  229. Thu 07-12-1995
  230.  
  231.