Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #162495
| From | John Hasler <jhasler@newsguy.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Cups, Gutenprint, and Plain Text |
| Date | 2016-01-02 20:40 +0100 |
| Message-ID | <qMAbU-3Mt-7@gated-at.bofh.it> (permalink) |
| References | <qMx4m-1Tw-5@gated-at.bofh.it> <qMxQK-2qa-15@gated-at.bofh.it> <qMyD9-2In-29@gated-at.bofh.it> <qMzpw-3e8-19@gated-at.bofh.it> |
| Organization | Dancing Horse Hill |
Brian writes: > The question is whether the gray bar is an artifact produced by CUPS > (unlikely), by cups-filters (possible, but unlikely), the Gutenprint > driver (could be) or the printer (one never knows). Or it could be > part of the original file. We assume the file is something produced by > a text editor, vim etc. The file is: qwertyuiop asdfghjkl Produced by vi. > Your printer is a PostScript printer. Obtain the URI of the parallel > port with > lpstat -v Ok: toncho/~ lpstat -v device for HPLJ5: parallel:/dev/lp0 > and set up a print queue with > lpadmin -p HP5M-test1 -v <URI> -E -m drv:///sample.drv/generic.ppd Ok: toncho/~ lpadmin -p HP5M-test1 -v parallel:/dev/lp0 -E -m drv:///sample.drv/generic.ppd > Print with > lp -d HP5M-test1 <text_file> Ok: toncho/~ lp -d HP5M-test1 text Second LED comes on, first LED blinks a few times, second LED goes off. Nothing prints, though the Cups Web interface says it did. > You could also try > lpadmin -p HP5M-test2 -v <URI> -E -m lsb/usr/cupsfilters/textonly.ppd Ok: toncho/~ lpadmin -p HP5M-test2 -v parallel:/dev/lp0 -E -m lsb/usr/cupsfilters/textonly.ppd toncho/~ lp -d HP5M-test2 text Produces same result as above except that both LEDs stay on. I wrote: > There is no difference in using lp or lpr. > ... > Yes. That's unimportant. Brian writes: > Not for the people who think there is a significant difference. In this context it is unimportant. The requirement is to type "lpr filename" on a workstation and have the file print correctly regardless of whether it is a pdf or plain text. Works now but only for pdfs. I have no need to print directly from the server: its function is to provide a parallel port. -- John Hasler jhasler@newsguy.com Elmwood, WI USA
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Cups, Gutenprint, and Plain Text John Hasler <jhasler@newsguy.com> - 2016-01-02 17:20 +0100
Re: Cups, Gutenprint, and Plain Text Patrick Wiseman <pwiseman@gmail.com> - 2016-01-02 17:40 +0100
Re: Cups, Gutenprint, and Plain Text John Hasler <jhasler@newsguy.com> - 2016-01-02 18:20 +0100
Re: Cups, Gutenprint, and Plain Text Brian <ad44@cityscape.co.uk> - 2016-01-02 18:10 +0100
Re: Cups, Gutenprint, and Plain Text John Hasler <jhasler@newsguy.com> - 2016-01-02 19:00 +0100
Re: Cups, Gutenprint, and Plain Text Brian <ad44@cityscape.co.uk> - 2016-01-02 19:50 +0100
Re: Cups, Gutenprint, and Plain Text John Hasler <jhasler@newsguy.com> - 2016-01-02 20:40 +0100
Re: Cups, Gutenprint, and Plain Text deloptes <deloptes@yahoo.com> - 2016-01-02 21:00 +0100
Re: Cups, Gutenprint, and Plain Text John Hasler <jhasler@newsguy.com> - 2016-01-02 21:30 +0100
Re: Cups, Gutenprint, and Plain Text John Hasler <jhasler@newsguy.com> - 2016-01-02 21:50 +0100
Re: Cups, Gutenprint, and Plain Text Brian <ad44@cityscape.co.uk> - 2016-01-02 21:10 +0100
csiph-web