|
Re: lug-bg: Print PostScript File
- Subject: Re: lug-bg: Print PostScript File
- From: v_valchev@xxxxxxxxxx (Valentin Valchev)
- Date: Wed, 6 Nov 2002 18:09:30 +0200
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
============================================================================
|
|
|