Parallel Printer cant configured
Parallel Printer cant configured
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
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
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}
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}
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Parallel Printer cant configured
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.
Note any changes to permission do not take effect until you have logged off and back o nor sometimes until a reboot.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Parallel Printer cant configured
Did you consider a network share for the printer?
Re: Parallel Printer cant configured
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?
i adding my user call "usuario" to the group lp and lpadmin with "
Code: Select all
usermod -G lp usuarioFallo 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 "
Code: Select all
ls > /dev/lp0Re: Parallel Printer cant configured
thank's for idea but i can't take the shared printer because the VM is a Novel Netware 4.2mpack wrote:Did you consider a network share for the printer?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Parallel Printer cant configured
Post the results of id from the terminal
Re: Parallel Printer cant configured
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:~$
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Parallel Printer cant configured
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.
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
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}
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}
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Parallel Printer cant configured
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
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
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
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Parallel Printer cant configured
Add your user to the lp group and reboot. See if that lets you access the lpt port
Re: Parallel Printer cant configured
take same error
usuario@servidor1:~$ egrep "lp" /etc/group
lp
7:
lpadmin
116:usuario
thank you so much for help
usuario@servidor1:~$ egrep "lp" /etc/group
lp
lpadmin
thank you so much for help