Solved

Printing over a VPN

Posted on 2013-12-03
13
248 Views
Last Modified: 2014-01-07
We have a process setup that allows one of our vendors to print from a windows application back to a printer on our network.  Our problem is that our vendors internet connection becomes saturated and connectivity starts to become intermittent.  The telnet and Citrix apps seem to be designed to handle this, but the windows print queue does not.

The windows print queue acts like as soon as can't reach the remote Q the first time it gives up.  All the remaining print jobs just seem to sit in the print Q on the users machine.

Does that windows print Q have parameters that are adjustable ?
Can we set the Q to keep retrying every minute until successful ?

Thanks
0
Comment
Question by:sidwelle
  • 7
  • 5
13 Comments
 
LVL 13

Expert Comment

by:ylandrum
ID: 39694009
If I understand you correctly, it sounds like your vendor has it set up as a network printer pointing back to a local machine on your local network that is sharing the printer out. In that case your local machine on your LAN is the one hosting the print spooler.

Does this printer have its own network connection and IP address on your LAN? If so, then try having the vendor set it up as a local printer on their machine, connected to a standard TCP-IP port pointing to the printer's IP address. That way, the print spooler is local to the vendor's machine and spooling will not be affected by the VPN connection. Once the document is spooled, then it will send the print job to the printer via tcp-ip which, because it is at a lower layer, is a lot more resilient than trying to print to a remote spool over a saturated link (network printing is at the highest layer-application).

If I misunderstood and that's how it IS set up, then try it the other way; set it up as a printer on one of your machines and share it out to the vendor; s/he would then install it as a network printer.

The only spooler settings I am aware of are those available in the printer properties' Advanced tab.
0
 

Author Comment

by:sidwelle
ID: 39694037
Printer is not shared, Prints back to a socket (ip, port).
Seems to work fine as long as vendor does not have a full staff or prints off hours.
0
 
LVL 21

Expert Comment

by:wyliecoyoteuk
ID: 39696605
Make sure that the spooling in the print driver>advanced tab is set to "start printing after last page has spooled"
Disabling "advanced printer functions" (MS EMF spooling) may reduce spool file size.

In the ports tab, disable bidirectional communication, and in the port config disable SNMP.

These settings will all reduce timeouts, and ensure that jobs are not truncated, which can  lock the spooler.
If possible, reduce the print resolution.

Some printers support FTP printing, which with the right FTP client, supports resuming paused jobs.

If the printer has a hard disk, enable print spooling to the hard disk (some printers without a hard disk have a RAM disk capability that can be enabled), and check the buffer and timeout settings on the printer, if available, increase both.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:sidwelle
ID: 39696850
All the options are set like you mentioned.  What I am really looking for is a method configuring the printer to just keep trying and less time between retries.  Right now it’s hard to trend, but it seems like it will retry after about 5 mins, and then timeout.
0
 
LVL 21

Expert Comment

by:wyliecoyoteuk
ID: 39697047
What make/model of printer?
Are you using raw or lpr prinitng?
IPP may be a better option if the printer supports it.
0
 

Author Comment

by:sidwelle
ID: 39698519
Printing is RAW, printer is an application that listens on a port and captures print jobs printed in text.
This issue is with network traffic, I need the spooler in the user’s PC to retry more often, not just fail.
0
 

Author Comment

by:sidwelle
ID: 39702267
Can anyone tell me how to configure the key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Spooler\performance.failureactions

I am hoping this hold the behavior of the spooler ?
0
 
LVL 21

Expert Comment

by:wyliecoyoteuk
ID: 39702783
Might have saved some time if you had mentioned that it isn't a physical printer, that changes the scenario completely.
0
 

Author Comment

by:sidwelle
ID: 39706364
Why would that change anything, the problem is with the printing spooler on the PC.  I am trying to figure out how to chg the params.
0
 
LVL 21

Expert Comment

by:wyliecoyoteuk
ID: 39706871
Because a physical printer can have extra parameters changed to make connections more reliable, and the application listening may have similar options, but they will need to be adjusted differently.
The problem is not just with the spooler, but the lack of bandwidth, and that will need changes at both ends.
The spooler is probably giving up after a partial transfer. Changing retry timing  will probably not cure that.
Does the VPN setup have any QOS settings?
0
 

Author Comment

by:sidwelle
ID: 39709868
If it does, I can not get at Network equipment.

I am just looking for a way to adjust the params on the print spooler.
0
 

Author Comment

by:sidwelle
ID: 39715228
We may not agree on the solution, but if you know how to configure the timeout and/or Error behavior of the print spooler of the workstations and could share that with me,  I would greatly appreciate it.
Thanks
0
 
LVL 21

Accepted Solution

by:
wyliecoyoteuk earned 500 total points
ID: 39715404
Sorry, not being obtuse.
I have no knowledge of how to do that in windows,.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
gift wrap ribbon printing 2 46
Error 0X800704C8 - Plex App 2 41
Best way to share an MFP laser printer? 5 81
Send a .ZPL file to a network printer from Access 8 71
When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question