Print virtual box file in windows 7

Discussions related to using VirtualBox on Windows hosts.

Print virtual box file in windows 7

Postby Eric the Green » 6. Aug 2019, 02:00

I was able to print a file from a program in my virtual box to my printer using a pdf file in windows, because a friend set it up for me. I also installed windows 7 recently, and had Vista before. Now I can't do this. Does anyone know how to print a file in virtual box to a pdf file that I can use in windows 7? I also use an Epson printer that is connected to my windows 7 HP computer.
Eric the Green
 
Posts: 2
Joined: 6. Aug 2019, 01:56

Re: Print virtual box file in windows 7

Postby scottgus1 » 6. Aug 2019, 04:09

Printing something to a PDF in a guest so it can be printed on the host is not a normal part of a Virtualbox setup. This is something specially set up by your friend, so we would not know exactly how your friend did it to duplicate it in your new guests.

However, there are easy ways to print from the guest to the host.

If you can set up a network between your host and guest, you can share the printer on your host, then find and use the shared printer on your guest through the network. Setting up a Virtualbox network is easy, but you would need drivers for the printer in your guest OS, too. If your guest OS is too old and the printer is too new, then you may not have drivers for the guest OS.

If you cannot or do not want to set up a network between host and guest, you can install Guest Additions on the guest, then you can use the Guest Additions' Shared Folders to pass files back and forth between host and guest. It acts like a real shared folder without a network. You can print PDFs in the guest, then put the PDF in the Guest Additions Shared Folder, then print the PDF from the host.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 4502
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Win7

Re: Print virtual box file in windows 7

Postby Eric the Green » 6. Aug 2019, 05:04

I'm not really sure what the terms host and guest mean. Is the virtual box program the host, and the windows 7 program the guest, or vice versa? What is "Guest Additions?" If the virtual box is the "guest," how can I install "Guest Additions" on it, if it's a program?
Eric the Green
 
Posts: 2
Joined: 6. Aug 2019, 01:56

Re: Print virtual box file in windows 7

Postby BillG » 6. Aug 2019, 08:43

The physical machine is the host, the virtual machine is a guest running on that host.

The guest additions run in the OS of the guest to help the OS run better in a virtual environment. To install the GAs in the guest, click the Devices tab at the top of the vm display and select Insert Guest Additions CD image. In a Windows guest you should then get a message asking what you want to do. Select Run VBoxWindowsAdditions.exe
Last edited by BillG on 7. Aug 2019, 01:31, edited 1 time in total.
Bill
BillG
Volunteer
 
Posts: 4186
Joined: 19. Sep 2009, 04:44
Location: Sydney, Australia
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 7,8,Server

Re: Print virtual box file in windows 7

Postby scottgus1 » 6. Aug 2019, 13:29

Eric, you might want to read chapter 1 in the manual. It explains all about terminology and things that can be and should be done to get a guest going well. Section 4 discusses the Guest Additions, and section 6 discusses networks
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 4502
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Win7


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Psychlone and 69 guests