-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Btrieve #161
Comments
If you are using Pervasive SQL Server as a BTRIEVE backend, you usually get a BTRIEVE VDD driver installed that allows NTVDM to access the BTRIEVE Server. For BTRIEVE detection, it's important that the Service routine for Interrupt 7B lives at offset 33h, otherwise, it won't get detected. |
Thanks for the response. Any idea if there is trouble using net use for printers. e.g. net use lpt2 \machine-name\printername |
What doesn'T work is raw LPT access to the hardware port, as parvdm.sys driver shipped with 32bit Windows Versions is not present on x64, but there was no request for that so far. |
Thanks for the comment. I am not printing RAW and it is the correct session. I know the net use is working as I can echo out to it and it prints. Nothing from the application however. Enabled SMBv1 on both sides so I dont think that is an issue. Appreciate any other input. Thanks |
NTVDMx64 just - like normal NTVDM - opens LPTx with CreateFile() API and writes to it. I tried running it inside the DOS-Session in command.com to check if printer is accessible from there:
Err=0 success. Err in next line can be ignored. |
Could not get it to print. Testprj gives me Err:0 only when trying to a physical port. Any other suggestions? Otherwise looks like printing is an issue. Appreciate any assistance |
As testprj is a plain 32bit Windows Application without any NTVDM dependency, this indicates that there is a problem with your (via net use) redirected printer port then, nothing related to NTVDM. |
Figured it out. Needed these lines in a Admin Command prompt. Appreciate your assistance.
|
leecher1337, I've been using your solution with DOS2USB since I was getting print errors.
|
So you are maybe using a GDI printer that doesn't support output directly? I don't know DOS2USB, but I always use DOSPR.ZIP for crappy GDI printers and it works fine too, i.e. to capture EPSON printer sequences and render it to a GDI printer of your choice and display print dialog before printing, start dospr with:
|
Oh my, thank you VERY MUCH, it is working "perfectly". |
Does your printer support PCL natively? If so, dospr can also be used in "raw" mode (so it operates roughly like with NET USE):
If you want to terminate a running dospr-instance, use The dospr contains a file epson.seq (originally taken form printfil) which contains EPSON ESC/P sequences for certain actions. Most DOS applications should theoretically support ESC/P depending on the printer driver you select. If you have control over the control codes, you can use these sequences from epson.sql instead of PCL. I hope that works for you. |
Perfect solution. |
Glad to hear that it works for you. :) Regarding PDF printing, I guess a PDF printer driver wouldn't be too happy with raw PCL input, as it can't rander that, so yes, using a raw printer may not give you the possibility to render a PDF via PDF printer driver. |
Thank you very much leecher, I think I can continue on my own. Thank you for the amazing support you're providing us! 👍 |
16 bit application runs but is not detecting btrieve which is used to access data files. Any experience getting this to work?
The text was updated successfully, but these errors were encountered: