Difference: THHGTC (47 vs. 48)

Revision 482015-02-17 - WilliamBreadenMadden

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Changed:
<
<
-- Will Breaden Madden - 2015-02-14
>
>
-- Will Breaden Madden - 2015-02-17
 

The Hitchhiker's Guide to CERN

Line: 192 to 191
 
printers
Changed:
<
<
1-R010-HP (black and white laser printer)
>
>
1-R019-HP (black and white duplex laser printer)

The specifications of the printer "1-R019-HP (HP Universal Printing PCL 6)" are as follows:

characteristic value
name 1-R019-HP
model HP LaserJet P4014n
server name 1-R019-HP.cern.ch
location 1 R-0019
can print color no
can print double-sided yes
default paper size A4
default paper source select automatically
resolution 600 x 600
banner page none
Linux driver HPLIP (usually preinstalled -- current version HPLIP 3.14.6 --, but available from <http://hplipopensource.com/hplip-web/index.html>) if needed
Mac driver name HP LaserJet P4010_P4510 Series.gz
Windows driver name HP Universal Printing PCL 6

An experimental setup procedure is as follows:

Download lpadmincern from http://ftp.riken.jp/Linux/cern/slc60beta/x86_64/updates/SRPMS/repoview/lpadmincern.html.

%CODE{"bash"}% wget http://ftp.riken.jp/Linux/cern/slc60beta/x86_64/updates/SRPMS/lpadmincern-1.3.13-1.slc6.src.rpm %ENDCODE%

Unpack the RPM.

%CODE{"bash"}% rpm2cpio lpadmincern-1.3.13-1.slc6.src.rpm | cpio -idmv tar -zxvf lpadmincern-1.3.13.tar.gz %ENDCODE%

Edit the file lpadmincern.pl such that

%CODE{"perl"}% my $cupsc='/sbin/service cups reload'; %ENDCODE%

 
Changed:
<
<
printer model: HP LaserJet P4014n
>
>
is replaced with the following:
 
Changed:
<
<
IP address: 137.138.204.43
>
>
%CODE{"perl"}% my $cupsc='/usr/sbin/service cups reload'; %ENDCODE%
 
Changed:
<
<
outlet: 0019/03
>
>
%CODE{"bash"}% pico lpadmincern-1.3.13/lpadmincern.pl %ENDCODE%
 
Changed:
<
<
name: 1-R010-HP
>
>
Move the directory lpadmincern-1.3.13 to the directory /usr/share/lpadmincern.
 
Changed:
<
<
HP Deskjet 9800 (colour inkjet printer)
>
>
Lookup a printer at https://printservice.web.cern.ch/printservice/UserTools/PrinterStatus.aspx. An example is "1-R019-HP (HP Universal Printing PCL 6)".
 
Changed:
<
<
image of colour printer in 001-R-019
>
>
Lookup CERN LDAP for printer information and set up the local CUPS spooler with the appropriate printer options:
 
Changed:
<
<
This machine is temperamental at the moment. It appears to have a certain distaste for drawing in paper (i.e., the rollers are probably dirty), though there is a trick for making it draw in paper (see the manual for how to do this). Also, it appears to have a damaged sensor that is used for calibration (i.e., the sensor that the printer uses to measure its length is not working) that prevents the printer from completing its bootup procedure. Do not try to trick the printer into working by feeding it whiskey.
>
>
%CODE{"bash"}% sudo perl /usr/share/lpadmincern/lpadmincern.pl --add 1-R019-HP %ENDCODE%
 

food

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback