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

Notices

Reply
 
Search this Thread
Old 11-11-2004, 06:17 AM   #1
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
HP LaserJet 2300 & Slack10


HP LaserJet 2300dn
Printer Installed

K

Last edited by KMcD; 11-24-2004 at 07:32 AM.
 
Old 11-11-2004, 05:16 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
I'd suggest cups, using the ipp protocol. Other than that here's a quote from linuxprinting concerning remote queue's and lprng.

Quote:
9. # If your printer is remote, you can use foomatic-rip's internal mechanism for Windows, Netware, AppSocket, and LPD protocols. To do this, specify /dev/null for the lp= device name and edit the PPD file inserting a line

*FoomaticRIPPostPipe: "| <command>"

preferrably right after '*PPD-Adobe: "4.3"'. You can put the line nearly everywhere into the PPD file, but note that when you have two or more, only the last one is valid. '<command>' is a command into which you want to re-direct the output data of foomatic-rip. Due to the restrictions of PPD files '<', '>', and '"' are not allowed in the '<command>', replace them as follows (as in HTML or XML):

Character Replacement
-----------------------
< &lt;
> &gt;
" &quot;
' &apos;
& &amp;

For a TCP/Socket/JetDirect printer with the host name "printer" listening on port 9100 you need this:

*FoomaticRIPPostPipe: "| /usr/bin/nc -w 1 printer 9100"

Note the "-w 1" in the "nc" command line, it makes "nc" exiting immediately after the data is tranferred to the printer.

*FoomaticRIPPostPipe: "| rlpr -Plp@printserver"

directs your jobs to the LPD printer queue "lp" on the machine named "printserver". Be sure that the tools you are using, as rlpr, nprint (printer on Novell server), smbprint (printer on Windows server), nc/netcat (TCP/Socket printer), or whatever you use are installed.
good luck.
 
Old 11-24-2004, 07:32 AM   #3
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Original Poster
Rep: Reputation: 30
ok, my printer is installed. Finally figured out that permissions were wrong and needed to update my /etc/hosts file.

Permissions were fixed by running
Code:
checkpc -f -V
My system is very strange. I thought I had fixed my maximum number of copies problem by adding the following line to my printcap file:
Code:
:mc=100:\
I found this suggestion here. Should have looked there first.

Well I still cannot print multiple copies. I tried change the maximum number in /etc/lpd.conf by editing line 273 from:
Code:
#  default mc=1
to:
Code:
default mc=100
This didn't help. I also check my .ppd file for this printer and that has the print range set to 1 to 100.

So I'm stumped. Any help would be appreciated.

K

Last edited by KMcD; 11-24-2004 at 07:51 AM.
 
  


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
TravelMate 2300 & Debian kurrupt Linux - Laptop and Netbook 1 01-18-2005 02:41 PM
slack10 (kernel 2.4.x) & RAID du_gy Slackware - Installation 5 11-13-2004 08:33 AM
LogiMouseManUSB&Slack10, what worked for me sporkydonkey Slackware 0 08-23-2004 05:29 PM
HP LaserJet 1000 & Slackware 9.1 BrianW Slackware 0 10-04-2003 06:13 PM
Help with Mandrake 9.1 & HP Laserjet 1000 BrideFan Linux - Hardware 3 08-13-2003 06:52 PM


All times are GMT -5. The time now is 10:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration