Printing with Slackware Linux:

This page has directions for IP printers and Parallel printers.
It assumes that the printer is either PostScript®-compatible
or that the job will be in a format the printer understands.
(Printed from a Windoze machine using LPR or Samba,
for example.)


First we'll need the package lprng

At the shell prompt, type:

  lpq -V

If you get back something that starts with LPRng, then
lprng is installed. Otherwise, you should get lprng and use
installpkg to install it. DIRECTIONS


Adding a Parallel Printer to Slackware Linux:

(This shows a printer named optras with /var/spool/lpd/optraq
as a spool directory. Change these to suit yourself -)

Next, add the printer to /etc/printcap

  # optras
  lp|optras:\
    :lp=/dev/lp0:\
    :sd=/var/spool/lpd/optraq:\
    :mx#0:\
    :lf=/var/spool/lpd/optraq/printer.log:

Now, make the spool directories:

  checkpc -f

Finally, start lpd by typing:

  lpd

That should do it!

Top

 

Adding an IP Printer to Slackware Linux:

(This shows a printer named HelpDesk with /var/spool/lpd/HelpDeskQ
as a spool directory. Change these to suit yourself -)

Add the printer to /etc/printcap

  lp|HelpDesk:\
    :sd=/var/spool/lpd/HelpDeskQ:/
    :mx#0:\
    :sh:\
    :rm=192.168.20.2

Make the spool directories, run the command:

  checkpc -f

That should do it!

 

Top     Parallel Printers

 

Return to Stu's Linux Page

last updated 11-13-2009 08:34 by Stu...