Re: [gentoo-user] evince - Error printing to PDF

2013-04-18 Thread Alan McKinnon
On 18/04/2013 00:34, Joseph wrote:
 On 04/17/13 22:26, J. Roeleveld wrote:

 I agree, like actually provide more information when you mention that
 after using $$RANDOM_TOOL it doesn't work on another system either.
 In these cases, knowing what $$RANDOM_TOOL actually ended up doing would
 really help.

 Start with the short list of three items in my other mail.

 I promise you, and this is important, until you provide that information
 we will all keep going around in circles (unless you hit random pay
 dirt) and your printing will continue to not work.

 -- 
 Joost Roeleveld
 
 When I start evince from a command line and try to print to pdf file I
 get:
 
 (evince:18927): Pango-WARNING **: Invalid UTF-8 string passed to
 pango_layout_set_text()
 
 



Did you do a Google search on that error, and if so, what did you
conclude from reading the various hits you got?



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] evince - Error printing to PDF

2013-04-18 Thread Alan McKinnon
On 18/04/2013 00:26, Joseph wrote:
 I promise you, and this is important, until you provide that information
 we will all keep going around in circles (unless you hit random pay
 dirt) and your printing will continue to not work.

 -- 
 Alan McKinnon
 alan.mckin...@gmail.com
 
 If is hard to find trouble-shoot these kind of problems. If I new which
 package is causing it I wouldn't be asking questions on this forum!
 I'll emerge --rsync maybe it was fixed already.
 I know Firefox-17.0.4 has a printing problem to a folder other than
 /home/user/ folder but it was fixed in 17.0.5 version.


What does a Firefox printing error have to do with evince?

Please make at least *some* effort to help yourself and describe to the
list what steps you took and the results, even if they were not successful.

With an error like this I expect you to have already done some sane
Google searches to see if this is a common problem or isolated to you, I
would expect you to check bugs.gentoo.org and I would expect you to know
what packages have been updated since the problem manifested.



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] evince - Error printing to PDF

2013-04-18 Thread Stroller

On 18 April 2013, at 02:12, Joseph wrote:
 ...
 I have uninstalled cups-pdf and when I go any program print there is still 
 option: Print to file except that now 'Save to folder by default is empty 
 field, before if I remember was a user home directory.

Well, I would have assumed that cups-pdf would be necessary for printing to 
PDF, but I would like to see a screenshot of this default empty field.

Stroller.




Re: [gentoo-user] evince - Error printing to PDF

2013-04-18 Thread Joseph

On 04/18/13 08:40, Alan McKinnon wrote:

On 18/04/2013 00:34, Joseph wrote:

On 04/17/13 22:26, J. Roeleveld wrote:


I agree, like actually provide more information when you mention that
after using $$RANDOM_TOOL it doesn't work on another system either.
In these cases, knowing what $$RANDOM_TOOL actually ended up doing would
really help.


Start with the short list of three items in my other mail.

I promise you, and this is important, until you provide that information
we will all keep going around in circles (unless you hit random pay
dirt) and your printing will continue to not work.


--
Joost Roeleveld


When I start evince from a command line and try to print to pdf file I
get:

(evince:18927): Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()






Did you do a Google search on that error, and if so, what did you
conclude from reading the various hits you got?



--
Alan McKinnon
alan.mckin...@gmail.com


Well, I finally narrow it down to one build in functionality it that is build 
into some library, though nobody can tell me which library is it.
I'm talking about the option when you go to Print from for example Firefox or evince, when print window pop-up there is option: Print to File (this has nothing to 
do with cups-pdf filter)
This option is not working as before. Prior to upgrade I could print from Firefox to PDF to any user sub-directory now I can only print to user home folder. Evince 
will not print at all to pdf or ps file. 


So that library screw me up, but I don't know which one is it.

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-18 Thread Joseph

On 04/18/13 13:23, Stroller wrote:


On 18 April 2013, at 02:12, Joseph wrote:

...
I have uninstalled cups-pdf and when I go any program print there is still option: 
Print to file except that now 'Save to folder by default is empty field, before if I 
remember was a user home directory.


Well, I would have assumed that cups-pdf would be necessary for printing to PDF, but I 
would like to see a screenshot of this default empty field.

Stroller.


No, cups-pdf has nothing to do with it as I just described it is build-in functionality when you go to print dialog when a windows pop-up there is an entry Print 
to File this option part of some kind of library but but I don't know which one. Still looking.

So it has nothing to do with evince or Firefox.

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-18 Thread Wang Xuerui
2013/4/18 Joseph syscon...@gmail.com:
 Well, I finally narrow it down to one build in functionality it that is
 build into some library, though nobody can tell me which library is it.
 I'm talking about the option when you go to Print from for example Firefox
 or evince, when print window pop-up there is option: Print to File (this
 has nothing to do with cups-pdf filter)
 This option is not working as before. Prior to upgrade I could print from
 Firefox to PDF to any user sub-directory now I can only print to user home
 folder. Evince will not print at all to pdf or ps file.
 So that library screw me up, but I don't know which one is it.


Is that library ghostscript-gpl? The package provides quite a bit of
functionality regarding PS/PDF file generation. On my system this
gives:

$ equery depends ghostscript-gpl
 * These packages depend on ghostscript-gpl:
app-text/epspdf-0.5.3 (app-text/ghostscript-gpl)
app-text/libspectre-0.2.7 (=app-text/ghostscript-gpl-8.62)
app-text/ps2eps-1.64 (app-text/ghostscript-gpl)
dev-lang/nasm-2.10.07 (doc ? app-text/ghostscript-gpl)
dev-python/matplotlib-1.2.0-r2 (latex ? app-text/ghostscript-gpl)
dev-tex/tex4ht-20090611_p1038-r1 (app-text/ghostscript-gpl)
media-gfx/gimp-2.8.4 (postscript ? app-text/ghostscript-gpl)
media-gfx/imagemagick-6.7.8.7 (postscript ? app-text/ghostscript-gpl)
media-gfx/inkscape-0.48.4 (postscript ? app-text/ghostscript-gpl)
media-gfx/uniconvertor-1.1.5 (app-text/ghostscript-gpl)
media-libs/sk1libs-0.9.1 (app-text/ghostscript-gpl)
net-print/cups-1.5.2-r4 (app-text/ghostscript-gpl[cups])
net-print/foomatic-filters-4.0.17 (app-text/ghostscript-gpl)
sci-mathematics/octave-3.4.3-r1 (app-text/ghostscript-gpl)
sci-visualization/gnuplot-4.6.1 (doc ? app-text/ghostscript-gpl)

A lot of packages. So I suspect that is the problem.



Re: [gentoo-user] evince - Error printing to PDF

2013-04-18 Thread Joseph

On 04/18/13 20:38, Wang Xuerui wrote:

2013/4/18 Joseph syscon...@gmail.com:

Well, I finally narrow it down to one build in functionality it that is
build into some library, though nobody can tell me which library is it.
I'm talking about the option when you go to Print from for example Firefox
or evince, when print window pop-up there is option: Print to File (this
has nothing to do with cups-pdf filter)
This option is not working as before. Prior to upgrade I could print from
Firefox to PDF to any user sub-directory now I can only print to user home
folder. Evince will not print at all to pdf or ps file.
So that library screw me up, but I don't know which one is it.



Is that library ghostscript-gpl? The package provides quite a bit of
functionality regarding PS/PDF file generation. On my system this
gives:

$ equery depends ghostscript-gpl
* These packages depend on ghostscript-gpl:
app-text/epspdf-0.5.3 (app-text/ghostscript-gpl)
app-text/libspectre-0.2.7 (=app-text/ghostscript-gpl-8.62)
app-text/ps2eps-1.64 (app-text/ghostscript-gpl)
dev-lang/nasm-2.10.07 (doc ? app-text/ghostscript-gpl)
dev-python/matplotlib-1.2.0-r2 (latex ? app-text/ghostscript-gpl)
dev-tex/tex4ht-20090611_p1038-r1 (app-text/ghostscript-gpl)
media-gfx/gimp-2.8.4 (postscript ? app-text/ghostscript-gpl)
media-gfx/imagemagick-6.7.8.7 (postscript ? app-text/ghostscript-gpl)
media-gfx/inkscape-0.48.4 (postscript ? app-text/ghostscript-gpl)
media-gfx/uniconvertor-1.1.5 (app-text/ghostscript-gpl)
media-libs/sk1libs-0.9.1 (app-text/ghostscript-gpl)
net-print/cups-1.5.2-r4 (app-text/ghostscript-gpl[cups])
net-print/foomatic-filters-4.0.17 (app-text/ghostscript-gpl)
sci-mathematics/octave-3.4.3-r1 (app-text/ghostscript-gpl)
sci-visualization/gnuplot-4.6.1 (doc ? app-text/ghostscript-gpl)

