18 The Picture Frame

Introduction

When importing an existing HP-GL/2 file, or creating an HP-GL/2 image within an application, you use several PCL commands to set up the picture frame size, choose the picture frame location, and enter and exit HP-GL/2 mode. This chapter explains these PCL commands.

The following terms are used in this discussion:

Picture presentation directives are a group of PCL commands which:

zProvide the means to enter and exit HP-GL/2 context.

zDefine a delimiting rectangle for the graphic image.

zSpecify a scaling factor so existing HP-GL/2 graphics can be scaled and placed anywhere on the PCL logical page.

Picture frame refers to the destination rectangle when transferring HP-GL/2 graphics into the PCL logical page. The PCL picture frame size commands specify the size of the destination rectangle.

Picture frame scaling factor is the ratio of the size of the picture frame to the size of the source HP-GL/2 plot. There may actually be two scaling factors, one for the x direction and one for the

ydirection.

Picture frame anchor point refers to the upper left corner of the picture frame, which is set to the current active position (CAP) in the PCL environment at the time the picture frame anchor point command is executed.

EN

Introduction 18-1

Page 397
Image 397
HP 5961-0509 manual Picture Frame