|
Post by carol on Jul 31, 2019 1:18:23 GMT 1
Hello.
I have successfully installed vDos and am able to operate a very old real estate transaction software called Deal Track. I am able to print one-page trade records with no problems at all but when I try to print cheques - also one page, they print on three pages with most of the content on the first page, then the last line on the second page along with a random string of numbers and letters that continues on the third. I have tried many settings, different printer drivers etc to no avail. I am printing to an HP Laserjet M402 n-dn. The driver that Deal Track is using is HPLAS260.PR2. I have tried various options from the printing.pdf file to configure the LPT1 port but am not able to have any effect on the vertical positioning, line spacing etc. The other issue is that it brings up the printer select window before I am ready to print. If I set the LPT1="" to my default printer, it says it cannot initialize. I have very little experience with DOS but am usually able to figure things out from instructions - except this time. Hoping you can help. Thank-you in advance. Carol
|
|
|
Post by Jos on Jul 31, 2019 7:40:14 GMT 1
Woukd be a timeout problem: Your program prints the first part, then takes too long to supply the rest, so vDos thinks the print job has finished. Try:
LPT1 = TIO:0 This will disable the timeout function, but will only work if the program opens the DOS LPT1 device at the start of the print job and closes it when done.
LPT1 = TIO:10 Sets the timeout to 10 seconds, that should be enough.
LPT1 = SPOOL vDos will collect all print data, and on;y start printing the moment you press Win+Ctrl+S.
If the HP Laserjet M402 n-dn is the default printer and it works correctly when selected from the printer dialog popup, it should also with LPT1 = SEL:"" (it is not LPT1="").
Jos
|
|
|
Post by carol on Jul 31, 2019 13:53:26 GMT 1
Thank-you very much Jos. I will try those things. I did have it as LPT1=SEL:"" but as I remember, nothing happened at all. However, perhaps it needs the Win+Ctrl+S at that point, which I must have missed on reading. I will try the TIO version today at the office.
|
|
|
Post by Jos on Jul 31, 2019 14:28:30 GMT 1
If you did have LPT1="", vDos expects a Windows command or program specification between the double quotes, to be executed instead of printing. Didn’t test, but vDos could then well start the Windows command processor w/o an actual command, and CMD immeditially quitting. Win+Ctrl+S is only effective with the SPOOL option, it will then also be shown in the title bar.
Jos
|
|