nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Cups is not printing text file with proper format, staircasing issue

This is a discussion on Cups is not printing text file with proper format, staircasing issue within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hi All: I have configured HP laserjet printer on my RH AS3.0, lpr works fine.. but when I try to ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > Linux Distribution > CentOS / RHEL / Fedora

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-16-2007, 11:36 PM
Member
User
 
Join Date: Jan 2005
Location: Pune, India.
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Ashish Pathak
Send a message via MSN to Ashish Pathak Send a message via Yahoo to Ashish Pathak
Default Cups is not printing text file with proper format, staircasing issue

Hi All:

I have configured HP laserjet printer on my RH AS3.0, lpr works fine.. but when I try to print text file, it's not printing it in right way, it prints something like following.

Nixcraft
Linux
Forum

istead of

Nixcraft
Linux
Forum

I'm using laserjet.ppd and lpinfo shows following o/p

[root@My-Server /]# lpinfo -m
raw Raw Queue
dymo.ppd.gz DYMO Label Printer CUPS v1.1
epson9.ppd.gz EPSON 9-Pin Series CUPS v1.1
epson24.ppd.gz EPSON 24-Pin Series CUPS v1.1
stcolor2.ppd.gz EPSON New Stylus Color Series CUPS v1.1
stphoto2.ppd.gz EPSON New Stylus Photo Series CUPS v1.1
stcolor.ppd.gz EPSON Stylus Color Series CUPS v1.1
stphoto.ppd.gz EPSON Stylus Photo Series CUPS v1.1
deskjet.ppd.gz HP DeskJet Series CUPS v1.1
laserjet.ppd.gz HP LaserJet Series CUPS v1.1
deskjet2.ppd.gz HP New DeskJet Series CUPS v1.1
okidata9.ppd.gz OKIDATA 9-Pin Series CUPS v1.1
okidat24.ppd.gz OKIDATA 24-Pin Series CUPS v1.1
postscript.ppd.gz Generic postscript printer

I googled for this and understood that I need to add filter for this, with if=filter name in /etc/printcap file, I have tried that also but no luck, when we add this entry in the /etc/printcap file, do we need to tell cups that if=filter is your input file? or it will update this on-the-fly ? Restarting cups is removing this entry from printcap and making it filterless.

Please help! help!!
Reply With Quote
  #2 (permalink)  
Old 11-18-2007, 09:12 AM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
OS: Debian GNU/Linux
Posts: 506
Thanks: 0
Thanked 8 Times in 6 Posts
Rep Power: 7
monk has a spectacular aura about monk has a spectacular aura about
Default

Have you tried GUI or web based tool to configure CUPs? HP provides updated driver for Linux. Try installing updated version
__________________
May the force with you!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
To find and replace in text file nashtech Shell scripting 5 01-31-2010 07:32 AM
printing file in perl chandanperl Coding in General 3 04-16-2008 12:03 PM
How to install tar format software in RHEL 4.0 mannrj45 Linux software 8 09-26-2007 06:57 PM
rearranging columns in a text file sureshbup Shell scripting 2 12-06-2006 10:43 AM
Replacing text in a file using awk postyrus Shell scripting 4 05-02-2005 04:31 PM


All times are GMT +5.5. The time now is 10:49 AM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38