Solved

Printer programming... where to?

Posted on 1998-10-23
3
301 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

687 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