XeroxLinux

From DesignX Wiki

(Difference between revisions)
Jump to: navigation, search
(New page: == Instructions For Linux == '''This is a much easier way than the Xerox Printing System, which doesn't want to work with Ubuntu.''' Admin note: when setting up a new user's account, set...)
 
Line 1: Line 1:
-
== Instructions For Linux ==
+
== Instructions For Linux ==
-
'''This is a much easier way than the Xerox Printing System, which doesn't want to work with Ubuntu.'''
+
'''This is a much easier way than the Xerox Printing System, which doesn't want to work with Ubuntu.'''  
-
Admin note: when setting up a new user's account, set the passcode equal to their User ID (the 6 digit number). Accounts existing as of 27 march 2008 were modified by Xerox.
+
Admin note: when setting up a new user's account, set the passcode equal to their User ID (the 6 digit number). Accounts existing as of 27 march 2008 were modified by Xerox.  
 +
<br>
-
 
+
#Copy [[Media:Xrx7345.ppd.gz|this file]]&nbsp;to /usr/share/ppd/custom/Xerox/ (go ahead and create the Xerox subdirectory, which probably doesn't exist). Uncompress it using gunzip.  
-
#Copy this&nbsp;[http://www-cdr.stanford.edu/wiki/Printers/InstructionsForLinux?action=download&upname=xrx7345.ppd.gz file]&nbsp;to /usr/share/ppd/custom/Xerox/ (go ahead and create the Xerox subdirectory, which probably doesn't exist). Uncompress it using gunzip.
+
#Edit this file and look for the line which begins with: *JCLAccounting True/Enabled: (should be line 76). Replace the two instances of XXXXXX with your copier code (should be six digits).  
-
#Edit this file and look for the line which begins with: *JCLAccounting True/Enabled: (should be line 76). Replace the two instances of XXXXXX with your copier code (should be six digits).
+
#Go to:&nbsp;[http://127.0.0.1:631 CUPS Admin Page]  
-
#Go to:&nbsp;[http://127.0.0.1:631 CUPS Admin Page]
+
#Click on the [Administration] link.  
-
#Click on the [Administration] link.
+
#Click on the [Add Printer] button under the Printers section.  
-
#Click on the [Add Printer] button under the Printers section.
+
#Enter a name for the printer in the Name field.  
-
#Enter a name for the printer in the Name field.
+
#Enter the location and a description of the printer in the Location and Description fields (optional).  
-
#Enter the location and a description of the printer in the Location and Description fields (optional).
+
#Click on the [Continue] button.  
-
#Click on the [Continue] button.
+
#Select [Appsocket / HP JetDirect] from the Device pull-down menu.  
-
#Select [Appsocket / HP JetDirect] from the Device pull-down menu.
+
#Click on [Continue].  
-
#Click on [Continue].
+
#Type socket://171.64.48.175 in the Device URI field.  
-
#Type socket://171.64.48.175 in the Device URI field.
+
#Click on [Continue].  
-
#Click on [Continue].
+
#Select [Xerox] from the Make section.  
-
#Select [Xerox] from the Make section.
+
#Click on [Continue].  
-
#Click on [Continue].
+
#Select Xerox WorkCentre 7328/7335/7345 (en) from the Model section.  
-
#Select Xerox WorkCentre 7328/7335/7345 (en) from the Model section.
+
#Click on [Add Printer] to begin the installation.  
-
#Click on [Add Printer] to begin the installation.
+
#You should end up at the "Set Printer Options" page. Go ahead and verify all of the options to your liking.  
-
#You should end up at the "Set Printer Options" page. Go ahead and verify all of the options to your liking.
+
#Click any of the [Set Printer Options] button to save your settings.  
-
#Click any of the [Set Printer Options] button to save your settings.
+
#Printing a test page from CUPS should work...
#Printing a test page from CUPS should work...
 +
<br>
-
 
+
Notes:  
-
Notes:
+
*All programs don't give you access to all printing options (like greyscale vs. color). Most programs allow you to modify the lpr command used. Add -o XRColorMode=color for color.
*All programs don't give you access to all printing options (like greyscale vs. color). Most programs allow you to modify the lpr command used. Add -o XRColorMode=color for color.
-
 
+
<br>
----
----
-
<span style="color: red; ">'''Older way: Requires installation of the Xerox Printing System, which works in parallel with the standard CUPS. Works okay with Fedora'''</span>
+
<span style="color: red;">'''Older way: Requires installation of the Xerox Printing System, which works in parallel with the standard CUPS. Works okay with Fedora'''</span>  
 +
<br>
 +
#Download the "Linux Intel Driver" from:&nbsp;[http://www.support.xerox.com/go/getfile.asp?Xlang=en_US&XCntry=USA&objid=63962&EULA=1&prodID=WC7328_WC7335_WC7345&Family=WorkCentre&ripId=&langs=English%20US&plats=Linux&Xtype=download&uType= Xerox WorkCentre 7335 Linux Intel Driver Page]&nbsp;(download to somewhere like /usr/local/src, but can go anywhere)&nbsp;<span style="color: blue;">Yes, this works for AMD too!</span>
 +
#as root, untar the package, cd into the directory, and run&nbsp;<code style="white-space: nowrap;">./setup</code>
 +
#Download the "Printer Model Package" from:&nbsp;[http://www.support.xerox.com/go/getfile.asp?Xlang=en_US&XCntry=USA&objid=64421&EULA=1&prodID=WC7328_WC7335_WC7345&Family=WorkCentre&ripId=&langs=English%20US&plats=Linux&Xtype=download&uType= Xerox Printer Model Package]&nbsp;(again, download to somewhere like /usr/local/src, but could go anywhere)
 +
#as root, untar the package, cd into the directory, and run&nbsp;<code style="white-space: nowrap;">./setup</code>
-
#Download the "Linux Intel Driver" from:&nbsp;[http://www.support.xerox.com/go/getfile.asp?Xlang=en_US&XCntry=USA&objid=63962&EULA=1&prodID=WC7328_WC7335_WC7345&Family=WorkCentre&ripId=&langs=English%20US&plats=Linux&Xtype=download&uType= Xerox WorkCentre 7335 Linux Intel Driver Page]&nbsp;(download to somewhere like /usr/local/src, but can go anywhere)&nbsp;<span style="color: blue; ">Yes, this works for AMD too!</span>
+
<br>  
-
#as root, untar the package, cd into the directory, and run&nbsp;<code style="white-space: nowrap; ">./setup</code>
+
-
#Download the "Printer Model Package" from:&nbsp;[http://www.support.xerox.com/go/getfile.asp?Xlang=en_US&XCntry=USA&objid=64421&EULA=1&prodID=WC7328_WC7335_WC7345&Family=WorkCentre&ripId=&langs=English%20US&plats=Linux&Xtype=download&uType= Xerox Printer Model Package]&nbsp;(again, download to somewhere like /usr/local/src, but could go anywhere)
+
-
#as root, untar the package, cd into the directory, and run&nbsp;<code style="white-space: nowrap; ">./setup</code>
+
 +
You now have a few printing utilities:
-
 
+
#xpadmin - Utility to setup printers.  
-
You now have a few printing utilities:
+
#xprint - Command line based print driver similar to lp and lpr.  
-
 
+
-
#xpadmin - Utility to setup printers.
+
-
#xprint - Command line based print driver similar to lp and lpr.
+
#xpq - Checks printer queue, similar to lpq.
#xpq - Checks printer queue, similar to lpq.
 +
<br>
 +
To install the printer:
-
To install the printer:
+
#as root, run xpadmin  
-
 
+
#under the "Printer" menu, choose "Queue Setup" then "Add"  
-
#as root, run xpadmin
+
#Enter your name for the printer queue (no spaces, shorter is better)  
-
#under the "Printer" menu, choose "Queue Setup" then "Add"
+
#Choose printer type = Xerox WorkCentre 7328/7335/7345  
-
#Enter your name for the printer queue (no spaces, shorter is better)
+
#Leave "Printing model:" as "workstation to printer"  
-
#Choose printer type = Xerox WorkCentre 7328/7335/7345
+
#Leave "Printer connection:" as "TCP/IP"  
-
#Leave "Printing model:" as "workstation to printer"
+
#Enter the printer's IP address in the "Printer host name:" field: 171.64.48.175  
-
#Leave "Printer connection:" as "TCP/IP"
+
#Choose whether you want this to be your default printer or not  
-
#Enter the printer's IP address in the "Printer host name:" field: 171.64.48.175
+
#Leave "Features:" as "enabled"  
-
#Choose whether you want this to be your default printer or not
+
#Leave "User Interface:" as "enabled"  
-
#Leave "Features:" as "enabled"
+
#Click on "Configure Printer Features"  
-
#Leave "User Interface:" as "enabled"
+
#On the "Paper/Output" tab, change the paper type to "Letter." Change "2 Sided Print" to "2 Sided Print" (if desired). Change "Output Color" to "Black." (You can override this for an individual color job). May also want to change the "Output Destination" to "Stacker Tray"  
-
#Click on "Configure Printer Features"
+
#On the "Configuration" tab, click "Accounting...", and then choose "Send UserID only"  
-
#On the "Paper/Output" tab, change the paper type to "Letter." Change "2 Sided Print" to "2 Sided Print" (if desired). Change "Output Color" to "Black." (You can override this for an individual color job). May also want to change the "Output Destination" to "Stacker Tray"
+
#If you don't want to enter your PIN every time, select "Use Default Accounting Codes" and enter your 6 digit PIN into the "Default User ID" AND the "Passcode" fields, and hit "Ok." If you'd like to enter this everytime you print, select "Prompt for Every Job"  
-
#On the "Configuration" tab, click "Accounting...", and then choose "Send UserID only"
+
-
#If you don't want to enter your PIN every time, select "Use Default Accounting Codes" and enter your 6 digit PIN into the "Default User ID" AND the "Passcode" fields, and hit "Ok." If you'd like to enter this everytime you print, select "Prompt for Every Job"
+
#On the "Advanced" tab, change "Banner Sheet" to "Disabled"
#On the "Advanced" tab, change "Banner Sheet" to "Disabled"
 +
<br>
 +
Follow these directions (written for Fedora):
-
Follow these directions (written for Fedora):
+
#Disable SELinux protection for cupsd  
-
 
+
#*System -&gt; Administration -&gt; Security Level and Firewall  
-
#Disable SELinux protection for cupsd
+
#*Select the SELinux tab, open the Modify SE Linux Policy, and open the Printing subitem  
-
#*System -&gt; Administration -&gt; Security Level and Firewall
+
#*Check the "Disable SELinux protection for cupsd daemon"  
-
#*Select the SELinux tab, open the Modify SE Linux Policy, and open the Printing subitem
+
#*Click Ok  
-
#*Check the "Disable SELinux protection for cupsd daemon"
+
#Restart cupsd  
-
#*Click Ok
+
#*System -&gt; Administration -&gt; Server Settings -&gt; Services  
-
#Restart cupsd
+
#*Select the Background Services tab, highlight cups and click the Restart button  
-
#*System -&gt; Administration -&gt; Server Settings -&gt; Services
+
#Enable xhost permissions (for print-time dialog)  
-
#*Select the Background Services tab, highlight cups and click the Restart button
+
#*<code style="white-space: nowrap;">xhost +si:localuser:lp</code>&nbsp;(you will want to put this in your .bashrc file)
-
#Enable xhost permissions (for print-time dialog)
+
-
#*<code style="white-space: nowrap; ">xhost +si:localuser:lp</code>&nbsp;(you will want to put this in your .bashrc file)
+
-
 
+
 +
<br>
-
<span style="color: red; ">'''Note that doing a test print from&nbsp;<code style="white-space: nowrap; ">xpadmin</code>&nbsp;doesn't seem to work. To test your settings, print out one page from Adobe Acrobat.'''</span>
+
<span style="color: red;">'''Note that doing a test print from&nbsp;<code style="white-space: nowrap;">xpadmin</code>&nbsp;doesn't seem to work. To test your settings, print out one page from Adobe Acrobat.'''</span> &lt;/div&gt;
-
</div>
+

Latest revision as of 11:30, 10 March 2010

Instructions For Linux

This is a much easier way than the Xerox Printing System, which doesn't want to work with Ubuntu.

Admin note: when setting up a new user's account, set the passcode equal to their User ID (the 6 digit number). Accounts existing as of 27 march 2008 were modified by Xerox.


  1. Copy this file to /usr/share/ppd/custom/Xerox/ (go ahead and create the Xerox subdirectory, which probably doesn't exist). Uncompress it using gunzip.
  2. Edit this file and look for the line which begins with: *JCLAccounting True/Enabled: (should be line 76). Replace the two instances of XXXXXX with your copier code (should be six digits).
  3. Go to: CUPS Admin Page
  4. Click on the [Administration] link.
  5. Click on the [Add Printer] button under the Printers section.
  6. Enter a name for the printer in the Name field.
  7. Enter the location and a description of the printer in the Location and Description fields (optional).
  8. Click on the [Continue] button.
  9. Select [Appsocket / HP JetDirect] from the Device pull-down menu.
  10. Click on [Continue].
  11. Type socket://171.64.48.175 in the Device URI field.
  12. Click on [Continue].
  13. Select [Xerox] from the Make section.
  14. Click on [Continue].
  15. Select Xerox WorkCentre 7328/7335/7345 (en) from the Model section.
  16. Click on [Add Printer] to begin the installation.
  17. You should end up at the "Set Printer Options" page. Go ahead and verify all of the options to your liking.
  18. Click any of the [Set Printer Options] button to save your settings.
  19. Printing a test page from CUPS should work...


Notes:

  • All programs don't give you access to all printing options (like greyscale vs. color). Most programs allow you to modify the lpr command used. Add -o XRColorMode=color for color.



Older way: Requires installation of the Xerox Printing System, which works in parallel with the standard CUPS. Works okay with Fedora


  1. Download the "Linux Intel Driver" from: Xerox WorkCentre 7335 Linux Intel Driver Page (download to somewhere like /usr/local/src, but can go anywhere) Yes, this works for AMD too!
  2. as root, untar the package, cd into the directory, and run ./setup
  3. Download the "Printer Model Package" from: Xerox Printer Model Package (again, download to somewhere like /usr/local/src, but could go anywhere)
  4. as root, untar the package, cd into the directory, and run ./setup


You now have a few printing utilities:

  1. xpadmin - Utility to setup printers.
  2. xprint - Command line based print driver similar to lp and lpr.
  3. xpq - Checks printer queue, similar to lpq.


To install the printer:

  1. as root, run xpadmin
  2. under the "Printer" menu, choose "Queue Setup" then "Add"
  3. Enter your name for the printer queue (no spaces, shorter is better)
  4. Choose printer type = Xerox WorkCentre 7328/7335/7345
  5. Leave "Printing model:" as "workstation to printer"
  6. Leave "Printer connection:" as "TCP/IP"
  7. Enter the printer's IP address in the "Printer host name:" field: 171.64.48.175
  8. Choose whether you want this to be your default printer or not
  9. Leave "Features:" as "enabled"
  10. Leave "User Interface:" as "enabled"
  11. Click on "Configure Printer Features"
  12. On the "Paper/Output" tab, change the paper type to "Letter." Change "2 Sided Print" to "2 Sided Print" (if desired). Change "Output Color" to "Black." (You can override this for an individual color job). May also want to change the "Output Destination" to "Stacker Tray"
  13. On the "Configuration" tab, click "Accounting...", and then choose "Send UserID only"
  14. If you don't want to enter your PIN every time, select "Use Default Accounting Codes" and enter your 6 digit PIN into the "Default User ID" AND the "Passcode" fields, and hit "Ok." If you'd like to enter this everytime you print, select "Prompt for Every Job"
  15. On the "Advanced" tab, change "Banner Sheet" to "Disabled"


Follow these directions (written for Fedora):

  1. Disable SELinux protection for cupsd
    • System -> Administration -> Security Level and Firewall
    • Select the SELinux tab, open the Modify SE Linux Policy, and open the Printing subitem
    • Check the "Disable SELinux protection for cupsd daemon"
    • Click Ok
  2. Restart cupsd
    • System -> Administration -> Server Settings -> Services
    • Select the Background Services tab, highlight cups and click the Restart button
  3. Enable xhost permissions (for print-time dialog)
    • xhost +si:localuser:lp (you will want to put this in your .bashrc file)


Note that doing a test print from xpadmin doesn't seem to work. To test your settings, print out one page from Adobe Acrobat. </div>

Personal tools