A lot of packages. So I suspect that is the problem.


No, I checked on my functioning systems (prior upgrade) is 
ghostscript-gpl-9.05-r1 and the after upgrade it was the same version so it is 
not it.

--
Joseph



[gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Alan McKinnon
On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:
 
 Error printing - Operation not supported
 
 


well, obviously your installed evince doesn't do pdf printing.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread tastytea
Am Wed, 17 Apr 2013 07:57:02 -0600
schrieb Joseph syscon...@gmail.com:

 When I try to print from evince to pdf file I get an error:
 
 Error printing - Operation not supported
 
 

You can use File - Sove a Copy...

-- 
tastytea


signature.asc
Description: PGP signature


Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported





well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com


Well, it did print to pdf or ps file a week ago before upgrading, so what did 
it change?
Why all of a sudden doesn't do pdf printing?

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 17:05, tastytea wrote:

Am Wed, 17 Apr 2013 07:57:02 -0600
schrieb Joseph syscon...@gmail.com:


When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported




You can use File - Sove a Copy...


This doesn't help me, as there are times where I want to print one or two pages from pdf 
document to another pdf file, so Save a Copy will not do it.



--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Randolph Maaßen
2013/4/17 Joseph syscon...@gmail.com

 On 04/17/13 16:27, Alan McKinnon wrote:

 On 17/04/2013 15:57, Joseph wrote:

 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




 well, obviously your installed evince doesn't do pdf printing.


 --
 Alan McKinnon
 alan.mckin...@gmail.com


 Well, it did print to pdf or ps file a week ago before upgrading, so what
 did it change?
 Why all of a sudden doesn't do pdf printing?

 --
 Joseph


So what packages have been updated/changed, what does your printing system
look like, ...
Without some information nobody can help you.

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Alan Mackenzie
Hi, Joseph.

On Wed, Apr 17, 2013 at 10:32:23AM -0600, Joseph wrote:
 On 04/17/13 17:05, tastytea wrote:
 Am Wed, 17 Apr 2013 07:57:02 -0600
 schrieb Joseph syscon...@gmail.com:

  When I try to print from evince to pdf file I get an error:

  Error printing - Operation not supported



 You can use File - Sove a Copy...

 This doesn't help me, as there are times where I want to print one or two 
 pages from pdf document to another pdf file, so Save a Copy will not do it.

For what it's worth, my evince (2.32.0-r4) prints without problems.
Could it be you're missing some critical use flag?  Try dumping these out
with

# emerge -pv evince

.

 -- 
 Joseph

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Mateusz Kowalczyk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 17/04/13 17:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
 On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:
 
 Error printing - Operation not supported
 
 
 
 
 well, obviously your installed evince doesn't do pdf
 printing.
 
 
 -- Alan McKinnon alan.mckin...@gmail.com
 
 Well, it did print to pdf or ps file a week ago before upgrading,
 so what did it change? Why all of a sudden doesn't do pdf
 printing?
 
So basically you're asking ?what changed on my system??. Not really
something anyone can help with unless you post some information.

- -- 
Mateusz K.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)

