Hi Ron,

I have setup that it save the pdf file to folder shared by samba.
On Redhat linux 6.2 with LPrng-3.7.4

hope this helps
anil

Ron 'The InSaNe One' Rosson wrote:

> Awhile ago someone posted in here how to have LPRng configure with an
> entry that would allow a defined printer actually be a converter from
> what ever they were doing to a PDF. I am in a bind and now I need this.
> Anyone have a working example of this?
>
#!/usr/bin/perl
# 
# Last modified 03/12/2001 


$number = (int(rand(4000))+1000);
$ps_file = "$number.ps";
$pdf_file = "/home/public/pdfFiles/$login$number.pdf";

system("/bin/cat > $ps_file");
system("/usr/bin/ps2pdf $ps_file $pdf_file");
system("/usr/bin/chmod 666 $pdf_file");
system("rm $ps_file");

Reply via email to