LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-14-2011, 03:00 PM   #1
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
vim E365: Failed to print Postscript File


I don't print from vim often, so I am not sure when this happened.

I cannot print (ha[rdcopy] from vim or gVim.

I get the error that is listed in the title.

I am running on Ubuntu 10.04.

I am looking for ideas on things to configure as well as anyone who has had experience with this problem and might have an answer.
 
Old 12-16-2011, 09:52 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,009
Blog Entries: 5

Rep: Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787
I haven't done this before but on doing a test just now on CentOS5 it worked without issue:

In a file you have to specify what you're printing (range of lines) for example:
To print all lines:
1,$ha!
To print a subset (you can use Ctrl-G to find out line number of current line) so to print lines 136 to 192:
136,192ha!

Do you have a default printer defined? At command line can you do something like "cat /etc/hosts |lp" and have it print? It may be complaining due to lack of printer specification.

Also the man page says that print support has to have been compiled into your version.
It shows you can print to a file (this will at least verify printing setup works):
136,192ha! >mytestprintfile
 
Old 01-04-2012, 01:12 PM   #3
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Original Poster
Rep: Reputation: 35
Same Error

Thanks. Tried. Did not work. Same error.

Quote:
Originally Posted by MensaWater View Post
I haven't done this before but on doing a test just now on CentOS5 it worked without issue:

In a file you have to specify what you're printing (range of lines) for example:
To print all lines:
1,$ha!
To print a subset (you can use Ctrl-G to find out line number of current line) so to print lines 136 to 192:
136,192ha!

Do you have a default printer defined? At command line can you do something like "cat /etc/hosts |lp" and have it print? It may be complaining due to lack of printer specification.

Also the man page says that print support has to have been compiled into your version.
It shows you can print to a file (this will at least verify printing setup works):
136,192ha! >mytestprintfile
 
Old 01-04-2012, 03:24 PM   #4
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,009
Blog Entries: 5

Rep: Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787
Did you try the cat print test I suggested? Did it work or fail? If if failed what did it say?
 
Old 07-19-2012, 04:52 PM   #5
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Original Poster
Rep: Reputation: 35
Uninstalled and re-installed CUPS

I uninstalled and re-installed CUPS, and that fixed the problem.
 
1 members found this post helpful.
  


Reply

Tags
ubuntu, vim, vimrc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Easily Print to PDF, Postscript And SVG Files From Any Application LXer Syndicated Linux News 0 11-23-2010 04:20 PM
Manipulating print documents - anything better than Postscript utils? overbored Linux - Software 2 12-03-2006 03:57 PM
can only print to postscript default in firefox scottsteibel Linux - Newbie 0 09-17-2006 10:29 AM
application/postscript print problem Drunkalot Linux - General 2 04-29-2005 07:55 AM
printer keeps trying to print postscript. works fine using lpr Choey Linux - Hardware 1 09-20-2003 06:06 PM


All times are GMT -5. The time now is 12:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration