Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
javax.print.event

Class PrintJobEvent

  • All Implemented Interfaces:
    Serializable

    public class PrintJobEvent
    extends PrintEvent
    Class PrintJobEvent encapsulates common events a print job reports to let a listener know of progress in the processing of the DocPrintJob.
    See Also:
    Serialized Form
    • Field Detail

      • JOB_COMPLETE

        public static final int JOB_COMPLETE
        The document cis completely printed.
        See Also:
        Constant Field Values
      • JOB_FAILED

        public static final int JOB_FAILED
        The print service reports that the job cannot be completed. The application must resubmit the job.
        See Also:
        Constant Field Values
      • REQUIRES_ATTENTION

        public static final int REQUIRES_ATTENTION
        The print service indicates that a - possibly transient - problem may require external intervention before the print service can continue. One example of an event that can generate this message is when the printer runs out of paper.
        See Also:
        Constant Field Values
      • NO_MORE_EVENTS

        public static final int NO_MORE_EVENTS
        Not all print services may be capable of delivering interesting events, or even telling when a job is complete. This message indicates the print job has no further information or communication with the print service. This message should always be delivered if a terminal event (completed/failed/canceled) is not delivered. For example, if messages such as JOB_COMPLETE have NOT been received before receiving this message, the only inference that should be drawn is that the print service does not support delivering such an event.
        See Also:
        Constant Field Values
      • DATA_TRANSFER_COMPLETE

        public static final int DATA_TRANSFER_COMPLETE
        The job is not necessarily printed yet, but the data has been transferred successfully from the client to the print service. The client may free data resources.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PrintJobEvent

        public PrintJobEvent(DocPrintJob source,
                     int reason)
        Constructs a PrintJobEvent object.
        Parameters:
        source - a DocPrintJob object
        reason - an int specifying the reason.
        Throws:
        IllegalArgumentException - if source is null.
    • Method Detail

      • getPrintEventType

        public int getPrintEventType()
        Gets the reason for this event.
        Returns:
        reason int.
      • getPrintJob

        public DocPrintJob getPrintJob()
        Determines the DocPrintJob to which this print job event pertains.
        Returns:
        the DocPrintJob object that represents the print job that reports the events encapsulated by this PrintJobEvent.

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-javax/print/event/printjobevent.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut