IADsPrintQueue Property: Datatype

Property Name
Datatype

Property Type
String

Description
Gets and sets the type of data that can be processed by the queue (for instance, "RAW"). This field determines how the print queue treats a print job. A "RAW" data type would mean that the print job is treated as a stream of bytes without formatting information . Possible values are RAW, RAW(FF appended), RAW (FF auto), NT EMF 1.003 and TEXT.

Example

Dim PrintQueue As IADsPrintQueue
'Get the interface
Set PrintQueue = GetObject ("NTDS://MSFT/MOON/HP DeskJet 500C")
'Get Datatype property
Debug.Print PrintQueue.Datatype
'Set the Datatype property
PrintQueue.Datatype = "RAW"
'Commit the changes
PrintQueue.SetInfo

 

See Also