Print queue Backup/Recovery/Migration.
Syntax PRINTBRM -b -s \\server_name -f file_name options PRINTBRM -r -s \\server_name -f file_name options PRINTBRM -q options Key -s server_name The unc path to the print server. -b Back up the server to the specified file. -r Restore the configuration in the file to the server. -q Query the server or the backup file. -f file_name The backup file. -d directory Unpack the backup file to the directory (with -r), or repack a backup file from the directory (with -b). -o force Forces overwriting of existing objects. -p all Publish all printers in the directory, or -p org Publish the printers that were originally published. -nobin Omit binary files from the backup. -lpr2tcp Convert LPR ports to standard TCP/IP ports on restore. -c file_name Use the specified configuration file. -noacl Remove ACLs from print queues on restore.
In Windows 2008 PrintBRM replaces the old Win 2003 PrintMig utility, it is backwards compatible with 2003.
Get a list of all printer share names for a print server: net view \\printserv1
“Lots of people want to ride with you in the limo, but what you want is someone who will take the bus with you when the limo breaks down” ~ Oprah Winfrey
NET PRINT - View and Delete print jobs
PRINT - Print a text file
Q938923 - Back up and restore printers from Win Server 2003 to Win Server 2008
Equivalent bash command (Linux): printf - Format and print data