howto use printer

Discussions about using Windows guests in VirtualBox.
docmccoy
Posts: 12
Joined: 22. Jun 2009, 18:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP

howto use printer

Post by docmccoy »

Good day java community.

I have one problem. Hope someone know answer. Let me describe it: i have Linux Fedora 11 as primary system and Windows XP as host system. In Windows i've installed program Guitar Pro, which allows to write, listen and print music. I can successfully write it and all i might to do - is to print it for further reading from hands. All is good, but how should i print? In program i choose by Ctrl-P printer options and cannot see my printer, because Windows XP cannot recognize it. And even if i want to print in any other program or simple text editor some document, i can't access the printer. Please, help me with printing in my host system. Thanks

Kostya
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: howto use printer

Post by vbox4me2 »

Use lpd/lpr, windows supports lpr printing.
docmccoy
Posts: 12
Joined: 22. Jun 2009, 18:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP

Re: howto use printer

Post by docmccoy »

Sorry, but what exactly is lpr?
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: howto use printer

Post by baf »

lpr is a printer protocol.

In windows start-> settings->printers and faxes-> add printer
select local deselect automatically detect...
next
create a new port , standard tcpip port.
next next
ipaddress of your host(10.0.2.3 in standard nat).
custom->settings->lpr
select the correct printqueue name.

good luck
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
docmccoy
Posts: 12
Joined: 22. Jun 2009, 18:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP

Re: howto use printer

Post by docmccoy »

Thanks for instructions. I did everything, however printer does not work. When i typing in command line "cmd /k ipconfig /all" and press enter nothing has appear, besides i was expecting to see all ip addresses of windows machine. And i assume that IP for printer 10.0.2.3 was incorrect. Do you have another candidates for printer IP value?
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: howto use printer

Post by vbox4me2 »

Did you setup the lpd(deamon) on the Host where the printer is?
docmccoy
Posts: 12
Joined: 22. Jun 2009, 18:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP

Re: howto use printer

Post by docmccoy »

In Fedora 11 it can be accomplished by the web browser interface typing localhost:631 and then installing proper printer. Yes, i've done it
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: howto use printer

Post by vbox4me2 »

Did you solve the ipconfig issue? without that your not going anywhere, once your Guest has an ip address you can try the lpr command in a cmd box before trying a printer driver via lpr.
docmccoy
Posts: 12
Joined: 22. Jun 2009, 18:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP

Re: howto use printer

Post by docmccoy »

i didn't solve ipconfig issue, and how can i solve it?) it is really strange problem, why ip does not show on fresh-installed guest windows machine... Maybe there is existing another way for checking those ip's? I remember that in VMWare there were no problems with this, but if i chose VirtualBox, i'd rather try to follow it. So great, i have new problem - ip mystery. If someone know anything, please, share the information. Thanks
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: howto use printer

Post by vbox4me2 »

Run: [VBoxManage showvminfo "VMNAME"], and post results here.
docmccoy
Posts: 12
Joined: 22. Jun 2009, 18:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP

Re: howto use printer

Post by docmccoy »

i typed in linux terminal following (with results) while guest system was running:

Code: Select all

[root@Baikal docmccoy]# VBoxManage showvminfo VisualStudio
VirtualBox Command Line Management Interface Version 2.2.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

ERROR: Could not find a registered machine named 'VisualStudio'
Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
Context: "FindMachine (Bstr(VMNameOrUuid), machine.asOutParam())" at line 1929 of file VBoxManageInfo.cpp
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: howto use printer

Post by baf »

You are either not running VBoxManage as the same user as has the guest or you have spelled the machine name wrong.
Try

Code: Select all

VBoxManage list vms
To see what its name really is.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
docmccoy
Posts: 12
Joined: 22. Jun 2009, 18:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP

Re: howto use printer

Post by docmccoy »

What i see after last command is:

Code: Select all

[docmccoy@Baikal ~]$ VBoxManage list vms
VirtualBox Command Line Management Interface Version 2.2.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

"VisualStudio" {ca9c5649-8b5c-48bf-9490-dc7725451d33}
[docmccoy@Baikal ~]$
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: howto use printer

Post by vbox4me2 »

Try the UUID and whats this with a # first and then a $ ? forgot su?
docmccoy
Posts: 12
Joined: 22. Jun 2009, 18:50
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP

Re: howto use printer

Post by docmccoy »

Yes, there is difference:

Code: Select all

[docmccoy@Baikal ~]$ VBoxManage list vms
VirtualBox Command Line Management Interface Version 2.2.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

"VisualStudio" {ca9c5649-8b5c-48bf-9490-dc7725451d33}
[docmccoy@Baikal ~]$ su
Password:
[root@Baikal docmccoy]# VBoxManage list vms
VirtualBox Command Line Management Interface Version 2.2.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

[root@Baikal docmccoy]#
Post Reply