Jump to content

PRINT01.SYS: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This is the parallel printer port base device driver for OS/2.
{{ProdS |V30=S|V31=S|V40=S|V45=S}}
IBM Parallel Port Device Driver for OS/2.
 
;TIP:With Warp, the default transmission protocol used by PRINT01.SYS and PRINT02.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==
==Versions==
Line 5: Line 10:
!Date||Version||Size||Comments
!Date||Version||Size||Comments
|-
|-
|2014-03-04 22:31||10.70||16,400 bytes|| [http://hobbes.nmsu.edu/h-viewer.php?dir=/pub/os2/system/patches&file=print01-1-24.zip Version 1.24 - Lewis Version] 
| ||10.049|| ||PCI add-on cards are supported
|-
| ||10.068|| ||Support for combo cards added
|-
|2002-02-22||1.23 (10.070)||16,894 bytes||IBM Printer ISA/EISA Device Driver-SMP
|-
|-
|2002-05-21 16:11||10.70||16,894 bytes||
|2014-03-04||1.24||16,400 bytes||print01-1-24.zip (Andy Willis)
|}
|}


==CONFIG.SYS Statement==
==CONFIG.SYS Statement==
Provides support for your parallel ports LPT1, LPT2 and LPT3 on PCs with ISA or PCI buses.
Provides support for parallel ports LPT1, LPT2 and LPT3 on PCs with EISA/ISA or PCI buses.
  BASEDEV=PRINT01.SYS <parameter>
  BASEDEV=PRINT01.SYS <parameter>


'''WARP 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.
;Parameter:
 
* /IRQ - Changes the transmission method from polling to interrupt. The interrupt method is faster but won't work on every system.
'''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 BASEVEV=PRINT01.SYS to save some RAM."
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.
Beginning with V. 10.049 PCI Add-On Cards are supported and beginning with 10.068 Combo Cards.
 
'''Parameter:'''
 
* /IRQ
This parameter change 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
;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.
Find PPs on PCI combo (serial/parallel) cards automatically.


* /MPL  
* /TOU:ddd - Specifies maximum wait time in seconds before cancelling the print request. This is a 3 decimal digit value (by default - 120 seconds).
modifies polling procedure - makes it less processor resource consuming by scheduling other systems tasks at certain print points, may decrease print speed.
* /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.
{|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==
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 for IBM DDK customers and a free/paid binaries can be released.  
The source code of this file is included on the [[IBM Developer Connection Device Driver Kit 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.


[[Category:Drivers]][[Category:BASEDEV Statements]]
[[Category:Device Drivers]][[Category:BASEDEV Statements]]

Latest revision as of 21:43, 25 July 2023

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

IBM Parallel Port Device Driver for OS/2.

TIP
With Warp, the default transmission protocol used by PRINT01.SYS and PRINT02.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-02-22 1.23 (10.070) 16,894 bytes IBM Printer ISA/EISA Device Driver-SMP
2014-03-04 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 Kit 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.