Printing to a TCP/IP print queue

Printers

Complete the following steps to print to a TCP/IP print queue.

To add a Windows printer, you must be a member of the Administrators group. If you are using Windows 2000, you can also be a member of the Printer Operators or Server Operators group or a Power User on a workstation.

LPR does not support spaces in file names. File names sent by LPR will be truncated at the first space. Consider replacing spaces in file names with underscores ( _ ).

See also:


Defining a Windows printer

Complete the following steps to define a printer. The options you specify for a spool printer affect all documents you send to it.

  1. Open the Configuration Utility.

  2. From the Spool Printers tab, click Add. The Printer Properties dialog box displays.

    Printer Properties Dialog Box

  3. In the Name box, enter a printer name.  The printer name cannot contain a backslash '\'. This name displays in the Spool Window’s printer list and is called the spool printer.

  4. Under Physical printer, select New. From the drop-down list, select Print to a TCP/IP print queue and click OK. A message box will display when the printer has been successfully created.

  5. Before using the printer, you must configure the port. Click Modify Port to display the LPR Port Configuration tab pages.

  1. From the Job tab, configure the necessary parameters. In the Server IP addr. (-S) box, type the IP address Short for Internet Protocol address. A 32-bit (4-byte) binary number that uniquely identifies a host (computer) connected to the Internet to other Internet hosts. or host name of the print server where the files will be sent. You can also click the ellipsis (...) button to select a header field whose value will be used as the IP address. In the Printer queue (-P) box, type the name of the print queue on the print server. You can also click the ellipsis (...) button to select a header field whose value will be used as the print queue. Configure other job attributes, as needed.

    Job Tab

  2. From the Content tab, specify the file type. You can specify a font if you select the file type DVI, Ditroff output, or Troff output.

    Content Tab

  3. From the Advanced tab, configure the advanced options if necessary. You can select to restrict the local port number to the 512-1024 range. You can also select to test the connection before processing data.

    Advanced Tab

  4. When you finish configuring the port, click OK. This adds the printer and returns you to the Printer Properties dialog box so you can configure the spool printer.

  1. Click Banners to select the header and trailer files and how they will be applied to print jobs (optional). The Banner Options dialog box displays.

  2. Click Overlays to setup overlays and configure how they will be applied to print jobs (optional). The Overlay Options dialog box displays.

  3. Click Advanced. The Advanced Printer Options dialog box displays. Review the following table to select the required and desired options.

    Advanced Printer Options Dialog Box

Options

Required

Optional

Don't Use

Printer initialization files

 

X

 

Page layout

 

 

X

Code page

 

X

 

If FCB is not found, use default FCB named 'STD'

 

X

 

Printer in Disabled state at startup

 

X

 

Printer can be hidden

 

X

 

Printer does not check jobs for valid data type

 

X

 

Bypass the Windows spooler

 

X

 

Special: Pass data to printer without conversion

 

 

X

Special: Pass the archive format to LPR port

 

 

X

Special: Printer uses transform

 

X

 

  1. Close the Configuration Utility.

Configuring the Barr ASCII printer driver

Complete the following steps to configure the document defaults for the Barr ASCII printer driver.

  1. From the Printers folder, right-click the printer you just defined using the Barr ASCII printer driver and select Properties.

  1. From the Advanced tab, click Printing Defaults.

  2. Expand the Document Options tree and set Top Margin to Off. This setting affects the extra blank line automatically sent by the GDI Acronym for Graphical Device Interface. In Windows, a graphics display system used by programs to display or print bitmapped text (TrueType fonts), images, and other graphical elements. within Windows. See the Troubleshooting printers topic for more information.

  1. If you want to ignore all of the page breaks in the data, job, or FCB definition, set Page Breaks to Off.

  2. Click OK.