|
| |||||||||
| Tags: capture, lpt1, port, printing |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Printing - Port Capture of LPT1 Need to run an old MS/DOS program that prints directly to LPT1 port Trying to upgrade an old Windows2000 system and I have an issue with an old MS/DOS application that writes direct to the LPT1 or LPT2 device. Win98 and Win2000 had "port capture" that would intercept the direct printing and allow you to push it to a network printer on another PC. Is there a way of doing this in XP Pro ? Thanks BR Don C |
|
#2
| |||
| |||
| Re: Printing - Port Capture of LPT1 See NET USE in Help. NET USE LPT1 \\servername\printername Donald Campbell wrote: > > Need to run an old MS/DOS program that prints directly to LPT1 port > > Trying to upgrade an old Windows2000 system and I have an issue with an > old MS/DOS application that writes direct to the LPT1 or LPT2 device. > > Win98 and Win2000 had "port capture" that would intercept the direct > printing and allow you to push it to a network printer on another PC. > > Is there a way of doing this in XP Pro ? > > Thanks > > > BR > Don C > |
|
#3
| |||
| |||
| Re: Printing - Port Capture of LPT1
Donald Campbell wrote: > Need to run an old MS/DOS program that prints directly to LPT1 port > > Trying to upgrade an old Windows2000 system and I have an issue with > an old MS/DOS application that writes direct to the LPT1 or LPT2 > device. > Win98 and Win2000 had "port capture" that would intercept the direct > printing and allow you to push it to a network printer on another PC. > > Is there a way of doing this in XP Pro ? > > Thanks Yes. Two ways that I know of. 1. Get the program RPV - Report Program Viewer (or similar). This requires that your old DOS programs be converted to send all their printing to a file in a directory you specify. Meanwhile RPV is looping looking for any file in that same folder. When RPV finds a file, it does a file-to-print dance using any printer you desire. 2. Visit http://members.shaw.ca/bsanders/printfromdos.htm This technique maps the local printer to a network printer (which happens to be on the same machine). Essentially: 1. Open printer's PROPERTY page 2. Select SHARING tab 3. Select SHARE THIS PRINTER 4. Supply a name for this printer (short, no spaces). This is the printersharename below 5. Select OK 6. From a command prompt, enter net use lpt1: \\computername\printersharename /persistent:yes Hope this helps. 2. |
|
#4
| |||
| |||
| Re: Printing - Port Capture of LPT1
In article <ODgiQKthJHA.1172@TK2MSFTNGP05.phx.gbl>, HeyBub <heybub@gmail.com> writes >Donald Campbell wrote: >> Need to run an old MS/DOS program that prints directly to LPT1 port >> >> Trying to upgrade an old Windows2000 system and I have an issue with >> an old MS/DOS application that writes direct to the LPT1 or LPT2 >> device. >> Win98 and Win2000 had "port capture" that would intercept the direct >> printing and allow you to push it to a network printer on another PC. >> >> Is there a way of doing this in XP Pro ? >> >> Thanks > >Yes. Two ways that I know of. > >1. Get the program RPV - Report Program Viewer (or similar). This requires >that your old DOS programs be converted to send all their printing to a file >in a directory you specify. Meanwhile RPV is looping looking for any file in >that same folder. When RPV finds a file, it does a file-to-print dance using >any printer you desire. > >2. Visit >http://members.shaw.ca/bsanders/printfromdos.htm > >This technique maps the local printer to a network printer (which happens to >be on the same machine). Essentially: >1. Open printer's PROPERTY page >2. Select SHARING tab >3. Select SHARE THIS PRINTER >4. Supply a name for this printer (short, no spaces). This is the >printersharename below >5. Select OK >6. From a command prompt, enter > > net use lpt1: \\computername\printersharename /persistent:yes > >Hope this helps. > >2. > > Thanks for that. The net use seems to do the trick. BR Don C |
|
#5
| |||
| |||
| Re: Printing - Port Capture of LPT1
Good answer. On 04/02/2009 14:12, in article ODgiQKthJHA.1172@TK2MSFTNGP05.phx.gbl, "HeyBub" <heybub@gmail.com> wrote: > Donald Campbell wrote: >> Need to run an old MS/DOS program that prints directly to LPT1 port >> >> Trying to upgrade an old Windows2000 system and I have an issue with >> an old MS/DOS application that writes direct to the LPT1 or LPT2 >> device. >> Win98 and Win2000 had "port capture" that would intercept the direct >> printing and allow you to push it to a network printer on another PC. >> >> Is there a way of doing this in XP Pro ? >> >> Thanks > > Yes. Two ways that I know of. > > 1. Get the program RPV - Report Program Viewer (or similar). This requires > that your old DOS programs be converted to send all their printing to a file > in a directory you specify. Meanwhile RPV is looping looking for any file in > that same folder. When RPV finds a file, it does a file-to-print dance using > any printer you desire. > > 2. Visit > http://members.shaw.ca/bsanders/printfromdos.htm > > This technique maps the local printer to a network printer (which happens to > be on the same machine). Essentially: > 1. Open printer's PROPERTY page > 2. Select SHARING tab > 3. Select SHARE THIS PRINTER > 4. Supply a name for this printer (short, no spaces). This is the > printersharename below > 5. Select OK > 6. From a command prompt, enter > > net use lpt1: \\computername\printersharename /persistent:yes > > Hope this helps. > > 2. > > |
|
#6
| |||
| |||
| Re: Printing - Port Capture of LPT1
Donald Campbell wrote: > > Need to run an old MS/DOS program that prints directly to LPT1 port > > Trying to upgrade an old Windows2000 system and I have an issue with an > old MS/DOS application that writes direct to the LPT1 or LPT2 device. > > Win98 and Win2000 had "port capture" that would intercept the direct > printing and allow you to push it to a network printer on another PC. > > Is there a way of doing this in XP Pro ? > > Thanks > > > BR > Don C > Create a network share for the printer (This can be done even if your PC is the only member of its workgroup), and then use the Net Use command to redirect the DOS output. For example: NET USE LPT1 \\ComputerName\PrinterShareName /PERSISTENT:YES -- Bruce Chambers Help us help you: http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/default.aspx/kb/555375 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~Benjamin Franklin Many people would rather die than think; in fact, most do. ~Bertrand Russell The philosopher has never killed any priests, whereas the priest has killed a great many philosophers. ~ Denis Diderot |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Printing - Port Capture of LPT1" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dongle Problem with windows XP SP2 using LPT1 serial port | Rafftar | Hardware Peripherals | 3 | 15-10-2010 03:47 AM |
| Assinging new USB laser printer to LPT1 port? | Timo Price | XP Hardware | 7 | 06-03-2009 03:43 PM |
| Delete LPT1 Parallel Port | John | Vista Help | 5 | 25-10-2008 12:53 AM |
| problem with lpt1 port | zirath | Windows XP Support | 16 | 05-07-2008 01:46 AM |
| Plug-N-Play LPT1 port base I/O address | tony | XP Hardware | 3 | 16-02-2008 06:58 PM |