Home > Articles > Operating Systems, Server

E.T. Print Home: Remote Printing with Windows XP

  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Close Window

Kulvir Singh Bhogal

Learn more…

A Guide to Persistence Technologies: Apache OpenJPA
Jul 10, 2008
Setting Up a Wi-Fi Hotspot Using m0n0wall
Mar 9, 2007
Running Virtual PCs on Your PC with VMware Player
Jan 26, 2007
Extending Your Media Center PC with Your Xbox
Jul 14, 2006
Expanding Your Screen Real Estate with MaxiVista
Jul 7, 2006
Place Skype Calls Using a Real Phone
Jun 30, 2006
Keeping Your Data Safe with a RAID 1 Setup
Jun 16, 2006
Taking Firefox with You on the Road: Using a USB Thumb Drive
Jun 2, 2006
Setting up a Live Webcam Feed
Apr 28, 2006
Entertainment on the Fly: Porting Movies and TV Shows to Your Sony PSP
Apr 14, 2006
Listening to Internet Radio with Your Treo Smartphone
Mar 17, 2006
The X10 FireCracker Kit: Not Your Grandmother's Clapper
Mar 10, 2006
Do More as a Couch Potato Using mControl, Windows Media Center, and X10 Devices
Feb 24, 2006
Trash Your Pocket PC Synchronization Cable and Go Wireless
Feb 10, 2006
Get Caller ID Information on Your PCs via YAC: Yet Another Caller ID Program
Jan 6, 2006
Using Your Gmail Account as a Virtual Drive
Dec 30, 2005
Rudeo Control: How to Remotely Control a Music Collection via a Pocket PC
Dec 22, 2005
From a Distance: Using RealVNC to Control Your PC from Far Away (for Free)
Dec 16, 2005
E.T. Print Home: Remote Printing with Windows XP
Nov 23, 2005
Adapting Your USB Drives To Work Cross-Network
Nov 18, 2005
Consolidating Your IM Applications with Trillian or Gaim
Sep 2, 2005
Lug Around Less by Creating and Mounting ISO Images of Your DVDs/CDs
Aug 12, 2005
Reincarnate Your IDE Hard Drives as USB External Hard Drives
Jul 29, 2005
(Remote) Controlling Your Windows XP PC
Jul 15, 2005
Using Your Handheld PC or Pocket PC to Control Your Windows XP Machine Remotely
Jul 8, 2005
Create a "Now Playing" List on Your Website with Winamp and Java Servlets
Jun 24, 2005
Become an Internationally Acclaimed Deejay with Winamp and SHOUTcast
Jun 10, 2005
Cross-Network CD Burning with NeroNET
May 27, 2005
Untethered: Watching Live TV on Your Laptop Without Wires
May 12, 2005
Get Swinging with the QuickTime for Java SDK
Dec 10, 2004
Staying in Sync: Time Synchronization Capabilities of Windows 2000
Oct 15, 2004
Introducing the Java Apache Mail Enterprise Server (a.k.a. James)
Jun 4, 2004
Exploring the Java Archive (JAR) Format
Apr 9, 2004
Hooking Up with IBM DB2 Universal Database Version 8 Using Java
Apr 2, 2004
Looking Under the Hood of Your Java Application with the Java Debugger
Mar 26, 2004

Sorry, this author hasn't posted any blogs.

Spring Into Windows XP Service Pack 2

Like this article? We recommend
Spring Into Windows XP Service Pack 2

You'd like to print a document to your remote printer but you can't, because, well, you aren't there! You don't need an expensive machine running Windows 2003 Server to print documents away from home. Let Kulvir Bhogal show you how to set up Windows XP as a VPN server and you'll be printing remotely in no time!

Imagine being at work or away from your home computer. You would like to print a document to your remote printer but you can't, because, well, you aren't there! To be able to print remotely, you might think you need a machine running a server-flavored version of Windows, like Windows 2003 Server or something that is way beyond your budget. Contrary to popular belief, you can set up Windows XP as a VPN server, thereby giving you access to your printers back home. In this article, I'll show you how to do just that.

Creating Your Windows XP VPN Server

You'll start out by preparing your home Windows XP machine to act as a VPN server.

Since you're trying to share your printer over the Internet, we need to make sure it's shared. If you don't already have a printer shared on your home network, go to your Control Panel and double-click on the Printers and Faxes icon. In the subsequent Printers and Faxes folder, right-click on the icon for the printer that you want to share over the Internet through your VPN. Choose the "Sharing..." context option. Then, click on the Sharing tab and choose the "Share this printer" option. Finally, provide a Share name for your printer. The Share name represents the name you want displayed on other computers in your network. Go ahead and click OK to finish up the sharing process.

At this point, the printer resource you decided to share should be shown in your Printers and Faxes folder with a hand holding the printer resource. Before trying to share your printer through your VPN though, I would suggest that you make sure that your printer is shared properly in your local network, by first sharing it with another machine in your local network. Before I move forward, I'll take it for granted that you have this done.

