LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 03: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:47 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