LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2004, 04:09 PM   #1
roygbiv1905
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
printing with apsfilter to HP laser printer


Hi guys, this is my first post here.

After installing slackware 9.1 on my Dell Inspiron 8200, I got a nice email
from Patrick Volkerding saying, among other things, that in his opinion,
using apsfilter is the way to go with printing.

So I tried running /usr/share/apsfilter/SETUP, and had some partial success.
I can now print plain text files, but I can't seem to print postscipt files.
The printer is an HP LaserJet 8500. My /etc/printcap file is below.

I used to use RedHat ("use" is the key word here), to typeset LaTeX
and TeX documents, among other things.

Any ideas? TIA.

rgb

# /etc/printcap
#
# See "man printcap" for information on editing this file.
#
# In most cases it is better to use a tool to write the printcap
# for you (at least initially), such as apsfilter
# (/usr/share/apsfilter/SETUP, used in conjunction with the
# LPRng lpd daemon), or with the web interface provided by the
# cupsd print daemon at this URL: (deleted so I can post
# (if you use CUPS).
#
# APS1_BEGINrinter1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|PS;r=600x600;q=medium;c=full;p=letter;m=auto:\
:lp=:\
:rm=NPI0905A8.smsu.edu:\
:rp=lp72m:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:mx#0:\
:sh:
# APS1_END - don't delete this
 
Old 01-19-2004, 06:20 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Did you install Ghostscript? I use CUPS so I installed ESP Ghostscript http://www.cups.org/ghostscript.php and it works well with my HP Laserjet 1100 but APFL Ghostscript may work as well http://ghostscript.com/doc/AFPL/index.htm
 
Old 01-20-2004, 10:08 AM   #3
roygbiv1905
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Yes, Ghostscript is installed. The command "gs --version" tells me 7.05.6. And I am using gv to preview ps files. When I ran the /usr/share/apsfilter/SETUP script, the second last step was to print a test page. At that time, apsfilter printed the file test.ps. But when I go to the command line and try "lpr somefile.ps" it doesn't print, although the lpq command shows that it is there in the queue.

I believe the printer I'm using is a postscript printer, so do I even need to be using apsfilter?
 
Old 03-06-2004, 01:22 PM   #4
rich442
Member
 
Registered: Apr 2003
Location: I-lan
Distribution: Oracle Server 7-1511/ Princeton IAS, 7.2
Posts: 82

Rep: Reputation: 18
To use apsfilter on non-ASCII files, use
lpr -P lp <filename>.

Ghostscript only translates various file types into ghostscript and the command for the translation is placed in /etc/apsfilterrc when you do a ./SETUP from /usr/share/apsfilter.
I think PV says that about apsfilter because it is easier by comparison to set up the LPD system than CUPS. I
 
  


Reply


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
Fedora Printer Problem: Brother Laser Printer drops the first one or two centimeters merlinsenger Linux - Newbie 2 05-24-2008 07:13 AM
kernel 2.6 printing fails with magicfilter, apsfilter acampbell Linux - Software 1 06-03-2004 09:25 AM
Printing from kfax to a CUPS laser printer gdsylvester Linux - Software 2 01-19-2004 08:48 AM
Printing to a network printer with apsfilter chrisk5527 Linux - Software 0 09-10-2003 06:47 PM
OpenOffice.org and apsfilter printing rich442 Slackware 1 06-25-2003 11:20 AM


All times are GMT -5. The time now is 07:05 AM.

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