Skip to main contentClick to view our Accessibility Statement or contact us with accessibility-related questions.

PhaserShare


Parallel Configuration for BSD Printing


Note: You will need superuser privileges to do this procedure.
The following procedure describes how to modify the /etc/printcap file to configure a BSD workstation to support a color PostScript printer connected parallel.

To set up a printcap entry for a printer connected locally via the parallel port, perform the following steps.

  1. Log onto your system as root.

  2. Make a backup copy of the /etc/printcap file.

  3. Append the following to the /etc/printcap file and set the port parameters as necessary:

      phaser:\
      :mx#0:\
      :sf:\
      :sh:\
      :sd=/var/spool/phaser:\
      :if=/var/spool/phaser/if:\
      :lp=/dev/bpp0:
      #


Note: The device driver name in the lp parameter may be different depending upon which parallel port the printer is connected to and the device driver naming scheme for the workstation. Use the device driver set up for your parallel interface, shown as /dev/bpp0 in the example above. If you are unsure, see your system documentation. The print queue name, shown as phaser in the example above, may be changed to whatever printer name you choose.
Create a directory called /var/spool/phaser and create a file in the directory called if. The file content should be:

      #!/bin/sh
      echo -n ^D
      /bin/cat -
      echo -n ^D


Note: ^D is the control-D character, not a caret-D. To add the control-D character in vi, type ctrl-v, which allows the next character input to be a control character, then type ctrl-d. Only the ctrl-d will be displayed.
Give the if file executable permission by typing:

      chmod +x if

To print a PostScript file type:

      lpr -Pphaser filename

Support Home Page
Network Printers Support Home
Additional Information

Register your Printer
ASPs & TPMs
About Software Support
Color Connection
Printer Warranties
Material Safety Data Sheets
Supplies & Cartridge Recycling Program