iQIcBAEBAgAGBQJRbtdVAAoJEM1mucMq2pqXe1YP/i2v5x+Wf7p0eyMwsKuxuYf4
A0OHVkpD0ead3ULIM6dj1dpsYcu/hz0//y6qN/zn+go/8UM7Z2584RmlB/Gj3mgC
9yleo9+5zCH4hPjnTx/Yqi6NJ1xOc2CEsoZ3lfHFot1ydoQNv2cpvnwYrjCOCKhk
voocr8qVNChfyomvU4dnp3TTE+NlGaWNfhg7fYRJ23UcIsQZTvBeCdd9lH56TwT6
BhlLCfUOqXn8vGkwfoSbT/NzQYt1qyF9NuqgMDm85bLpubOpaaIIqLYjQK/CSfRt
+GNmAX+UDmrg5fAis5PfnNWAlOfxhrNrj0DyI+JBM9WZCcE+Mlg3XYxZqyfMB+3w
ffpiXRwh9Hb98XmbDCaWWXSaXSvJ1yNJWhY1LKvuRZs73L+WdWrFqNxpyNVsMLzz
sWZGCvPOf6Hvvf4thZu6Q6ocf2trfBCjjVGHxPNij0yy/OgJxwqm4XeZUNADcM9X
CYpXoGGg/+C31XGBIWfuFBKioyrYkL97jYmoc9KfSysANTDSePeT8en/Pv5BLB7O
9RHdhOwxT2Jk4GHh6bE97skeCvNj08lebDLACLbdPPGD+VLeHyceiKzSR1SKbNc9
9vuVqjBsul6Kd+VUqXixWNDa5fO79ShDelxOKpiFrtRlVEOcGWoUIkUXcCrXNnGR
S9VKx8D/hpZT3ZfKd6RM
=4IN6
-END PGP SIGNATURE-



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 17:00, Alan Mackenzie wrote:

Hi, Joseph.

On Wed, Apr 17, 2013 at 10:32:23AM -0600, Joseph wrote:

On 04/17/13 17:05, tastytea wrote:
Am Wed, 17 Apr 2013 07:57:02 -0600
schrieb Joseph syscon...@gmail.com:



 When I try to print from evince to pdf file I get an error:



 Error printing - Operation not supported





You can use File - Sove a Copy...



This doesn't help me, as there are times where I want to print one or two pages from pdf 
document to another pdf file, so Save a Copy will not do it.


For what it's worth, my evince (2.32.0-r4) prints without problems.
Could it be you're missing some critical use flag?  Try dumping these out
with

# emerge -pv evince


I have the same verion,
app-text/evince-2.32.0-r4  USE=dbus introspection postscript tiff -debug -djvu -dvi 
-gnome -gnome-keyring -nautilus -t1lib 0 kB

I can print to printer but not to pdf or ps files.


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 18:45, Randolph Maaßen wrote:

  2013/4/17 Joseph [1]syscon...@gmail.com

  On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:
Error printing - Operation not supported

well, obviously your installed evince doesn't do pdf printing.
--
Alan McKinnon
[2]alan.mckin...@gmail.com

Well, it did print to pdf or ps file a week ago before upgrading, so
what did it change?
Why all of a sudden doesn't do pdf printing?
--
Joseph

  So what packages have been updated/changed, what does your printing
  system look like, ...
  Without some information nobody can help you.
  --
  Mit freundlichen Grüßen / Best regards

  Randolph Maaßen


I'm using standard cups printing system.
It is hard to find out which package are responsible for it, I usually upgrade very second month so bunch of them got upgraded I did not get any error messages. 
It is like looking for a needle in a haystack :-/


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 18:09, Mateusz Kowalczyk wrote:

On 17/04/13 17:30, Joseph wrote:

On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported





well, obviously your installed evince doesn't do pdf
printing.


-- Alan McKinnon alan.mckin...@gmail.com


Well, it did print to pdf or ps file a week ago before upgrading,
so what did it change? Why all of a sudden doesn't do pdf
printing?


So basically you're asking ?what changed on my system??. Not really
something anyone can help with unless you post some information.

--
Mateusz K.


I'm not really sure what should I provide you folks with :-/
or where to start looking for the problem. 


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Randolph Maaßen
On Apr 17, 2013 7:19 PM, Joseph syscon...@gmail.com wrote:

 On 04/17/13 18:45, Randolph Maaßen wrote:

   2013/4/17 Joseph [1]syscon...@gmail.com


   On 04/17/13 16:27, Alan McKinnon wrote:

 On 17/04/2013 15:57, Joseph wrote:

 When I try to print from evince to pdf file I get an error:
 Error printing - Operation not supported

 well, obviously your installed evince doesn't do pdf printing.
 --
 Alan McKinnon
 [2]alan.mckin...@gmail.com


 Well, it did print to pdf or ps file a week ago before upgrading, so
 what did it change?
 Why all of a sudden doesn't do pdf printing?
 --
 Joseph

   So what packages have been updated/changed, what does your printing
   system look like, ...
   Without some information nobody can help you.
   --
   Mit freundlichen Grüßen / Best regards

   Randolph Maaßen


 I'm using standard cups printing system.
 It is hard to find out which package are responsible for it, I usually
