![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| printing problems... | petrofyed | AIX | 1 | 09-18-2006 09:47 PM |
| lpq, lpr and printing problems | maria_iris | UNIX for Dummies Questions & Answers | 1 | 11-30-2005 09:44 PM |
| Printing Problems with SCO 5.0 | Jessie Nand | SCO | 1 | 09-07-2005 07:51 AM |
| Printing Problems | bobmcgee | UNIX for Dummies Questions & Answers | 2 | 07-20-2002 04:59 PM |
| Printing Problems in unix ... ( Bar-cdoe - Ip Printing) | QuickSilver | UNIX for Advanced & Expert Users | 3 | 06-04-2002 07:48 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
I am not able to print plain text in a correct manner.
When I issue the command "lp -ddestination_printer myfile.txt" the printer prints a page with the following contents: Feb 24 11:26 2005 myfile.txt Page 1 ## Configured using SAM by root on Tue The line beginning with "##" appears just behind and below the "1" (I was not able to edit it as it appears on paper). The rest is blank I configured the printer for a HP-UX/Oracle system using SAM. Printing PS is OK, but when I try to print plain text, NO WAY. I guess it has something to do with the printer configuration file and with a failure to handle the carriage return... Thank you for your help!! |
| Forum Sponsor | ||
|
|
|
|||
|
you may want to try this:
#>tr -d '\r' < textfile > newtextfile If that still doesn't work, look at the text file using cat -vt If either don't help, you may need to define a startup.ps which appends a PS header to the file. Cheers, LePiaf |
|||
| Google The UNIX and Linux Forums |