Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

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


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:

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,



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

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