Commit Diff


commit - 08d52f6c8fbe6fde72f234e5cb15ae84b68bf2a8
commit + fe73bf9fadcda23df685e3e72297bd9878e9426d
blob - a9bb8a3ed67d91b68f38ae3b03c23a23919b6cbe (mode 644)
blob + /dev/null
--- lp/devices
+++ /dev/null
@@ -1,80 +0,0 @@
-# Here is a sample printer devices file where
-# some of the printers have been commented out.
-#
-# The fields are:
-#
-#	$1 printer name
-#	$2 printer location - just a comment for lp -d'?'
-#	$3 destination host - machine that manages print queue
-#	$4 devname - device name used by destination host or physical device file
-#	$5 speed - for printers on serial ports
-#	$6 class - describes printer, e.g., postscript vs pcl
-#	$7 process - how to process file to produce printable output
-#	$8 spooler - how to spool that output for printing
-#	$9 stat - how to query device status
-#	$10 kill - how to remove print jobs
-#	$11 daemon - how to start the print daemon to serve queue
-#	$12 sched - scheduling order
-#
-# HP LaserJet 4M connected to serial port on an Annex terminal server.
-# 2c254 2C-254 rice tcp!annex!7035 19200 post+600dpi generic generic generic generic tcppost FIFO
-#
-# HP LaserJet 4M connected to Ethernet via a JetDirect card.
-# The speed field is used to set the bufffer size in the tcpostio program run from tcppost.
-# 2c307 2C-307 alice tcp!mh2c307!9100 81920 post+600dpi generic generic generic generic tcppost FIFO
-#
-# HP LaserJet 4M connected to serial port on a Cisco terminal server.
-# 2t4 2T-402 pyxis tcp!ts!4010 19200 post+600dpi generic generic generic generic tcppost FIFO
-#
-# HP LaserJet 4Si/MX connected to Ethernet via a JetDirect card.
-# This printer has a duplexing option.
-# See /sys/lib/postscript/prologues/hpsimx.ps for a fix to make it default
-# to the large paper tray at postion 1.
-# fn 2C-501 helix tcp!fn!9100 81920 post2+600dpi+duplex generic generic generic generic tcppost FIFO
-#
-# Tektronix Phaser 200i connected to Ethernet.
-# Using Xinet K-Talk software from a UNIX host. This software is not recommended.
-# We do not want to waste stock on the color printer so we do not print header pages.
-# peacock 2C-501 cetus peacock - post2+300dpi+nohead+color generic generic generic generic appletalk FIFO
-#
-# Any PostScript printer connected to the LPT1 port on my 486 pc running Plan 9 as a terminal.
-pcclone - - /dev/lpt1data - post+nohead generic pcclone - - - -
-#
-# QMS-410 connected to the serial port of an NCD terminal.
-# math34 2T-102 rice tcp!math34!87 9600 post+600dpi generic generic generic generic tcppost FIFO
-#
-# QMS-410 connected to the serial port of an AT&T 630/730 terminal
-# ps630 printer-on-630 - - - post+300dpi+nohead generic ps630 - - - -
-#
-# Xante Accel-a-Writer-8200. 1200dpi printer that uses a BSD lpr print daemon protocol
-# psu 2C-501 cetus psu - post+1200dpi generic generic xante generic lpddaemon FIFO
-#
-# 'stdout' sends the output to the standard output of the lp command.
-# if the 'phys_dev_name' field is set to a file or device, the output will go to it instead.
-# if '+sendEOT' is added to the 'class' field, an EOT character will be sent at the end of the output.
-#
-stdout - - - - post+nohead generic nospool - - - -
-#
-# sends the output to the standard output of the lp command.
-# used for generating output suitable for 100 dpi.
-100dpi - - - - post+100dpi+nohead generic nospool - - - -
-#
-# same as above for generating output suitable for 300 dpi.
-300dpi - - - - post+300dpi+nohead generic nospool - - - -
-#
-# same as above for generating output suitable for 600 dpi.
-#
-600dpi - - - - post+600dpi+nohead generic nospool - - - -
-#
-# same as above for generating output suitable for Linotronics phototypesetter.
-1270dpi - - - - post+lino+nohead generic nospool - - - -
-
-# 600dpi postscript printer named vogon via BSD LPD printer queue on alice
-vogon printer-room t23 /dev/atibm - post+600dpi generic generic generic generic dumb FIFO
-
-# HP DeskJet and Canon BJC-240
-hpdeskjet - - /dev/lpt1data - gs!cdj670+nohead generic nospool - - - -
-canonbjc240l - - /dev/lpt1data - gs!bjc600+nohead generic nospool - - - -
-
-# LaserJet4-compatible printer on Linux parallel port
-laser 2D t23 /dev/par0 - post+gs!ljet4+nohead generic generic generic generic gsdev FIFO
blob - /dev/null
blob + a9bb8a3ed67d91b68f38ae3b03c23a23919b6cbe (mode 644)
--- /dev/null
+++ lp/devices.sample
@@ -0,0 +1,80 @@
+# Here is a sample printer devices file where
+# some of the printers have been commented out.
+#
+# The fields are:
+#
+#	$1 printer name
+#	$2 printer location - just a comment for lp -d'?'
+#	$3 destination host - machine that manages print queue
+#	$4 devname - device name used by destination host or physical device file
+#	$5 speed - for printers on serial ports
+#	$6 class - describes printer, e.g., postscript vs pcl
+#	$7 process - how to process file to produce printable output
+#	$8 spooler - how to spool that output for printing
+#	$9 stat - how to query device status
+#	$10 kill - how to remove print jobs
+#	$11 daemon - how to start the print daemon to serve queue
+#	$12 sched - scheduling order
+#
+# HP LaserJet 4M connected to serial port on an Annex terminal server.
+# 2c254 2C-254 rice tcp!annex!7035 19200 post+600dpi generic generic generic generic tcppost FIFO
+#
+# HP LaserJet 4M connected to Ethernet via a JetDirect card.
+# The speed field is used to set the bufffer size in the tcpostio program run from tcppost.
+# 2c307 2C-307 alice tcp!mh2c307!9100 81920 post+600dpi generic generic generic generic tcppost FIFO
+#
+# HP LaserJet 4M connected to serial port on a Cisco terminal server.
+# 2t4 2T-402 pyxis tcp!ts!4010 19200 post+600dpi generic generic generic generic tcppost FIFO
+#
+# HP LaserJet 4Si/MX connected to Ethernet via a JetDirect card.
+# This printer has a duplexing option.
+# See /sys/lib/postscript/prologues/hpsimx.ps for a fix to make it default
+# to the large paper tray at postion 1.
+# fn 2C-501 helix tcp!fn!9100 81920 post2+600dpi+duplex generic generic generic generic tcppost FIFO
+#
+# Tektronix Phaser 200i connected to Ethernet.
+# Using Xinet K-Talk software from a UNIX host. This software is not recommended.
+# We do not want to waste stock on the color printer so we do not print header pages.
+# peacock 2C-501 cetus peacock - post2+300dpi+nohead+color generic generic generic generic appletalk FIFO
+#
+# Any PostScript printer connected to the LPT1 port on my 486 pc running Plan 9 as a terminal.
+pcclone - - /dev/lpt1data - post+nohead generic pcclone - - - -
+#
+# QMS-410 connected to the serial port of an NCD terminal.
+# math34 2T-102 rice tcp!math34!87 9600 post+600dpi generic generic generic generic tcppost FIFO
+#
+# QMS-410 connected to the serial port of an AT&T 630/730 terminal
+# ps630 printer-on-630 - - - post+300dpi+nohead generic ps630 - - - -
+#
+# Xante Accel-a-Writer-8200. 1200dpi printer that uses a BSD lpr print daemon protocol
+# psu 2C-501 cetus psu - post+1200dpi generic generic xante generic lpddaemon FIFO
+#
+# 'stdout' sends the output to the standard output of the lp command.
+# if the 'phys_dev_name' field is set to a file or device, the output will go to it instead.
+# if '+sendEOT' is added to the 'class' field, an EOT character will be sent at the end of the output.
+#
+stdout - - - - post+nohead generic nospool - - - -
+#
+# sends the output to the standard output of the lp command.
+# used for generating output suitable for 100 dpi.
+100dpi - - - - post+100dpi+nohead generic nospool - - - -
+#
+# same as above for generating output suitable for 300 dpi.
+300dpi - - - - post+300dpi+nohead generic nospool - - - -
+#
+# same as above for generating output suitable for 600 dpi.
+#
+600dpi - - - - post+600dpi+nohead generic nospool - - - -
+#
+# same as above for generating output suitable for Linotronics phototypesetter.
+1270dpi - - - - post+lino+nohead generic nospool - - - -
+
+# 600dpi postscript printer named vogon via BSD LPD printer queue on alice
+vogon printer-room t23 /dev/atibm - post+600dpi generic generic generic generic dumb FIFO
+
+# HP DeskJet and Canon BJC-240
+hpdeskjet - - /dev/lpt1data - gs!cdj670+nohead generic nospool - - - -
+canonbjc240l - - /dev/lpt1data - gs!bjc600+nohead generic nospool - - - -
+
+# LaserJet4-compatible printer on Linux parallel port
+laser 2D t23 /dev/par0 - post+gs!ljet4+nohead generic generic generic generic gsdev FIFO
blob - e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
blob + 696ba762e1507a475e58fc881ff99825606f5a04
--- lp/log/lpdaemonl
+++ lp/log/lpdaemonl
@@ -0,0 +1,77 @@
+Dec 10 10:06:31 [08122] -dlaser -Mmac -ursc
+Dec 10 10:06:31 [08122] wait got 8123
+Dec 10 10:08:35 [08217] -dlaser -Mmac -ursc
+Dec 10 10:08:35 [08217] wait got 8218
+Dec 10 12:46:40 [10154] -dlaser -Mmac -ursc
+Dec 10 12:46:40 [10154] wait got 10155
+Dec 10 13:13:07 [10502] -dlaser -Mmac -ursc
+Dec 10 13:13:07 [10502] wait got 10503
+Dec 14 19:45:24 [16603] -dlaser -Mmac -ursc
+Dec 14 19:45:24 [16603] wait got 16604
+Dec 14 20:02:04 [16974] -dlaser -Mmac -ursc
+Dec 14 20:02:04 [16974] wait got 16975
+Dec 16 08:15:27 [22095] -dlaser -Mmac -ursc
+Dec 16 08:15:27 [22095] wait got 22096
+Dec 17 11:07:17 [25072] -dlaser -Mmac -ursc
+Dec 17 11:07:17 [25072] wait got 25073
+Dec 17 11:25:24 [25218] -dlaser -Mmac -ursc
+Dec 17 11:25:24 [25218] wait got 25219
+Dec 17 11:32:29 [25295] -dlaser -Mmac -ursc
+Dec 17 11:32:29 [25295] wait got 25296
+Dec 17 11:33:47 [25368] -dlaser -Mmac -ursc
+Dec 17 11:33:47 [25368] wait got 25369
+Dec 17 12:27:28 [25483] -dlaser -Mmac -ursc
+Dec 17 12:27:28 [25483] wait got 25484
+Dec 20 15:59:32 [25567] -dlaser -Mmac -ursc
+Dec 20 15:59:32 [25567] wait got 25568
+Jan 25 14:18:02 [24320] -dlaser -Mmac -ursc
+Jan 25 14:18:02 [24320] wait got 24321
+Jan 25 14:21:28 [24395] -dlaser -Mmac -ursc
+Jan 25 14:21:28 [24395] wait got 24396
+Feb  2 13:32:44 [06812] -dlaser -Mmac -ursc
+Feb  2 13:32:44 [06812] wait got 6813
+Feb  2 13:35:12 [06886] -dlaser -Mmac -ursc
+Feb  2 13:35:12 [06886] wait got 6887
+Feb 17 12:07:54 [01070] -dlaser -Mmac -ursc
+Feb 17 12:07:54 [01070] wait got 1071
+Feb 17 12:09:34 [01143] -dlaser -Mmac -ursc
+Feb 17 12:09:34 [01143] wait got 1144
+Mar  4 08:31:52 [16228] -dlaser -Mmac -ursc
+Mar  4 08:31:53 [16228] wait got 16229
+Mar  4 08:39:06 [16303] -dlaser -Mmac -ursc
+Mar  4 08:39:06 [16303] wait got 16304
+Mar  4 08:44:16 [16376] -dlaser -Mmac -ursc
+Mar  4 08:44:16 [16376] wait got 16377
+Mar  4 09:29:45 [16515] -dlaser -Mmac -ursc
+Mar  4 09:29:45 [16515] wait got 16516
+Mar  4 09:29:53 [16578] -dlaser -Mmac -ursc
+Mar  4 09:29:53 [16578] wait got 16579
+Mar  7 09:56:53 [22206] -dlaser -Mmac -ursc
+Mar  7 09:56:53 [22206] wait got 22207
+Mar  8 09:28:26 [24315] -dlaser -Mmac -ursc
+Mar  8 09:28:26 [24315] wait got 24316
+Mar 11 13:46:48 [31103] -dlaser -Mmac -ursc
+Mar 11 13:46:48 [31103] wait got 31104
+Mar 12 15:10:37 [01308] -dlaser -Mmac -ursc
+Mar 12 15:10:37 [01308] wait got 1309
+Mar 13 08:19:52 [03190] -dlaser -Mmac -ursc
+Mar 13 08:19:52 [03190] wait got 3191
+Mar 16 14:23:04 [11872] -dlaser -Mmac -ursc
+Mar 16 14:23:04 [11872] wait got 11873
+Mar 16 14:24:33 [11946] -dlaser -Mmac -ursc
+Mar 16 14:24:33 [11946] wait got 11947
+Mar 16 18:45:25 [12391] -dlaser -Mmac -ursc
+Mar 16 18:45:25 [12391] wait got 12392
+Mar 21 10:07:04 [21664] -dlaser -Mmac -ursc
+Mar 21 10:07:04 [21664] wait got 21665
+Mar 21 18:25:44 [22316] -dlaser -Mmac -ursc
+Mar 21 18:25:44 [22316] wait got 22317
+Mar 22 17:33:35 [24434] -dlaser -Mmac -ursc
+Mar 22 17:33:35 [24434] wait got 24435
+Mar 23 09:27:16 [25864] -dlaser -Mmac -ursc
+Mar 23 09:27:16 [25864] wait got 25865
+Mar 23 10:17:56 [25937] -dlaser -Mmac -ursc
+Mar 23 10:17:57 [25937] wait got 26002
+Mar 23 10:18:08 [26064] connection closed prematurely
+Mar 23 19:37:49 [26699] -dlaser -Mmac -ursc
+Mar 23 19:37:49 [26699] wait got 26700