upgrade very second month so bunch of them got upgraded I did not get any
error messages. It is like looking for a needle in a haystack :-/

 --
 Joseph


Ok, so I would try running revdep-rebuild, to ensure that upgrading didn't
break any abi. This happened to me some time ago.


Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 19:24, Randolph Maaßen wrote:

   Well, it did print to pdf or ps file a week ago before
  upgrading, so
   what did it change?
   Why all of a sudden doesn't do pdf printing?
   --
   Joseph
  
 So what packages have been updated/changed, what does your
  printing
 system look like, ...
 Without some information nobody can help you.
 --
 Mit freundlichen Grüßen / Best regards
  
 Randolph Maaßen
  
  
   I'm using standard cups printing system.
   It is hard to find out which package are responsible for it, I
  usually upgrade very second month so bunch of them got upgraded I did
  not get any error messages. It is like looking for a needle in a
  haystack :-/
  
   --
   Joseph
  

  Ok, so I would try running revdep-rebuild, to ensure that upgrading
  didn't break any abi. This happened to me some time ago.


I know I have been holding to xpdf and old poppler but I've got rid of xpdf and 
upgraded poppler to the current one.
run: revdep-rebuild 
texlive was rebuild 
I've re-emerged evince 


but I'm still getting the same error with evince: Error printing - Operation 
not supported when trying to print to pdf file :-/

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Alan McKinnon
On 17/04/2013 18:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
 On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




 well, obviously your installed evince doesn't do pdf printing.


 -- 
 Alan McKinnon
 alan.mckin...@gmail.com
 
 Well, it did print to pdf or ps file a week ago before upgrading, so
 what did it change?
 Why all of a sudden doesn't do pdf printing?
 

I have absolutely no idea - only one of us can look at your computer
screen and run debugging commands, and it isn't me.

If you want help on this list, it's traditional to supply up front
relevant information that will let people help you. You left this step out.



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread J. Roeleveld
On Wed, April 17, 2013 18:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com

 Well, it did print to pdf or ps file a week ago before upgrading, so what
 did it change?
 Why all of a sudden doesn't do pdf printing?

Can you print to PDF from another program?
Do you have net-print/cups-pdf installed?
Can you recreate the PDF-printer in the cups configuration?

--
Joost




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 21:55, J. Roeleveld wrote:

On Wed, April 17, 2013 18:30, Joseph wrote:

On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported





well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com


Well, it did print to pdf or ps file a week ago before upgrading, so what
did it change?
Why all of a sudden doesn't do pdf printing?


Can you print to PDF from another program?
Do you have net-print/cups-pdf installed?
Can you recreate the PDF-printer in the cups configuration?

--
Joost


Yes, I have net-print/cups-pdf installed.
The strange part is that on one of my AMD64 system I logged in via ssh and I could print to from evince to pdf file and after running python-updater I am getting 
the same error:  Error printing - Operation not supported


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread J. Roeleveld
On Wed, April 17, 2013 22:07, Joseph wrote:
 On 04/17/13 21:55, J. Roeleveld wrote:
On Wed, April 17, 2013 18:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com

 Well, it did print to pdf or ps file a week ago before upgrading, so
 what
 did it change?
 Why all of a sudden doesn't do pdf printing?

Can you print to PDF from another program?
Do you have net-print/cups-pdf installed?
Can you recreate the PDF-printer in the cups configuration?

--
Joost

 Yes, I have net-print/cups-pdf installed.
 The strange part is that on one of my AMD64 system I logged in via ssh and
 I could print to from evince to pdf file and after running
 python-updater I am getting
 the same error:  Error printing - Operation not supported

What did python-updater update?

--
Joost Roeleveld




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 21:31, Alan McKinnon wrote:

On 17/04/2013 18:30, Joseph wrote:

On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported





well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com


