On Fri, May 22, 2015 at 03:57:02PM +0100, Craig Skinner wrote:
> On 2015-05-15 Fri 06:50 AM |, Edgar Pettijohn III wrote:
> > On May 15, 2015, at 6:45 AM, Craig Skinner wrote:
> > 
> > > Hi folks,
> > > 
> > > Any pointers on printing with an HP LaserJet 1100?
> > > 
> > > This one is connected via a USB convertor to a 5.6 release box:
> > > 
> > > $ dmesg | fgrep lp
> > > ulpt0 at uhub0 port 2 configuration 1 interface 0 "Pr?lific Technology 
> > > Inc. IEEE-1284 Controller" rev 1.00/2.00 addr 3
> > > ulpt0: using bi-directional mode
> > > 
> > 
> > Have you tried using hplip?  It shows to be a supported printer.
> > 
> 
> 
> Thanks Edgar & Naddy for pointing out that package to me!
> 
> Progess has .... been .... made...., but not printing yet.....

What is the version of the cups package you are running?


> 
> The dbus_daemon & cupsd are running, /dev stuff chowned, ulpt disabled
> in the kernel, rebooted & confirmed. 
> 
> With a CUPS webadmin 'Add Printer' Connection URI of: usb:/dev/usb1
> cupsd generates a decent looking .ppd file,
> but printing of a test page continues to stay at:
> "Waiting for printer to become available."
> 
> 
> What I've fiddled about with so far is:
> 
> 
> 
> $ cd /usr/local/share/doc/pkg-readmes/
> $ less hplip-common-* cups-* foomatic-*
> 
> 
> $ uname -mrsv
> OpenBSD 5.6 GENERIC#274 i386
> 
> $ dmesg | tail    
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse1 at ums0 mux 0
> uhidev1 at uhub1 port 1 configuration 1 interface 0 "Dell Dell USB Keyboard" 
> rev 1.10/3.06 addr 2
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> ulpt0 at uhub0 port 2 configuration 1 interface 0 "Pr?lific Technology Inc.  
> IEEE-1284 Controller" rev 1.00/2.00 addr 3
> ulpt0: using bi-directional mode
> 
> $ dmesg | fgrep ulpt
> ulpt0 at uhub1 port 2 configuration 1 interface 0 "Pr?lific Technology Inc.  
> IEEE-1284 Controller" rev 1.00/2.00 addr 3
> ulpt0: using bi-directional mode
> 
> 
> $ sudo usbdevs -vd
> Controller /dev/usb0:
> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000),
> Intel(0x8086), rev 1.00
>   uhub4
>  port 1 powered
>  port 2 powered
>  port 3 powered
>  port 4 powered
>  port 5 powered
>  port 6 powered
>  port 7 addr 2: high speed, power 500 mA, config 1, USB2.0-CRW(0x0158), 
> Generic(0x0bda), rev 58.88, iSerialNumber 200711XXXXXXXXX0
>    umass0
>  port 8 addr 3: high speed, power 128 mA, config 1, Lenovo 
> EasyCamera(0xb1b8), Chicony Corp.(0x04f2), rev 45.42
>    uvideo0
> Controller /dev/usb1:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
> Intel(0x8086), rev 1.00
>   uhub0
>  port 1 addr 2: low speed, power 98 mA, config 1, Usb Mouse(0x0034), 
> SIGMACHIP(0x1c4f), rev 1.10
>    uhidev0
>  port 2 addr 3: full speed, power 100 mA, config 1, IEEE-1284 
> Controller(0x2305), Pr?lific Technology Inc.(0x067b), rev 2.00
>    ulpt0
> Controller /dev/usb2:
> addr........................
> 
> 
> $ ls -l /dev/ugen0.* /dev/usb*
> crw-rw----  1 root  wheel   63,   0 Apr 13 21:13 /dev/ugen0.00
> crw-rw----  1 root  wheel   63,   1 Apr 13 21:13 /dev/ugen0.01
> crw-rw----  1 root  wheel   63,   2 Apr 13 21:13 /dev/ugen0.02
> crw-rw----  1 root  wheel   63,   3 Apr 13 21:13 /dev/ugen0.03
> crw-rw----  1 root  wheel   63,   4 Apr 13 21:13 /dev/ugen0.04
> crw-rw----  1 root  wheel   63,   5 Apr 13 21:13 /dev/ugen0.05
> crw-rw----  1 root  wheel   63,   6 Apr 13 21:13 /dev/ugen0.06
> crw-rw----  1 root  wheel   63,   7 Apr 13 21:13 /dev/ugen0.07
> crw-rw----  1 root  wheel   63,   8 Apr 13 21:13 /dev/ugen0.08
> crw-rw----  1 root  wheel   63,   9 Apr 13 21:13 /dev/ugen0.09
> crw-rw----  1 root  wheel   63,  10 Apr 13 21:13 /dev/ugen0.10
> crw-rw----  1 root  wheel   63,  11 Apr 13 21:13 /dev/ugen0.11
> crw-rw----  1 root  wheel   63,  12 Apr 13 21:13 /dev/ugen0.12
> crw-rw----  1 root  wheel   63,  13 Apr 13 21:13 /dev/ugen0.13
> crw-rw----  1 root  wheel   63,  14 Apr 13 21:13 /dev/ugen0.14
> crw-rw----  1 root  wheel   63,  15 Apr 13 21:13 /dev/ugen0.15
> crw-rw----  1 root  wheel   61,   0 Apr 13 21:13 /dev/usb0
> crw-rw----  1 root  wheel   61,   1 Apr 13 21:13 /dev/usb1
> crw-rw----  1 root  wheel   61,   2 Apr 13 21:13 /dev/usb2
> crw-rw----  1 root  wheel   61,   3 Apr 13 21:13 /dev/usb3
> crw-rw----  1 root  wheel   61,   4 Apr 13 21:13 /dev/usb4
> crw-rw----  1 root  wheel   61,   5 Apr 13 21:13 /dev/usb5
> crw-rw----  1 root  wheel   61,   6 Apr 13 21:13 /dev/usb6
> crw-rw----  1 root  wheel   61,   7 Apr 13 21:13 /dev/usb7
> 
> 
> $ sudo chown _cups /dev/ugen0.* /dev/usb1
> 
> ****************** FIXME: use hotplug! ***************************
> 
> 
> 
> $ ls -l /dev/ugen0.* /dev/usb*           
> crw-rw----  1 _cups  wheel   63,   0 Apr 13 21:13 /dev/ugen0.00
> crw-rw----  1 _cups  wheel   63,   1 Apr 13 21:13 /dev/ugen0.01
> crw-rw----  1 _cups  wheel   63,   2 Apr 13 21:13 /dev/ugen0.02
> crw-rw----  1 _cups  wheel   63,   3 Apr 13 21:13 /dev/ugen0.03
> crw-rw----  1 _cups  wheel   63,   4 Apr 13 21:13 /dev/ugen0.04
> crw-rw----  1 _cups  wheel   63,   5 Apr 13 21:13 /dev/ugen0.05
> crw-rw----  1 _cups  wheel   63,   6 Apr 13 21:13 /dev/ugen0.06
> crw-rw----  1 _cups  wheel   63,   7 Apr 13 21:13 /dev/ugen0.07
> crw-rw----  1 _cups  wheel   63,   8 Apr 13 21:13 /dev/ugen0.08
> crw-rw----  1 _cups  wheel   63,   9 Apr 13 21:13 /dev/ugen0.09
> crw-rw----  1 _cups  wheel   63,  10 Apr 13 21:13 /dev/ugen0.10
> crw-rw----  1 _cups  wheel   63,  11 Apr 13 21:13 /dev/ugen0.11
> crw-rw----  1 _cups  wheel   63,  12 Apr 13 21:13 /dev/ugen0.12
> crw-rw----  1 _cups  wheel   63,  13 Apr 13 21:13 /dev/ugen0.13
> crw-rw----  1 _cups  wheel   63,  14 Apr 13 21:13 /dev/ugen0.14
> crw-rw----  1 _cups  wheel   63,  15 Apr 13 21:13 /dev/ugen0.15
> crw-rw----  1 root   wheel   61,   0 Apr 13 21:13 /dev/usb0
> crw-rw----  1 _cups  wheel   61,   1 Apr 13 21:13 /dev/usb1
> crw-rw----  1 root   wheel   61,   2 Apr 13 21:13 /dev/usb2
> crw-rw----  1 root   wheel   61,   3 Apr 13 21:13 /dev/usb3
> crw-rw----  1 root   wheel   61,   4 Apr 13 21:13 /dev/usb4
> crw-rw----  1 root   wheel   61,   5 Apr 13 21:13 /dev/usb5
> crw-rw----  1 root   wheel   61,   6 Apr 13 21:13 /dev/usb6
> crw-rw----  1 root   wheel   61,   7 Apr 13 21:13 /dev/usb7
> 
> 
> 
> 
> $ ls -l /bsd*
> -rw-r--r--  1 root  wheel  10691971 Apr 13 21:12 /bsd
> -rw-r--r--  1 root  wheel   6918326 Apr 13 21:12 /bsd.rd
> -rw-r--r--  1 root  wheel  10659734 Apr 13 21:12 /bsd.sp
> $ sudo cp -p /bsd /bsd.mp
> $ cmp /bsd /bsd.mp
> $ 
> $ sudo config -o /bsd.disabled-ulpt -e /bsd
> OpenBSD 5.6 (GENERIC.MP) #299: Fri Aug  8 00:10:33 MDT 2014
>     [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> Enter 'help' for information
> ukc> find ulpt
> 403 ulpt* at uhub*|uhub* port -1 configuration -1 interface -1 vendor -1 
> product -1 release -1 flags 0x0
> ukc> disable ulpt
> 403 ulpt* disabled
> ukc> find ulpt
> 403 ulpt* at uhub*|uhub* disable port -1 configuration -1 interface -1 vendor 
> -1 product -1 release -1 flags 0x0
> ukc> quit
> Saving modified kernel.
> $ ls -l /bsd*
> -rw-r--r--  1 root  wheel  10691971 Apr 13 21:12 /bsd
> -rw-r--r--  1 root  wheel  10691971 Apr 13 21:12 /bsd.mp
> -rwx------  1 root  wheel  10691971 May 21 12:46 /bsd.disabled-ulpt*
> -rw-r--r--  1 root  wheel   6918326 Apr 13 21:12 /bsd.rd
> -rw-r--r--  1 root  wheel  10659734 Apr 13 21:12 /bsd.sp
> $ umask
> 077
> $ sudo chmod go+r /bsd.disabled-ulpt 
> $ ls -l /bsd*                 
> -rw-r--r--  1 root  wheel  10691971 Apr 13 21:12 /bsd
> -rw-r--r--  1 root  wheel  10691971 Apr 13 21:12 /bsd.mp
> -rwxr--r--  1 root  wheel  10691971 May 21 12:46 /bsd.disabled-ulpt*
> -rw-r--r--  1 root  wheel   6918326 Apr 13 21:12 /bsd.rd
> -rw-r--r--  1 root  wheel  10659734 Apr 13 21:12 /bsd.sp
> $ cmp /bsd /bsd.disabled-ulpt 
> /bsd /bsd.disabled-ulpt differ: char 9726923, line 32372
> $ diff /bsd /bsd.disabled-ulpt
> Binary files /bsd and /bsd.disabled-ulpt differ
> $ sudo cp /bsd.disabled-ulpt /bsd
> $ ls -l /bsd*
> -rw-r--r--  1 root  wheel  10691971 May 21 17:16 /bsd
> -rwxr--r--  1 root  wheel  10691971 May 21 12:46 /bsd.disabled-ulpt*
> -rw-r--r--  1 root  wheel  10691971 Apr 13 21:12 /bsd.mp
> -rw-r--r--  1 root  wheel   6918326 Apr 13 21:12 /bsd.rd
> -rw-r--r--  1 root  wheel  10659734 Apr 13 21:12 /bsd.sp
> $ cmp /bsd.mp /bsd
> /bsd.mp /bsd differ: char 9726923, line 32372
> $ sudo hp-setup -i
> Password:
> 
> HP Linux Imaging and Printing System (ver. 3.14.6)
> Printer/Fax Setup Utility ver. 9.0
> 
> Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
> This software comes with ABSOLUTELY NO WARRANTY.
> This is free software, and you are welcome to distribute it
> under certain conditions. See COPYING file for more details.
> 
> (Note: Defaults for each question are maked with a '*'. Press <enter> to
> accept the default.)
> 
> 
> --------------------------------
> | SELECT CONNECTION (I/O) TYPE |
> --------------------------------
> 
>   Num       Connection  Description                                           
>     
>             Type                                                              
>     
>   --------  ---------- 
> ----------------------------------------------------------
>   0*        usb         Universal Serial Bus (USB)                            
>     
>   1         net         Network/Ethernet/Wireless (direct connection or 
> JetDirect)
> 
> Enter number 0...1 for connection type (q=quit, enter=usb*) ? 0
> 
> Using connection type: usb
> 
> error: No device selected/specified or that supports this functionality.
> $ sudo reboot
> 
> 
> 
> $ dmesg | fgrep ulpt
> $ config -e /bsd
> WARNING no output file specified
> OpenBSD 5.6 (GENERIC.MP) #299: Fri Aug  8 00:10:33 MDT 2014
>     [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> Enter 'help' for information
> ukc> find ulpt
> 403 ulpt* at uhub*|uhub* disable port -1 configuration -1 interface -1 vendor 
> -1 product -1 release -1 flags 0x0
> ukc> exit
> $ sudo usbdevs -vd
> ....
> ...
> ..
> Controller /dev/usb1:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
> Intel(0x8086), rev 1.00
>   uhub1
>  port 1 addr 2: low speed, power 98 mA, config 1, Usb Mouse(0x0034), 
> SIGMACHIP(0x1c4f), rev 1.10
>    uhidev0
>  port 2 addr 3: full speed, power 100 mA, config 1, IEEE-1284 
> Controller(0x2305), Pr?lific Technology Inc.(0x067b), rev 2.00
>    ugen0
> ....
> ...
> ..
> $ ls -l /dev/ugen0.* /dev/usb1
> crw-rw----  1 _cups  wheel   63,   0 Apr 13 21:13 /dev/ugen0.00
> crw-rw----  1 _cups  wheel   63,   1 Apr 13 21:13 /dev/ugen0.01
> crw-rw----  1 _cups  wheel   63,   2 Apr 13 21:13 /dev/ugen0.02
> crw-rw----  1 _cups  wheel   63,   3 Apr 13 21:13 /dev/ugen0.03
> crw-rw----  1 _cups  wheel   63,   4 Apr 13 21:13 /dev/ugen0.04
> crw-rw----  1 _cups  wheel   63,   5 Apr 13 21:13 /dev/ugen0.05
> crw-rw----  1 _cups  wheel   63,   6 Apr 13 21:13 /dev/ugen0.06
> crw-rw----  1 _cups  wheel   63,   7 Apr 13 21:13 /dev/ugen0.07
> crw-rw----  1 _cups  wheel   63,   8 Apr 13 21:13 /dev/ugen0.08
> crw-rw----  1 _cups  wheel   63,   9 Apr 13 21:13 /dev/ugen0.09
> crw-rw----  1 _cups  wheel   63,  10 Apr 13 21:13 /dev/ugen0.10
> crw-rw----  1 _cups  wheel   63,  11 Apr 13 21:13 /dev/ugen0.11
> crw-rw----  1 _cups  wheel   63,  12 Apr 13 21:13 /dev/ugen0.12
> crw-rw----  1 _cups  wheel   63,  13 Apr 13 21:13 /dev/ugen0.13
> crw-rw----  1 _cups  wheel   63,  14 Apr 13 21:13 /dev/ugen0.14
> crw-rw----  1 _cups  wheel   63,  15 Apr 13 21:13 /dev/ugen0.15
> crw-rw----  1 _cups  wheel   61,   1 Apr 13 21:13 /dev/usb1
> $ /etc/rc.d/dbus_daemon check && /etc/rc.d/cupsd check && sudo hp-setup -i
> Password:
> 
> HP Linux Imaging and Printing System (ver. 3.14.6)
> Printer/Fax Setup Utility ver. 9.0
> 
> Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
> This software comes with ABSOLUTELY NO WARRANTY.
> This is free software, and you are welcome to distribute it
> under certain conditions. See COPYING file for more details.
> 
> (Note: Defaults for each question are maked with a '*'. Press <enter> to
> accept the default.)
> 
> 
> --------------------------------
> | SELECT CONNECTION (I/O) TYPE |
> --------------------------------
> 
>   Num       Connection  Description                                           
>     
>             Type                                                              
>     
>   --------  ---------- 
> ----------------------------------------------------------
>   0*        usb         Universal Serial Bus (USB)                            
>     
>   1         net         Network/Ethernet/Wireless (direct connection or 
> JetDirect)
> 
> Enter number 0...1 for connection type (q=quit, enter=usb*) ? 0
> 
> Using connection type: usb
> 
> error: No device selected/specified or that supports this functionality.
> 
> 
> 
> $ hp-makeuri -g 001:002
> 
> HP Linux Imaging and Printing System (ver. 3.14.6)
> Device URI Creation Utility ver. 5.0
> 
> Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
> This software comes with ABSOLUTELY NO WARRANTY.
> This is free software, and you are welcome to distribute it
> under certain conditions. See COPYING file for more details.
> 
> error: Device not found
> 
> $ hp-makeuri -g 001:003
> ...
> error: Device not found
> $ hp-makeuri -g 002:003
> ...
> error: Device not found
> $ hp-makeuri -g 002:002
> ...
> error: Device not found
> 
> $ hp-makeuri -g FRHR16<... (serial number)>
> 
> HP Linux Imaging and Printing System (ver. 3.14.6)
> Device URI Creation Utility ver. 5.0
> 
> Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
> This software comes with ABSOLUTELY NO WARRANTY.
> This is free software, and you are welcome to distribute it
> under certain conditions. See COPYING file for more details.
> 
> getaddrinfo: FRHR16.... no address associated with name
> getaddrinfo: FRHR16.... no address associated with name
> error: Device not found
> $ 
> 
> 
> 
> 
> $ dmesg | fgrep IEEE-1284
> ugen0 at uhub1 port 2 "Pr?lific Technology Inc. IEEE-1284 Controller" rev 
> 1.00/2.00 addr 3
> $ hp-config_usb_printer -g 001:002 
> hp-config_usb_printer[7949]: debug: param=001:002
> error: This is not a valid device
> 
> 
> 
> $ cd /tmp
> $ foomatic-ppdfile -P 1100
> ...
> ..
> HP LaserJet 1100 Id='HP-LaserJet_1100' Driver='hplip' 
> CompatibleDrivers='gutenprint hplip lj4dith ljet4 omni '
> ...
> ..
> $ foomatic-ppdfile -p 'HP-LaserJet_1100' > /tmp/hp-laserjet-1100.ppd
> ERROR: foomatic-ppdfile: There is neither a custom PPD file nor the driver 
> database entry contains sufficient data to build a PPD file.
> 
> 
> $ foomatic-ppdfile -p 'HP-LaserJet_1100' -d 'gutenprint' > 
> /tmp/hp-laserjet-1100.ppd
> ERROR: foomatic-ppdfile: There is neither a custom PPD file nor the driver 
> database entry contains sufficient data to build a PPD file.
> 
> 
> $ view /usr/local/share/foomatic/db/source/driver/hplip.xml
> $ view /usr/local/share/cups/drv/hp/hpcups.drv
> 
>       ModelName "HP LaserJet 1100"
>       Attribute "NickName" "" "HP LaserJet 1100, hpcups $Version"
>       Attribute "ShortNickName" "" "HP LaserJet 1100"
>       Attribute "1284DeviceID" "" "MFG:HP;MDL:hp laserjet 1100;DES:hp 
> laserjet 1100;"
>       PCFileName "hp-laserjet_1100.ppd"
> 
> $ find /usr/local -type f -name "*hp-laserjet_1100.ppd*"
> $ [nowt]
> 
> 
> -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-=
> 
> From: http://forums.openprinting.org/read.php?20,13380
> ( Linux + CUPS + another HP LaserJet )
> 
> $ sudo usb_printerid /dev/usb/lp0 
> GET_DEVICE_ID string:
> MFG:Hewlett-Packard;MDL:HP LaserJet Professional 
> P1102w;CMD:ZJS,PJL,ACL,HTTP;CLS:PRINTER;DES:HP LaserJet Professional 
> P1102w;FWVER:20091029;
> 
> CUPS webadmin add printer URI is:
> usb:/dev/usb/lp0
> -OR-
> usb://HP/LaserJet%20Professional%20P1102w
> 
> 
> -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-=
> 
> https://localhost:631/admin
> Add Printer
> Connection: hp <<--- default
> Connection: usb://HP/LaserJet%20%201100
> 
> 
> Add Printer
> Name:         LJ1100
> Description:  Ye olde Lazar Jet
> Location:     Front room
> Connection:   usb://HP/LaserJet 1100
> Sharing:      Do Not Share This Printer
> Make:         HP
> Model: HP LaserJet 1100 HP CUPS 3.14.6 (en)
> 
> [Add Printer]
> 
> Unable to add printer: Bad device-uri "usb://HP/LaserJet 1100".
> 
> -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-=
> 
> https://localhost:631/admin
> Add Printer
> Connection: hp
> Connection: usb:/dev/usb1
> 
> 
> Name:         LJ1100
> Description:  Ye olde Lazar Jet
> Location:     Front room
> Connection:   usb:/dev/usb1
> Sharing:      Do Not Share This Printer
> Make:         HP
> Model: HP LaserJet 1100 HP CUPS 3.14.6 (en)
> 
> [Add Printer]
> ...
> ..
> .
> 
> ***** Success! ****** (++ happy dance +++)
> 
> 
> -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-=
> 
> CUPS web thing, Print Test Page + Go
> says: "Processing page 1..."
> then "Waiting for printer to become available."
> No blinking lights on printer (they do when paper is removed/inserted)
> 
> -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-=
> 
> $ sudo diff -rq /tmp/cups /etc/cups      
> Password:
> Only in /etc/cups/ppd: LJ1100.ppd
> diff -rq /tmp/cups/printcap /etc/cups/printcap
> Files /tmp/cups/printcap and /etc/cups/printcap differ
> diff -rq /tmp/cups/printers.conf /etc/cups/printers.conf
> Files /tmp/cups/printers.conf and /etc/cups/printers.conf differ
> Only in /etc/cups: printers.conf.O
> Only in /etc/cups/ssl: server.crt
> Only in /etc/cups/ssl: server.key
> $ ls -l /etc/cups/ppd/          
> total 32
> -rw-r--r--  1 root  _cups  15187 May 22 14:14 LJ1100.ppd
> $ diff -u /tmp/cups/printcap /etc/cups/printcap
> --- /tmp/cups/printcap        Tue May 19 13:23:05 2015
> +++ /etc/cups/printcap  Fri May 22 14:15:10 2015
> @@ -1,3 +1,4 @@
>  # This file was automatically generated by cupsd(8) from the
>  # /etc/cups/printers.conf file.  All changes to this file
>  # will be lost.
> +LJ1100|Ye olde Lazar Jet:rm=fir.internal:rp=LJ1100:
> $ sudo diff -u /tmp/cups/printers.conf /etc/cups/printers.conf
> --- /tmp/cups/printers.conf   Sat May 16 11:50:23 2015
> +++ /etc/cups/printers.conf     Fri May 22 14:15:10 2015
> @@ -0,0 +1,21 @@
> +# Printer configuration file for CUPS v1.7.4
> +# Written by cupsd on 2015-05-22 14:15
> +# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
> +<Printer LJ1100>
> +UUID urn:uuid:283eac27-f754-3a7e-6a77-b85df662b461
> +Info Ye olde Lazar Jet
> +Location Front room
> +MakeModel HP LaserJet 1100, hpcups 3.14.6
> +DeviceURI usb:/dev/usb1
> +State Idle
> +StateTime 1432300406
> +Type 36892
> +Accepting Yes
> +Shared No
> +JobSheets none none
> +QuotaPeriod 0
> +PageLimit 0
> +KLimit 0
> +OpPolicy default
> +ErrorPolicy stop-printer
> +</Printer>
> 
> 
> 
> $ sudo find /var/spool/cups -ls
> Password:
> 467831    4 drwx--x---    3 root     _cups         512 May 22 14:47 
> /var/spool/cups
> 467843    4 drwxrwx--T    3 root     _cups         512 May 22 14:44 
> /var/spool/cups/tmp
> 467869    4 drwxr-xr-x    2 root     _cups         512 May 21 22:57 
> /var/spool/cups/tmp/.hplip
> 467836   80 -rw-------    1 _cups    _cups       40106 May 22 14:16 
> /var/spool/cups/tmp/gs_dbTj6U
> 467884  480 -rw-------    1 _cups    _cups      222834 May 22 14:16 
> /var/spool/cups/tmp/gs_BatzTI
> 467887    4 -rw-------    1 _cups    _cups         408 May 22 14:16 
> /var/spool/cups/tmp/gs_BMNzmi
> 467923   80 -rw-------    1 _cups    _cups       40106 May 22 14:44 
> /var/spool/cups/tmp/gs_B2w2Uz
> 467926  480 -rw-------    1 _cups    _cups      222262 May 22 14:45 
> /var/spool/cups/tmp/gs_0HFzxw
> 467928    4 -rw-------    1 _cups    _cups         408 May 22 14:45 
> /var/spool/cups/tmp/gs_yvn0fu
> 467922    4 -rw-------    1 root     _cups         733 May 22 14:44 
> /var/spool/cups/c00001
> 467885    4 -rw-r-----    1 root     _cups         234 May 22 14:16 
> /var/spool/cups/d00001-001
> 467940    4 -rw-------    1 root     _cups         761 May 22 14:47 
> /var/spool/cups/c00002
> 467925    4 -rw-r-----    1 root     _cups         234 May 22 14:44 
> /var/spool/cups/d00002-001
> 
> 
> 
> 
> 
> What else can I investigate?
> -- 
> Fortune's Real-Life Courtroom Quote #37:                                      
>                           
> 
> Q:  Did he pick the dog up by the ears?
> A:  No.
> Q:  What was he doing with the dog's ears?
> A:  Picking them up in the air.
> Q:  Where was the dog at this time?
> A:  Attached to the ears.
> 

-- 
Antoine

Reply via email to