Displaying 20 results from an estimated 34 matches for "jobname".
2005 Apr 08
2
Cups print jobnames became SMB jobname not doc name
Since upgrading to Fedora Core 3 the jobname for the files being printed to
our PDF CUPS backend have become the Samba jobname as in
"SMBPRN.888009.hjdcl" instead of the application filename such as "Microsoft
Word - Document1.DOC". This stops us from providing a properly-named PDF
file to our users.
Our other server th...
2003 Jan 30
1
not enough charcters available in %J or confusing blanks?
Hi,
I try to create PDF files with an modified script from Buchan Milne and
have some problems with the Jobname var %J.
Because it is better for the users to find an file with an similar name
as the original document I'm looking for a way to read out %J, cut some
unnessasary stuff and use the rest as new file name. The problem is:
In %J in some circumstances is not the complete Jobname as some Windows
A...
2003 Jun 03
0
print command: ? for decent print accounting (Was Printing. The REAL jobname. )
Hi All,
i'm still trying to persue this thing with the real jobname getting logged.
i want to have the following (as per the example in the man page):
print command = echo Printing %J %c %p >> /tmp/job.log; lpr -P %p %s; rm %s
funnily enough the cups manages to get the username that submitted the job,
but i can't see a % thing to pass the username thoug...
2003 May 22
2
Printing. The REAL jobname. :)
Hi All,
I've got a very nicely working samba server with cups as the backend. i
also have a colour printer on which I must do billing every month.
i've done a test page or two and the username comes though to the colour
printer which is good. problem i had is the jobname in the logs is
smbprn_xxxxxxxx_xx (numbers) which is the samba job name. if joe bloggs
complains and says he didn't print that many jobs, we've no way of saying
here's what you printed with samba because it's not recognizable to them.
sad.
Does anybody know anything about how the...
2001 Dec 01
1
Jobnames displayed by lpq: Fixed a bit
There has been some correspondence about getting the file names displayed
with lpq instead of the smbXXXXX name. The -J option works, but, with some
documents, notably Microsoft Word and Corel WP9, the application sends a
long preamble, such that the file name is never seen in the queue when
listed with lpq.
eg:
Microsoft Word - PRINT FILE NAME.doc
So, to fix this up, at least for word documents,
2002 Dec 18
1
Scrambled Jobnames when Printing
...itable = no
printable = yes
create mode = 0700
print command = /usr/bin/perl /home/lxp/bin/lxp.pl "%m" "%
s" /home/lxp/spool/tcacol-spool/ 2>> /home/lxp/logs/lxpprt.log
Everything works perfectly - however, as users migrated from W98 to W2k &
winXP the Print Jobnames that they've been using have been turning into
something similar to "smbprn.003702.d4aZ5g"
I don't understand why - however if you print to a windows printer queue - the
name of the document turns up perfectly.
Any Ideas?
--
Gavin-Francis Fernandes
SCPS - Systems TeamLeade...
2003 Jan 26
2
Samba spoolfile name
...39;s queue, but they all have names like 'smbprn.57834772.sefkjbv'.
Since I sometimes have to print the same job hundreds if times, I am not always able to find the right job in the list, because of those abstract names.
So my question is: How can I make Samba spool files with the original jobname, as sent by the client, to the Fiery server?
I know it is possible to echo the original jobname to a file, but I would be forced to keep a complete listing of all printjobs that way.
Can Anyone help me?
-------------- next part --------------
HTML attachment scrubbed and removed
2004 Jan 19
2
Filename for printing?
...and it doesn't
work too well. The solution at www.linuxgazette.com/issue72/bright.html,
which uses the smb.conf and "print command" paramaters, appears to be much
more elegant, but has one major shortfall: I don't see any way to get the
filename of the file I'm printing. The jobname gives me:
For websites: the URL (which is great)
For apps (eg. Word): "Microsoft" (which is less great)
Many of the documents my users will be printing have detailed part
descriptions and partnumbers; it'd be a drag to not be able to have those
automatically associated with the PDF...
2003 Jan 16
1
RE: How do I get the @#$$% job name to show instead of smbprn.yad a.yada?
> -----Original Message-----
> From: Joel Hammer [mailto:Joel@HammersHome.com]
> Sent: Wednesday, January 15, 2003 6:57 PM
> To: Van Sickler, Jim; samba@lists.samba.org
> Subject: Re: [Samba] How do I get the @#$$% job name to show
> instead of
> smbprn.yada.ya da?
>
>
> If the file name is right in /tmp/J, then it looks like samba
> is working ok.
>
> I
2002 Dec 19
0
Generic smb.conf file
...ific
> than "Re: Contents of samba digest..."
>
>
> Today's Topics:
>
> 1. max log size setting ignored (Tom Schaefer)
> 2. Re: ownership of smbfs mounts (M. D. Chappell)
> 3. Samba with Global File System (Montgomery
> Mouw)
> 4. Scrambled Jobnames when Printing
> (Gavin-Francis Fernandes)
> 5. Re: samba and ipchains (Joel Hammer)
> 6. Re: Odd problems with XP (Joel Hammer)
> 7. Re: Scrambled Jobnames when Printing (Joel
> Hammer)
> 8. Large File support not quiet working.. (CHS)
> 9. Re: max log size sett...
2003 May 15
4
PDF Samba Printer - ps2pdf Only Letter Size?
.../bin/sh
#
# This script is intended to be used as a CUPS backend, to create
# PDF file on-the-fly. Just create a printer using the device uri
# pdf:/path/to/dir/. When printing to this printer, a PDF file
# will be generated in the directory specified. The file name will
# be either "<jobname>.pdf" or "unknown.pdf", depending wether the
# jobname is empty or not.
#
# To use it, simply copy this script to your backend directory, and
# create a printer with the correct URI. That's it.
#
# Copyright (C) Michael Goffioul (goffioul@imec.be) 2001
LOGFILE=/var/log/...
2016 Sep 02
2
Samba-CUPS interface
Hi,
One of our Samba server (4.4.5) is a print server with CUPS backend . In
addition we are using a print management product that is itself a backend
to cups.
Everything works well, except that the document names that are transmitted
in the chain is of the form : "smbprn.00000648 MyDocument.pdf" . I guess
that the prefix smbprn.00000648 is the samba job ID that is concatenated to
the
2016 Sep 05
1
Samba-CUPS interface
...passed to cups ?
>
> I don't see an option for that, but I also don't see any indication
> that we reverse parse that string, we use the job-id to track the job.
>
> So my untested suggestion is that we/you could remove it from this in
> print_cups.c:
>
> new_jobname = talloc_asprintf(frame,
> "%s%.8u %s", PRINT_SPOOL_PREFIX,
> pjob->jobid, jobname);
> if (new_jobname == NULL) {
> goto out;
> }
>
> Andrew Bartlett
>
Hi Andrew,
You are right, I...
2013 Jan 02
3
Time
...n that down,
it probably will at some point.
3. Run ntpd on the host system and have its guests configured to only
use that time server source.
4. On each guest have a cron job that checks for ntpd at regular
intervals which reports failures and restarts the time service as
necessary. We use:
JOBNAME="Check ntpd status and restart if required" ; \
ntpstat > /dev/null && \
if [[ $? -gt 0 ]]; then /sbin/service ntpd start; fi
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Li...
2008 Apr 24
1
R and condor
Hello,
I would be extremely grateful if anyone is able to provide any (rather obscure) advice on using R with Condor. I think I'm following Xianhong Xie's instructions (R News 5(2) 13-15) correctly, but my job just stays held in the queue (for days / months). I've checked condor_status to make sure there are plenty of machines available, but can't see any way to attack the
2011 Oct 14
1
pgfSweave-example not compiling
...Use 'make -f pgfSweave-example.makefile' to generat
e all images. Then, re-run (pdf)latex pgfSweave-example. =====
I tried following this instruction, but it also produced an error:
bayanus-2:writing peter$ make -f pgfSweave-example.makefile
pdflatex -halt-on-error -interaction=batchmode -jobname
"pgfSweave-example-boxplot"
"\def\tikzexternalrealjob{pgfSweave-example}\input{pgfSweave-example}"
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
?restricted \write18 enabled.
entering extended mode
make: *** [pgfSweave-example-boxplot.pdf] Error 1
I put the full...
2004 Aug 25
1
PDF printing with printing = CUPS
.../bin/sh
#
# This script is intended to be used as a CUPS backend, to create
# PDF file on-the-fly. Just create a printer using the device uri
# pdf:/path/to/dir/. When printing to this printer, a PDF file
# will be generated in the directory specified. The file name will
# be either "<jobname>.pdf" or "unknown.pdf", depending wether the
# jobname is empty or not.
#
# To use it, simply copy this script to your backend directory, and
# create a printer with the correct URI. That's it.
#
# Copyright (C) Michael Goffioul (goffioul@imec.be) 2001
#
# 2004-08-25,...
2008 Jan 03
1
Access Denied when installing drivers using APW
...[print$]
comment = Print Drivers
path = /etc/samba/drivers
guest ok = yes
write list = root
[test]
path = /etc/samba
guest ok = no
writable = yes
write list = root
[basepdf]
comment =
queueresume command = /usr/bin/ePDF.py --endbatch --user %U
printable = yes
print command = /usr/bin/ePDF.py --jobname '%J' --user %U %s
guest ok = yes
path = /var/spool/ePDF/basepdf
printer name = Acrophobia PDF Printer
queuepause command = /usr/bin/ePDF.py --startbatch --user %U
lpq command = /usr/bin/ePDF.py --qstat --workdir '[%S]' --user %U
2003 May 16
1
Modified Cups Backed pdf writer to keep the original document name.
...ew
#!/bin/sh
#
# This script is intended to be used as a CUPS backend, to create
# PDF file on-the-fly. Just create a printer using the device uri
# pdf:/path/to/dir/. When printing to this printer, a PDF file
# will be generated in the directory specified. The file name will
# be either "<jobname>.pdf" or "unknown.pdf", depending whether the
# jobname is empty or not.
#
# To use it, simply copy this script to your backend directory, and
# create a printer with the correct URI. That's it.
#
# Copyright (C) Michael Goffioul (goffioul@imec.be) 2001
LOGFILE=/var/log/cups/p...
2016 Sep 04
0
Samba-CUPS interface
...prefix to the file name that
> is
> passed to cups ?
I don't see an option for that, but I also don't see any indication
that we reverse parse that string, we use the job-id to track the job.
So my untested suggestion is that we/you could remove it from this in
print_cups.c:
new_jobname = talloc_asprintf(frame,
"%s%.8u %s", PRINT_SPOOL_PREFIX,
pjob->jobid, jobname);
if (new_jobname == NULL) {
goto out;
}
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Develope...