strange problem print through com1

Discussions related to using VirtualBox on Windows hosts.
Post Reply
kobolds
Posts: 10
Joined: 20. Dec 2008, 01:54

strange problem print through com1

Post by kobolds »

ok . this is going to be long explanation . my host is winxp while my client is also winxp .

I have a program that print through serial com to epson receipt printer (direct open the port and send message . no need install any printer driver). since I don't have a serial com on my notebook , I brought a usb to serial converter cable . the driver it self emulate serial com1 . because of that I can still use the program with making any changes on my notebook.

the problem occur when I try running my program on vbox client . I setup vbox enable serial com1 . when I run winxp client it detect the serial com 1 . when I run my program to print , it print but some message suppose to be printed gone . it seems like some of the message sending from client to host lose .

I confirm the problem is not with the converter cable . I test it to print nonstop 50 receipt without losing a single word in it.


how do I solve this problem.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

If you want to print from the VM, why not attach the USB device directly? Enable USB, add a filter for the device and boot the VM. Now select the USB device from the Devices > USB menu item.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
kobolds
Posts: 10
Joined: 20. Dec 2008, 01:54

Post by kobolds »

Sasquatch wrote:If you want to print from the VM, why not attach the USB device directly? Enable USB, add a filter for the device and boot the VM. Now select the USB device from the Devices > USB menu item.
i try that also. but on the client , winxp could not detect the usb device.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

You did everything that was needed to attach the USB device to the Guest? So enabled USB, and added a filter AND attached it to the VM from the Devices menu?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
kobolds
Posts: 10
Joined: 20. Dec 2008, 01:54

Post by kobolds »

Sasquatch wrote:You did everything that was needed to attach the USB device to the Guest? So enabled USB, and added a filter AND attached it to the VM from the Devices menu?
on vbox usb filter , I see the usb device but the client winxp , not detecting the usb device . I try unplug and plugin while in the client winxp , nothing show up . I try run hardware wizard also nothing show up.


forget it . it solve when the host is linux (opensuse 11.1 64 bit) and the client winxp . on client winxp I plugin the cable and the hardware wizard detect it . after install the driver I try print and it come out perfect .

the only different between host linux and host winxp is I don't have the cable converter driver for linux 64bit while on host winxp I have and installed . is this cause the problem?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Having a driver or not should not cause a problem, but as it's not your everyday USB device, it might. I assume that you did the same on your Linux Host as you did on your Windows Host with the USB settings.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply