Solved

Printer programming... where to?

Posted on 1998-10-23
3
271 Views
Last Modified: 2011-10-03
Hi,

Basically I have a program in VC1.52 communicating with a Olivetti PR/50 through COM port by sending command codes.
I have a newer printer that doesn't respond to any printing request although I can detect it and reset it. So it might be that the sequence of the command codes is not valid anymore. Barring any physical printer problems, what do u suggest I do? I know it is a little vague but perhaps there could be some sites that may be of help to me... or some of your experiences.. !

Thanks.

0
Comment
Question by:Haho
3 Comments
 
LVL 3

Expert Comment

by:danny_pav
ID: 1253769
avoid this problem by printing the windows way:
install the necessary drivers for the printer, then it is like any other device.
then print to a device context and the driver does the translation.
this will allow you to switch printers easily without altering/recompiling your code

0
 
LVL 1

Author Comment

by:Haho
ID: 1253770
I would like to but it has to be done that particular way.....
0
 
LVL 11

Accepted Solution

by:
mouatts earned 60 total points
ID: 1253771
Try printing a plain text file from DOS. If this works then it suggests that the command codes are your problem. Then it is just a matter of methodically checking each one used.

If printing from DOS doesn't work then it suggests that the problem lies in the driver.


0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now