VMware Communities
rossoneris
Contributor
Contributor

LPT1 not working

I really hope someone can help me - as I am need a solution quickly

I am unable to print from my virtual pc as there seems no connection to the printer. Here is my Vmx file -

config.version = "8"

virtualHW.version = "6"

memsize = "128"

MemAllowAutoScaleDown = "FALSE"

MemTrimRate = "-1"

displayName = "camping"

guestOS = "winxphome"

numvcpus = "1"

scsi0:0.present = "TRUE"

scsi0:0.fileName = "camping.vmdk"

scsi0:1.present = "TRUE"

scsi0:1.fileName = "camping (2).vmdk"

pciBridge0.present = "TRUE"

tools.upgrade.policy = "useGlobal"

scsi0.present = "TRUE"

scsi0.virtualDev = "buslogic"

buslogic.noDriver = "FALSE"

parallel0.present = "TRUE"

parallel0.fileName = "LPT1"

parallel0.bidirectional = "TRUE"

extendedConfigFile = "camping.vmxf"

virtualHW.productCompatibility = "hosted"

uuid.location = "56 4d d0 ac 05 3b 11 62-be be 69 44 e2 bf 88 96"

uuid.bios = "56 4d d0 ac 05 3b 11 62-be be 69 44 e2 bf 88 96"

scsi0:0.redo = ""

scsi0:1.redo = ""

pciBridge0.pciSlotNumber = "17"

scsi0.pciSlotNumber = "16"

tools.remindInstall = "TRUE"

floppy0.fileName = "A:"

checkpoint.vmState = ""

And here is my logfile

Mar 13 12:09:28.468: vmx| parallel0: FAIL to open the parallel port driver error 0x3E5 in ParallelHost_DeviceConnect()

Mar 13 12:09:28.468: vmx| Msg_Post: Error

Mar 13 12:09:28.468: vmx| http://msg.parallel.badDriver Cannot open VMparport driver for LPT1: Handlingen er gennemført

Mar 13 12:09:28.468: vmx| http://msg.device.badconnect Failed to connect virtual device parallel0.

Mar 13 12:09:28.468: vmx| -


Mar 13 12:12:29.562: vmx| parallel0: FAIL to open the parallel port driver error 0x3E5 in ParallelHost_DeviceConnect()

Mar 13 12:12:29.562: vmx| Msg_Post: Error

Mar 13 12:12:29.562: vmx| http://msg.parallel.badDriver Cannot open VMparport driver for LPT1: Handlingen er gennemført

Mar 13 12:12:29.562: vmx| http://msg.device.badconnect Failed to connect virtual device parallel0.

Mar 13 12:12:29.562: vmx| -


Mar 13 12:16:04.859: vmx| TOOLS setting the tools version to '0'

Mar 13 12:26:29.140: mks| HostOps hideCursor before defineCursor!

Mar 13 12:32:09.156: vmx| parallel0: FAIL to open the parallel port driver error 0x3E5 in ParallelHost_DeviceConnect()

Mar 13 12:32:09.156: vmx| Msg_Post: Error

Mar 13 12:32:09.156: vmx| http://msg.parallel.badDriver Cannot open VMparport driver for LPT1: Handlingen er gennemført

Mar 13 12:32:09.156: vmx| http://msg.device.badconnect Failed to connect virtual device parallel0.

Mar 13 12:32:09.156: vmx| -


Mar 13 12:39:58.515: vmx| parallel0: FAIL to open the parallel port driver error 0x3E5 in ParallelHost_DeviceConnect()

Mar 13 12:39:58.515: vmx| Msg_Post: Error

Mar 13 12:39:58.515: vmx| http://msg.parallel.badDriver Cannot open VMparport driver for LPT1: Handlingen er gennemført

Mar 13 12:39:58.515: vmx| http://msg.device.badconnect Failed to connect virtual device parallel0.

Mar 13 12:39:58.515: vmx| -


Reply
0 Kudos
2 Replies
PJN
Hot Shot
Hot Shot

Hi, it looks like you don't have vmware-tools installed in your VM. I have no idea if you actually need them to get the printer working (never used a Windows VM) but it's probably a good place to start in lieu of any other solutions.

Best of luck.

Pete.

Reply
0 Kudos
skrodahl
Enthusiast
Enthusiast

Which operating system is running on your host (physical machine)?

If it's Linux, you don't have an LPT1, it's called /dev/lp0.

Anyway, you're very likely to have only one printer port.

Autodetect should work fine, with the added benefit that you can use your virtual machine on both Windows and Linux:

Just replace your parallel0-entries with this:

parallel0.present = "TRUE"

parallel0.fileName = "Auto Detect"

parallel0.autodetect = "TRUE"

parallel0.bidirectional = "TRUE"

Reply
0 Kudos