VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Pages: [1] 2

Author Topic: XPDF printing problem <solved>  (Read 14431 times)

InTheWoods

  • Vectorite
  • ***
  • Posts: 302
XPDF printing problem <solved>
« on: May 19, 2009, 04:39:13 am »

In the past I could print .pdf documents from XPDF to my local Lexmark Z611 USB printer with the command "lpr". This no longer works as of vec 6.0 (standard). I see from a search of the forum that "evince" and "Acroread" are recommended replacements and are in the repository.

So is there no hope of printing from XPDF?
If thats the case which of the above alternates is preferable?
« Last Edit: April 17, 2011, 05:55:43 am by InTheWoods »
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3217
Re: XPDF printing problem
« Reply #1 on: May 19, 2009, 06:39:18 am »

xpdf has just never worked for me, and simply I dont like the UI.

With that said, I use acroread every time.

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2301
Re: XPDF printing problem
« Reply #2 on: May 19, 2009, 07:21:39 am »

None of them are as configurable as Xpdf, and their UI is terrible ;D
I dont have a printer so I cant test anything :(.
Try launching xpdf from the command line using the -cmd option. This will print all the commands executed by xpdf. Try printing now. I read in the man page that you have to print to postscript and pipe to lpr. Maybe you get some error message in the terminal or a clue about what is happening.

HTH
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

InTheWoods

  • Vectorite
  • ***
  • Posts: 302
Re: XPDF printing problem
« Reply #3 on: May 19, 2009, 12:12:07 pm »


Quote
Try launching xpdf from the command line using the -cmd option
When I try this I get a terminal full of stuff that looks like raw ghostscript. Perhaps if I could find a small enough .pdf or increased the size of my bash history I would find usefull information.
But since this wasn't for myself I needed a more immediate solution. I have installed Acroread and it prints just fine.
Logged

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2301
Re: XPDF printing problem
« Reply #4 on: May 19, 2009, 12:31:13 pm »

I understand, glad you got it working !
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

Pita

  • Vectorian
  • ****
  • Posts: 1326
Re: XPDF printing problem
« Reply #5 on: May 26, 2009, 09:01:46 pm »

In the past I could print .pdf documents from XPDF to my local Lexmark Z611 USB printer with the command "lpr". This no longer works as of vec 6.0 (standard). I see from a search of the forum that "evince" and "Acroread" are recommended replacements and are in the repository.

So is there no hope of printing from XPDF?


In my case XPDF prints perfectly giving the lpr print command. My printer is an Epson LQ300.

That does not help you much, may be ask me for some of my settings.
Logged

sledgehammer

  • Vectorian
  • ****
  • Posts: 1459
Re: XPDF printing problem
« Reply #6 on: June 15, 2009, 11:39:07 am »

xpdf worked fine for me until I switched to vector 6.0, but now doesn't print.  A bother since some programs default to xpdf.

John
Logged
VL7.0 xfce4 Samsung RF511

lagagnon

  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1922
Re: XPDF printing problem
« Reply #7 on: June 15, 2009, 05:44:28 pm »

you have to tell xpdf the name of your new printer with the proper print command:

http://www.damnsmalllinux.org/f/topic-3-13-14410-0.html
Logged
"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll

Pita

  • Vectorian
  • ****
  • Posts: 1326
Re: XPDF printing problem
« Reply #8 on: June 17, 2009, 12:01:57 am »

I just tried printing with our new Brother DCP-385C printer and there is a perfect print-out with xpdf.

Like with my Epson LQ300 I only give the "lpr" print command in xpdf.

Using system-config-printer I just switch the default printer. I really like that.

Logged

sledgehammer

  • Vectorian
  • ****
  • Posts: 1459
Re: XPDF printing problem
« Reply #9 on: June 17, 2009, 12:18:24 am »

Pita, Great!  Glad it works for you.

Perhaps that is my problem.  I don't see a system-config-printer in VL 6.0.  Rather, I see the name in cups (hplaserjet4mplus) but neither that nor lpr will print in xpdf.  So I use evince, which works fine. Evince apparently is smart enough to know which printer I am using.  I am just bothered by the fact that xpdf printed fine if 5.8 and 5.9 but won't, using the same protocol, print pdfs in vector 6.  I see a print manager in Accessories and an HP Device Manager which I have never used. No big deal.  Evince works fine.

John
Logged
VL7.0 xfce4 Samsung RF511

Pita

  • Vectorian
  • ****
  • Posts: 1326
Re: XPDF printing problem
« Reply #10 on: June 17, 2009, 02:13:00 am »

I guess I got system-config-printer with gnome from gslacky.
I have gnome -2.26.1 installed in my box.

system-config-printer 1.1.7
A CUPS configuration tool.

http://cyberelk.net/tim/software/system-config-printer/
Logged

sledgehammer

  • Vectorian
  • ****
  • Posts: 1459
Re: XPDF printing problem
« Reply #11 on: June 17, 2009, 03:54:10 am »

Pita,

system-config-printer is in the gsb-2.22 repository which, for some reason, is installed in my gslapt. I just installed it and will try it later today when I get to the office.

Thanks

John
« Last Edit: June 17, 2009, 03:59:17 am by sledgehammer »
Logged
VL7.0 xfce4 Samsung RF511

sledgehammer

  • Vectorian
  • ****
  • Posts: 1459
Re: XPDF printing problem
« Reply #12 on: June 17, 2009, 11:54:55 am »

I tried Applications-System-Printing->Printer Configuration localhost->Set hplaserjet4mplus as Default and it works great.  Now, a pdf file opened with xpdf prints on my IBM T42 running VL 6.0 as it did in 5.9, i.e. Print With Command lpr (actually "lp" works too).

Now to decide whether to go back to xpdf as my default pdf reader....a good problem to have.

I probably will as I think xpdf is a little faster than evince.

Anyway, thanks to everyone for the suggestions. 

John
Logged
VL7.0 xfce4 Samsung RF511

caitlyn

  • Packager
  • Vectorian
  • ****
  • Posts: 2876
    • The Linux Works
Re: XPDF printing problem
« Reply #13 on: June 20, 2009, 09:07:32 pm »

John, you might want to change the title of this topic to include the word [SOLVED] as a courtesy to those of us doing technical support now and again.

Glad you got it solved.
Logged
eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1

sledgehammer

  • Vectorian
  • ****
  • Posts: 1459
Re: XPDF printing problem
« Reply #14 on: June 21, 2009, 12:39:12 am »

Caitlyn,

If you are referring to me, I don't know how to mark it solved.  The topic was started by InTheWoods.

John
« Last Edit: June 21, 2009, 12:41:41 am by sledgehammer »
Logged
VL7.0 xfce4 Samsung RF511
Pages: [1] 2