News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Initializing print process?

Started by tallgeese84, April 28, 2005, 10:28:18 PM

Previous topic - Next topic

tallgeese84

Hello,

Im having an issue with figuring out how to actually start the printer to print, lets say a string.  I was told you need to send a carriage return, line feed to the printer before it starts.  I have tried this with no success.  Here is what I was trying to do:

   mov   dx, 10
   mov   ah,05h         
   int   21h      

   mov   dx,13
   mov   ah,05h
   int   21h

Is this the correct way for doing this? 


MichaelW

AFAIK this method will not work for a Windows-only printer, even if it is connected via a parallel port.
eschew obfuscation

thomasantony

Hi,
It won't work for someone with a USB printer(like me?)

Thomas :U
There are 10 types of people in the world. Those who understand binary and those who don't.


Programmer's Directory. Submit for free