VBox locks the COM1 Raw File

Discussions about using non Windows and Linux guests such as FreeBSD, DOS, OS/2, OpenBSD, etc.
Post Reply
PGstudio
Posts: 6
Joined: 16. Jan 2014, 03:33

VBox locks the COM1 Raw File

Post by PGstudio »

Hi Guys,

I managed to print from my DOS application by redirecting the LPT1 port to COM1 port (MODE LPT1: = COM1:) and inside Vbox I created a Serial COM1 with RAW FILE as port mode.
The program i'm using to print from the host is Printfil which looks for this file created by the COM1 port. The problem is that the application waits the file to be unlocked to start printing and VBox only unlock the file when i close the VM instead of closing the file when there is no data being sent to the port (ie: when the printing job ends). Is there anyway to release the file without closing the VM.?? Because, otherhise, everytime I need to print, i'll have to start the print job and then close my VM to see the result.

I don't know if i was clear.


Thanks guys!
Offebaescher
Posts: 1
Joined: 24. Sep 2014, 22:59

Re: VBox locks the COM1 Raw File

Post by Offebaescher »

Hi PGStudio,
did you ever find a solution for this?
It is also the same situation in my installation, printfil can only start accessing the file after virtualbox has been shut down.
Post Reply