Page 1 of 2
Parallel Printer cant configured
Posted: 16. May 2013, 03:13
by JulioRos
Hi
i want to enable a parrallel port LPT1 on Host Ubuntu 12.04, print ok from on linux but i don't enable it in the vbox using this command
VboxManage modifyvm 'server' --lptmod1 LPT1
i had this error
VBoxManage: error: Unknown option: --lptmod1
known why this error?
my version is 4.1.12_Ubuntur77245
Thank's for all
Re: Parallel Printer cant configured
Posted: 16. May 2013, 03:33
by Perryg
Re: Parallel Printer cant configured
Posted: 18. May 2013, 22:46
by JulioRos
thank you Perryg
Ok, Changing the version of VirtualBox and i can configured the LPT port but .....
put this "VBoxManage modifyvm "server" --lptmode1 "/dev/parport0",
"VBoxManage modifyc 'server' --lpt1 0x378 7"
and when run it say :
Parallel#0 could not claim parallel port '/dev/parport0'Be sure that no other process or driver accesses this port (VERR_DEV_IO_ERROR).
Parallel device 0 cannot attach to host driver (VERR_DEV_IO_ERROR).
Código Resultado: NS_ERROR_FAILURE (0x80004005)
Componente: Console
Interfaz: IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}
Re: Parallel Printer cant configured
Posted: 18. May 2013, 23:47
by Perryg
This usually means you do not have permission to address the port. make sure you are a member of the lp group and lpadmin group on the host.
Note any changes to permission do not take effect until you have logged off and back o nor sometimes until a reboot.
Re: Parallel Printer cant configured
Posted: 19. May 2013, 11:18
by mpack
Did you consider a network share for the printer?
Re: Parallel Printer cant configured
Posted: 19. May 2013, 17:11
by JulioRos
tank's all
i adding my user call "usuario" to the group lp and lpadmin with "
" but i get the same error
Fallo al iniciar la máquina virtual server.
Parallel#0 could not open '/dev/lp0' (VERR_ACCESS_DENIED).
Parallel device 0 cannot attach to host driver (VERR_ACCESS_DENIED).
Código Resultado: NS_ERROR_FAILURE (0x80004005)
Componente: Console
Interfaz: IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}
thank you again for the help
regards
Julio
aditional info: i send "
" (like MS-DOS test port) and prints fine from the terminal , also login root and config the VM and take the same error ¿¿?? do you have any idea?
Re: Parallel Printer cant configured
Posted: 19. May 2013, 17:14
by JulioRos
mpack wrote:Did you consider a network share for the printer?
thank's for idea but i can't take the shared printer because the VM is a Novel Netware 4.2
Re: Parallel Printer cant configured
Posted: 19. May 2013, 17:49
by Perryg
Post the results of id from the terminal
Re: Parallel Printer cant configured
Posted: 22. May 2013, 00:04
by JulioRos
when run from terminal say
- usuario@servidor1:~$ virtualbox
Error opening file for reading: Permiso denegado
Qt WARNING: void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "" under id 16
Qt WARNING: void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "&Pausar" under id 17
Qt WARNING: void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "&Reiniciar" under id 18
Qt WARNING: void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "&Descartar el estado guardado..." under id 24
Qt WARNING: void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Ac&tualizar..." under id 25
Qt WARNING: void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Mostrar en el administrador de archivos" under id 27
Qt WARNING: void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Crear un acceso directo en el escritorio" under id 28
usuario@servidor1:~$
Re: Parallel Printer cant configured
Posted: 22. May 2013, 00:08
by Perryg
Let's try this again.
Open a terminal on the host and type id then press enter
Then post what that prints out on the screen.
Re: Parallel Printer cant configured
Posted: 22. May 2013, 01:10
by JulioRos
as root say
Fallo al abrir una sesión para la máquina virtual servroot.
Parallel#0 could not get exclusive access for parallel port '/dev/lp0'Be sure that no other process or driver accesses this port (VERR_INVALID_PARAMETER).
Parallel device 0 cannot attach to host driver (VERR_INVALID_PARAMETER).
Código Resultado: NS_ERROR_FAILURE (0x80004005)
Componente: Console
Interfaz: IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}
Re: Parallel Printer cant configured
Posted: 22. May 2013, 01:12
by Perryg
I can't help you if you do not do what I ask. I will await further assistance until you comply with my previous request.
Re: Parallel Printer cant configured
Posted: 22. May 2013, 01:19
by JulioRos
this is a id
uid=1000(usuario) gid=1000(usuario) grupos=1000(usuario),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),109(lpadmin),124(sambashare)
thank's
Re: Parallel Printer cant configured
Posted: 22. May 2013, 01:26
by Perryg
Add your user to the lp group and reboot. See if that lets you access the lpt port
Re: Parallel Printer cant configured
Posted: 22. May 2013, 01:38
by JulioRos
take same error
usuario@servidor1:~$ egrep "lp" /etc/group
lp

7:
lpadmin

116:usuario
thank you so much for help