Open nariox opened 11 years ago
This feature is built in to ubuntu, you just add a network printer, just open system-config-printer Server - > Settings Check the appropriate boxes, then add a network printer on the windows client if i were on xp and wanted to connect to the printer this would be the url http://10.0.0.50:631/printers/Deskjet-F4400-series you can get a url from adding the printer as a network printer on the server this way would be better than adding a feature like that to the scanner, since you can print anything here is a guide https://help.ubuntu.com/community/NetworkPrintingWithUbuntu
Hi, thank you for the fast response.
This is actually part of cups, not specific to Ubuntu (or even Linux), it is a nice feature, but it does have some limitations. For instance, if I want to print from laptop from the office, I would need to install the driver on that laptop, I know it is quite simple, but at the same time, it'd be nice if I could just send the pdf to the server and have it print it for me.
Another use that I've been looking at is printing pdfs from my phone. I know, I know, "who needs that?" right? I don't know, just wondering. I think it would be a nice addition for the php-scanner-server, but I agree that it is somewhat superfluous.
i know back when i used XP and i shared my printer there was a option to share it and require other systems to have drivers, there may be a Linux equivalent of this feature, since i don't use windows any more i never had a use for that do smart phones not support networked printing? there is a print button on the page when you scan something, then the browser uses the print function PHP has a max file upload size, so keep that in mind http://www.w3schools.com/php/php_file_upload.asp you can just save the file to /tmp then run the command with shell_exec then deleted the file you saved
My phone (Android 4.2) does not natively support printing (as far as I know). By selecting the cups-shared printer, I can do "driverless" printing (as long as I'm ok with not using some specific capabilities like automatic double-sided printing etc).
If I select that option, the browser loads the image I selected and issues a print command on my local machine (not on the server).
Pedro Nariyoshi
On Wed, Nov 21, 2012 at 9:44 AM, GM-Script-Writer-62850 < notifications@github.com> wrote:
i know back when i used XP and i shared my printer there was a option to share it and require other systems to have drivers, there may be a Linux equivalent of this feature, since i don't use windows any more i never had a use for that do smart phones not support networked printing? there is a print button on the page when you scan something, then the browser uses the print function
— Reply to this email directly or view it on GitHubhttps://github.com/GM-Script-Writer-62850/PHP-Scanner-Server/issues/4#issuecomment-10599396.
I would think you could change the default printer
Ok, i just found out what a PITA it is to print from a phone, this shall be done screenshot currently under development
Thanks for reconsidering it.
I have successfully been using AirPrint with https://github.com/tjfontaine/airprint-generate, but that only allows iStuff to print (useful for my wife, but not for me) There's also Google CloudPrint, but I don't like having my printer accessible by external users. ):
Needs some testing https://github.com/GM-Script-Writer-62850/PHP-Scanner-Server/commit/c009dbaae29aba5791e86afbda5119bf49222104 works here it does not seem to work with cups-pdf (it is a pdf printer)
Note the install_git_version script on the downloads section of the wiki https://github.com/GM-Script-Writer-62850/PHP-Scanner-Server/wiki/Downloads the update script supports updating to the git version IIRC
made some adjustments, still need to add a double sided printing option https://github.com/GM-Script-Writer-62850/PHP-Scanner-Server/commit/1ef89b563c9cf1073d68215b9c99b1d537a8ceb9#diff-3
*double sided printing is probably bugged right now, just found out a way to detect printer options and they appear to have no standard (go figure, printers need to be scraped and all replaced and use a standard API that eliminates the need for drivers) probably will not get to finish this up till Wednesday :( i should be able to get printing options to work as well as scanner feature detection but for now it prints :)
And i think i have it ready, but i am not going to say it is stable yet, ready for serious testing though https://github.com/GM-Script-Writer-62850/PHP-Scanner-Server/commit/5ebffacbb1d9c22c60c9782b0d5e5d8ec17e63fb
have you had time to try the git version?
Sorry, I'm quite busy at the moment with teaching and taking classes. I haven't been having any free time at all. Maybe I can try it next month.
Tried to use it today and found a rather large bug, i am pretty sure it it ready to go now (fingers crossed) https://github.com/GM-Script-Writer-62850/PHP-Scanner-Server/commit/7a8c538595e0351a303e019f0d64241005053f10 also added support for multiple copies to be printed (min = 1 and max = 100)
Added another update, you will need to rescan for printers after updating
Hi, I've been using PHP Scanner Server in my office, it is great. Since we only have one scanner, I connected it to our Linux Server and now everyone can scan without needing drivers, different log ins etc.
Would it be possible to integrate a Print server as well? I know I could try to use Samba to do it, but some of the computers are not in the same subnet (due to the university's network configuration).
My idea would be: 1 - Upload file 2 - Issue a "lpr" command
Again, thank you for the great software! (;