Odp: HG553 Openwrt Luci problem z CUPS i Samsung ML-1670
Patrz faq na górze strony.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → HG553 Openwrt Luci problem z CUPS i Samsung ML-1670
Strony Poprzednia 1 2 3
Zaloguj się lub zarejestruj by napisać odpowiedź
Patrz faq na górze strony.
(...)
Bus 001 Device 001 Id 1d6b:0002 Linux Foundation 2,0 root hub
Bus 001 Device 001 Id 04e8:3313 Samsung Electronics Co., Ltd.
(...)
Nie wiem czy to ważne ale wcześniej przed cupsem miałem zainstalowane p910nd i próba drukowania z sieci kończyła się ruszeniem na chwile wałków drukarki ale na tym się kończyło a windows pokazywał bład druku
Ja testuję inny model drukarki i u mnie chodzi p910nd z drukarką ML-1860. Sprzęt podobnej klasy a nawet te same tonery. Różnica to więcej stron na minutę u mnie oraz szybszy procesor u mnie oraz koncówka PID-a. Robiłem wszystko wg opisu: PRINTSERWER.
U mnie wszystko standardowo wygląda, czyli nuda...
dmesg:
[ 1940.790000] usb 1-1: new high-speed USB device number 6 using ehci-platform
[ 1940.950000] usblp 1-1:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04E8 pid 0x330Croot@OpenWrt:~# cat /etc/config/p910nd
config p910nd
option device /dev/usb/lp0
option port 0
option bidirectional 1
option enabled 1Konfigurację klienta w Windows przeprowadziłem na tych sterownikach: ML-1670 rozpakowując plik .exe programem np. 7zip a dodanie sterownika wybrałem "Z dysku.." wskazując plik usp02 z rozpakowanego pliku. Po wszystkim wszedłem do "Dostosuj drukarkę" - zakładka "Opcje urządzenia" i zamieniłem Model drukarki z "Generic Mono Printer PCL6" na twoją "Samsung ML-1670 Series" i drukuje aż miło
(druk poziomo, pionowo, grafika, tylko nie drukowałem dokumentów po 500 stron).
EDIT. jeszcze logread po udanym wydruku:
Sat Apr 18 00:36:19 2015 lpr.notice p9100d[1303]: Connection from ::ffff:10.0.0.3 port 49696 accepted
Sat Apr 18 00:36:20 2015 lpr.notice p9100d[1303]: Finished job: 839184 bytes received, 0 bytes sentSpróbowałem też uruchomić drukarkę przez CUPS-a wg poradnika: CUPS
Niby jest OK:
root@OpenWrt:~# /usr/lib/cups/backend/usb
DEBUG: list_devices
DEBUG: libusb_get_device_list=2
DEBUG2: Printer found with device ID: MFG:Samsung;CMD:GDI,FWV,EXT;MDL:ML-1860 Series;CLS:PRINTER;STATUS:BUSY; Device URI: usb://Samsung/ML-1860%20Series?serial=Z5RMBKEB100070A.
direct usb://Samsung/ML-1860%20Series?serial=Z5RMBKEB100070A. "Samsung ML-1860 Series" "Samsung ML-1860 Series" "MFG:Samsung;CMD:GDI,FWV,EXT;MDL:ML-1860 Series;CLS:PRINTER;STATUS:BUSY;" ""ale po wykonaniu komendy niepokoją mnie linie 1,2,5,8,9,23,28:
root@OpenWrt:~# /etc/init.d/cupsd start
Sat Apr 18 12:57:30 2015 user.err syslog: Unknown directive MaxPrinterHistory on line 21.
Sat Apr 18 12:57:30 2015 user.err syslog: Will not use User root (UID=0) as specified on line 26 for security reasons. You must use a non-privileged account instead.
Sat Apr 18 12:57:30 2015 user.info syslog: Listening to [v1.::]:631 (IPv6)
Sat Apr 18 12:57:30 2015 user.info syslog: Listening to 0.0.0.0:631 (IPv4)
Sat Apr 18 12:57:30 2015 user.warn syslog: "AuthClass Anonymous" is deprecated; consider removing it from line 46.
Sat Apr 18 12:57:30 2015 user.info syslog: Remote access is enabled.
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Loaded configuration file "/etc/cups/cupsd.conf"
Sat Apr 18 12:57:30 2015 lpr.notice cupsd[1526]: Group and SystemGroup cannot use the same groups.
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Resetting Group to "nobody"...
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Configured for up to 100 clients.
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Allowing up to 100 client connections per host.
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Creating CUPS default administrative policy:
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: <Policy default>
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: JobPrivateAccess default
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: JobPrivateValues default
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: SubscriptionPrivateAccess default
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: SubscriptionPrivateValues default
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: <Limit Create-Job Print-Job Print-URI Validate-Job>
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Order Deny,Allow
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: </Limit>
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: <Limit Send-Document Send-URI Cancel-Job Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Authenticate-Job CUPS-Get-Document>
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Order Deny,Allow
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Require user @OWNER @SYSTEM
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: </Limit>
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Order Deny,Allow
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: AuthType Default
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Require user @SYSTEM
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: </Limit>
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: <Limit All>
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Order Deny,Allow
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: </Limit>
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: </Policy>
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Full reload is required.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "texttops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "texttops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "texttops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "texttops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "texttops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "texttops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "texttops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "imagetops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "imagetops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "imagetops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "imagetops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "imagetops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "imagetops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "imagetops" not found.
Sat Apr 18 12:57:30 2015 lpr.err cupsd[1526]: Filter "imagetops" not found.
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Loading job cache file "/var/cache/cups/job.cache"...
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Full reload complete.
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Cleaning out old files in "/var/cups"...
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Cleaning out old files in "/var/cache/cups"...
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Listening to [v1.::]:631 on fd 4...
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Listening to 0.0.0.0:631 on fd 6...
Sat Apr 18 12:57:30 2015 lpr.info cupsd[1526]: Resuming new connection processing...Czy to normalny logread, czy coś zmienili i nikomu nic nie powiedzieli?
Manual w dłoń i konfiguruj zgodnie z bieżącą wersją.
Już wszystko działa jak trzeba na p91nd. Zainstalowałem sterowniki drukarki z linku który podał mar_w i wszystko ruszyło od "strzała". Do tej pory używałem sterowników z płyty która była dołączona do drukarki - jak widać coś z nimi było nie tak.
Podsumowując,
Instalujemy pn91nd wg poradniów z tego forum.
Windowsa konfigurujemy wg opisu na openwrt
Windows 2000/XP/Vista
The following instructions should work on all versions of windows from 2000 onwards, and have been tested in both Windows 2000 and Windows Vista.
Install your printer software as you would if it were a local printer.
Go to your printer properties in the control panel/printer settings.
Select the tab "Ports".
Select "Add Port".
Select "Standard TCP/IP Port" and click on "New Port…".
Follow the wizard. In the field "Printer Name or IP Address", enter the IP address of your router.
Windows will send a couple of UDP packets to port 161 of the Router. You can safely discard them.
You will need to select a Device Type. Select "Custom" and click "Settings…".
Be sure the protocol is "Raw" and the port number is correct (i.e. 9100).
Finish the Settings wizard and close the Add Port window. The newly created Port should now be selected.
You printer should be configred now. Be sure that your firewall allows communication to the chosen port.
You may print a test page to see if all went well.
i robimy tak jak napisal mar_w
a konfigurację klienta w Windows przeprowadziłem na tych sterownikach: ML-1670rozpakowując plik .exe programem np. 7zip a dodanie sterownika wybrałem "Z dysku.." wskazując plik usp02 z rozpakowanego pliku. Po wszystkim wszedłem do "Dostosuj drukarkę" - zakładka "Opcje urządzenia" i zamieniłem Model drukarki z "Generic Mono Printer PCL6" na twoją "Samsung ML-1670 Series"
i to tyle,
Dzięki mar_w
przetestuje jeszcze cupsa i dam znac co i jak
Spróbowałem uruchomić to na CUPS-ie. Udało mi się tylko wydrukować plik tekstowy z Word-a z jakimiś obrazkami z galerii WordArt Kształty oraz SmartArt. Na wydruk czekałem dosyć długo a była to tylko jedna strona. Zdjęć z "Przeglądarki obrazów" nie drukuje.
Myślę, że trzeba sobie skompilować plik rastertospl dla architektury ar71xx. Bo w paczce jest tylko dla i386, x86_64, oraz arm.
Witam,
chciałem spróbować powalczyć z CUPS vs HP LJ1020.
Przeglądnąłem repozytoria eko.one i w żadnej wersji softu nie znalazłem paczki CUPS.
Zostały usunięte czy ja źle patrzę?
Dokładnie, chodzi mi o brcm63xx - dowolny soft.
Nie ma cupsa w obecnych wydaniach, nikt się nie opiekował pakietem i wyleciał z 5 lat temu.
Strony Poprzednia 1 2 3
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → HG553 Openwrt Luci problem z CUPS i Samsung ML-1670
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc