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 Server Printing
Windows Server Printing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Printing: Printer centralized deployment and management, scan and fax resources management, and document services
646 questions
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 43,996 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