Bug 85099 - Unable to define serial printer correctly using printconf
Unable to define serial printer correctly using printconf
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-printer (Show other bugs)
9
i686 Linux
medium Severity low
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-25 13:10 EST by Pat Lawrence
Modified: 2008-01-17 12:49 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-07-07 12:36:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pat Lawrence 2003-02-25 13:10:10 EST
Description of problem:
Can't define serial printer in printconf.
Attempted to define a new serial printer (same in printconf-gui and printconf-
tui):
Local Printer
     Custom Device: /dev/ttyR7
     Epson 9-pin 80 column (omni driver is only choice)
Note that /dev/ttyR7 is a serial port on a Comtrol Rocketport card that does 
work for a serial terminal, and, once /etc/cups/printers.conf is edited, for 
printing.
I expect I would see the same behavior for /dev/ttyS0 or /dev/ttyS1, since 
there is no option to select either of these ports in printconf, either.
When you look in /etc/cups/printers.conf at the definition lines for the 
printer just created, you see:
DeviceURI file:/dev/ttyR7
and, with this line, if you try to print to the attached serial printer, you 
get some printing sometimes, ususally with lots of garbage characters.
If you edit the line so it looks like:
DeviceURI serial:/dev/ttyR7
you are able to print to the printer without problems.


Version-Release number of selected component (if applicable):
redhat-config-printer-0.6.35-1
[root@award3 phl]# cat /etc/redhat-release
Red Hat Linux release 8.0.93 (Phoebe)
[root@award3 phl]# uname -m
i686

How reproducible:
always

Steps to Reproduce:
1.Define a serial printer using a custom device and a working serial port.
2.Attempt to print (get garbage or job queued but no printing).
3.Edit /etc/cups/printers.conf for the printer you created; change the 
word 'file' to the word 'serial' and the printer will work.

    
Actual results:
Got garbage attempting to print after defining the printer.

Expected results:
Should have gotten a normal printout.

Additional info:
Comment 1 Tim Waugh 2003-02-25 19:33:49 EST
I think /dev/ttyS* should be okay; the serial: scheme was chosen if the device
name began '/dev/ttyS'.  I changed the test to "begins '/dev/tty'".

Fixed in CVS.
Comment 2 Tim Waugh 2003-07-07 12:36:33 EDT
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2003-125.html

Note You need to log in before you can comment on or make changes to this bug.