Solved

Printer programming... where to?

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

746 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

11 Experts available now in Live!

Get 1:1 Help Now