PrintRawData Method
|
Part | Description
|
Data | String expression specifying the raw data to print or printer commands to send to the printer.
|
|
FileName | (Optional). String expression specifying the file name from which the data or printer commands are to be retrieved and sent to the printer. Either Data or FileName (or both) can be specified. May be used with the SetPriorityToFile argument. See remarks below.
|
|
PrinterName | (Optional). String expression specifying the name of the printer to send the data to.
|
|
SetPriorityToFile | (Optional). A boolean value specifying whether to print the data specified in the Data argument before printing the file contents or vise versa, in case when both Data and FileName are specified (default is False, i.e. Data will be printed before file contents). See Remarks below.
|
|
LineFeedsBefore | (Optional). A number (Long) specifying howmany line feeds to send before printing the data, e.g. to advance the printing position on the paper (default is 0).
|
|
LineFeedsAfter | (Optional). A number (Long) specifying howmany line feeds to send after printing the data (default is 0).
|
|
SendFormFeed | (Optional). A boolean value specifying whether to send a FormFeed command to the printer after printing the data. If no FormFeed is sent to the printer, data will be printed and the printer head and paper will stop at the last printed character.
|
|
DocumentName | (Optional). String expression specifying the name of the document that will appear in the printer spooler.
|
|
OutputFileName | (Optional). String expression specifying the file name where the data will be printed as binary printer data, instead of sending the data to the actual printer. This is equivalent to the "Print to file" option in the Windows Print Dialog.
|
|
ErrorNumber | (Optional). A variant (Long) that returns the error number when an error occurs while printing the data. See also the Error event.
|
|
ErrorDescription | (Optional). A variant (String) that returns the error description when an error occurs while printing the data. See also the Error event.
|
|