photo.app pdf print sequence

DevO 21 Reputation points
2022-03-23T09:02:42.833+00:00

Please inquire about the print sequence of photo.app included in ApplicationFrameHost.exe.

If you open a photo and print using the printer connected to the actual printer through photo.app, the print operation for StartDoc - Enddoc is done in splwow64.exe.

However, if you use save as pdf when printing, we ask you which process uses the print resources (startdoc, enddoc) when you print.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,195 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,511 Reputation points
    2022-03-29T13:51:30.9+00:00

    Hi @DevO

    So if you need how the print process works for a pdf file this is how it works . When an application program wants to begin using a printer, it first obtains a handle to the printer device context using CreateDC or PrintDlg. This causes the printer device driver library module to be loaded into memory (if it's not present already) and to initialize itself.

    The program then calls the StartDoc function, which signals the beginning of a new document. The StartDoc function is handled by the GDI module.

    The GDI module calls the Control function in the printer device driver, telling the device driver to prepare for printing.

    Hope this resolves your Query!!

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

    0 comments No comments

  2. DevO 21 Reputation points
    2022-03-30T00:57:43.08+00:00

    So what application is calling CreateDC or PrintDlg when you want to select output as pdf and start using the printer?

    Actually I can't confirm that startdoc - enddoc is called from any thread.

    0 comments No comments