|
lug-bg: Print PostScript File
- Subject: lug-bg: Print PostScript File
- From: vtzankov@xxxxxxxxxxx (Valentin Tzankov)
- Date: Wed, 06 Nov 2002 10:32:00 -0500
Opitvam se da napisha programa kojato da izprashta postscript file na printera
izpolzvajki
slednija code.
int fd = open("/dev/lp0", O_WRONLY);
write ( fd, buffer, beffer_length);
close(fd);
no printera ne razbira che e posscript i petchata tzelija script,
v systoto vreme kato zapisha scripta vyv file(printMe.txt) i napisha
cat printMe.txt > /dev/lp0
vsichko e nared
Njakoj da ima njakakva idea, kakvo byrkam.
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|