Print from DOS on Terminal Server with Printfil. How to make DOS programs on Terminal Server printing to. Windows printers. Introduction. article explains how to use Printfil to allow a DOS or Windows- Console. Windows Terminal Server, printing to a.
Windows printer, even if it's not. DOS compatible, like a Windows- Only (GDI) USB printer or a. Fax printers, PDF writers. How. to install Printfil on Terminal Server.
Archived from groups: microsoft.public.windowsxp.print_fax Don't know if this helps but if you use >> this command it appends in dos i.e. echo test > test.txt echo test2 >> test.txt you end up with 1 text file called test.txt. DOSPRN allow to use your old favorite DOS program with new printers independently of their types (yes, and USB also!). Is there are a way to print a.prn file to my USB printer? I used to know how to do it way back when to lpt port in DOS but. I have some legacy software that only prints on printers connected via an LPT port. The machine I need to use, however, doesn't have a parallel port. Plus my printer is a USB device. How do I trick my computer into thinking my. Hello, i have an old dos program that only prints to serial and lpt ports. I need to have the output endup in a simple text file. There used to be away in dos to redirect lpt1 to a file. If there is an unused slot, the port addresses of the others are moved up. (For example, if a port at 0x3BC does not exist, the port at 0x378 will then become the first logical parallel port.) The base address 0x3BC is.
Describes an issue when printers that use ports that do not begin with COM, LPT, or USB are not redirected in a remote desktop or a terminal services session.
How. to make different RDP users capturing the same LPT port. How. to redirect the print jobs to the user's. How. to print to PDF through the "Printfil" virtual printer. How. to create a common configuration for the remote. DOS printing for. How to install Printfil on Terminal Server environments. On WTS. environments Printfil is.
Printfil setup. program, while logged in as. Administrator, either locally or even through an RDP. Remote Desktop Protocol) connection. There isn't a different installer. Terminal Server because the unique Printfil. Windows Terminal Server or.
There's nothing additional to install on the remote. RDP client. Once installed, a specific Printfil instance is run on the server for. WTS. That Printfil instance takes care of. Printfil profile. How to make different RDP users capturing the same LPT port. If your source Ms- Dos or.
Windows- Console program is already printing to file. Printfil to those files (by the "File to check" entry in its own. LPT1: port. Foe example, if the source program sends its print jobs to. HOMEPATH%\Spool. txt, then Printfil has simply to check for. HOMEPATH]\Spool. txt" to capture the print jobs of each. If instead the. only prints to LPT1: , then you'll have to configure.
This is very easy: you just have to open the Configuration - > Standard Printfil's. LPT port you want to capture (from LPT1. LPT9: ) and select Mode 0. If you're using an old Printfil version, Mode. WTS is much harder. In this case we strongly suggest you to. Printfil installation to the newest version.
The DOS program prints to a single LPT1: port for all the. Windows users, but you need to keep separate the jobs coming from different. RDP users who are printing.
To do that you just have to ensure that each remote user. Printfil on the WTS has its own Printfil configuration pointing. File to check". That file infact is.
LPT. The default value for this field is [e: HOMEPATH]\filename. Filename. txt in its own home. Printfil has write permission on that directory and each user.
LPT output. That's all. Now the print. jobs captured from a single.
LPT1 port will be captured and printed separately for each remote user. How to redirect the print jobs to the user's preferred. Each time you log in a Windows. Terminal Server via RPD, the remote printers gets a new name. For. Laser. Jet (from REMOTE- PC) in session 1, the first. HP. Laser. Jet (from REMOTE- PC) in session 2 after the.
If HP Laser. Jet. REMOTE- PC) in session 1. Printfil profile, the next time. Printfil sends the.
That's usually enough for the average user, but sometimes you may want. There are 3 ways to do this: Enable the. Printfil's standard configuration. This way, each time Printfil captures a source job, it will ask. Windows "choose printer" dialog box. With an additional.
Put a checkmark. in the "WTS" option. Printfil's standard configuration. This way Printfil will ignore the session number included in.
HP Laser. Jet. (from REMOTE- PC) independently by which is the RDP session actually. This option is. included in Printfil 5. You can write a. script to change the default printer for that user or to. Printfil. CFG file. How to print to PDF through the "Printfil" virtual.
When it's setup to print in GDI mode. Printfil can export your DOS print jobs as PDF files (and eventually it. Ghost. Script and the Printfil virtual printer. PDF writers on the. To do so Printfil makes use of the Printfil.
W: ") which is automatically mapped. Windows to the specific user's home directory on the server (usually. So. when running the "Create Printfil virtual printer" function. WTS configuration, Printfil. Terminal Services Script.
You'll have to answer "Yes, I want. At. the next step during. Printfil" virtual printer you'll be asked to specify which. LPT output. You'll. W: or whatever drive. WTS), like W: \Printfil. Attention Please.
If you don't place the temporary file on the virtual disk above. PDF's created simultaneously by different RDP users may be. So: Login the WTS (even remotely via RDP). Administrator"Run the "Help - > Create Virtual. Printer" function(if that menu item is missing, then you've already created the virtual.
In this case you'll have to manually delete it from. Control Panel to have this menu item reappearing)If you're asked to create the virtual. Printfil doing it on your. W: )When choosing the temporary. Printfil" virtual printer, ensure the virtual drive is selected in the. W: \printfil. txt") That's. Now the print jobs sent to the "Printfil" virtual printer will be exported as PDF files through Ghost.
Script. Other Windows users still logged in the WTS will have to logout the server and. W: " drive automatically added to their. My Computer" icons and start producing PDF's. Supposing. you've created the "W: " drive, but later on you choose to produce PDF.
PDF writer and you want to remove the. Terminal Server configuration, then: Run the "c: \winnt\application. Go to the following registry entry: HKLM\Software\Microsoft\Windows NT\Current.
Version\Terminal Serverand remove the driver letter in the "Root. Drive" entry. Logout and relogin the server again. The "W: " drive is disappeared. How to create a common configuration for the remote. As we've said above, each remote user who.
Terminal Server via RDP will have his own Printfil instance. HOMEPATH%\WINDOWS\PRINTFIL.
INI. file. The Printfil. Printfil in the. user's home directory, the first time that user log in the WTS and run. Printfil. It contains the Printfil's default setting. When you'll have completed your Printfil testing on your WTS you'll.
Printfil configuration which matches. So, instead of applying those custom configurations for each user on. WTS, you may want to have a "template" Printfil. Terminal Server. To do so, you just have to create a single C: \WINDOWS\PRINTFIL.
INI. (In the real Windows directory, not the user's. Each. new user which will run Printfil for the first time will have a. Printfil. ini created in its own Windows directory, containing your. Printfil ones. The C: \WINDOWS\PRINTFIL. INI file does. not necessarily have to be. For example it. might contain only the [Sequences] section, and. Archive. Root". entry in the [Options] section.
If it contains only SOME. HOMEPATH%\WINDOWS\PRINTFIL. INI file will contain. PLUS the missing entries filled out with the default. Printfil values. In this way you can to create a SINGLE printfil. Printfil on your Terminal Server. Windows, then you can completely forget about new.
This is particularly useful if you are an IT Professional. Clients and. the customer has an internal. Windows users, because in this. Printfil: the client configuration is built automatically. How to enable Printfil for some users only. Unless you've unticked the.
Printfil, by default the setup program places a. Commonstartup" Windows Folder (Start - > All.
Startup) so that each user loggin in the WTS will start his. Printfil instance automatically. It does it that way to make. RDP clients needs to run. Printfil. Each Printfil instance running on the server will use a Printfil.
If the installed licenses are not enough to cover all the users. WTS server will receive a "Not.
Printfil licenses" message and Printfil will not run for them. In some situations you may have some remote users who don't. Printfil, so you may want to avoid starting it for those. To do so, you'll have to remove the shortcut in the.
Commonstartup Windows folder (if you made Printfil creating it at. Printfil only for. You can do this in different ways: By copying the Printfil's. Userstartup" Windows folder. By changing their logon. START C: \"Program Files"\Printfil\Printfil.
By. modifying the Batch file used to start the DOS program, making it. Printfil only when the DOS program is run. For. example: C: \>. EDIT START. BATSTART. BAT@echo offc. cd \"program files"\printfil. Printfil. execd \Your_Own_Dos_Path.
Your_DOS_Program. Printfil. exe CLOSE.