Well, it did print to pdf or ps file a week ago before upgrading, so
what did it change?
Why all of a sudden doesn't do pdf printing?



I have absolutely no idea - only one of us can look at your computer
screen and run debugging commands, and it isn't me.

If you want help on this list, it's traditional to supply up front
relevant information that will let people help you. You left this step out.



--
Alan McKinnon
alan.mckin...@gmail.com


OK, I'm getting somewhere.
After starting evince from command line I can print to pdf file; but only 
when starting it from a desktop I'm getting this error.
 Error printing - Operation not supported

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Alan McKinnon
On 17/04/2013 22:14, Joseph wrote:
 On 04/17/13 21:31, Alan McKinnon wrote:
 On 17/04/2013 18:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
 On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




 well, obviously your installed evince doesn't do pdf printing.


 -- 
 Alan McKinnon
 alan.mckin...@gmail.com

 Well, it did print to pdf or ps file a week ago before upgrading, so
 what did it change?
 Why all of a sudden doesn't do pdf printing?


 I have absolutely no idea - only one of us can look at your computer
 screen and run debugging commands, and it isn't me.

 If you want help on this list, it's traditional to supply up front
 relevant information that will let people help you. You left this step
 out.



 -- 
 Alan McKinnon
 alan.mckin...@gmail.com
 
 OK, I'm getting somewhere.
 After starting evince from command line I can print to pdf file; but
 only when starting it from a desktop I'm getting this error.
  Error printing - Operation not supported


You are still not giving much in the way of information, and you are
still getting replies from people that basically say Well, gee, I dunno
what the problem is, but try this $RANDOM_MAGIC_SAUCE

It's an exercise in throwing shit at a wall and hoping some of it sticks.

So, it used to work. Now it doesn't work.
Something changed in between.
You need to provide the information to find what changed, no-one else
can. And it doesn't help repeating the error message you get, we already
know that.

Start with the short list of three items in my other mail.

I promise you, and this is important, until you provide that information
we will all keep going around in circles (unless you hit random pay
dirt) and your printing will continue to not work.





-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread J. Roeleveld
On Wed, April 17, 2013 22:20, Alan McKinnon wrote:
 On 17/04/2013 22:14, Joseph wrote:
 On 04/17/13 21:31, Alan McKinnon wrote:
 On 17/04/2013 18:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
 On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




 well, obviously your installed evince doesn't do pdf printing.


 --
 Alan McKinnon
 alan.mckin...@gmail.com

 Well, it did print to pdf or ps file a week ago before upgrading, so
 what did it change?
 Why all of a sudden doesn't do pdf printing?


 I have absolutely no idea - only one of us can look at your computer
 screen and run debugging commands, and it isn't me.

 If you want help on this list, it's traditional to supply up front
 relevant information that will let people help you. You left this step
 out.



 --
 Alan McKinnon
 alan.mckin...@gmail.com

 OK, I'm getting somewhere.
 After starting evince from command line I can print to pdf file; but
 only when starting it from a desktop I'm getting this error.
  Error printing - Operation not supported


 You are still not giving much in the way of information, and you are
 still getting replies from people that basically say Well, gee, I dunno
 what the problem is, but try this $RANDOM_MAGIC_SAUCE

And it's this kind of response that makes the Ubuntu forums useless ;)

 It's an exercise in throwing shit at a wall and hoping some of it sticks.

Nice analogy...

 So, it used to work. Now it doesn't work.
 Something changed in between.
 You need to provide the information to find what changed, no-one else
 can. And it doesn't help repeating the error message you get, we already
 know that.

I agree, like actually provide more information when you mention that
after using $$RANDOM_TOOL it doesn't work on another system either.
In these cases, knowing what $$RANDOM_TOOL actually ended up doing would
really help.

 Start with the short list of three items in my other mail.

 I promise you, and this is important, until you provide that information
 we will all keep going around in circles (unless you hit random pay
 dirt) and your printing will continue to not work.

--
Joost Roeleveld




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 22:12, J. Roeleveld wrote:

On Wed, April 17, 2013 22:07, Joseph wrote:

On 04/17/13 21:55, J. Roeleveld wrote:

On Wed, April 17, 2013 18:30, Joseph wrote:

On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported





well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com


