LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-25-2013, 03:12 PM   #1
Aqua_Regia
Member
 
Registered: Oct 2011
Posts: 37

Rep: Reputation: Disabled
Ricoh Aficio MP 7502 User Code Driver Fix


This is for anyone else that had the same problem. Yesterday I tried to print to a Ricoh Aficio MP7502 that had user codes enabled. I used the system-printer-config utility in ubuntu however the driver installed would not allow custom user codes and only have arbirtary values in the drop down menu. I went to openprinting.org and downloaded the PPD file for the printer. Around line 700 I edited to the correct user code for the printer and was sucessfully able to submit print jobs. In the file;

Code:
*OpenUI *UserCode/User Code (up to 8 digits): PickOne
*FoomaticRIPOption UserCode: string JCL A
*FoomaticRIPOptionMaxLength UserCode:8
*FoomaticRIPOptionAllowedChars UserCode: "0-9"
*OrderDependency: 255 AnySetup *UserCode
*FoomaticRIPOptionPrototype UserCode: "SET USERCODE="%s""
*DefaultUserCode: None
*UserCode None/None: ""
*UserCode 1234/1234: "%% FoomaticRIPOptionSetting: UserCode=1234"
*FoomaticRIPOptionSetting UserCode=1234: "SET USERCODE="1234""
*UserCode 1234/1234: "%% FoomaticRIPOptionSetting: UserCode=1234"
*FoomaticRIPOptionSetting UserCode=1234: "SET USERCODE="1234""
*UserCode 1234/1234: "%% FoomaticRIPOptionSetting: UserCode=1234"
*FoomaticRIPOptionSetting UserCode=1234: "SET USERCODE="1234""
*CloseUI: *UserCode
*CustomUserCode True/Custom UserCode: "@PJL SET USERCODE=&quot;\1&quot;<0A>"
*ParamCustomUserCode UserCode: 1 password 1 8
I edited the values where "1234" appers in the code snipit to the correct user code and loaded the driver in the system-configure-printer utility. Now the correct user codes showed up in the drop down menu and the print job worked!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ricoh Aficio GX2500 gelsprinter playf1 Linux - Hardware 3 05-23-2012 05:06 PM
Ricoh Aficio multifunction device under Linux aramvn Linux - Hardware 1 04-30-2012 04:42 AM
Need a Source code for User space serial port driver shree24985 Linux - General 1 01-25-2009 07:04 AM
ricoh aficio 2035e and linux hottdogg Linux - Hardware 6 03-06-2008 11:23 AM
Driver for RICOH scanner IS 410 frankoko Solaris / OpenSolaris 0 09-05-2007 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration