Re: DOS Printing from Windows Server 2003 TS?

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



Thanks for the tip. Our program can use LPT1 thru LPT9
I will pass it on.

I wish there was a way to automatically set the sharename of the TS printer
upon connection. I can't see the 5 remote users doing that everytime they
connect.

<TEST@xxxxxxxx> wrote in message
news:ub0uvyBZIHA.4860@xxxxxxxxxxxxxxxxxxxxxxx
Wich port does your application needs to print to LPT1 or LPT2 because on
TS2003 you wont be able to print to LPT1 if you are not an administrator.
here what i had to do to make it work is on the client machine share my
printer then on the TS machine when the printer is reconized put the same
share name on that printer manually then i use my script to map my
printers to that shared name


"John Kotuby" <johnk@xxxxxxxxxxxxx> a écrit dans le message de news:
u6h6GuAZIHA.600@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I need some help please.
We have a customer who is still using and old DOS version of software
that we suppy to them and still support (even though I am encouraging
them to move to the Windows version).

They have a number of users that work from home. Up until a little while
ago they were using Win2000 terminal Services and had no trouble
printing remotely from DOS. Our DOS program, much like MS DOS Edit, can
print to ports LPT1 - LPTn.

They were using LPT2 without problem on Win2000.

Now their tech support consultant has called and asked me for help. I
could not find anything except a Kixstart script. I am not familair with
Kixstart but did my best to get it to work without success.

I see that the script looks to the Registry and grabs the correct Default
printer from HK_Current_User and then tries to use NET USE to re-direct
LPT2 to the TS printer.

Can anyone help me with this problem?

BTW... the reason they won't upgrade to our Windows version is that they
are a relatively small company and have closed an office to save money
and our Windows version costs more per seat. So any expensive 3rd party
solution will probably not work for them.

I am a software developer familair with VB and DOS scripting. Can a VBS
script be used during Login?

Actually I am hoping for an easier solution, as I am neck deep in a
programming project at the moment.

Any help would be appreciated...






.



Relevant Pages

  • Script: DOS Printing on Windows 2003 Terminal Services
    ... session to the LPT1 port under Windows 2000 TS a long time ago. ... After some tweaks, here you have the script, now for Windows ...
    (microsoft.public.windows.terminal_services)
  • Re: Printing DOS apps with local USB Lexmark printer
    ... > Does anyone know how to get DOS to recognize LPT1 as USB ... DOS can't directly print to an USB port. ... NET USE LPT1 tells Windows to redirect all the LPT1 output to the shared ...
    (microsoft.public.windowsxp.print_fax)
  • Re: Print DOS print jobs
    ... > In Windows XP when I print to the printer (LPT1:), from DOS, then my jobs ... > printing, but they never print. ... Do you print from Windows programs as well? ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Windows Systemvariablen Manipulieren / Erstellen
    ... Ich suche eine Möglichkeit mittels VBScript eine DOS Variable zu erstellen ... Das Belegen würde ja manchmal schon reichen. ... dass du dies mit VB Script tun kannst. ... - setx.exe (Windows Resource Kit) ...
    (microsoft.public.de.german.scripting.wsh)
  • Re: Newbie Question: APL2 Display Font Under APL2/PC?
    ... I can develop and LPT1: ... On my Windows 7 desktop under DOS, ... On Windows 7 and invoking through the DOSBox emulator, ...
    (comp.lang.apl)