public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Is printing broke on sparc ?
@ 2001-04-17  0:54 Mr. James W. Laferriere
  2001-04-17 12:42 ` Tim Waugh
  0 siblings, 1 reply; 10+ messages in thread
From: Mr. James W. Laferriere @ 2001-04-17  0:54 UTC (permalink / raw)
  To: Linux Kernel Maillist


	Hello All , On Linux-Sparc I can send data to the /dev/par0 &
	/dev/lp0 but the data appears to be garbled .

	Sending the below printcap to either of the above ports ...
<begin printcap>
# /etc/printcap
#
# Please don't edit this file directly unless you know what you are doing!
# Be warned that the control-panel printtool requires a very strict format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.

##PRINTTOOL3## LOCAL POSTSCRIPT 300x300 letter {} PostScript Default {}
lp:\
	:sd=/var/spool/lpd/lp:\
	:mx#0:\
	:sh:\
	:lp=/dev/lp0:\
	:if=/var/spool/lpd/lp/filter:
<end printcap>

	.. ie:  cat /etc/printcap > /dev/lp0    (or /dev/par0)
	gets me :

/c#eodiecnyotai rhernili s to rpaemn
                                    s eehpo o-.ROLPR0 roif{\=sl:x
                                                                 	/p:ao/lr
	which is where it rolls off the paper .
	printer is a DECLaser 2200  .  I have the PostScript option card
	for it , but when it is installed -notthing- gets output so I
	tried the above experiment without it installed .  With the option
	installed the display shows 'PS Waiting' Then shortly 'PS
	Processing' then 'PS Ready' .  This happens whether I cat .ps
	files or not .  I beleive that something is garbling the data
	being sent .

	I did have this running quite well off of a i386 running linux
	not to long ago .  So I have to be doing something wrong .

	ANy help appreciated .  Tia ,  JimL

	Options turned on in the .config

CONFIG_PARPORT=y
# CONFIG_PARPORT_PC is not set
# CONFIG_PARPORT_AMIGA is not set
# CONFIG_PARPORT_MFC3 is not set
# CONFIG_PARPORT_ATARI is not set
CONFIG_PARPORT_SUNBPP=y
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y

CONFIG_PRINTER=y

	# dmesg | grep -b1 par

1135-Starting kswapd v1.8
1156:parport0: sunbpp at 0x1ffec800000
1190:parport0: cpp_mux: aa55f00f52ad51(18)
1228:parport0: cpp_daisy: aa5500ff(18)
1262:parport0: assign_addrs: aa5500ff(18)
1299:parport0: cpp_mux: aa55f00f52ad51(98)
1337:parport0: cpp_daisy: aa5500ff(98)
1371:parport0: assign_addrs: aa5500ff(98)
1408-Console: switching to colour frame buffer device 128x54
--
1527-pty: 256 Unix98 ptys configured
1559:lp0: using parport0 (interrupt-driven).
1599-block: queued sectors max/low 203466kB/72394kB, 640 slots per queue



       +----------------------------------------------------------------+
       | James   W.   Laferriere | System  Techniques | Give me VMS     |
       | Network        Engineer | 25416      22nd So |  Give me Linux  |
       | babydr@baby-dragons.com | DesMoines WA 98198 |   only  on  AXP |
       +----------------------------------------------------------------+



^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Is printing broke on sparc ?
@ 2001-04-17 12:37 Jesse Pollard
  0 siblings, 0 replies; 10+ messages in thread
From: Jesse Pollard @ 2001-04-17 12:37 UTC (permalink / raw)
  To: babydr, Linux Kernel Maillist

"Mr. James W. Laferriere" <babydr@baby-dragons.com>:
[snip]
> 	.. ie:  cat /etc/printcap > /dev/lp0    (or /dev/par0)
> 	gets me :
> 
> /c#eodiecnyotai rhernili s to rpaemn
>                                     s eehpo o-.ROLPR0 roif{\=sl:x
>                                                                  	/p:ao/lr
> 	which is where it rolls off the paper .
> 	printer is a DECLaser 2200  .  I have the PostScript option card
> 	for it , but when it is installed -notthing- gets output so I
> 	tried the above experiment without it installed .  With the option
> 	installed the display shows 'PS Waiting' Then shortly 'PS
> 	Processing' then 'PS Ready' .  This happens whether I cat .ps
> 	files or not .  I beleive that something is garbling the data
> 	being sent .

I have the 5100 printer - It is expecting PCL when the PS option is not
set. With it set, it only prints postscript.

What I did was to pass the data through enscript/nenscript to convert
to postscript. Then I had no problems at all.

-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil

Any opinions expressed are solely my own.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-05-17 18:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-17  0:54 Is printing broke on sparc ? Mr. James W. Laferriere
2001-04-17 12:42 ` Tim Waugh
2001-04-18  0:10   ` Mr. James W. Laferriere
2001-04-18  0:28     ` Mr. James W. Laferriere
2001-04-18  8:20       ` Tim Waugh
2001-05-16  0:14     ` Mr. James W. Laferriere
2001-05-16  0:27       ` kernel2.2.x to kernel2.4.x jalaja devi
2001-05-16 20:40         ` Alan Cox
2001-05-17 18:20           ` jalaja devi
  -- strict thread matches above, loose matches on Subject: below --
2001-04-17 12:37 Is printing broke on sparc ? Jesse Pollard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox