Highlighted
Absent Member.
Absent Member.
392 views

[archive] Win$printer

[Migrated content. Thread originally posted on 13 May 2005]

When i am using this library

CALL "WIN$PRINTER" USING WINPRINT-SET-SETTINGS
UTIMP-WINDOW-DEVICE GIVING IDX
WINPRINT-DATA
CALL "WIN$PRINTER" USING WINPRINT-GET-SETTINGS
UTSETIMP-SETUP GIVING IDX

my problem is under windows xp and windows 98 if a configure under window xp the printer it will not work under 98 and the opposite.
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

RE: [archive] Win$printer

This is expected behavior. What this opcode returns to you is a Windows internal datastructure known as DEVMODE. DEVMODE has one part that is static across all implementations, but it also contains a driver specific part. Although I cannot tell for sure, it is quite evident that there are different drivers for Win98 and WinXP. Thus, this opcode is not a good option in a mixed environment.
This behavior is a result of Microsoft Windows and its drivers, not ACUCOBOL-GT.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.