Solved

printing

Posted on 2000-04-28
2
167 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
ID: 2772787
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
ID: 2780950
Thanks
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Coverting 24 hour time to 12 hour in C++ 15 178
Grammars for C C++ and java 1 131
sameEnds challenge 3 180
gdb doesn't stop on breakpoint 2 95
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…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand and use pointers 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.

831 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