Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,156 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,122 people online right now. Registration is fast and FREE... Join Now!




How to write programs for printers in C, C++

 
Reply to this topicStart new topic

How to write programs for printers in C, C++, Help me to write a simple programs for printers using C, C++

Ashok1974
6 Dec, 2007 - 01:43 AM
Post #1

New D.I.C Head
*

Joined: 6 Dec, 2007
Posts: 1


My Contributions
Hi, Please help me to write a simple programs for printers using C, C++ blink.gif
User is offlineProfile CardPM
+Quote Post

htsh_shrm
RE: How To Write Programs For Printers In C, C++
6 Dec, 2007 - 03:13 AM
Post #2

New D.I.C Head
*

Joined: 18 Oct, 2007
Posts: 25



Thanked: 1 times
My Contributions
you can do programming for printer using interrupt 17 in the int86 function...........just check out the values for various registers which are required for input for carrying out specific jobs.
you can get all those list by making a search on google.com
jus enter ralf browns interrupt list
& the nxt thing will your skills...........
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: How To Write Programs For Printers In C, C++
6 Dec, 2007 - 06:53 AM
Post #3

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,442



Thanked: 66 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
On Linux, I simply use fopen /dev/lpt0 & write to it like a file. However, you must use both \n & \r.
User is online!Profile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/1/08 11:19PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month