nprint and /etc/printcap

nprint and /etc/printcap

Post by jasper » Tue, 28 Sep 1999 04:00:00



Hello,

If I use "nprint" to print to a Netware queue, should I configure these
queues in my /etc/printcap file? Presently the queues are not configured in
this file, and I CAN print to it, but I get the familiar "staircase" effect.
I would like to print to LaserJet as well as DotMatrix printers, and there
are MANY queues.

There is only one entry in my /etc/printcap:

##PRINTTOOL3## NCP lj4dith 600x600 a4 {} LaserJet4dither Default {}
lj4si|lp:\
        :sd=/var/spool/lpd/lj4si:\
        :mx#0:\
        :sh:\
        :if=/var/spool/lpd/lj4si/filter:\
        :af=/var/spool/lpd/lj4si/acct:\
        :lp=/dev/null:

We use Red Hat 6 and NW4.11.

Many thanks!

 
 
 

1. Printcap and Nprint

I have successfully created a script called laser3 that will accept stdin
and print using nprint to a netware printer.  The script os:

#!/bin/bash

 -U ts55428 -P `cat /etc/netware.password` -

using magicfilter and nprint.  This works fine with

cat /etc/printcap | laser3

Then I created a printcap entry like so:

# LPT1 simulation to print from mainframe
lpt1|LPT1|lp:\
        :sd=/var/spool/lpd/lpt1:\
        :mx#0:\
        :lp=/root/temp:\
        :if=/usr/local/bin/laser3:\
        :sh:

When I try to print using this entry, nothing happens and there are no
messages.  The spool file seems to leave the queue.  I have read the
magicfilter doc, the printcap man pages, the printing howto, and the nprint
doc and cannot seem to figure out what my problem is.  Thanks for any help.
--


BJC Health System
St. Louis, Missouri

2. Cuanta Capacidad de HD

3. Printcap and nprint?

4. TCI cable modems and Linux

5. printcap/nprint problem

6. Login requires ctrl/enter

7. Converting /etc/printcap -> /etc/lp/*

8. be_boot disk

9. Matrox Mystique ands X.

10. lpd/lpr broken? (/etc/printcap)

11. Need help with HPDJ720, printing script file and /etc/printcap

12. multi-tray printers and /etc/printcap?

13. psnup in /etc/printcap