LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-20-2008, 02:36 AM   #1
jackandking
Member
 
Registered: Dec 2004
Posts: 92

Rep: Reputation: 15
need help on advanced printer configuration


RedHat Linux Enterprise 4
our group has a hp3505 color LaserJet
configured as Networked JetDirect (driver: HP Color LaserJet4500), it works fine, all stuff printed in color.

now, I want to configure two queues(Qa,Qb),
requirements:
Qa: print stuff in black/white only, available to all users.
Qb: print stuff in color, available to some uses.

any suggestion?

further more, we have 10 pcs, is it possible to configure one server with Qa+Qb, and all the other pcs just connect to the server without repeated configuration?

thanks in advance.
 
Old 03-20-2008, 10:36 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I do something similar to that with my color copier..

Network is windows so there are some differences of course.

I created two seperate Queues for the Printing device on the server .

Queue 1 is B&W
Queue 2 is Color

I set permissions on the color printer object so only members of the ColorPrinting group would have access to the device configured as color.

This printer has access control settings as well (CopyTrack) which allows me to restrict color printing by code.. so I created access controls on the printer itself and assigned values to them. Users that are setup for B&W printing are unable to select Color in the printer properties. This is a function of the printer and print driver of my device so I don't know if your HP does something similar or not..

Assigned the appropriate users to each group and setup the printer on their PC's, setting the B&W queue as the default printer. Users that want to print color (and have the appropriate rights) simply choose the "color printer" when they print and everything just works..

That $0.10 a page for color prints can sure add up quickly if not restricted... B&W prints are $0.007 for our machine

Last edited by farslayer; 03-20-2008 at 10:45 AM.
 
Old 03-20-2008, 11:54 PM   #3
jackandking
Member
 
Registered: Dec 2004
Posts: 92

Original Poster
Rep: Reputation: 15
thanks a lot
your experience show me the way

but in our Linux system there are still two main problems in my mind:
1: how to configure a B&W queue, since i can't find a B&W driver for hp3505 color LaserJet
2: how to do access control, since i don't know the location of the print queue device, in /dev/ ?
 
Old 03-21-2008, 09:21 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I use the same driver for Color or B & W it's not a different driver. it's the copy track functionality of the device that allows me to disable color for the one instance of the driver.

Copy track setup instructions I do not know if your printer has a similar feature or not..

In the USER ID section for Copy track I defined one user that can not print color and a different user number that can.


There are 3rd party products that do this as well for any printer.. although I don't know of one specifically for Linux. There has to be a way of doing it. Possibly modifying the .ppd file for the printer and commenting out the color capabilities section for one of the printer instances, or just using a standard Monochrome HP Laserjet driver for one of the instances. (almost ANY laser printer can print using the HP LJ 4 Driver, although you may loose access to some paper trays duplexing or other features of the printer. so the trick is choosing the correct monochrome driver that supports all the other features of your printer)

from hplj.ppd file from openprinting.org database..
Code:
*driverName hpijs/hpijs - HP's IJS driver for most of their non-PostScript printers: ""
*driverType I/IJS: ""
*driverUrl: "http://hplip.sourceforge.net/"
*driverObsolete: False
*driverSupplier: "Hewlett-Packard"
*driverManufacturerSupplied: True
*driverLicense: "BSD"
*driverFreeSoftware: True
*driverSupportContactVoluntary: "http://lists.sourceforge.net/mailman/listinfo/hplip-help HPLIP-Help Mailing List"
*driverMaxResolution: 600 600
*driverColor: True
*driverTextSupport: 60
*driverLineartSupport: 60
*driverGraphicsSupport: 50
*driverPhotoSupport: 50
*driverRenderingSpeed: 70

*DefaultResolution: 600dpi

Oh it looks like this type of feature IS built into the HP LJ 3000 series..
http://www.hp.com/sbso/productivity/...ss/manage.html
http://h20000.www2.hp.com/bizsupport...ctID=c00599749

Quote:
Color Access Control - Table of Contents
Tracking and Controlling Color Use
Monitoring Color Use
Using the Color Usage Job Log to Monitor Color Use
Using the Embedded Web Server to Monitor Color Use
Using HP Web Jetadmin to Monitor Color Use
Using HP Easy Printer Care Software to Monitor Color Use
Using Billing Programs to Monitor Color Use
Restricting Color Use
Using the Embedded Web Server to Restrict Color Use by User
Using the HP Embedded Web Server to Restrict Color Use by Software Program
Using HP Web Jetadmin to Restrict Color Use by Pre-configuring a Print Driver
Using the Monochrome Print Driver to Restrict Color Use
Using the Printer Control Panel to Restrict Color Use
Frequently Asked Questions (FAQ)
http://h20000.www2.hp.com/bizsupport...ctID=c00597729

Boy their website kinda sucks for providing detailed info on how to configure these features.. but They should all be explained in detail in the printer manual.

this is a little better..

http://h20325.www2.hp.com/blogs/bits...1/29/5606.html

Last edited by farslayer; 03-21-2008 at 09:42 AM.
 
Old 03-22-2008, 06:13 AM   #5
jackandking
Member
 
Registered: Dec 2004
Posts: 92

Original Poster
Rep: Reputation: 15
thanks again,
in the url[http://h20000.www2.hp.com/bizsupport...ctID=c00597729] you provided i find something useful:
"In the color print driver, click the Color tab, and then select the Print In Grayscale option."
it seems that the driver i used in our Linux system support such driver options, i think this can solve my problem 1.

Further more, I find CUPS supports all the stuff i need:
print in Black: lpoptions -p Qa -o blackplot [modify /etc/cups/lpoptions]
user ACL: lpadmin -p Qb -u allow:@colorgroup [modify /etc/cups/printers.conf]

I can't do the test until monday, but I think it will work.
 
Old 03-22-2008, 01:00 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Hope it works out for you. Glad I could help.
 
  


Reply



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
proFTPD advanced configuration Satriani Linux - Software 3 04-25-2008 04:58 PM
LXer: Advanced OpenVPN Configuration (PDF Article) LXer Syndicated Linux News 0 09-20-2006 12:54 AM
advanced routing configuration in router fakie_flip Linux - Networking 1 08-10-2006 05:54 AM
advanced squid configuration roopunix Linux - Networking 2 01-23-2006 10:20 PM
PROFTPD advanced Configuration fritz001 Slackware 2 11-05-2004 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration