LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 02-15-2007, 02:16 AM   #1
Nahmus
LQ Newbie
 
Registered: Feb 2007
Distribution: RHES4
Posts: 11

Rep: Reputation: 0
how do you send control codes (condensed print) to printers in RH?


HI all,
I did some serching on "condensed" and "condensed print" "control codes" and did not see anything so here's my problem

I have a customer that would like all print jobs that go to a specific HP-laser printer to be condensed. I've done this many times in unix (SCO IBM etc...) by editing the printer strings directly. I would set up two printers that go to the same device, but one of the printers would have the control codes for condensed print in their init strings. I don't see how to do that in RHES. FRom what I've read linux creates these files on the fly so you really cant edit any type of configuration file.

I have been able to affect print size with the "-o cpi=18" option in the LP command. The print is reduced but it does not look right, almost like its off center.

If someone could give me a link to read, documentation, or some quick pointers I would be very grateful. I've been doing unix since ATT and XeniX and right about now I'm feeling very dumb.

I only have remote access via putty so i do not have access to the GUI client.

I think they are going to have to send me a distro copy if they want me to start supporting this.

thanks in advance for any help.
 
Old 02-16-2007, 11:44 AM   #2
Nahmus
LQ Newbie
 
Registered: Feb 2007
Distribution: RHES4
Posts: 11

Original Poster
Rep: Reputation: 0
Maybe i'm asking the wrong question. How are you controlling printer options in linux? How are you switching modes (compressed, regular etc...) from an lp standpoint? just "-o" options?

does linux even have the ability to send control codes from lp?
 
  


Reply

Tags
codes, control, print


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
cups/samba print w/o passwd in printers.conf? jshaffer Linux - Networking 1 03-29-2010 06:26 AM
Print condensed characters with Linux Laserjet driver pjq13100 Linux - General 0 08-18-2006 03:47 AM
Unable to print if using lp and sending printer control codes andyfosl Linux - Enterprise 0 01-31-2006 04:57 AM
Using escape codes to print barcodes c2tidis Linux - Software 0 09-29-2005 11:44 AM
Cannot print from Windows-network-connected printers milleron Linux - Networking 9 07-19-2004 07:02 AM


All times are GMT -5. The time now is 05:50 PM.

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