A
Andy Baker
Can anyone tell me how (if) I can print in coloured text, specifically red,
to an HP Officejet G85 printer from a DOS application. The application is
written in BASIC PDS 7.1 for DOS and the OS is MS DOS 6.22. I have tried
using a control sequence that I found on the HP web site for a HP Deskjet
series printer, by sending:
Chr$(27)+Chr$(42)+Chr$(118)+Chr$(49)+Chr$(50)+Chr$(83) before the text to be
printed, to set it to red, and Chr$(27)+Chr$(42)+Chr$(118)+Chr$(49)+Chr$(83)
afterwards, to set it back to black, but it doesn't have the correct effect.
A blank line is printed instead of the text, but it reverts to black
correctly after the second control sequence. Any help would be appreciated.
Andy Baker
to an HP Officejet G85 printer from a DOS application. The application is
written in BASIC PDS 7.1 for DOS and the OS is MS DOS 6.22. I have tried
using a control sequence that I found on the HP web site for a HP Deskjet
series printer, by sending:
Chr$(27)+Chr$(42)+Chr$(118)+Chr$(49)+Chr$(50)+Chr$(83) before the text to be
printed, to set it to red, and Chr$(27)+Chr$(42)+Chr$(118)+Chr$(49)+Chr$(83)
afterwards, to set it back to black, but it doesn't have the correct effect.
A blank line is printed instead of the text, but it reverts to black
correctly after the second control sequence. Any help would be appreciated.
Andy Baker