![]() |
|
|
|
|
|||||||
| 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 |
| landscape printing | ppass | SUN Solaris | 3 | 01-07-2005 12:46 AM |
| lpr landscape | squeakywheel | UNIX for Dummies Questions & Answers | 1 | 09-02-2004 07:33 AM |
| landscape print in Liunx | larry | UNIX for Dummies Questions & Answers | 2 | 10-11-2002 09:01 AM |
| How to print a text file in landscape | yxiao | UNIX for Dummies Questions & Answers | 5 | 06-20-2002 03:21 PM |
| I print reports that are landscape | skammer | UNIX for Advanced & Expert Users | 4 | 02-28-2002 08:15 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
printing an xml file in landscape
Hey all,
This is probably a stupid question but I can't seem to find the answer I need anywhere. I have an XML file that I need to be able to print in landscape because the text goes off the page when I try to print in portrait. I can't find a way to do this using lp. I understand, from my limited research, that there is some way to tell the printer how to do this but I'm not sure how. I'm using SCO_SV 3.2 i386 Unix and my printer is a LaserJet 3800 dn. Any advice? Help is greatly appreciated! Thanks! |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
The fmt command will split lines up to resonable sizes:
Code:
fmt -w 80 myfile.xml | lp Otherwise just use fmt. Going to landscape mode requires some knowledge about your printer and it's setup. Sometimes you can embed an escape sequence at the start of a file to put the printer in landscape mode. Consult your printer manual. lp -l <option> may be available for your system as well. Ask your sysadmin how to use it. Last edited by jim mcnamara; 08-28-2007 at 09:25 AM. |
|||
| Google The UNIX and Linux Forums |