Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing from IBM-AIX to HP4200

Status
Not open for further replies.

edp02

Technical User
Mar 27, 2007
2
RU
How can I print in landscape mode from IBM-AIX?
I used to work with SOLARIS and it was enough to type this:

lp -c -o landscape -d$PRN <MyFile>
 
You might need to send a PJL command to the printer via a file containing something like :

%-12345X@PJL DEFAULT ORIENTATION=LANDSCAPE
%-12345X

Insert the above in an editor and save it with no extension in binary format. Send it to the printer like a printjob.
 
Hello hpwizzard,

Thank you for your quick answer. Unfortunately, it does not work. I have several questions:

1) I use "vi" as my editor and I do not know how to save a file in binary format.

2) The characters "%-12345X". Must they be included in the file or is it your prompt?

3) The default setting of this printer is "PORTRAIT" with "FULL DUPLEX". I may disturb the other users if I change the settings.

Best regards
 
Maybe this link will help on the issue ? or
Like qprt -PQueueName FileName -z 1

Where -z Value Rotates page printer output the number of quarter-turns clockwise as specified by the Value variable. The length (-l) and width (-w) values are automatically adjusted accordingly.
0 -> Portrait
1 -> Landscape right
2 -> Portrait upside-down
3 -> Landscape left
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top