Skip to main content

PC_PRINTER_SET_FONT failed with RETURN-CODE 13

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

RETURN-CODE 13 means the font requested does not exist.

Resolution:

Make sure:

the font name is not misspelled

the font name is null-terminated (e.g. "Arial" & x"00")

the font name length defined in the call is correct

the font does exist

Windows is not set to use only the true type fonts when the font to be used in this call is a non-true type font (see KB #20533)

Old KB# 6874