Setting up remote laser printer???

Setting up remote laser printer???

Post by M Sweg » Tue, 03 Nov 1998 04:00:00



Hi,

        I'm having problems being able to print from Doslinux to a
laser printer on the network that has a "Print Queu" box attached.

My /etc/printcap is

laser2030|HP laser Jet:\
        :lp=:sd=/usr/spool/laser2030:rm=laser2030:rp=raw:\
        :mx#0:lf=/usr/spool/laser2030/log-err:

The priveleges on /usr/spool/laser2030 are 777.
The owner is root and the group is daemon. I've also tried root.root,
daemon.daemon and lp.lp along with daemon.lp and root.lp.

I've started and enabled the laser2030 printer.

My /etc/hosts contains the IP address and laser2030 along with the full
domainname version.

I can ping the laser2030 "Print Queue" box.

However, when I do an lpr -P laser2030 filename the file is queued with
the lock, .seq and cf/df files written to the /usr/spool/laser2030 directory
by nothing prints.

When I do an lpq -P laser2030, I get the status message of "Waiting on
queue to be enabled". But lpc says it's enabled. The files to printed
are whown to be queued. The last message says "Queue doesn't exist".
Without the source code for lpd, I don't know what this last message
means and where the lpq command is looking.

I've tried changing printcap by leaving lp=:  or lp=/dev/null. Moreover,
changed it so that rp isn't there, rp=laser2030, or rp=raw (per man page).
This has no effect.

Any comments appreciated.
PS: The printer HOWTO doesn't explain what to do for network printers.

--
        Mike,

 
 
 

Setting up remote laser printer???

Post by Rob Cla » Tue, 03 Nov 1998 04:00:00




>    I'm having problems being able to print from Doslinux to a
>laser printer on the network that has a "Print Queu" box attached.

Who makes this device? because you need to know the names of the available
queues.

Quote:>When I do an lpq -P laser2030, I get the status message of "Waiting on
>queue to be enabled". But lpc says it's enabled. The files to printed
>are whown to be queued. The last message says "Queue doesn't exist".
>Without the source code for lpd, I don't know what this last message
>means and where the lpq command is looking.

>I've tried changing printcap by leaving lp=:  or lp=/dev/null. Moreover,
>changed it so that rp isn't there, rp=laser2030, or rp=raw (per man page).
>This has no effect.

Check the manual for this device, because the name of the queue seems not
to be "raw" or "laser2030"

Good luck!


 
 
 

1. Setting up remote laser printer???

Hi,

        I'm trying to setup the laserprinter on my Linux hosts that
has BSD printer spooling and am having some problems.

Here is my /etc/printcap

laser2030|HP laser printer:\
        :sd=/usr/spool/lpd/laser2030:\
        :rm=laser2030:\
        :rp=laser2030:mx#0:\
        :lf=/usr/spool/lpd/laser2030/hp-logerr:

I don't think I need the lp=    command.

The rc scripts start /usr/sbin/lpd

I ran lpc and started the printer daemon and enabled the printer. However,
the printer daemon still shows not started although the ps -eax says its
there.

Next verified that the necessary spool directories were earlier created.
The permissions are 777 (not sure what they should be). Also set the
owner and group to root. I've played with daemon, root and lp combinations
to see if it corrects my problem. I even put each of them in each others
group via the /etc/group file.

Next sent an ASCII file to the printer using lpr. Verified that the
subdirectory for the spooler contains the .seq lock and cf/df file etc.
Did a ps -eax to see that a second lpd daemon was forked for this
print job with the pid matching the lock file value. Also checked
the status file message agains't the lpq one.

However, nothing prints. The second lpd daemon still is running.
When I do "lpq -P laser2030" the status messages says the
queue isn't enabled but lpc says it is. The print job listing shows
the file to be printed. Then the last message says the "Queue doesn't
exist". I don't understand this one since file to be printed is in
the spool directory (the queue). I don't have the source code
to see what the code is looking at to determine the conditions
under which "Queue doesn't exist" message should be displayed.

Any help is appreciated.

--
        Mike,

2. HELP! Bizarre FTP Problem!

3. How do I execute scape commands on a Laser remote printer ??

4. Bru and cdrw

5. Printing postscript files to remote Win95 laser printer?

6. Mailtool and MIME Sol2.4 error

7. Printing to remote laser printers / print filters

8. modesDB.txt and VideoModes.doc files

9. Setting up a SCO lpr printer to serve as remote printer for PC lpd's

10. Setting printer aliases for remote printers

11. help with setting up an HP IID laser printer in Rehat 7

12. Setting up Brother HL-1040 or HL-1050 laser printer

13. How can I set up Linux to work with Xerox P8ex Laser printer