On 7/29/2014 10:46 PM, Jon wrote:
Dosprinter working in Vdos

To anyone:

Is anyone using dosprinter and DP?  I can't seem to get it working.

I inserted the command

/sel'LPT1'

intomy DPreportalong with other commands from Dosprinter documentationbut no combination of command will get it printing.

I'm using a brother HL-S370DW(which should accept PCL language)and a USB connection.

Would at least like to know it if the included dosprinter with vDos is workingwith DP.

Jon Ong



_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/cgi-bin/mailman/listinfo/dataperf
Hi Jon,

I don't believe you put the command into your DP report. You use the config.txt in the vDos folder to set up dosprinter. So, for instance, if you wanted your DP report to send its output directly to LPT1, you would include a line in the config.txt file like this:

LPT1 = /SEL'LPT1:'

Then you would just configure your report to print to LPT1 and Dosprinter passes it on through the emulation to the real LPT1.

Or if you have your printer installed in Windows with the name "Brother HL-S370DW", you could use:

LPT1 = /SEL'Brother HL-S370DW'

The other approach is to use DPSpool and have your DP app inside vDos create the print file in a folder monitored by DPSpool. Then DPSpool can take care of sending it to the printer. With this approach, there's no licensing of dosprinter necessary. What I've done is set "USE C: C:\" in the autoexec.txt file of vDos. That lets DP inside vDos see the same folder structure on C: as apps outside of vDos rather than having vDos create a virtual C: drive within some other folder. Then I have a folder named C:\DPSpool where DPSpool.exe lives and where my DP reports are configured to send print jobs. (Note that it's critical that the folder for DPSpool jobs must conform to the 8.3 file naming convention or else vDos won't let DP see it.) Then I just run DPSpool and then vDos (or use a batch file to run them both).

Tim Rude
_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/cgi-bin/mailman/listinfo/dataperf

Reply via email to