Well, it did print to pdf or ps file a week ago before upgrading, so
what
did it change?
Why all of a sudden doesn't do pdf printing?


Can you print to PDF from another program?
Do you have net-print/cups-pdf installed?
Can you recreate the PDF-printer in the cups configuration?

--
Joost


Yes, I have net-print/cups-pdf installed.
The strange part is that on one of my AMD64 system I logged in via ssh and
I could print to from evince to pdf file and after running
python-updater I am getting
the same error:  Error printing - Operation not supported


What did python-updater update?

--
Joost Roeleveld


I'm running Python:2.7

And these files were updated:

 Adding to list: app-office/openoffice-bin:0
 Adding to list: app-office/openoffice-bin:0
 Adding to list: dev-java/java-config:2
 Adding to list: dev-libs/boost:0
 Adding to list: dev-libs/libgamin:0
 Adding to list: dev-python/dbus-python:0
 Adding to list: dev-python/numpy:0
 Adding to list: dev-python/pycairo:0
 Adding to list: dev-python/setuptools:0
 Adding to list: dev-vcs/subversion:0
 Adding to list: media-libs/lcms:0
 Adding to list: sys-apps/file:0
 Adding to list: sys-libs/cracklib:0

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread J. Roeleveld
On Wed, April 17, 2013 22:27, Joseph wrote:
 On 04/17/13 22:12, J. Roeleveld wrote:
On Wed, April 17, 2013 22:07, Joseph wrote:
 On 04/17/13 21:55, J. Roeleveld wrote:
On Wed, April 17, 2013 18:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com

 Well, it did print to pdf or ps file a week ago before upgrading, so
 what
 did it change?
 Why all of a sudden doesn't do pdf printing?

Can you print to PDF from another program?
Do you have net-print/cups-pdf installed?
Can you recreate the PDF-printer in the cups configuration?

--
Joost

 Yes, I have net-print/cups-pdf installed.
 The strange part is that on one of my AMD64 system I logged in via ssh
 and
 I could print to from evince to pdf file and after running
 python-updater I am getting
 the same error:  Error printing - Operation not supported

What did python-updater update?

--
Joost Roeleveld

 I'm running Python:2.7

 And these files were updated:

   Adding to list: app-office/openoffice-bin:0
   Adding to list: app-office/openoffice-bin:0
   Adding to list: dev-java/java-config:2
   Adding to list: dev-libs/boost:0
   Adding to list: dev-libs/libgamin:0
   Adding to list: dev-python/dbus-python:0
   Adding to list: dev-python/numpy:0
   Adding to list: dev-python/pycairo:0
   Adding to list: dev-python/setuptools:0
   Adding to list: dev-vcs/subversion:0
   Adding to list: media-libs/lcms:0
   Adding to list: sys-apps/file:0
   Adding to list: sys-libs/cracklib:0

This helps, one of these packages must change something that evince
depends on.

Now, for the other 2 questions:
1) Did you try recreating the PDF-printer in the cups config?
2) Can you print to PDF using a different program?

--
Joost Roeleveld




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 22:42, J. Roeleveld wrote:

I'm running Python:2.7

And these files were updated:

  Adding to list: app-office/openoffice-bin:0
  Adding to list: app-office/openoffice-bin:0
  Adding to list: dev-java/java-config:2
  Adding to list: dev-libs/boost:0
  Adding to list: dev-libs/libgamin:0
  Adding to list: dev-python/dbus-python:0
  Adding to list: dev-python/numpy:0
  Adding to list: dev-python/pycairo:0
  Adding to list: dev-python/setuptools:0
  Adding to list: dev-vcs/subversion:0
  Adding to list: media-libs/lcms:0
  Adding to list: sys-apps/file:0
  Adding to list: sys-libs/cracklib:0


This helps, one of these packages must change something that evince
depends on.

Now, for the other 2 questions:
1) Did you try recreating the PDF-printer in the cups config?
2) Can you print to PDF using a different program?

--
Joost Roeleveld


Yes, I can print from Firefox to pdf file OK. 
I check most of those files and they don't have any dependency on meld or evince.

I've tried to mask: dev-python/pycairo media-libs/lcms but there are on 
previous version in the portage.

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 22:20, Alan McKinnon wrote:


