8086 assembly language

how to change to use printer in law level lang.

Page 1 of 1

4 Replies - 3147 Views - Last Post: 19 September 2010 - 07:01 AM

#1 sarahsosh   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 21-August 08

8086 assembly language

Posted 17 September 2010 - 02:09 PM

i need to write an assembly program to deal with a printer, i have used the related DOS interrupt routine for the printer but in fact i can't understand when i use the service called "write" if i print every character and call that service in a loop until the required file to be printed is finished or to just to send the printer the starting address of the buffer that contains the statement to be printed???
Is This A Good Question/Topic? 0
  • +

Replies To: 8086 assembly language

#2 macosxnerd101   User is offline

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12324
  • View blog
  • Posts: 45,424
  • Joined: 27-December 08

Re: 8086 assembly language

Posted 17 September 2010 - 02:40 PM

Moved to Assembly.
Was This Post Helpful? 0
  • +
  • -

#3 calvinthedestroyer   User is offline

  • D.I.C Lover

Reputation: 172
  • View blog
  • Posts: 1,932
  • Joined: 13-October 07

Re: 8086 assembly language

Posted 18 September 2010 - 08:42 PM

What is this Service called "write"? I don't remember any write instruction in assembly.

Can you post your program code please?
Was This Post Helpful? 0
  • +
  • -

#4 no2pencil   User is online

  • Professor Snuggly Pants
  • member icon

Reputation: 6644
  • View blog
  • Posts: 30,936
  • Joined: 10-May 07

Re: 8086 assembly language

Posted 18 September 2010 - 08:44 PM

View Postsarahsosh, on 17 September 2010 - 03:09 PM, said:

to deal with a printer


You can't just open com1 as a file & copy junk to the file with carriage return & line feed?
Was This Post Helpful? 0
  • +
  • -

#5 metalman_lsp   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 03-June 07

Re: 8086 assembly language

Posted 19 September 2010 - 07:01 AM

What kind of printer are you using, you should be aware that you may have to study the printers native printing language
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1