banjalukaforum.com https://banjalukaforum.com/ |
|
Ubuntu & Canon LBP-800 штампач https://banjalukaforum.com/viewtopic.php?f=16&t=47792 |
Stranica 1 od 1 |
Autoru: | kiovva [ 11 Feb 2010, 16:43 ] |
Tema posta: | Ubuntu & Canon LBP-800 штампач |
Људи, плаћам пиће оном ко натјера овај штампач да штампа под овим Линуксо... ;( Не знам више шта нисам пробао, али све је узалуд. Званично сам одустао од покушаја да самостално ријешим проблем и стога зовем упомоћ. Доброј души хвала унапријед ![]() |
Autoru: | kiovva [ 24 Feb 2010, 23:31 ] |
Tema posta: | Re: Ubuntu & Canon LBP-800 штампач |
Изгледа да сам успио ријешити проблем. Наиме, у терминалу сам упорно добијао следеће: Kod: kiovva@mrgud:~/jDownloads/lbp800-0.1.2$ make gcc -O2 -s -Wall \ errcapt.c bmcapt.c lbp800.c \ -l cups -o bin/Release/lbp800 bmcapt.c: In function ‘Bitmap_Skip’: bmcapt.c:50: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result bmcapt.c:53: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result bmcapt.c: In function ‘Bitmap_GetLine’: bmcapt.c:82: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result bmcapt.c: In function ‘CompressBitmap’: bmcapt.c:164: warning: format not a string literal and no format arguments bmcapt.c:178: warning: format not a string literal and no format arguments bmcapt.c:171: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result /usr/bin/ld: cannot find -lcups collect2: ld returned 1 exit status make: *** [lbp800] Error 1 kiovva@mrgud:~/jDownloads/lbp800-0.1.2$ Затим сам отишао у Synaptic и додао СВЕ пакете који су у себи имали cups-developer и cups-driver (тј. све што ме је асоцирало на то). Не знам који од њих је одрадио посао, али при поновном покушају сам добио следеће: Kod: kiovva@mrgud:~/jDownloads/lbp800-0.1.2$ make gcc -O2 -s -Wall \ errcapt.c bmcapt.c lbp800.c \ -l cups -o bin/Release/lbp800 bmcapt.c: In function ‘Bitmap_Skip’: bmcapt.c:50: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result bmcapt.c:53: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result bmcapt.c: In function ‘Bitmap_GetLine’: bmcapt.c:82: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result bmcapt.c: In function ‘CompressBitmap’: bmcapt.c:164: warning: format not a string literal and no format arguments bmcapt.c:178: warning: format not a string literal and no format arguments bmcapt.c:171: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result gcc -O2 -s -Wall \ errcapt.c pport.c timcapt.c llcapt.c pkcapt.c hlcapt.c parcapt.c \ -l cups -o bin/Release/parcapt parcapt.c: In function ‘PrintPage’: parcapt.c:76: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result parcapt.c:86: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result parcapt.c:91: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result parcapt.c: In function ‘PrintPages’: parcapt.c:134: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result parcapt.c: In function ‘main’: parcapt.c:195: warning: format not a string literal and no format arguments kiovva@mrgud:~/jDownloads/lbp800-0.1.2$ Након тога, Kod: kiovva@mrgud:~/jDownloads/lbp800-0.1.2$ sudo make install gcc -O2 -s -Wall \ errcapt.c bmcapt.c lbp800.c \ -l cups -o bin/Release/lbp800 bmcapt.c: In function ‘Bitmap_Skip’: bmcapt.c:50: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result bmcapt.c:53: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result bmcapt.c: In function ‘Bitmap_GetLine’: bmcapt.c:82: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result bmcapt.c: In function ‘CompressBitmap’: bmcapt.c:164: warning: format not a string literal and no format arguments bmcapt.c:178: warning: format not a string literal and no format arguments bmcapt.c:171: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result gcc -O2 -s -Wall \ errcapt.c pport.c timcapt.c llcapt.c pkcapt.c hlcapt.c parcapt.c \ -l cups -o bin/Release/parcapt parcapt.c: In function ‘PrintPage’: parcapt.c:76: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result parcapt.c:86: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result parcapt.c:91: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result parcapt.c: In function ‘PrintPages’: parcapt.c:134: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result parcapt.c: In function ‘main’: parcapt.c:195: warning: format not a string literal and no format arguments install -s -m a=rx bin/Release/lbp800 /usr/bin install -m a=rx lbp800-print /usr/bin install -m a=r ppd/Canon-LBP-800.ppd /usr/share/ppd/custom install -m a=rx foo2lbp800-wrapper /usr/bin install -m a=rx bin/Release/parcapt /usr/lib/cups/backend kiovva@mrgud:~/jDownloads/lbp800-0.1.2$ Када сам видио да је све ово прошло, пробао сам LPT: Kod: kiovva@mrgud:~/jDownloads/lbp800-0.1.2$ lpq Canon-LBP-800 is ready no entries kiovva@mrgud:~/jDownloads/lbp800-0.1.2$ lpstat -a -r -c -d -l Canon-LBP-800 accepting requests since Sun 21 Feb 2010 10:37:05 PM CET PDF accepting requests since Wed 24 Feb 2010 09:21:31 PM CET scheduler is running system default destination: Canon-LBP-800 kiovva@mrgud:~/jDownloads/lbp800-0.1.2$ Даље сам прошао процедуру са http://jeder.ru/?p=251, тако додавши .ppd и сада углавном ради. Одштампа више од 90% налога које му задам (повремено само провуче папир кроз штампач). Помогао ми је и овај линк: http://forums.opensuse.org/hardware/414331-canon-lbp800-install.html Хвала свима, и истичем chmilchi-ја, који ми је ископао онај руски линк. |
Stranica 1 od 1 | Sva vremena su u UTC [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |