Indunil Jayasooriya
2006-May-09 10:14 UTC
[Samba] pls pay attention to this (How to hold print jobs )
Hi All, I installed cups and samba on redhat 9. Printer has been attached to the linux box . We can print from the linux box. We can print from windows clients too. But My problem is that when we print from windows, printer starts printing. But I want to hold print jobs instead. Then I want to go to cups web interface and release jobs. How can I do it? This is urgent. Pls let me know as soon as possible. I found the below lines in /etc/samba/smb.conf print command = echo %J %p %s >> /tmp/junkJ;\ a="`echo '%J' | sed "s/^.*- //"`" ;\ echo This is truncated $a >> /tmp/junkJ;\ lpr -P %p -J"$a" %s -o raw -o job-hold-until=indefinite;\ rm %s lpq command = lpq -P%p lprm command = echo 'cant cancel' > /dev/null do you understand these? pls help me -- Thank you Indunil Jayasooriya
Ryan Novosielski
2006-May-09 15:49 UTC
[Samba] pls pay attention to this (How to hold print jobs )
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Now, I'm not well-versed with CUPS, so I don't really know -- however, I do have a strong feeling this is likely to be a CUPS issue, NOT Samba, from my experience with other spoolers. I recommend you read the docs on CUPS. ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - User Support Spec. III |$&| |__| | | |__/ | \| _| |novosirj@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 Indunil Jayasooriya wrote:> Hi All, > > > > I installed cups and samba on redhat 9. Printer has been attached to the > linux box . We can print from the linux box. We can print from windows > clients too. But My problem is that when we print from windows, printer > starts printing. But I want to hold print jobs instead. Then I want to go > to cups web interface and release jobs. How can I do it? This is urgent. > Pls > let me know as soon as possible. > > I found the below lines in /etc/samba/smb.conf > > print command = echo %J %p %s >> /tmp/junkJ;\ > a="`echo '%J' | sed "s/^.*- //"`" ;\ > echo This is truncated $a >> /tmp/junkJ;\ > lpr -P %p -J"$a" %s -o raw -o > job-hold-until=indefinite;\ > rm %s > > lpq command = lpq -P%p > lprm command = echo 'cant cancel' > /dev/null > > > do you understand these? > > pls help me > > >-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (MingW32) iD8DBQFEYLnTmb+gadEcsb4RAkjpAJ9IUnwEDLjkDM8ukO5TD6qopkNn1ACfXhc+ 9q+Pw4E5hPevR8r5/g68HyQ=3/5X -----END PGP SIGNATURE-----
Possibly Parallel Threads
- How do I get the @#$$% job name to show instead of smbprn.yada.ya da?
- RE: How do I get the @#$$% job name to show instead of smbprn.yad a.yada?
- i can`t delete print jobs in my samba server from clients windows
- Win2K Printer "Access Denied" Error
- Fwd: Re: New Monitor Weirdnesses or how do I get Xorg to pay attention to my xorg.conf file?