Jump to content

PRINT01.SYS: Difference between revisions

From EDM2
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{ProdS |V30=S|V31=S|V40=S|V45=S}}
This is the parallel printer port base device driver for OS/2.
This is the parallel printer port base device driver for OS/2.


Line 32: Line 33:
* /F - Find parallel ports on PCI combo (serial/parallel) cards automatically.
* /F - Find parallel ports on PCI combo (serial/parallel) cards automatically.
* /MPL - modifies polling procedure - makes it less processor resource consuming by scheduling other systems tasks at certain print points, may decrease print speed.
* /MPL - modifies polling procedure - makes it less processor resource consuming by scheduling other systems tasks at certain print points, may decrease print speed.
{|class="wikitable"
|+Platform Support:
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|Yes
|Yes
|Yes
|Yes
|}


==Source Code==
==Source Code==

Revision as of 17:25, 12 May 2019

Product Support
OS/2 1.3
OS/2 2.0
OS/2 2.1
OS/2 2.11 SMP
OS/2 Warp 3 S
OS/2 Warp Connect S
OS/2 Warp 4 S
OS/2 Warp Server for e-Business S

This is the parallel printer port base device driver for OS/2.

TIP
With Warp, the default transmission protocol used by PRINTO1.SYS and PRINTO2.SYS is the polling transmission method. The protocol used by previous versions of OS/2 was the interrupt transmission method. In Warp, you can change back to the interrupt method by adding the /IRQ parameter.
TIP
From Paul Kurr: "Since I'm running on a LAN at work here, I have no need for direct printer support of any kind since this is taken care of by my NOS (LAN Server). So I have REM'd BASEDEV=PRINT01.SYS to save some RAM."
Note
This is one of the critical drivers for the OS/2 Kernel.

Versions

Date Version Size Comments
10.049 PCI add-on cards are supported
10.068 Support for combo cards added
2002-05-21 16:11 10.70 16,894 bytes IBM Printer ISA/EISA Device Driver-SMP
2014-03-04 22:31 1.24 16,400 bytes print01-1-24.zip (Andy Willis)

CONFIG.SYS Statement

Provides support for parallel ports LPT1, LPT2 and LPT3 on PCs with EISA/ISA or PCI buses.

BASEDEV=PRINT01.SYS <parameter>
Parameter
  • /IRQ - Changes the transmission method from polling to interrupt. The interrupt method is faster but won't work on every system.

The used IRQ depends on the I/O address the LPT port uses. IRQ 5 is used on LPT ports installed on the I/O address 278, IRQ 7 is used on LPT ports installed on the I/O address 378 or 3BC. To find out the I/O address of a LPT port use the Hardware Manager.

  • /SHR - This parameter in conjunction with /IRQ parameter directs the PP DD to service PCI IRQs as shared.
NOTE
If your printer (for example, old dot matrix printer) generates IRQs without setting interrupt pending (occurred) bit in PCI PP status register correctly then you cannot use PCI IRQ sharing and must not use /SHR parameter.
  • /TOU:ddd - Specifies maximum wait time in seconds before cancelling the print request. This is a 3 decimal digit value (by default - 120 seconds).
  • /F - Find parallel ports on PCI combo (serial/parallel) cards automatically.
  • /MPL - modifies polling procedure - makes it less processor resource consuming by scheduling other systems tasks at certain print points, may decrease print speed.

Source Code

The source code of this file is included on the IBM Developer Connection Device Driver Kits for OS/2. It can not be open sourced, but the source code is available from IBM DDK and a free/paid binaries can be released.