Share via


ElectronicJournal.PrintContentFile Method

2/27/2008

Prints the journal document from the specified file onto the connected printer.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Sub PrintContentFile ( _
    fileName As String _
)
public abstract void PrintContentFile (
    string fileName
)
public:
virtual void PrintContentFile (
    String^ fileName
) abstract
public abstract void PrintContentFile (
    String fileName
)
public abstract function PrintContentFile (
    fileName : String
)

Parameters

  • fileName
    Name of the file that contains printing data.

Remarks

Prints the journal document from the specified file onto the connected printer.

This method is performed synchronously if AsyncMode is false, and asynchronously if AsyncMode is true.

When they are performed asynchronously, the results are stored an OutputCompleteEvent event. If method fails or the OutputCompleteEvent event cannot be delivered, the ErrorEvent event is raised.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

ElectronicJournal Class
ElectronicJournal Members
Microsoft.PointOfService Namespace
AsyncMode
PrintContent
CapPrintContentFile
SuspendPrintContent
ResumePrintContent