Solved

printing

Posted on 2000-04-28
2
164 Views
Last Modified: 2010-04-15
How do you print to a network printer or to 2 printers at a time ?  easily???

I know stdprn goes to lpt1 so how do you do it to a non lpt like in my example??

Craig
0
Comment
Question by:csindorf
2 Comments
 
LVL 10

Accepted Solution

by:
rbr earned 30 total points
Comment Utility
Which OS, how are the printer accessable,...

In general you can open a printer with

fp=fopen ("/dev/lpx","r");

or
fp=fopen ("lptx:","r");


if the printer has a device assigned.
0
 

Author Comment

by:csindorf
Comment Utility
Thanks
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
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…
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.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

743 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

15 Experts available now in Live!

Get 1:1 Help Now