*PDFDEFPRTNAME (SETMODE)


PLBWIN, 9.6D

*PDFDEFPRTNAME={ value }

 

This keyword assigns a specific Windows printer device that is used in place of default printer when rendering fonts for the *UNITS=*FONT operations during Sunbelt PDF output.

Example:

 

PF PFILE

UsrPrt INIT "Microsoft XPS Document Writer"

.

       PRTOPEN PF,"pdf:", "MyJob", PDFNAME="My.pdf"

       .....

. Set user printer used for font rendering to generate font metrics.

.

       SETMODE *PDFDEFPRTNAME=UsrPrt:

               *PDFDEFPRTMETRICS=1 //Turn on font rendering

.

       PRTPAGE PF; *FONT=">Arial", *UNITS=*FONT;

.

       PRTPAGE PF;*P10:15,"Print Data at column 10 row 15..."

       ...

 

 

See Also: List Controls (SETMODE), SETMODE

 



PL/B Language Reference *PDFDEFPRTMETRICS (SETMODE) *PDFDIALOGDIR (SETMODE)