Displaying 20 results from an estimated 31 matches for "printpdf".
2004 May 26
1
samba printpdf setup broken in later versions
In the past I've set up a pdf creation utility for windows users based on the info from
http://www.linuxgazette.com/issue72/bright.html
I.E I've got
[pdf-printer]
path = /tmp
printable = yes
guest ok = yes
print command = /usr/bin/printpdf %s
comment = PDF Writer
In my smb.conf and have created a print queue on the windows machine with a postscript
driver. The windows box submits the print job ok
I'm now trying to get it to work on Fedora Core 2 but it fails with this error in the
/var/log/samba/smbd.log
[2004/05/26 11...
2002 Sep 10
1
print command %J (job name) problem
...but it doesn't work. the clients are win98 boxes. i
tried to print either a test page, a unsaved word doc and a saved word
doc.
this is the pdfprinter's section of my smb.conf
[pdf]
printer name = pdf
path = /tmp
printable = yes
guest ok = yes
print command = /usr/bin/printpdf %s %u %J >> /tmp/printpdf.log
lpq command =
lprm command =
thanks
Francesco
2004 May 28
0
Samba PDF printer...
...users =
read only = No
guest ok = Yes
[Create a PDF]
comment = Check your 'K:' drive for your .PDF file. Check in
the folder named 'PDFFiles'.
path = /tmp
guest ok = Yes
printable = Yes
print command = /usr/local/bin/printpdf %s %m %U
---------8<----end snip from smb.conf-----------
*AND*
---------8<----snip from 'printpdf'-----------
# !/bin/bash
# /usr/local/bin/printpdf
# written by Blue Groper
# Last modified 29/9/03 (d/m/y)
# Modified by Anzac 25-1-04
# Modified by Steven Macfarlane 27.5.04 - Tryin...
2003 Jan 16
0
Samba Print error
...browseable = yes
writeable = yes
guest ok = yes
force user = nobody
public = yes
[pdf]
comment = PDF Printer
path = /var/tmp
create mask = 0600
guest ok = yes
printable = Yes
; browseable = No
print command = /usr/bin/printpdf.sh %s %U
lpq command =
lprm command =
printer driver = HP C LaserJet 4500-PS
printer driver location = \\%h\printer$
public = yes
[pdfA3]
comment = A3 PDF Printer
path = /var/tmp
create mask = 0600
guest ok = yes...
2005 Feb 15
2
pdf printing queue never empties out
...eetings.
I'm seeing an odd problem with 3.0.10 and 3.0.11 here.
We have some pdf printers defined:
[Accounting pdf printer]
printer admin = "DOMAIN+Domain Users"
browseable = yes
path = /pdfdropbox/Accounting
printable = yes
writeable = no
print command = /usr/bin/preprintpdf %s -r
lpq command =
lprm command =
The /usr/bin/preprintpdf just passes the job on:
#! /bin/sh
OUTDIR=/pdfdropbox
/usr/bin/printpdf -dCompatibilityLevel=1.4 "$1"
rm $1
The /usr/bin/printpdf converts the file to a pdf with ghostscript.
With 3.0.7 everything worked fine. Jobs could...
2003 Jan 15
3
Postscript printer PS-Logfile
...path = /shr
browseable = yes
writeable = yes
guest ok = yes
force user = nobody
public = yes
[pdf]
comment = PDF Printer
path = /var/tmp
create mask = 0600
guest ok = yes
printable = Yes
; browseable = No
print command = /usr/bin/printpdf.sh %s %U
lpq command =
lprm command =
printer driver = HP C LaserJet 4500-PS
printer driver location = \\%h\printer$
public = yes
[pdfA3]
comment = A3 PDF Printer
path = /var/tmp
create mask = 0600
guest ok = yes
print...
2012 Oct 30
1
printer & cups
...var/log/samba/log.%m
dns proxy = No
[pubblico]
comment = condivisione pubblica
path = /var/pubblico
read only = No
[pdf-printer]
path = /var/pubblico/
create mask = 0700
guest ok = Yes
printable = Yes
print command = /usr/bin/printpdf.sh %s
printer name = lp
everyt hings works ok, but the print command isn't executed altough the printer is shared and visible on the lan.
thanks for any help
2010 Jan 02
0
Print a PDF directly after prawnto with iframes
Hi,
I think I''m very near of accomplishing this but I have a problem.
This is the code:
<%- content_for :head do -%>
<script type="text/javascript" charset="utf-8">
function printPDF(){
var pdf = document.getElementById("pdfDoc").contentWindow;
pdf.focus();
pdf.print();
}
</script>
<%- end -%>
<iframe src="/aaa.pdf" id="pdfDoc" name="pdfDoc"></iframe>
<li><%= link_to ''Pri...
2003 Mar 26
3
Samba 2.2.8-1 as W2k Member server
...l = 2
[shr]
path = /shr
browseable = yes
writeable = yes
guest ok = yes
force user = nobody
[pdf]
comment = PDF Printer
path = /var/tmp
create mask = 0600
guest ok = yes
printable = Yes
; browseable = No
print command = /usr/bin/printpdf.sh %s %U
lpq command =
lprm command =
printer driver = HP C LaserJet 4500-PS
printer driver location = \\%h\printer$
[printer$]
path = /etc/samba/printdrivers
guest ok = yes
read only = yes
printable = yes
---cut---
I have created a...
2003 Nov 09
3
logging print jobs
...ave been given the task of logging everything which is printed on my
samba server. I thought I would test this out on a pdf printer I'm using
with samba. I enter the following line for the print command.
%u has printed %s from %m to %p at %T >> /tmp/smbprintlog &&
/usr/bin/printpdf %s
The result is similar to the following.
joe has printed smbprn.004603.Zqq9tZ from wilmsn44 to pdftech at
2003/11/09 12:26:03
The resulting log entry is very good with the exception of %s which gives
the spool file name and not the name of the actual file. Is there a method
to place the ac...
2003 May 15
4
PDF Samba Printer - ps2pdf Only Letter Size?
...e 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/pdf.log
PDFBIN=`which ps2pdf`
FILENAME=
# this is borrowed from printpdf script for the filename
PRINTTIME=`date +%b%d-%H%M%S`
echo "Executable: $PDFBIN" >> $LOGFILE
echo "Arguments: |$1|$2|$3|$4|$5|$6|" >> $LOGFILE
echo $# $PRINTTIME >> $LOGFILE
# case of no argument, prints available URIs
if [ $# -eq 0 ]; then
if [ ! -x &q...
2003 Sep 26
1
S3+CUPS+PDF pseudo printer : print command not functional on service
...default print stack, which begins to work nicely.
I'm configuring a PDF pseudo printer, with the following share :
[pdfwriter]
comment = Imprimante PDF : g?n?re un fichier PDF
printing = bsd
path = /var/tmp
printable = Yes
print command = /usr/local/bin/printpdf -u %U -h %M %s 2>/dev/null
lpq command =
This very same config (except that %u is replaced here by %U) used to work nicely on Samba 2.2.7a, with cups on stock RH9. The print command was used, and CUPS would not see anything concerning 'pdfwriter'.
No more on S3, I have in the...
2003 Apr 30
1
Is it posible to force Windows 2000 to send print job name?
Hi,
I need to log print job's. But Windows 2000 send me only 'Remote Downlevel
Document' as a job name (%J macro in print command). (I don't have other
Windows system versions to test it there, but from Linux}smbspool command)
it works fine - job name is "Remote Downlevel Document + job name"). Is
there any possibility how to force (or get) print job name from Windows
2005 Apr 13
2
Can't setup Windows Print Driver on Samba 3 Server
...interfaces only = Yes
[printers]
comment = All Printers
browseable = no
printable = yes
public = yes
read only = yes
create mode = 0700
directory = /tmp
[PDFPrinter]
path = /tmp
printing = bsd
#guest ok = Yes
printable = Yes
writeable = yes
print command = /usr/local/bin/printpdf %s %m %U
lpq command = /bin/true
comment = Colour PDF Creation
valid users = "MYDOMAIN\Domain Users"
[PDFs]
path = /home/pdfs
browseable = yes
valid users="MYDOMAIN\Domain Admins"
[print$]
comment = Printer Driver Download Area
path = /etc/samba/drivers...
2003 Jan 24
1
Strange behaviour with M$ WORD 97 under Win 2K
...ord issues occurs
path=/home/public
browseable=Yes
writeable=Yes
guest ok=yes
read only=no -- redundant with writeable=yes, I know :-)
force user=nobody
comment=Repertoire commun --means "public home" in fr
[pdf]
path=/tmp
printable=yes
guest ok=yes
print command=/usr/bin/printpdf %s
lpq command=
lprm command=
printer driver=HP C LaserJet 4500-PS
printer driver location=\\%h\printer$
[printer$]
path=/home/public/driver
guest ok=yes
read only=yes
<<EOF>>
note: "--" comments not in original file
--
Jean-Paul ARGUDO
2003 May 15
0
PDF Samba Printer - ps2pdf Only Lette
...ipt 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/pdf.log
>
>PDFBIN=`which ps2pdf`
>
>FILENAME=
>
># this is borrowed from printpdf script for the filename
>
>PRINTTIME=`date +%b%d-%H%M%S`
>
>echo "Executable: $PDFBIN" >> $LOGFILE
>
>echo "Arguments: |$1|$2|$3|$4|$5|$6|" >> $LOGFILE
>
>echo $# $PRINTTIME >> $LOGFILE
>
># case of no argument, prints available U...
2003 Dec 12
0
Samba 3 Printing Problems
...mmand =
lprm command =
[nagiosconfig]
path = /etc/nagios
force user = nagios
force group = nagios
read only = No
[pdfpickup]
path = /tmp/pdfpickup
force user = pdf
force group = pdf
read only = No
[pdf]
path = /tmp
guest ok = Yes
max print jobs = 10
printable = Yes
print command = /usr/local/bin/printpdf %s
use client driver = Yes
-------------------
Chris Olson
Manager, Information Systems
TietoEnator Majiq, Inc.
E-Mail: chris.olson@tietoenator.com
Phone: +1-425-881-7100
Fax: +1-425-881-5084
--- Please note my email address has changed ---
2003 Dec 15
1
Fw: Samba 3 Printing Problems
...mmand =
lprm command =
[nagiosconfig]
path = /etc/nagios
force user = nagios
force group = nagios
read only = No
[pdfpickup]
path = /tmp/pdfpickup
force user = pdf
force group = pdf
read only = No
[pdf]
path = /tmp
guest ok = Yes
max print jobs = 10
printable = Yes
print command = /usr/local/bin/printpdf %s
use client driver = Yes
-------------------
Chris Olson
Manager, Information Systems
TietoEnator Majiq, Inc.
E-Mail: chris.olson@tietoenator.com
Phone: +1-425-881-7100
Fax: +1-425-881-5084
--- Please note my email address has changed ---
2011 Nov 14
0
passing ip address to pdf printing script?
I have a samba printer entry that goes to script as follows
[pdf_printer]
comment = Print to create PDF
printing = LPRNG
path = /tmp/
printable = yes
print command = /usr/local/bin/printpdf "%s" "%u" "%H" "%J"
guest ok = yes
I was looking at the documentation and all I see are
-
*%s, %f* the path to the spool file name.
-
*%p* the appropriate printer name.
-
*%J* the job name as transmitted by the client.
-...
2003 Sep 30
0
RE : S3+CUPS+PDF pseudo printer : print command not functional on service
...ly.
> I'm configuring a PDF pseudo printer, with the following share :
>
> [pdfwriter]
> comment = Imprimante PDF : g?n?re un fichier PDF
> printing = bsd
> path = /var/tmp
> printable = Yes
> print command = /usr/local/bin/printpdf -u %U -h %M %s 2>/dev/null
> lpq command =
>
> This very same config (except that %u is replaced here by %U) used to
work nicely on Samba 2.2.7a, with cups on stock RH9. The print command
was used, and CUPS would not see anything concerning 'pdfwriter'.
>
>...