Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Linux Printing of UTF8

  • 23-02-2010 3:57pm
    #1
    Registered Users, Registered Users 2 Posts: 6,036 ✭✭✭


    Can anyone help ?

    I have a Redhat box, RH4AS. LANG=en_IE.UTF-8

    I have a Jetdirect Laserjet4 connected via vanilla cups Jetdirect.

    I have plaintext documents with Irish names and addresses - e.g. fadas and the like, you know what I mean. The fadas appear using vi in putty no problem with Putty translation set to UTF8

    Printing such documents using GEDIT from KDE works fine, the fadas appear.

    Printing using lpr doesn't work properly(i.e. the fada'd' characters come out as doublebyte crud ) . No special config was done on the printer.

    What am I doing wrong ?

    I am presuming gedit works ok because it rolls them through some sort of postscript preprocessor. What can I do ? I need to be able to do proper printing.

    TIA

    T


Comments

  • Registered Users, Registered Users 2 Posts: 2,013 ✭✭✭lynchie


    AFAIK, lpr just sends the file directly to the printer. As the printer probably doesnt support utf8 encoding out of the box it wont print it. You have to run it through a preprocessor first like postscript before u can print using lpr.

    Install the paps RPM then print using paps mytextfile.txt | lpr


  • Registered Users, Registered Users 2 Posts: 7,468 ✭✭✭Evil Phil


    Moved from programming development (even).


Advertisement