Positions the printer so that at least the next n NumLines are printed together with no page break.
[Visual Basic]
Public Function NoOrphan( _
ByVal NumLines As UInt32,_
ByVal om As OrphanMode _
) As Integer
[C#]
public intNoOrphan(
uint NumLines OrphanMode om
);
NumLines
Indicates the number of lines to be printed together. Dependent upon the OrphanMode to be used.
om
Mode to use to leave NumLines at the bottom, or print at least NumLines on the same page.
Positive return indicates that the command was executed successfully.
Negative value indicates that the method was called before Open, or after Close or Cancel.
Zero indicates that the printer is incapable of this function. The printer is incapable if the PrintableLines attribute in the XML configuration file is set to 0 or if no value was specified for PrintableLines.