nixCraft Linux Forum

nixCraft

Linux 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 ...


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

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 11-16-2007, 10:36 PM
Member
User
 
Join Date: Jan 2005
Location: Pune, India.
Posts: 47
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
Sponsored Links
  #2 (permalink)  
Old 11-18-2007, 08:12 AM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
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

Bookmarks


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 On

Similar Threads

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


All times are GMT +5.5. The time now is 06:57 PM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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