skip to main content

Library Routines : P$ : P$GETDEVICECAPABILITIES

P$GETDEVICECAPABILITIES
The P$GETDEVICECAPABILITIES returns some information about the current printing device.
Syntax 1
 CALL "P$GETDEVICECAPABILITIES" USING deviceCaps
Parameters
01 DeviceCapabilities.
   02  DC-DriverVersion   pic 9(10Binary(4).
   02  DC-TechnologyValue pic 9     Binary(4).
   02  DC-HorzSize        pic 9(10Binary(4).
   02  DC-VertSize        pic 9(10Binary(4).
   02  DC-HorzRes         pic 9(10Binary(4).
   02  DC-VertRes         pic 9(10Binary(4).
   02  DC-LogPixelsX      pic 9(10Binary(4).
   02  DC-LogPixelsY      pic 9(10Binary(4).
   02  DC-AspectX         pic 9(10Binary(4).
   02  DC-AspectY         pic 9(10Binary(4).
   02  DC-AspectXY        pic 9(10Binary(4).
   02  DC-PhysicalWidth   pic 9(10Binary(4).
   02  DC-PhysicalHeight  pic 9(10Binary(4).
   02  DC-PhysicalOffsetX pic 9(10Binary(4).
   02  DC-PhysicalOffsetY pic 9(10Binary(4).
   02  DC-ScalingFactorX  pic 9(10Binary(4).
   02  DC-ScalingFactorY  pic 9(10Binary(4).
Note - DC-DriverVersion, Dc-ScalingFactorX and DC-ScalingFactorY are always zero, while DC-TechnologyValue is always 2.
Syntax 2
 CALL "P$GETDEVICECAPABILITIES" USING settingName1, settingValue1 
Parameters

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left