Configuring and Accessing a Windows Network Printer

Being part of a corporate network and authenticating against a Windows Active Directory server, you can access corporate resources, such as printers. KDE allows you to configure printing from your Linux client to a Windows network printer.

To configure a Windows network printer for use through your Linux workstation, proceed as follows:

  1. Start the KDE Control Center from the main menu.

  2. Select Peripherals+Printers.

    Figure 5.9. Adding a Printer

    Adding a Printer

  3. Select Add+Add Special (pseudo) Printer.

    Figure 5.10. Adding Printer Details

    Adding Printer Details

  4. Enter the printer's name, a short description, and its location.

  5. Enter a command line similar to the following example in Command Settings:

    smbclient //domain/printer -k -d 0 -c 'put %in' > /dev/null 2>&1
    

    Replace domain and printer with the exact values matching your setup.

  6. Check Enable output file and select application/postscript to pipe all your print jobs to a postscript file.

  7. Leave the printer configuration with OK.

  8. Leave the KDE Control Center with File+Quit.

    The printer is ready for use.

To print to the Windows network printer configured above, just select it from the list of available printers in KPrinter.