Solved

Printing over a VPN

Posted on 2013-12-03
13
249 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WINDOWS 2012 RDS -disappearing printers 2 76
Password recovery software 4 34
How to block internet connection for windows7 11 54
SMB Packet - File Data 4 10
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…
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 …
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…
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…

860 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