[Bug 124442] Re: Fuji-Xerox engine for CUPS
** Changed in: debian Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/124442 Title: Fuji-Xerox engine for CUPS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fxlinuxprint/+bug/124442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 124442] Re: Fuji-Xerox engine for CUPS
** Package changed: ubuntu => fxlinuxprint (Ubuntu) ** Changed in: fxlinuxprint (Ubuntu) Status: Invalid => Fix Released ** Bug watch added: Debian Bug tracker #841194 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841194 ** Also affects: debian via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841194 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/124442 Title: Fuji-Xerox engine for CUPS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fxlinuxprint/+bug/124442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 124442] Re: Fuji-Xerox engine for CUPS
last release: 2006-6-15 change status to invalid ** Changed in: ubuntu Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/124442 Title: Fuji-Xerox engine for CUPS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/124442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 124442] Re: Fuji-Xerox engine for CUPS
Hi, based on the above comments, I've made some .deb packages: 1) original source code from ftp://download.fujixerox.co.jp/pub/exe/apeosport/c4300series/fxlinuxprint-src-1.0.1.tar.gz, licensed under GNU GPLv2 2) get the driver to output the required headers for printing to printers with mandatory auditing (FXUserName setting) Also: 3) fixed a slight problem with the PPD file that meant the printer wasn't visible in the GUI add printer dialogs 4) tried to fix up some potential insecure uses of strcat() function. .deb packages and my changes to the source code are available at http://www.wlug.org.nz/~jrm/fxlinuxprint/ To set the FXUserName variable for auditing, do one of: a) [GNOME] click on System - Administration - Printing right-click on the printer, go to Properties, go to Job Options. At the bottom, enter FXUserName (case-sensitive) into the add a new option box, and click Add. Then set the value to the correct printer accounting code. b) [command line, requires root permissions] stop the printing service (CUPS) with '/etc/init.d/cups stop' edit /etc/cups/printers.conf, and inside the Printer or DefaultPrinter blocks, add a new line like 'Option FXUserName 123456'. Now restart the printing service with '/etc/init.d/cups start'. c) (change setting for local user only) From the command line, enter lpoptions -p (printername) FXUserName=123456, replacing 123456 with the correct printer accounting code for your department. You can find the printername for the already known printers with 'lpstat -a' Note! some applications that don't fully support the CUPS printing system (such as Open Office) will not correctly apply the option if it's set using this method. http://user.services.openoffice.org/en/forum/viewtopic.php?f=16t=36474 @ryanau - I couldn't find any way to get the CUPS interface to allow a text entry dialog like that (except for adding your own option like in step a) above). I think the PPD interface only allows PickOne-style options. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/124442 Title: Fuji-Xerox engine for CUPS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/124442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 124442] Re: Fuji-Xerox engine for CUPS
I added two printers to the OpenPrinting site so at least the manufacturer appears in a list somewhere, http://www.openprinting.org/printers/manufacturer/Fuji-Xerox Note that the string found by /usr/lib/cups/backend/snmp appears to be useless for auto-detection, it will only pickup Unknown as the first quoted string: network socket://10.6.16.21 Unknown FUJI XEROX DocuCentre-IV C2260 v 4. 23. 0 Multifunction System MANUFACTURER:FUJI XEROX -- Fuji-Xerox engine for CUPS https://bugs.launchpad.net/bugs/124442 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 124442] Re: Fuji-Xerox engine for CUPS
I did this a few years ago after finding the source code on the Japanese Xerox site in desperation. I only just got around to formally documenting it. I just found this thread so thought I'd add my bit. I had the same issue as hdau above to make it work with the Auditron feature on our ApeosPort-III C3300 and C2200 printers. hdau has hard- coded the JOAU call to get it working. I chose to use the opt structure calls, allowing the PPD to specific the ID ... which requires the header file to be corrected. The default code in fxlinuxprint.h defines this: const char PJLAttributeJoau[] = \@JOAU=@; It needs the last @ symbol removed to work on AperosPort units. diff -rB fxlinuxprint-src-1.0.1/fxlinuxprint.c fxlinuxprint-src-1.0.1-ryan/fxlinuxprint.c 251c251 (unknown), --- 5678, 569a570,572 sprintf (str, %s%s\\x0a, PJLAttributeJoau, opt-user_name); strcat (pjl, str); strcat (pjl, PJLSetJobAttribute); diff -rB fxlinuxprint-src-1.0.1/fxlinuxprint.h fxlinuxprint-src-1.0.1-ryan/fxlinuxprint.h 122c122 const char PJLAttributeJoau[] = \@JOAU=@; --- const char PJLAttributeJoau[] = \@JOAU=; Then, in the PPD you can make a drop-down list of printer IDs for ease of use (I've been unable to find a way to get the PPD to allow a text entry dialog for this purpose - maybe someone else knows better): *% Generic Accounting *OpenUI *FXUserName/User Name: PickOne *OrderDependency: 10.0 AnySetup *FXUserName *DefaultFXUserName: 5678 *FXUserName 5678/Server: *FXUserName 0873/Ryan: *FXUserName 2534/Bob: *CloseUI: *FXUserName The line to invoke the pstopdffx binary compiled from the source in the PPD is: *cupsFilter:application/vnd.cups-postscript 0 pstopdffx And the binary usually lives in: /usr/lib/cups/filter/ -- Fuji-Xerox engine for CUPS https://bugs.launchpad.net/bugs/124442 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 124442] Re: Fuji-Xerox engine for CUPS
A note for anyone looking for information about printing with fxlinuxprint.ppd and using the 5 digit UserIDs. Due to not finding any details about how to print with UserIDs turned on, the following hack was put to use. This is to use User ID values to print to a DocuCentre-II C4300 and has been tested and verified. some fxlinuxprint files can be found here: http://bit.ly/2Wt2iD From the fxlinuxprint-src-1.0.1 files , edit the file fxlinuxprint.c at line 497 to make the following changes: Original -- sprintf (str, %s%d\x0a, PJLSetQty, opt-copies); } strcat (pjl, str); strcat (pjl, PJLSetJobAttribute); strcat (pjl, PJLAttributeFstp); With 2 lines to add User ID ( where X is a valid 5 digit UserID ) - sprintf (str, %s%d\x0a, PJLSetQty, opt-copies); } strcat (pjl, str); strcat (pjl, PJLSetJobAttribute); strcat (pjl, \@JOAU=X\\n); strcat (pjl, PJLSetJobAttribute); strcat (pjl, PJLAttributeFstp); then compile the ppd as regular -- ./configure , make , make install and send a test print. on each PC with a different UserID, the X value needs to be changed and the driver recompiled. this hack wouldn't have been possible without the details from users above. Thanks (c: -- Fuji-Xerox engine for CUPS https://bugs.launchpad.net/bugs/124442 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 124442] Re: Fuji-Xerox engine for CUPS
I can confirm that the rpm package available on the FujiXerox website installs successfully with alien. The printer driver was not autodetected so I had to manually select the ppd file from /usr/share/cups/model/FujiXerox/en/fxlinuxprint.ppd to get the printer working. -- Fuji-Xerox engine for CUPS https://bugs.launchpad.net/bugs/124442 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 124442] Re: Fuji-Xerox engine for CUPS
Instead of packaging the manufacturers driver for Ubuntu it would be better to provide a openprinting distribution independent driver package as described here: http://www.linux-foundation.org/en/OpenPrinting/WritingAndPackagingPrinterDrivers This would allow automatic download and installation of the manufacturers printer driver by system-config-printer as already implemented by this specification: https://blueprints.launchpad.net/ubuntu/+spec/printerdriverautodownload since Ubuntu Intrepid. Please consider asking to the manufacturer of providing such a package that allows their printer driver to be installed automatically on Linux in general (not only Ubuntu). ** Tags added: needs-packaging ** Package changed: cupsys (Ubuntu) = ubuntu -- Fuji-Xerox engine for CUPS https://bugs.launchpad.net/bugs/124442 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 124442] Re: Fuji-Xerox engine for CUPS
Tested successfully on Ubuntu Hardy i386 (released version). I was able to compile and use the driver 100% with no problems. -- Fuji-Xerox engine for CUPS https://bugs.launchpad.net/bugs/124442 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 124442] Re: Fuji-Xerox engine for CUPS
Released under GNU General Public License 2. -- Fuji-Xerox engine for CUPS https://bugs.launchpad.net/bugs/124442 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 124442] Re: Fuji-Xerox engine for CUPS
** Changed in: cupsys (Ubuntu) Importance: Undecided = Wishlist Status: New = Confirmed -- Fuji-Xerox engine for CUPS https://bugs.launchpad.net/bugs/124442 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs