XpEndJob(3Xp)

🌸 NAME 🌸

okay so bestie, meet XpEndJob(3Xp) from the XPRINT FUNCTIONS section β€” this iconic little function indicates the ending of a single print job, and it is literally giving closure πŸ’…βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

cc [ flag... ] file... -lXp [ library... ]
#include <X11/extensions/Print.h>

void XpEndJob ( display )
      Display *display;

πŸŽ€ ARGUMENTS πŸŽ€

  • display β€” Specifies a pointer to the Display structure; returned from XOpenDisplay. 🫢

πŸ’– DESCRIPTION πŸ’–

XpEndJob signals the end of a print job. Any accumulated print data that remains is either sent to the printer or made available to XpGetDocumentData. πŸ“¨βœ¨

For clients selecting XPPrintMask (see XpSelectInput), the event XPPrintNotify will be generated with its detail field set to XPEndJobNotify when the X Print Server has completed the request. πŸ‘‘

πŸ’€ DIAGNOSTICS πŸ’€

  • XPBadContext β€” A valid print context-id has not been set prior to making this call. 😭
  • XPBadSequence β€” The function was not called in the proper order with respect to the other X Print Service Extension calls. (Example, XpEndDoc prior to XpStartDoc.) 🫠

🌈 SEE ALSO 🌈

  • XpGetDocumentData(3Xp)
  • XpSelectInput(3Xp)
  • XpStartJob(3Xp)

mwah πŸ’‹ this page is serving X Version 11, libXp 1.0.4, and the signature XpEndJob(3Xp) πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from