Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-23-2003, 08:43 PM   #1
LQ Newbie
Registered: Jul 2003
Location: Hull, Quebec in Canada
Distribution: redhat 7.3
Posts: 1

Rep: Reputation: 0
Printing a file

I am having a problem printing a file that I copied from a unix machine. It is a simple file that was written using the vi editor. All of the text gets printed alright, the only problem is that the file contains tags that are used by the printer, ^[(s7B (bold on) for example. The problem is that somewhere between the linux machine and the printer the ascii code ^[ turns into
(the tag becomes (s7B). The printer doesn't recognise this and it gets printed out as regular text.

I am completely lost on this.
Can anyone help me or explain what or why this is happening?

Jason Fournier
Old 07-24-2003, 10:03 AM   #2
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
You are printing from windows?...if so,
unix2dos <filename> then copy to the windows machine.

Edit: Oops, no you are printing from linux. I have never seen this and I transfer a lot from Solaris to Linux and print. Try vi'ing it in linux and then rewrite. :edit


Last edited by RolledOat; 07-24-2003 at 10:05 AM.


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
Printing a new file over the old file using cat mrobertson Programming 4 07-07-2005 10:18 AM
[c shell] printing out each line in a file saiz66 Programming 4 10-12-2004 08:15 AM
Printing: What do I do with my PPD file in CUPS? Magnabrau Slackware 2 07-18-2004 04:57 PM
printing an info file ttilt Linux - General 2 06-16-2004 12:29 PM
Printing Postscript file yenonn Linux - General 1 05-04-2003 11:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration