1 / 7

HP PCL5 Printing

HP PCL5 Printing. Using Business Rules to create formatted forms. Formatting Print. Fonts Boxes Lines Shading. Fonts. Sources of Fonts Printer resident font Downloaded font Fixed size vs. Scalable Proportional vs. Fixed width. Load a Font and Assign Variable.

pembroke
Download Presentation

HP PCL5 Printing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HP PCL5 Printing Using Business Rules to create formatted forms

  2. Formatting Print • Fonts • Boxes • Lines • Shading

  3. Fonts • Sources of Fonts • Printer resident font • Downloaded font • Fixed size vs. Scalable • Proportional vs. Fixed width

  4. Load a Font and Assign Variable 03500 DEF LIBRARY FNLOADFONT$*50(NUMBER$,FONTCALL$*50;FONT$*100,FILENAME$*100) !: ! FILNUM = DYNAMICALLY SET STARTING AT 126 !: ! NUMBER$ = NUMBER OF "FONT$(#)" TO SET !: ! FONTCALL$ = ESCAPE CODE USED TO INVOKE FONT !: ! filename$ = FILE NAME TO USE AS AN INTERMEDIARY ! FONT$ = FILE NAME OF FONT TO LOAD

  5. Program Line to Print Text Box 01610 LET V=.75 !: LET H=1+1/2 !: LET BV=1/6 !: LET BH=5 !: LET SHADE=0 !: LET TV=0 !: LET TH=-1 !: LET FNPRINTBOX(127,V,H,BV,BH,SHADE,TV,TH,"Rabies Vaccination Certificate",11,FONT$(1))

  6. Print Shaded and Bordered Text Box 10170 LET V=V+BV !: LET H=5 !: LET BV=1/4 !: LET BH=2+3/8 !: LET SHADE=0 !: LET FNDRAWBOX(FILNUM,V,H,BV,BH,.01,SHADE) !: LET TV=.8*BV !: LET TH=.1 !: LET FNPRINTBOX(FILNUM,V,H,0,0,SHADE,TV,TH,"Federal ID#",CPI,F10$)

  7. Printing a Bar Graph with Bargraph.dll 01010 DEF LIBRARY FNBARGRAPH(MAT NAMES$,MAT AMT,MAT AMT$;BASEZERO) 01011 ! names$(1) = Main title !: ! names$(2) = Sub-title !: ! names$(3) = Y-axis title !: ! names$(4) = X-axis title !: ! names$(5) = Column 1 title !: ! names$(6) = Column 2 title !: ! names$(7) = Column 3 title …. 01014 ! amt(1) = data element 01016 ! mat amt$ = labels for each data element group (X Captions)

More Related