* Re: Printer port problem!? [not found] <Pine.LNX.3.95.971130234223.1727A-100000@syndi1.syndicatene> @ 1997-12-01 4:31 ` Maurice W. Hilarius 0 siblings, 0 replies; 5+ messages in thread From: Maurice W. Hilarius @ 1997-12-01 4:31 UTC (permalink / raw) With regards to your message at 11:55 PM 11-30-97 -0500, jmd. Where you stated: >Hi Friends, > >I have a DEC UDB 166 that I am trying to setup to print thru the parallel >port. Thus far, I have setup printcap file, and created a spool directory >as per instructions in "Running Linux". However, when I lpr a text file, >nothing prints. I have a parallel port cable connected to a Centronics >port on an IBM 4019E laser printer. > >After I lpr the file, I do lpc status command, and it i says the file has >been spooled and it is waiting for the printer to be put on-line. When I >press the on-line button on the printer, it makes no difference. Another >invocation of lpr/lps status indicates another item sent to the spooler, >and nothing printed. Maybe a dumb question, BUT, have you tried just cat 'ing something to the port yet? You might not have lpr support in your kernel... Cheers, +--------------------------------------------------------+ | Maurice Hilarius | The Past is History | | | The Future is Mystery | | | Today is a Gift | | Phone/FAX (403) 456-1510 | That is why they call it | | email:harddata@bigfoot.com | The Present | +--------------------------------------------------------+ -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <Pine.LNX.3.95.971130190238.446I-100000@whitestar.rkirkpat.net>]
* Printer port problem!? [not found] <Pine.LNX.3.95.971130190238.446I-100000@whitestar.rkirkpat.net> @ 1997-12-01 4:55 ` jmd 0 siblings, 0 replies; 5+ messages in thread From: jmd @ 1997-12-01 4:55 UTC (permalink / raw) Hi Friends, I have a DEC UDB 166 that I am trying to setup to print thru the parallel port. Thus far, I have setup printcap file, and created a spool directory as per instructions in "Running Linux". However, when I lpr a text file, nothing prints. I have a parallel port cable connected to a Centronics port on an IBM 4019E laser printer. After I lpr the file, I do lpc status command, and it i says the file has been spooled and it is waiting for the printer to be put on-line. When I press the on-line button on the printer, it makes no difference. Another invocation of lpr/lps status indicates another item sent to the spooler, and nothing printed. I substituted an old line printer with a paralel port. When the cable was connected from the old line printer to the UDB, I could not put it on line, or to recognise that I put paper in the printer. When I removed the printer cable from the UDB, I could force the printer on-line, it recognized the paper was in or out, and I could get it to print an internal test print. Im confused! This seems so straight forward of a task. Im thinking that the UDB's printer port may be defective. Does any of you have any tips on how to determine the problem? Sorry to ask this simplistic a question, but I have wasted a fair amount of time trying to figure this out.... in vain.... thus far. Is there a linux command to sense if a printer is on/off line? TIA for any help! Jim \\\\/ (0^0) +----------------oOOO-(_)-OOOo-+ | James M. Darlack | +------------------------------+ | Software Engineer, DCS, Inc. | | Phone: (410)905-3006 | | Iphone: T.B.A.! | | Email: jmd@Darlack.com | +---------------ooooO----Ooooo-+ -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <jmd@Darlack.com>]
* Re: Printer port problem!? [not found] <jmd@Darlack.com> @ 1997-12-01 5:30 ` Bryan W. Headley 0 siblings, 0 replies; 5+ messages in thread From: Bryan W. Headley @ 1997-12-01 5:30 UTC (permalink / raw) On Nov 30, 11:55pm, jmd wrote: > Subject: Printer port problem!? > Hi Friends, > > I have a DEC UDB 166 that I am trying to setup to print thru the parallel > port. Thus far, I have setup printcap file, and created a spool directory > as per instructions in "Running Linux". However, when I lpr a text file, > nothing prints. I have a parallel port cable connected to a Centronics > port on an IBM 4019E laser printer. > > After I lpr the file, I do lpc status command, and it i says the file has > been spooled and it is waiting for the printer to be put on-line. When I > press the on-line button on the printer, it makes no difference. Another > invocation of lpr/lps status indicates another item sent to the spooler, > and nothing printed. > > I substituted an old line printer with a paralel port. When the cable was > connected from the old line printer to the UDB, I could not put it on > line, or to recognise that I put paper in the printer. When I removed the > printer cable from the UDB, I could force the printer on-line, it > recognized the paper was in or out, and I could get it to print an > internal test print. > > Im confused! This seems so straight forward of a task. Im thinking that > the UDB's printer port may be defective. Does any of you have any tips on > how to determine the problem? > > Sorry to ask this simplistic a question, but I have wasted a fair amount > of time trying to figure this out.... in vain.... thus far. > > Is there a linux command to sense if a printer is on/off line? 2.0.30 had nothing weird about supporting printers, as I remember. 2.1.x has two configuration items you have to answer "y" to before printing will work, even on a PC. This printer cable is pretty wild. It sounds like a Tandy/Radio Shack printer cable. Before I go insane, is it? Or this old line printer? They used to cheat to get the printer status by modifying the Centronics standard, the result of which is, non-Tandy printers would be forced to off-line mode. Unless you told it to ignore pin 24... Or something like that. We're talking 10 years ago, and compatibility with the crimes they committed in the late 70s, so excuse my poor memory. I have no reason to believe the UDB is in any way weird with it's parallel port. I'll be watching the printing UDB public help you with this with interest... -- Bryan W. Headley Home: bheadley@interaccess.com 211 East Pineview Drive Office: bryan.headley@abnamro.com Round Lake Park, IL 60073 Phone: 847 740-1446 -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <michal@ellpspace.math.ualberta.ca>]
* Re: Printer port problem!? [not found] <michal@ellpspace.math.ualberta.ca> @ 1997-12-01 6:13 ` Bryan W. Headley 0 siblings, 0 replies; 5+ messages in thread From: Bryan W. Headley @ 1997-12-01 6:13 UTC (permalink / raw) On Nov 30, 9:43pm, Michal Jaegermann wrote: > Subject: Re: Printer port problem!? > > > > Another > > invocation of lpr/lps status indicates another item sent to the spooler, > > and nothing printed. > > Whenever you have problems with an installation of a new printer > there are two things to check, from a root account, in case of problems: > > 1) Sanity. Does the following > echo -e "this is a printer test\r\f" > /dev/lp0 > causes any action on your printer? Maybe it is connected > to another port like /dev/lp1? If yes then your /etc/printcap > has to be modified accordingly. If none of ports works then > likely your kernel does not support a parallel printer > (integrated or the module is not loaded). > > 2) Errors. Do you have any error output in your log files > (/var/log/messages)? Maybe a filter declared in your /etc/printcap > does not exist or is not marked as executable? This will cause > effects you are seeing. > > After these two points are addressed then nearly always your printer > starts to print. Remaining cases are probably bugs in a software > (like an infamous mistake with an Intel binary on 4.2 distribution CD > for Alpha :-). > > Small patches to lpd for Alpha were posted but likely you are not > affected at this moment. *Bing* But the lpr was an intel binary by mistake! Of course, it'd core in a hurry :-) -- Bryan W. Headley Home: bheadley@interaccess.com 211 East Pineview Drive Office: bryan.headley@abnamro.com Round Lake Park, IL 60073 Phone: 847 740-1446 -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <Pine.LNX.3.95.971130234223.1727A-100000@syndi1.syndicatenet.net>]
* Re: Printer port problem!? [not found] <Pine.LNX.3.95.971130234223.1727A-100000@syndi1.syndicatenet.net> @ 1997-12-02 4:43 ` Michal Jaegermann 0 siblings, 0 replies; 5+ messages in thread From: Michal Jaegermann @ 1997-12-02 4:43 UTC (permalink / raw) > > Another > invocation of lpr/lps status indicates another item sent to the spooler, > and nothing printed. Whenever you have problems with an installation of a new printer there are two things to check, from a root account, in case of problems: 1) Sanity. Does the following echo -e "this is a printer test\r\f" > /dev/lp0 causes any action on your printer? Maybe it is connected to another port like /dev/lp1? If yes then your /etc/printcap has to be modified accordingly. If none of ports works then likely your kernel does not support a parallel printer (integrated or the module is not loaded). 2) Errors. Do you have any error output in your log files (/var/log/messages)? Maybe a filter declared in your /etc/printcap does not exist or is not marked as executable? This will cause effects you are seeing. After these two points are addressed then nearly always your printer starts to print. Remaining cases are probably bugs in a software (like an infamous mistake with an Intel binary on 4.2 distribution CD for Alpha :-). Small patches to lpd for Alpha were posted but likely you are not affected at this moment. Michal -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-12-02 4:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.3.95.971130234223.1727A-100000@syndi1.syndicatene>
1997-12-01 4:31 ` Printer port problem!? Maurice W. Hilarius
[not found] <Pine.LNX.3.95.971130190238.446I-100000@whitestar.rkirkpat.net>
1997-12-01 4:55 ` jmd
[not found] <jmd@Darlack.com>
1997-12-01 5:30 ` Bryan W. Headley
[not found] <michal@ellpspace.math.ualberta.ca>
1997-12-01 6:13 ` Bryan W. Headley
[not found] <Pine.LNX.3.95.971130234223.1727A-100000@syndi1.syndicatenet.net>
1997-12-02 4:43 ` Michal Jaegermann
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox