set print layouts cs and xaml files

MacSlacky 61 Reputation points
2022-02-26T11:58:03.59+00:00

trivial question but I have not found any menu where to set it
I would like to define the print layout (header, body and end of page) for the cs and xaml files

to file - page setup I can define only
178082-image.png

in the various menus on tools - options I do not find anything related to the print settings

Windows for business | Windows Server | User experience | Print jobs
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 44,771 Reputation points
    2022-03-07T10:09:06.77+00:00

    Hello @MacSlacky

    You can define some of those printer settings in layout file information such as the explained in the next article:

    https://learn.microsoft.com/en-us/dotnet/api/system.drawing.printing.printdocument.defaultpagesettings?view=dotnet-plat-ext-6.0

    Hope this helps with your query,

    --
    --If the reply is helpful, please Upvote and Accept as answer--

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.