LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   CUPS SAMBA & multi-tray printing (https://www.linuxquestions.org/questions/linux-networking-3/cups-samba-and-multi-tray-printing-130147/)

bohara 12-30-2003 03:24 PM

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


All times are GMT -5. The time now is 01:45 AM.