Category: Printers & Printing

Canon MFP User Code Printing Requires a Service
article #1071, updated 21 days ago

If there is a Canon MFP, and the desire is to implement user codes, you need more than just a driver. You need the current UFR II sort of driver, and very significantly, you need something called the “Canon Driver Information Assist Service”. This is in the “misc” folder in the driver package, it’s called DIAS for short. This is a service which makes network user codes flow from desktop to server to MFP. Without it, you will get errors as user code lookup attempts fail.

Categories:   Printers & Printing   

==============

Windows network printer changes in CMD
article #1026, updated 182 days ago

Very easy:

Quietly install a network printer – per user

rundll32 printui.dll,PrintUIEntry /q /in /n "\\machine\printer"

Quietly delete a named network printer – per user

rundll32 printui.dll,PrintUIEntry /q /dn /n "\\machine\printer"

Set default printer

rundll32 printui.dll,PrintUIEntry /y /n "\\machine\printer"

Quietly install a network printer – per machine

rundll32 printui.dll PrintUIEntry /q /ga /n "\\machine\printer"

Quietly delete a network printer – per machine

rundll32 printui.dll PrintUIEntry /q /gd /n "\\machine\printer"

Quietly delete a specific printer driver

rundll32 printui.dll,PrintUIEntry /q /dd /m "PrinterDriver"

Categories:   Printers & Printing   

==============

Windows printer management using built-in VBS scripts at the command line
article #837, updated 752 days ago

From Windows 7 on, Microsoft has thoughtfully provided us with VBS scripts for command-line printer management, here:

C:\Windows\System32\Printing_Admin_Scripts

In this neck of the woods, we go here to see them all, there are several:

C:\Windows\System32\Printing_Admin_Scripts\en-US

To delete printer named ASDF:

cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -d -p "ASDF"

Categories:   Printers & Printing   

==============

Cannot delete printers in Vista, 7, and Above
article #691, updated 824 days ago

If you get “permission denied” trying to delete printers, delete everything relevant in all of these places (leaving the folders of course):

HKEY_CURRENT_USER\Printers\Connections
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Printers\PushedPrinterConnectionStore\*
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Connections
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers

restart the spooler, refresh the Devices and Printers window, and you may be done, the involved printers will probably vanish. If they don’t they will be deletable at this point. If there are multiple user profiles on the PC, you will have to delete them in the other profiles. On some machines, some of the folders won’t exist, and this is perfectly fine.

Categories:   Printers & Printing   Windows OS-Level Issues

==============

Change the Printer Spooler Folder
article #128, updated 999 days ago

In Server 2008 R2:

  1. Click Start, Administrative Tools, Print Management.
  2. Open up Print Servers.
  3. Right-click on the server whose print server spool you wish to change.
  4. Click Advanced.
  5. Set your new folder.

In Vista/2008:

  1. Open the Control Panel.
  2. In ‘Hardware and Sound’, select ‘Printer’.
  3. On the left-hand tree menu, right click on ‘Printers’, and select ‘Server Properties’.
  4. In the ‘Print Server Properties’ window, select the ‘Advanced’ tab.
  5. Set a new path for the spool folder.

Categories:   Printers & Printing   

==============

When IP Printers Won't Delete
article #720, updated 1078 days ago

  1. Change the Port, to “FILE:”, and then try to delete it again. If that doesn’t work:
  2. Go to this registry location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers

and delete the ones that you want gone. Then restart the Windows service named ‘spooler’.

Categories:   Printers & Printing   Cleanup

==============

IPP in Vista, Windows 7, and Server 2008
article #690, updated 1207 days ago

It has to be installed:

http://support.microsoft.com/kb/969708/en-us

Categories:   Printers & Printing   Windows OS-Level Issues

==============

Clear Windows Print Queue (Spooler) Manually
article #671, updated 1249 days ago

Here is a simple procedure for CMD, it works as long as the queue location was not changed:

net stop spooler
del /F /Q %systemroot%\System32\spool\PRINTERS\*
net start spooler

Categories:   Printers & Printing   Windows OS-Level Issues

==============

Windows 7 default printer changing itself automatically
article #622, updated 1332 days ago

Remove old obsolete printer connections here:

HKEY_USERS\<the user's SID>\Printers\Connections

and here:

HKEY_USERS\<the user's SID>\Printers\Settings

and the problem goes away.

Categories:   Printers & Printing   Windows OS-Level Issues

==============

Using the HP Universal Printer Driver
article #478, updated 1792 days ago

New versions of the HP Universal Printer Drivers are actually working well for such difficult situations as an older USB laser printer shared from an XP box to Windows 7 ×64. Here are elements:

  1. The HP web page for your printer, may list only HPU PCL 5 or PCL 6. That’s the version you will need to have.
  2. Copy the appropriate downloadable to both the host PC and the client PC. If the host is 32-bit and the guest is 64-bit, put the 32-bit downloadable on the host and the 64-bit downloadable on the guest. If different, do accordingly :-)
  3. Do NOT run the downloadable. Install 7zip or equivalent, and unpack to a folder.
  4. Make sure simple file sharing is off, and make sure both host and client have identical logins set up if this is not a domain network.
  5. If you are running a non-universal driver on the host, you can keep it if you want; but you do need to install an instance (or a second instance) of the printer using the appropriate HP Universal driver. Use the Windows printer add dialogue, not the HP Universal’s application. Share it to the network.
  6. On the client, again unpack, don’t run the downloadable.
  7. Don’t use the printer add dialogue on the client! Browse to the host, e.g., by putting “\\HOSTNAME” in the Explorer address area. Your printer will be visible. Right-click on it and choose “Connect”. If you chose to keep an original non-HP-Universal driver object, there will be two printer objects, and be sure to pick the right one!
  8. Eventually Windows will ask you for a driver if it needs one. Browse to the location at which you have unpacked the appropriate HP Universal driver, and tell it to go.

Categories:   Printers & Printing   Drivers