Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-29-2002, 05:00 PM   #1
Registered: Apr 2002
Distribution: Gentoo, Slackware
Posts: 63

Rep: Reputation: 15
Printer Configuration

I've read just about everything posted in the past about printer configuration on Slack, but to no avail. I don't have CUPS installed, and most of them delt with CUPS.

I tried copying my printcap config file from my previous redhat system. It reads the following:
As u can tell it's a Lexmark, the model is Z32, and I am using usb.

My semester starts next wensday, and it would be great to get my printer up by then. Thanks for any help.
Old 08-30-2002, 12:29 AM   #2
Senior Member
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
I haven't used a USB printer before but perhaps I can help to provide some hints on the printcap though.

The spool directory has to exist: /var/spool/lpd/lexmark
The input filter program has to exist: /usr/share/printconf/util/mf_wrapper
The device has to exist and functional: /dev/usb/lp0
The accounting filter needs to exist or be removed: af=/var/spool/lpd/lexmark/lexmark.acct

Any programs that the input filter requires need to be installed. Like Ghostscript, etc. And since it uses the name mf_wrapper it could be a file generated by RedHat configuration tool or something. But this filter is responsible for converting the output properly for your Lexmark printer.

You might could try the following command and see if you get anything from the printer.

cat /etc/printcap > /dev/usb/lp0

If it does print it, you will probably see the staircase effect on each line. But that is OK because at least you know the device lp0 is working correctly. If you get nothing then you should at least check to see if your modules are loaded to support the USB printing. But without a proper filter the printer may not be able to print even a simple text file.

More detailed information can be found in the /usr/doc/Linux-HOWTOs/Printing-HOWTO and there is also an excellent web site available: Both of these may be able to provide detail information for setting up your Lexmark and/or best recommendation for support.

Hope it has helped.
Old 08-30-2002, 02:26 AM   #3
Registered: Apr 2002
Distribution: Gentoo, Slackware
Posts: 63

Original Poster
Rep: Reputation: 15
Great post, thanks.

I found some great information! I haven't got to look through all of it yet though.

As far as testing /dev/usb/lp0:
The first time around, without the modules loaded I got device does not exist. Then I loaded usb-core, usb-uhci, and printer and I just got nothing. But from what I was reading the printer is something of a winprinter, so I am just going to try to set everything else up from what I've read and see how it does.


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
Printer Configuration: "Print file sent, waiting for printer to finish", JetDirect Ed-MtnBiker Fedora 3 02-23-2007 12:41 PM
Printer configuration botnora Fedora - Installation 0 01-12-2005 06:58 PM
Printer Configuration Hady Linux - Newbie 4 12-03-2003 07:45 PM
Re: Printer Configuration rahul_jain_9684 Linux - Hardware 0 07-25-2003 04:45 AM
Printer Configuration gcombe74 Linux - General 2 04-17-2002 01:42 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:43 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
Open Source Consulting | Domain Registration