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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

print pdf to pcl with gs orientation problem

Status
Not open for further replies.

dubbelpunt

Programmer
May 24, 2006
6
BE
Hi,

I have a pdf-file that contains portrait and landscape-pages. I convert this to pcl so i can print them on a canon from my HP-server.

To convert the pdf to pcl i'm using ghostscript. When the ocnversion is done, everything is converted to portrait.

Can anyone help me to or tell me how to solve this problem?
Thx,
 
If you know which page(s) are landscape, you would insert
a landscape code immediately after the CHR$(12) or ESC+E
for the page that is to be in landscape. Perhaps an easier
way would be to insert a esc &a90P for the landscape page
then esc &a0P for the portrait page. This is a rotate command. Now it wont work on PCL 3, so probably have to
have pcl 4 or above.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top