Command Reference Guide for Software Developers

Table Of Contents
CHAPTER 2 PCL - 3
4.2.5.
HP-GL/2 graphics window .................................................................................................................... 32
4.2.6. Portrait page dimensions ...................................................................................................................... 33
4.2.7. Landscape page dimensions ................................................................................................................ 35
4.2.8. Coordinates ........................................................................................................................................... 37
4.2.9. Units ...................................................................................................................................................... 37
4.2.10. Unit of measure ..................................................................................................................................... 37
4.2.11. Setting the left and right margins .......................................................................................................... 37
4.2.12. Resetting the horizontal margins .......................................................................................................... 38
4.2.13. Setting the top margin ........................................................................................................................... 38
4.2.14. Setting the vertical motion index (VMI) ................................................................................................. 39
4.2.15. Setting the horizontal motion index (HMI) ............................................................................................. 39
4.2.16. Setting line spacing ............................................................................................................................... 40
4.2.17. Text length ............................................................................................................................................ 40
4.2.18. Page length ........................................................................................................................................... 41
4.2.19. Perforation skip ..................................................................................................................................... 41
4.2.20. Positioning the cursor ........................................................................................................................... 42
4.2.21. Vertical positioning ................................................................................................................................ 42
4.2.22. Horizontal position ................................................................................................................................ 43
4.2.23. Positioning the cursor using control codes ........................................................................................... 44
4.2.24. Using the cursor position stack ............................................................................................................. 44
4.2.25. Half line feed ......................................................................................................................................... 45
4.2.26. Logical page orientation ........................................................................................................................ 45
4.2.27. Text direction ......................................................................................................................................... 45
5. USING FONTS ................................................................................................................... 47
5.1. Introduction ............................................................................................................................... 47
5.1.1. Font types ............................................................................................................................................. 47
5.1.2. Bitmap fonts .......................................................................................................................................... 47
5.1.3. Scalable fonts ........................................................................................................................................ 47
5.1.4. Bound fonts ........................................................................................................................................... 49
5.1.5. Unbound fonts ....................................................................................................................................... 49
5.1.6. Font sources ......................................................................................................................................... 49
5.1.7. Internal fonts ......................................................................................................................................... 49
5.1.8. Card/cartridge fonts .............................................................................................................................. 49
5.1.9. Downloadable fonts .............................................................................................................................. 49
5.1.10. Primary and secondary fonts ................................................................................................................ 50
5.1.11. Specifying the primary font ................................................................................................................... 50
5.1.12. Specifying the secondary font ............................................................................................................... 50
5.1.13. Selecting the default fonts ..................................................................................................................... 50
5.1.14. Switching between the primary and secondary fonts ........................................................................... 50
5.1.15. Criteria for font selection ....................................................................................................................... 51
5.1.16. Symbol set ............................................................................................................................................ 51
5.1.17. Symbol collections ................................................................................................................................ 51
5.1.18. Type of character spacing ..................................................................................................................... 51
5.1.19. Pitch ...................................................................................................................................................... 51
5.1.20. Height .................................................................................................................................................... 51
5.1.21. Style ...................................................................................................................................................... 51
5.1.22. Stroke weight ........................................................................................................................................ 52
5.1.23. Typeface ............................................................................................................................................... 52
5.2. Font Selection Commands ........................................................................................................ 53
5.2.1. User-defined symbol sets ..................................................................................................................... 53
5.2.2. Symbol set ID code command .............................................................................................................. 53
5.2.3. Define symbol set ................................................................................................................................. 53
5.2.4. Symbol set control command ................................................................................................................ 55