Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-06-2003, 11:41 AM   #1
LQ Newbie
Registered: Jul 2003
Posts: 11

Rep: Reputation: 0
LPRng - Disappearing Print Jobs

1. I installed Slackware 9 last weekend and was surprised at just how easily it went. No more difficult than Redhat or Debian. But I have encountered one problem that I cannot resolve. When I try to print - nothing happens.
Print commands execute without errors, but nothing comes out of the printer. I have searched through a number of groups and sites and have tried any suggested fixes that seemed to apply to my problem. Nothing has changed the situation. I would appreciate any help you may have to offer. And yes, as you probably guessed, I would consider myself new to all of this.

2. /etc/printcap

# APS1_BEGIN: printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
# APS1_END - don't delete this

3. KDE Printing Manager information

- lp
- Type: Local Printer
- State: Idle
- Location: Local printer on /dev/lp0
- Description: APS Driver (omni/HP_LaserJet_1200)
- URL:
- Device: parallel:/dev/lp0
- Model: APS Dirver (omni/HP_LaserJet_1200
- Print system currently used: LPR/LPRng Print System
- Spooler type: LPRng

4. Running: echo hello > /dev/lp0 works fine, but anything more
complicated prints without formatting.

5. root_root # lp /etc/printcap && ps aux | grep lpd && lpq

request id is root@linuxbox+332

lp 466 0.0 0.1 3348 1244 ? S 09:31 0:00 [lpd]
lp 1334 0.0 0.1 3352 1428 ? S 09:51 0:00 [lpd]
lp 1335 0.0 0.1 3352 1424 ? R 09:51 0:00 [lpd]

Printer: lp@linuxbox 'omni/HP_LaserJet_1200;r=600x600;q=medium;c=full;p=letter;m=auto'
Queue: 1 printable job
Server: pid 1334 active
Unspooler: pid 1335 active
Status: processing '', size 412, format 'f', IF filter 'apsfilter' at 09:51:16.302
Rank Owner/ID Class Job Files Size Time
active root@linuxbox+332 A 332 /etc/printcap 412 09:51:16
done root@linuxbox+216 A 216 /etc/printcap 412 09:49:37

6. root_root # lpq

Printer: lp@linuxbox 'omni/HP_LaserJet_1200;r=600x600;q=medium;c=full;p=letter;m=auto'
Queue: no printable jobs in queue
Server: no server active
Status: job 'root@linuxbox+332' saved at 09:51:16.865
Rank Owner/ID Class Job Files Size Time
done root@linuxbox+332 A 332 /etc/printcap 412 09:51:16

- why is the status of the job "saved" and not "printed"?

7. lpr -V /etc/printcap

root_lp # lpr -V /etc/printcap
LPRng-3.8.20, Copyright 1988-2002 Patrick Powell, <>
sending job 'root@linuxbox+953' to lp@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer lp@localhost
sending control file '' to lp@localhost
completed sending '' to lp@localhost
sending data file '' to lp@localhost
completed sending '' to lp@localhost
done job 'root@linuxbox+953' transfer to lp@localhost

8. Test page will not print in KDE print manager

9. APSfilter setup successfully, tries to print test page - no such file

10. I have made no changes to /etc/lpd.conf

11. root_etc # apspreview /etc/printcap
- opens gv:stdin
- displays the file correctly
- run print and nothing happens

12. lpd is running

ps aux | grep lpd
lp 466 0.0 0.1 3348 1244 ? S 09:31 0:00 [lpd]

13. lpc reread after apsfilter setup

- lpd server pid 3053 on, sending SIGHUP

14. Looking in /var/spool/lpd/lp after a print job:

root_lp # cat cfA271*


15. Editted rc.modules
- uncommented the lines for Parallel Printer Support
- chmod +x rc.modules and executed it

root_rc.d # ./rc.modules
Module dependencies up to date (no new kernel modules found).

16. The KDE Printing Manager lists CUPS as an option in the
Print Systems drop-down box. But when I try to connect to it I get an error:

Unable to retrieve the printer list. Error message received from manager:
Connection to CUPS server failed.
Check that the CUPS server is correctly installed and running.
Error: connection refused.

CUPS is not listed by KPackage as being installed.
Slackware pkgtool does not recognize CUPS as being installed,
but when I look for CUPS files I find things like:
- /usr/bin/cups-calibrate
- /usr/lib/cups
- /usr/share/cups

17. Stumped.

Last edited by Gedwimor; 09-06-2003 at 11:42 AM.
Old 09-28-2003, 11:27 AM   #2
Registered: Aug 2003
Posts: 33

Rep: Reputation: 15
look here


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't print to print server (RH8 + LPRng) ivanscheers Linux - Networking 1 10-08-2004 07:37 AM
How to route print jobs with LPRng? marisi Linux - Newbie 3 08-21-2004 11:39 PM
Cannot print multiple pages with LPRNG arubin Slackware 0 07-11-2004 05:49 AM
Can't print to remote printer using LPRng Earl Parker II Linux - Networking 1 07-05-2004 11:07 AM
Print jobs. Oberon_sedai Linux - Newbie 0 11-26-2001 06:28 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration