Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Printin DOS Application in Terminal Server

Reply
Thread Tools Display Modes

Printin DOS Application in Terminal Server

 
 
Pedro C. Arias
Guest
Posts: n/a

 
      06-04-2010
Hello, I'm working with a DOS application in TS, I need to capture the
printer thaht i've in my session to a port lpt1, someone has any script that
can detect the TS default printer, share it and use it as LPT1?

--

Saluda Atte.
------------------------------------------------------------------------------------
Pedro C. Arias.
-----------------------------------------------------------------------------------


 
Reply With Quote
 
 
 
 
Grant Taylor
Guest
Posts: n/a

 
      06-04-2010
On 06/04/10 08:47, Pedro C. Arias wrote:
> Hello, I'm working with a DOS application in TS, I need to capture
> the printer thaht i've in my session to a port lpt1, someone has any
> script that can detect the TS default printer, share it and use it as
> LPT1?


I don't recall the name of an example, but I have run across programs
that will install and (more) emulate LPT1 (than capture) in such as they
both capture the traffic to the port as well as interpret the raw ASCII
to what printers typically expect. That way, you can print raw ASCII to
dumb printers that would other wise loose their minds, like most cheep
USB printers.

I don't know if these will scale up to dynamically detect which printer
is the default in a terminal services session or not.

I don't think any part of what you are asking for is overly difficult,
but it is a combination of a number of things:

- Capturing the printer port (local to your terminal services session).
- Interpreting the ASCII to GDI printing.
- Redirect the print job to the default printer for the terminal
services session.

I think the last one will be more of the problem. You may find that it
is easier to use network printing and have the terminal server print to
a shared / networked printer that is close to the client.



Grant. . . .
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's wrong with my live.com account? Michael Elliott Windows Live Mail 43 1 Week Ago 09:36 PM
Re: Active Directory problems/dcdiag error kj [SBS MVP] Windows Server 4 03-24-2010 09:19 PM
Mail downloaded from POP3 account remains in WLM fozzie Windows Live Mail 24 03-14-2010 11:17 PM
migrate from windows server 2003 to windows server 2008R2 weedfrog Windows Server 9 12-15-2009 04:58 PM
85010014 error - resolved - ActiveSync Exchange Server Ryan Hardin ActiveSync 1 02-10-2006 04:07 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59