Re: DOS printing on RDP

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



use this in a bat file in the remote computer & run after running the
remote desktop

rundll32 printui.dll,PrintUIEntry /Xs /n "your printer name" sharename
"printersharename" attributes +Shared

NET USE LPT1: /delete

NET USE LPT1: "\\remotecomputername\printersharename"
"/persistent:yes"



SAC Admin wrote:
Hi there

My German counterpart is having problems printing from DOS on the remote
machine in South Africa.

Here's a breakdown of his problem:

"...Now he is using dos and wants to make printouts. The problem there
is, dos doesn't use the windows printers, it just sends its data to
lpt1. I can share a com port over rdp, but no lpt! What to do? Have you
ever heard of a programm that captures dos printouts and save the to a
file? I heard that somethinglike that should excist. But
that's all I know. Any Ideas?"

As you can see, we're looking for a solution probably along the lines of
printing DOS programs directly into a file format.

Any help?

Thanks,
Bryan

.



Relevant Pages

  • Re: DOS Printing from Windows Server 2003 TS?
    ... TS2003 you wont be able to print to LPT1 if you are not an administrator. ... We have a customer who is still using and old DOS version of software ... them to move to the Windows version). ... could not find anything except a Kixstart script. ...
    (microsoft.public.windows.terminal_services)
  • Re: copying records across a network
    ... being timed on resource initialization when DOS is. ... Finally, related to the dev-make process, the pseudo.d3p file must ... The copy process must recreate the file on the remote ...
    (comp.databases.pick)
  • Re: COPY [sample.txt] LPT1 stopped working
    ... mapped and no listing of any ports such as lpt1. ... that is why I was trying the simple Dos ... >>Dos command that ports to lpt1 is the problem. ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: copying records across a network
    ... That method averages 11 records per second (at around 1K bytes per ... I am assuming you are talking about "remote" as in DOS file rather than a D3 file on a remote D3 system. ... there's the added problem of dealing with embedded segment marks. ...
    (comp.databases.pick)
  • Printing from DOS Application
    ... for the LPT1 redirection, if this is possible. ... To see the parameters in Dos do a NET /? ... The full command I use is "net use lpt1: ... The networked printer shows the port as an IP ...
    (microsoft.public.windowsxp.print_fax)