I am also going to assume that you have a static broadband connection at home and that your broadband service provides you with a static IP address. If you don't have a static IP address, you might want to consider using a dynamic DNS service like the one offered by ZoneEdit.com.

I am going to also assume that you're familiar with how to forward ports on your broadband router, if you use one.

To connect to the VPN server from the internet, you will need to forward port 1723 to the static IP address of your Windows XP machine. Some routers show a setting called PPTP Pass Through, and if your router has such an option, you must enable it. If you're running Windows XP Service Pack 2, you'll also need to make sure that the Windows Firewall allows for an Incoming Connection VPN (PPTP) on port 1723.

To prepare your Windows XP machine as a VPN server, double-click on the Network Connections icon in your Control Panel. From there, choose the File-->New Connection... option. In the subsequent New Connection Wizard (shown in Figure 1), click Next.

Figure 1

Figure 1 Launching the New Connection Wizard

In the next screen, specify that you want to set up an advanced connection (as shown in Figure 2).

Figure 2

Figure 2 Setting up an Advanced Connection

Next, specify the "Accept incoming connections" option (as shown in Figure 3). This option will enable your remote workstation to connect to your VPN server, thereby allowing you to have access to our home printer.

Figure 3

Figure 3 Opting to Accept Incoming Connections

Next, when the Wizard asks you which devices you want to use for your incoming connections, don't check anything and click Next, as shown in Figure 4.

Figure 4

Figure 4 Skipping over the Devices for Incoming Connections Screen

In the subsequent screen, you need to specify the "Allow virtual private connections" option. Doing so will tell Windows to modify the Internet Connection Firewall on the machine to allow for an incoming VPN connection, thereby allowing your remote box to tunnel into your home machine.

Figure 5

Figure 5 Virtual Private Connections

In the following User Permissions screen, you need to pick the user accounts that you want to be able to use with your home network resources (for example, your home printer) over the Internet. It's important to remember here that you need to make sure that the user account you'll be using on your remote workstation is given the permission to connect to your VPN server. If you need to, at this point you can use the Add button to Add another account. In Figure 6, I specified that I want the user Bicky to be able to connect to my VPN server.

Figure 6

Figure 6 Specifying Users which Can Connect via your VPN Connection

In the subsequent Networking Software screen, make sure the "File and Printer Sharing for Microsoft Networks" option is checked. This is because you need for the Printer sharing to be enabled to access your printer through your VPN. Next, choose the Internet Protocol (TCP/IP) option and click on Properties.

Figure 7

Figure 7 Making Sure the File and Printer Sharing for Microsoft Networks is Checked and Opening the TCP/IP Properties

Check to see that the "Allow callers to access my local network" option is checked and that the "Specify TCP/IP addresses" option is chosen under the "TCIP/IP address assignment" area. You'll also need to specify a range of IP addresses for incoming VPN connections. An easy way to figure out a valid range of TCP/IP addresses is to use the IPCONFIG utility of DOS and see the IP address that your router assigns to your machine. For example, my router gives my networked machines a 192.168.0.Y address. Accordingly, I went ahead and specified a range of 192.168.0.200 to 192.168.0.210, thereby allowing for 11 possible incoming VPN connections, as shown in Figure 8.

Figure 8

Figure 8 Specifying a Range of TCP/IP Addresses for Incoming Connections

Click the Next button, when you get back to the Networking Software window, and then click the Finish button (see Figure 9), in order to complete your VPN connection creation.

Figure 9

Figure 9 Completing the New Connection Wizard

A subsequent visit to the Control Panel's Network Connections screen should show you an Incoming Connections icon, as shown in Figure 10.

Figure 10

Figure 10 Seeing Your New Incoming Connection

At this point we are finished configuring our VPN server. We are now ready to move on to our client workstation.

  • Share ThisShare This
  • Your Account

Discussions

hi!
Posted May 31, 2009 02:13 PM by aspcicc
0 Replies
uRGENT
Posted Feb 19, 2009 10:49 PM by martinthottan
0 Replies

Make a New Comment

You must log in in order to post a comment.

Related Resources

Jennifer  BortelWin FREE iPhone Developer Books and Videos- Introducing @InformIT Giveaways
By Jennifer Bortel on February 5, 2010 No Comments

Apples’s recent iPad announcement made our hearts flutter so we couldn’t resist making an announcement of our own!

Today marks the first ever @InformIT Giveaway!

We’ll regularly post a video like this one profiling spectacular prizes we’re giving away—from books and videos to T-shirts and other exciting stuff. Check out the video below to see the giveaways for today, and then scroll down for more prize details and instructions on how to win them!

So Far So Good
By John Traenkenschuh on February 2, 2010 No Comments

So far, Win 7 is making a thoroughbred of what has been a plough mule laptop

Dustin Sullivan"Every OSX developer should have this book on their desk."
By Dustin Sullivan on February 1, 2010 No Comments

That was the sentence Mike Riley ended his recent Dr Dobb's CodeTalk review of Cocoa Programming Developer's Handbook with.

See All Related Blogs

Informit Network