Print Queue to Print Queue


we have requirement forward contents of 1 windows print queue windows server print queue, job can spooled , sent print device. possible 'hop' print jobs in manner?

the reason need because print job originates different network limited network ports opened between 2 sites.

the easiest way enable lpd print service on machine send jobs physical printers.  lets call machine2.  machine1 server client machines connect to.  configuration 5 printers.

machine2 can low end machine since it's not going communicating client machines , it's fielding raw data jobs printers, all rendering occur on machine1 or clients.

instructions server 2008 r2.

add print server role
add lpd print server  print role service

add 5 printers named printer1, printer2, printer3, printer4, printer5  (for situation recommend naming printers same on both machines know data going) use correct print driver device or can use generic text only if no clients connect server.  target network card using standard tcp/ip port in configuration supported device.


machine1  add 5 printers using same names on machine2.  printers should use correct print drivers device since driver provide rendering device. 

create standard tcp/ip port in lpr mode hostname machine2 queuename printer1 , bytecount enabled.  since machine2 not support print mib specification, snmp query server never return "printer" , adding ports using ui require 90 second timeout.  suggest adding ports using wmi interface on machine1

use the printer scripts under c:\windows\system32\printing_admin_scripts\en-us

specifically ports prnport.vbs

c:\>cscript c:\windows\system32\printing_admin_scripts\en-us\prnport.vbs -a -h machine2 -o lpr -q printer1 -2e -md -r machine2@printer1

microsoft (r) windows script host version 5.8
copyright (c) microsoft corporation. rights reserved.

created/updated port machine2@printer1

after adding printers test config.  lpd service listens on tcp/ip port 515.  standard tcp/ip port send jobs machine2 using source ports greater 1024.

i don't have port restrictions have test lab prints in configuration every day.


alan morris windows printing team; search microsoft knowledge base here: http://support.microsoft.com/search/default.aspx?adv=1


Windows Server  >  Print/Fax



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2