The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: tallgeese84 on April 28, 2005, 10:28:18 PM

Title: Initializing print process?
Post by: tallgeese84 on April 28, 2005, 10:28:18 PM
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? 

Title: Re: Initializing print process?
Post by: MichaelW on April 29, 2005, 01:19:52 AM
AFAIK this method will not work for a Windows-only printer, even if it is connected via a parallel port.
Title: Re: Initializing print process?
Post by: thomasantony on April 30, 2005, 02:05:49 AM
Hi,
It won't work for someone with a USB printer(like me?)

Thomas :U