Solved

Printer programming... where to?

Posted on 1998-10-23
3
279 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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…
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 recursion in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.

777 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