LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 12-30-2003, 04:24 PM   #1
bohara
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
CUPS SAMBA & multi-tray printing


Hello,

I am relatively new to linux and have a samba server running as a Primary Domain Controller. I am using cups to handle printing and everything is working fine for normal printing functions. However, I now have one printer (hp lj 4000) that I added a second tray to to print our UPS lables from. I cannot for the life of me figure out how to make this work. I want all ups lables to print from the second tray. This printer is connected via an hpjet direct.

I am running redhat 9 and here is the printer section from my smb.conf:

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

I have done some research but there are so many options that I am unsure where to start. Should I be installing the print drivers on the local machines or using the cups driver? Currently I have the driver installed on the local machines.

I saw the commands below added to a smb.conf on a website I found through google while doing some research. Do I need some variation of this?

# =====================================
# print command: see above for details.
# =====================================
print command = lpr-cups -P %p -o raw %s # using client side printer drivers.
# print command = lpr-cups -P %p %s # using cups own drivers (use
# generic PostScript on clients).
# lpr -P %p %s
lpq command = lpstat -o %p
lprm command = cancel %p-%j

Any help would be greatly appreciated,

Thanks,
Beau
 
  


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
printing accounts & samba/cups mmcampbe Linux - Networking 0 09-22-2005 02:15 PM
yet another samba q: browsing & printing w/ cups to XP marier Linux - Networking 0 08-18-2005 01:55 PM
SAMBA & CUPS (Linux & Windows Printing) xcythe Linux - Networking 4 06-12-2005 12:46 PM
Printing from Linux to WinXP (SAMBA & CUPS) Yoda_Oz Linux - Networking 0 02-03-2005 10:20 PM
Printing using Samba & CUPS Defboy2k Linux - Networking 0 01-31-2003 04:50 AM


All times are GMT -5. The time now is 06:39 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration