Solved

Printing over a VPN

Posted on 2013-12-03
13
252 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

751 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