Skip to main content

Hello. In my point of sales software, the invoice header is a .bmp which I print with the instruction. Only today on a pc my program does STOP RUN at line? in program P $ DRAWBITMAP (). I have tested the program on all PCs and only on that one does the error occur. I have verified that the .bmp file exists and replaced it with a fresh file. The problem has continued. I have uninstalled and installed rmcobol cobol version 12.17 and the problem continues. All this leads me to think that there is a problem with Windows 10 and rmcobol, can someone help me to know what is happening?

27321 CALL "P$DrawBitmap" USING "milogo.bmp",
27322 IZQUIERDO, TOPE, "Absolute", "Inches",
27323 ANCHO, ALTO, "Inches"
27324 WRITE REG-SAL FROM SPACES AFTER
27325 ADVANCING 1 LINES.

Microsoft has now realized that there are more printing issues, and these appear to cover what we are seeing.  Here's some info:

https://www.bleepingcomputer.com/news/microsoft/microsoft-warns-of-more-printing-issues-caused-by-march-updates/ 

Quoting from the article:

The printing issues highlighted by Microsoft include :

  • Elements of the document might print as solid black/color boxes or might be missing, including barcodes, QR codes, and graphics elements, such as logos.
  • Table lines might be missing. Other alignment or formatting issues might also be present.
  • Printing from some apps or to some printers might result in a blank page or label.

Microsoft is working on a fix for these issues and will provide a solution during the coming days.

 

So we have to wait Microsoft to fix this problem, hοping to be soon.

Thanks a lot


So we have to wait Microsoft to fix this problem, hοping to be soon.

Thanks a lot

Good morning, Microsoft has already solved the problem and already has an update that solves the problem, although the automatic update fails if the emergency can be downloaded and installed by hand.

So we have to wait Microsoft to fix this problem, hοping to be soon.

Thanks a lot

Yes -- there is no work-around because Windows is returning an error code when an image is rendered onto the page. If we ignore the error, it won't help as that simply prints the page without the image.

UPDATE: ON EXCEPTION will not catch this error, which is an operation that should not ever fail.

Microsoft says the fix will be available in a matter of days.


Hello. In my point of sales software, the invoice header is a .bmp which I print with the instruction. Only today on a pc my program does STOP RUN at line? in program P $ DRAWBITMAP (). I have tested the program on all PCs and only on that one does the error occur. I have verified that the .bmp file exists and replaced it with a fresh file. The problem has continued. I have uninstalled and installed rmcobol cobol version 12.17 and the problem continues. All this leads me to think that there is a problem with Windows 10 and rmcobol, can someone help me to know what is happening?

27321 CALL "P$DrawBitmap" USING "milogo.bmp",
27322 IZQUIERDO, TOPE, "Absolute", "Inches",
27323 ANCHO, ALTO, "Inches"
27324 WRITE REG-SAL FROM SPACES AFTER
27325 ADVANCING 1 LINES.

Hello everyone. I have had difficult days as many people call me every morning to tell me that the problems related to BMP printing continue. Finally I have decided to use the windows option that blocks updates for 7 days. I would have liked it to be for a year, but it is not. If you are experiencing the same problems as me, then it is time to block windows updates for 7 days and reschedule it every 7 days. Hope I get a solution soon.


Hello everyone. I have had difficult days as many people call me every morning to tell me that the problems related to BMP printing continue. Finally I have decided to use the windows option that blocks updates for 7 days. I would have liked it to be for a year, but it is not. If you are experiencing the same problems as me, then it is time to block windows updates for 7 days and reschedule it every 7 days. Hope I get a solution soon.

Greetings, 
Microsoft already has an update that solves the problem,

it is KB5001649
it must be located in optional updates.

Good morning, Microsoft has already solved the problem and already has an update that solves the problem, although the automatic update fails if the emergency can be downloaded and installed by hand.

Thanks!  I am not being offered this update yet, even in optional updates, but I was able to download it and install it from here:

https://support.microsoft.com/en-us/topic/march-18-2021-kb5001649-os-builds-19041-870-and-19042-870-out-of-band-ebbe0617-3a63-467a-aaaa-2a4c68a6de33  

For Windows 10 2004 and 20H2, the direct download page:

https://www.catalog.update.microsoft.com/Search.aspx?q=KB5001649 

I can confirm that it fixes the P$DRAWBITMAP problem.  Yay!


Thanks!  I am not being offered this update yet, even in optional updates, but I was able to download it and install it from here:

https://support.microsoft.com/en-us/topic/march-18-2021-kb5001649-os-builds-19041-870-and-19042-870-out-of-band-ebbe0617-3a63-467a-aaaa-2a4c68a6de33  

For Windows 10 2004 and 20H2, the direct download page:

https://www.catalog.update.microsoft.com/Search.aspx?q=KB5001649 

I can confirm that it fixes the P$DRAWBITMAP problem.  Yay!

Hi everybody,

Thanks for the solution regarding Windows 10.

Do anybody know what is the update for Windows server 2012 R2 ?


Hi everybody,

Thanks for the solution regarding Windows 10.

Do anybody know what is the update for Windows server 2012 R2 ?

According to Microsoft, KB5001649 should also address this issue on Windows Server 2012 R2:

https://docs.microsoft.com/en-us/windows/release-health/resolved-issues-windows-10-20h2#1573msgdesc 

And, the patch update packages for affected Windows Server operating systems should be available on the Microsoft Update Catalog direct link page:

https://www.catalog.update.microsoft.com/Search.aspx?q=KB5001649 

However, you will need to download the package for the version(2004 or 20H2), which, matches that of your operating system.

You can obtain Windows version information either with the "winver" command, or, by following the instructions provided on the following Microsoft support page:

https://support.microsoft.com/en-us/windows/which-version-of-windows-operating-system-am-i-running-628bec99-476a-2c13-5296-9dd081cdd808#ID0EBBD=Windows_8.1 

 

**As a note; I have not verified any of this, as, I do not have access to a Windows Server 2012 R2 environment.