OK, I'm getting somewhere.
After starting evince from command line I can print to pdf file; but
only when starting it from a desktop I'm getting this error.
 Error printing - Operation not supported



You are still not giving much in the way of information, and you are
still getting replies from people that basically say Well, gee, I dunno
what the problem is, but try this $RANDOM_MAGIC_SAUCE

It's an exercise in throwing shit at a wall and hoping some of it sticks.

So, it used to work. Now it doesn't work.
Something changed in between.
You need to provide the information to find what changed, no-one else
can. And it doesn't help repeating the error message you get, we already
know that.

Start with the short list of three items in my other mail.

I promise you, and this is important, until you provide that information
we will all keep going around in circles (unless you hit random pay
dirt) and your printing will continue to not work.

--
Alan McKinnon
alan.mckin...@gmail.com


If is hard to find trouble-shoot these kind of problems. If I new which package 
is causing it I wouldn't be asking questions on this forum!
I'll emerge --rsync maybe it was fixed already.
I know Firefox-17.0.4 has a printing problem to a folder other than /home/user/ 
folder but it was fixed in 17.0.5 version.

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 22:26, J. Roeleveld wrote:


I agree, like actually provide more information when you mention that
after using $$RANDOM_TOOL it doesn't work on another system either.
In these cases, knowing what $$RANDOM_TOOL actually ended up doing would
really help.


Start with the short list of three items in my other mail.

I promise you, and this is important, until you provide that information
we will all keep going around in circles (unless you hit random pay
dirt) and your printing will continue to not work.


--
Joost Roeleveld


When I start evince from a command line and try to print to pdf file I get:

(evince:18927): Pango-WARNING **: Invalid UTF-8 string passed to 
pango_layout_set_text()


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Peter Humphrey
On Wednesday 17 April 2013 18:14:24 Joseph wrote:

 I have the same verion,
 app-text/evince-2.32.0-r4  USE=dbus introspection postscript tiff -debug
 -djvu -dvi -gnome -gnome-keyring -nautilus -t1lib 0 kB
 
 I can print to printer but not to pdf or ps files.

If I've followed this discussion aright you're running gnome, so why do you 
have -gnome set against evince?

-- 
Peter


Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 21:55, J. Roeleveld wrote:

On Wed, April 17, 2013 18:30, Joseph wrote:

On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported





well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com


Well, it did print to pdf or ps file a week ago before upgrading, so what
did it change?
Why all of a sudden doesn't do pdf printing?


Can you print to PDF from another program?
Do you have net-print/cups-pdf installed?
Can you recreate the PDF-printer in the cups configuration?

--
Joost


Do I need package net-print/cups-pdf to print to PDF file?
I have uninstalled cups-pdf and when I go any program print there is still option: 
Print to file except that now 'Save to folder by default is empty field, before if I remember was a user home directory.


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/18/13 02:02, Peter Humphrey wrote:

  On Wednesday 17 April 2013 18:14:24 Joseph wrote:


   I have the same verion,

   app-text/evince-2.32.0-r4 USE=dbus introspection postscript tiff
  -debug

   -djvu -dvi -gnome -gnome-keyring -nautilus -t1lib 0 kB

  

   I can print to printer but not to pdf or ps files.


  If I've followed this discussion aright you're running gnome, so why do
  you have -gnome set against evince?


  --

  Peter


Peter, I'm running XFCE4 


How do you run -debug?

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/18/13 02:02, Peter Humphrey wrote:

  On Wednesday 17 April 2013 18:14:24 Joseph wrote:


   I have the same verion,

   app-text/evince-2.32.0-r4 USE=dbus introspection postscript tiff
  -debug

   -djvu -dvi -gnome -gnome-keyring -nautilus -t1lib 0 kB

  

   I can print to printer but not to pdf or ps files.


  If I've followed this discussion aright you're running gnome, so why do
  you have -gnome set against evince?


  --

  Peter


When I start evince as root I get:

(evince:24321): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file 
'/root/.local/share/recently-used.xbel.KSAKVW': No such file or directory


(evince:24321): Gtk-WARNING **: Attempting to set the permissions of 
`/root/.local/share/recently-used.xbel', but failed: No such file or directory

There are no errors when I start it as user.

--
Joseph