LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
Printing a file


Hello,
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?

Thanks
Jason Fournier
 
Old 07-24-2003, 11:03 AM   #2
RolledOat
Member
 
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

RO

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


Reply


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


All times are GMT -5. The time now is 08:32 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration