Re: lug-bg: Print PostScript File
- Subject: Re: lug-bg: Print PostScript File
- From: bogo@xxxxxxxxx (Ivan Bogoslovov)
- Date: Thu, 7 Nov 2002 11:51:40 +0200
Za6to ne opita6 sas
system("cat printMe.txt > /dev/lp0");
nqma na4in da ne sraboti.
----- Original Message -----
From: Valentin Valchev
To: lug-bg@xxxxxxxxxxxxxxxxxx
Sent: Wednesday, November 06, 2002 6:09 PM
Subject: Re: lug-bg: Print PostScript File
ami kupi si printer, kojto poddyrza postscript
---------------------------------------------------------------
ProSyst Bulgaria Ltd. Valentin Valchev
48 Vladajska Str. Project Manager
Sofia 1606, Bulgaria Dept: mBedded Server/Broadband
http://www.prosyst.com/ Phone: +359 (2) 9523581-107
---------------------------------------------------------------
Leading Software Technology for Open Service Gateways
----- Original Message -----
From: Valentin Tzankov
To: lug-bg@xxxxxxxxxxxxxxxxxx
Sent: 06 Íîåìâðè 2002 ã. 17:32
Subject: lug-bg: Print PostScript File
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
============================================================================
============================================================================
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
============================================================================
|