Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2011 11:47:59 +0200
From:      Leslie Jensen <leslie@eskk.nu>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org, Rares Aioanei <bsdlisten@gmail.com>
Subject:   Re: Printing from Firefox broken after update.
Message-ID:  <4E6B324F.8030700@eskk.nu>
In-Reply-To: <20110909222951.45a29861.freebsd@edvax.de>
References:  <4E6A3504.6020002@eskk.nu> <20110909191726.4af3e660@debiand1.localdom.ain> <4E6A6152.5070703@eskk.nu> <20110909222951.45a29861.freebsd@edvax.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


2011-09-09 22:29, Polytropon skrev:
> On Fri, 09 Sep 2011 20:56:18 +0200, Leslie Jensen wrote:
>> 2011-09-09 18:17, Rares Aioanei skrev:
>>> On Fri, 09 Sep 2011 17:47:16 +0200
>>> Leslie Jensen<leslie@eskk.nu>   wrote:
>>>
>>>> /usr/local/libexec/cups/filter/pdftops failed
>>>
>>> Does the file exist?
>>>
>>
>>
>> Yes!
>>
>> -r-xr-xr-x  1 root  wheel  20112  9 Sep 09:12
>> /usr/local/libexec/cups/filter/pdftops
>
> Try to run it manually. Take a PDF file and convert it into
> PS. Add options you might need for paper size.
>
> Example:
>
> 	% /usr/local/libexec/cups/filter/pdftops -paper A4 test.pdf
>
> and check the PS output.
>
> See "man pdftops" for details. Maybe it's a dependency problem
> of pdftops...
>
> Note that the "normal" pdftops binary is provided by the
> xpdf port. Maybe you can try to update this one too? I'm
> not sure if CUPS's own binary is in some relation to that
> port, or is it working independently?
>
>
>

First I did

portmaster -t -f graphics/xpdf

Then rehash

Tried the following both as root and as myself

I had to add a user and number of copies to the command.

/usr/local/libexec/cups/filter/pdftops les 1 -paper A4 test.pdf

which results in the following

DEBUG: pdftops - copying to temp print file "/tmp/034c34e6e4d2f"

and it never exits. I have to stop with ctrl-c


the file is empty.

ll /tmp/034c34e6e4d2f
-rw-------  1 les  wheel  0 10 Sep 08:01 /tmp/034c34e6e4d2f

And my test file is

ll test.pdf
-rw-r--r--  1 les  les  30263 10 Sep 07:58 test.pdf

So what do you suggest I do now?








Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4E6B324F.8030700>