* [gentoo-user] bypassing CUPS - howto
@ 2010-04-28 10:07 Helmut Jarausch
0 siblings, 0 replies; 10+ messages in thread
From: Helmut Jarausch @ 2010-04-28 10:07 UTC (permalink / raw
To: gentoo-user
Hi,
I'd like to bypass processing by CUPS and send some postscript/pdf file
directly to a USB / network printer.
Does anybody know how this can be achieved?
Many thanks for a hint,
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] bypassing CUPS - howto
[not found] <eEdjs-3zv-25@gated-at.bofh.it>
@ 2010-04-28 13:11 ` David W Noon
2010-04-28 14:27 ` Helmut Jarausch
0 siblings, 1 reply; 10+ messages in thread
From: David W Noon @ 2010-04-28 13:11 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 810 bytes --]
On Wed, 28 Apr 2010 13:10:02 +0200, Helmut Jarausch wrote about
[gentoo-user] bypassing CUPS - howto:
>I'd like to bypass processing by CUPS and send some postscript/pdf file
>directly to a USB / network printer.
>Does anybody know how this can be achieved?
Why do you need to bypass CUPS?
If you have a raw print stream, just ensure you have
application/octet-stream enabled. To do this, simply cd to /etc/cups
on the machine that owns the printer(s) and edit mime.convs and
mime.types. You will easily see the octet-stream support near the
bottom of each of these files.
--
Regards,
Dave [RLU #314465]
======================================================================
dwnoon@ntlworld.com (David W Noon)
======================================================================
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] bypassing CUPS - howto
2010-04-28 13:11 ` David W Noon
@ 2010-04-28 14:27 ` Helmut Jarausch
2010-04-29 8:37 ` Stroller
0 siblings, 1 reply; 10+ messages in thread
From: Helmut Jarausch @ 2010-04-28 14:27 UTC (permalink / raw
To: gentoo-user
On 28 Apr, David W Noon wrote:
> On Wed, 28 Apr 2010 13:10:02 +0200, Helmut Jarausch wrote about
> [gentoo-user] bypassing CUPS - howto:
>
>>I'd like to bypass processing by CUPS and send some postscript/pdf file
>>directly to a USB / network printer.
>>Does anybody know how this can be achieved?
>
> Why do you need to bypass CUPS?
Thanks, it's just for debugging.
Printing some pdf files with acroread makes some printers
hang here.
To locate the problem source, I'd like to check if the printer
works if it gets the postscript or pdf-file (there printer is assumed
to accept postscript level 3).
I hope to use pyusb to print to a USB printer. There is a new version
1.0.0a0 on sourceforge.
Some of my network printers accept file submission via ftp.
But what for the other ones?
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] bypassing CUPS - howto
2010-04-28 14:27 ` Helmut Jarausch
@ 2010-04-29 8:37 ` Stroller
2010-04-29 9:13 ` Helmut Jarausch
0 siblings, 1 reply; 10+ messages in thread
From: Stroller @ 2010-04-29 8:37 UTC (permalink / raw
To: gentoo-user
On 28 Apr 2010, at 15:27, Helmut Jarausch wrote:
>> ...
>> Why do you need to bypass CUPS?
>
> Thanks, it's just for debugging.
>
> Printing some pdf files with acroread makes some printers
> hang here.
> To locate the problem source, I'd like to check if the printer
> works if it gets the postscript or pdf-file (there printer is assumed
> to accept postscript level 3).
Have you tried using `lpr` at the command line?
I *believe* something like `lpr /path/to/file.pdf` should work.
Stroller.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] bypassing CUPS - howto
2010-04-29 8:37 ` Stroller
@ 2010-04-29 9:13 ` Helmut Jarausch
2010-04-29 13:47 ` Dale
2010-04-30 9:43 ` Stroller
0 siblings, 2 replies; 10+ messages in thread
From: Helmut Jarausch @ 2010-04-29 9:13 UTC (permalink / raw
To: gentoo-user
On 29 Apr, Stroller wrote:
>
> On 28 Apr 2010, at 15:27, Helmut Jarausch wrote:
>>> ...
>>> Why do you need to bypass CUPS?
>>
>> Thanks, it's just for debugging.
>>
>> Printing some pdf files with acroread makes some printers
>> hang here.
>> To locate the problem source, I'd like to check if the printer
>> works if it gets the postscript or pdf-file (there printer is assumed
>> to accept postscript level 3).
>
> Have you tried using `lpr` at the command line?
>
> I *believe* something like `lpr /path/to/file.pdf` should work.
>
Thanks, but lpr is just a front-end for cups.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] bypassing CUPS - howto
2010-04-29 9:13 ` Helmut Jarausch
@ 2010-04-29 13:47 ` Dale
2010-05-09 3:10 ` Michael George
2010-04-30 9:43 ` Stroller
1 sibling, 1 reply; 10+ messages in thread
From: Dale @ 2010-04-29 13:47 UTC (permalink / raw
To: gentoo-user
Helmut Jarausch wrote:
> On 29 Apr, Stroller wrote:
>
>> On 28 Apr 2010, at 15:27, Helmut Jarausch wrote:
>>
>>>> ...
>>>> Why do you need to bypass CUPS?
>>>>
>>> Thanks, it's just for debugging.
>>>
>>> Printing some pdf files with acroread makes some printers
>>> hang here.
>>> To locate the problem source, I'd like to check if the printer
>>> works if it gets the postscript or pdf-file (there printer is assumed
>>> to accept postscript level 3).
>>>
>> Have you tried using `lpr` at the command line?
>>
>> I *believe* something like `lpr /path/to/file.pdf` should work.
>>
>>
> Thanks, but lpr is just a front-end for cups.
>
>
I tried that here and got a error. It may be a bad setting on my end
but it didn't like the idea.
root@smoker ~ # lpr /data/pdf/LivingWill.pdf
lpr: Unsupported format 'application/pdf'!
root@smoker ~ #
Dale
:-) :-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] bypassing CUPS - howto
2010-04-29 9:13 ` Helmut Jarausch
2010-04-29 13:47 ` Dale
@ 2010-04-30 9:43 ` Stroller
1 sibling, 0 replies; 10+ messages in thread
From: Stroller @ 2010-04-30 9:43 UTC (permalink / raw
To: gentoo-user
On 29 Apr 2010, at 10:13, Helmut Jarausch wrote:
> On 29 Apr, Stroller wrote:
>>
>> On 28 Apr 2010, at 15:27, Helmut Jarausch wrote:
>>>> ...
>>>> Why do you need to bypass CUPS?
>>>
>>> Thanks, it's just for debugging.
>>>
>>> Printing some pdf files with acroread makes some printers
>>> hang here.
>>> To locate the problem source, I'd like to check if the printer
>>> works if it gets the postscript or pdf-file (there printer is
>>> assumed
>>> to accept postscript level 3).
>>
>> Have you tried using `lpr` at the command line?
>>
>> I *believe* something like `lpr /path/to/file.pdf` should work.
>>
>
> Thanks, but lpr is just a front-end for cups.
So you're sure the problem isn't Acroread, then?
This is not clear from your description.
Stroller.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] bypassing CUPS - howto
2010-04-29 13:47 ` Dale
@ 2010-05-09 3:10 ` Michael George
2010-05-09 16:30 ` Michael George
0 siblings, 1 reply; 10+ messages in thread
From: Michael George @ 2010-05-09 3:10 UTC (permalink / raw
To: gentoo-user
On Thu, Apr 29, 2010 at 08:47:49AM -0500, Dale wrote:
> Helmut Jarausch wrote:
> > On 29 Apr, Stroller wrote:
> >
> >> On 28 Apr 2010, at 15:27, Helmut Jarausch wrote:
> >>
> >>>> ...
> >>>> Why do you need to bypass CUPS?
> >>>>
> >>> Thanks, it's just for debugging.
> >>>
> >>> Printing some pdf files with acroread makes some printers
> >>> hang here.
> >>> To locate the problem source, I'd like to check if the printer
> >>> works if it gets the postscript or pdf-file (there printer is assumed
> >>> to accept postscript level 3).
> >>>
> >> Have you tried using `lpr` at the command line?
> >>
> >> I *believe* something like `lpr /path/to/file.pdf` should work.
> >>
> >>
> > Thanks, but lpr is just a front-end for cups.
> >
> >
>
> I tried that here and got a error. It may be a bad setting on my end
> but it didn't like the idea.
>
> root@smoker ~ # lpr /data/pdf/LivingWill.pdf
> lpr: Unsupported format 'application/pdf'!
> root@smoker ~ #
I started noticing this today too. My Macs aren't able to successfully
print, I just get an error in the error log about application/pdf being
an unsupported format.
If I take a PDF generated on the Mac and move it to my Linux system and
run "lpr <filename>.pdf" I get:
lpr: Unsupported format 'application/pdf'!
If I use "pdftops" to generate a PS file, "lpr <filename>.ps" works
fine. If I open the PDF in xpdf and print, telling it to use the
command "lpr," that also works fine.
I upgraded from cups 1.3.10 to 1.3.11 today (cannot go back). I've
rebuilt all the foomatic packages I had installed, gutenprint, cups-pdf,
ghostscript-gpl, but still it doesn't work...
--
-M
There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] bypassing CUPS - howto
2010-05-09 3:10 ` Michael George
@ 2010-05-09 16:30 ` Michael George
0 siblings, 0 replies; 10+ messages in thread
From: Michael George @ 2010-05-09 16:30 UTC (permalink / raw
To: gentoo-user
On Sat, May 08, 2010 at 11:10:04PM -0400, Michael George wrote:
> On Thu, Apr 29, 2010 at 08:47:49AM -0500, Dale wrote:
> > Helmut Jarausch wrote:
> > > On 29 Apr, Stroller wrote:
> > >
> > >> On 28 Apr 2010, at 15:27, Helmut Jarausch wrote:
> > >>
> > >>>> ...
> > >>>> Why do you need to bypass CUPS?
> > >>>>
> > >>> Thanks, it's just for debugging.
> > >>>
> > >>> Printing some pdf files with acroread makes some printers
> > >>> hang here.
> > >>> To locate the problem source, I'd like to check if the printer
> > >>> works if it gets the postscript or pdf-file (there printer is assumed
> > >>> to accept postscript level 3).
> > >>>
> > >> Have you tried using `lpr` at the command line?
> > >>
> > >> I *believe* something like `lpr /path/to/file.pdf` should work.
> > >>
> > >>
> > > Thanks, but lpr is just a front-end for cups.
> > >
> > >
> >
> > I tried that here and got a error. It may be a bad setting on my end
> > but it didn't like the idea.
> >
> > root@smoker ~ # lpr /data/pdf/LivingWill.pdf
> > lpr: Unsupported format 'application/pdf'!
> > root@smoker ~ #
>
> I started noticing this today too. My Macs aren't able to successfully
> print, I just get an error in the error log about application/pdf being
> an unsupported format.
>
> If I take a PDF generated on the Mac and move it to my Linux system and
> run "lpr <filename>.pdf" I get:
> lpr: Unsupported format 'application/pdf'!
>
> If I use "pdftops" to generate a PS file, "lpr <filename>.ps" works
> fine. If I open the PDF in xpdf and print, telling it to use the
> command "lpr," that also works fine.
>
> I upgraded from cups 1.3.10 to 1.3.11 today (cannot go back). I've
> rebuilt all the foomatic packages I had installed, gutenprint, cups-pdf,
> ghostscript-gpl, but still it doesn't work...
I'm not sure that you are having the same problem I am, but I found the
solution here to work for me:
http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=309901
--
-M
There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] bypassing CUPS - howto
[not found] ` <eI602-3d7-9@gated-at.bofh.it>
@ 2010-05-09 17:18 ` David W Noon
0 siblings, 0 replies; 10+ messages in thread
From: David W Noon @ 2010-05-09 17:18 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 835 bytes --]
On Sun, 09 May 2010 06:10:02 +0200, Michael George wrote about Re:
[gentoo-user] bypassing CUPS - howto:
>If I take a PDF generated on the Mac and move it to my Linux system and
>run "lpr <filename>.pdf" I get:
>lpr: Unsupported format 'application/pdf'!
Take a look at /etc/cups/mime.types and /etc/cups/mime.convs, and
ensure the PDF definitions (there could be 2 or more) and conversion
utility are correctly configured. It should be obvious what is needed,
as the details are usually in the comments.
You will need to do this on all systems running CUPS to/from you wish
to print PDF documents.
--
Regards,
Dave [RLU #314465]
======================================================================
dwnoon@ntlworld.com (David W Noon)
======================================================================
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-05-09 17:19 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <eEg7E-7KC-17@gated-at.bofh.it>
[not found] ` <eEg7E-7KC-15@gated-at.bofh.it>
[not found] ` <eEh3I-Hw-7@gated-at.bofh.it>
[not found] ` <eExUR-e9-5@gated-at.bofh.it>
[not found] ` <eEyQV-1BT-11@gated-at.bofh.it>
[not found] ` <eECBb-7il-3@gated-at.bofh.it>
[not found] ` <eI602-3d7-9@gated-at.bofh.it>
2010-05-09 17:18 ` [gentoo-user] bypassing CUPS - howto David W Noon
[not found] <eEdjs-3zv-25@gated-at.bofh.it>
2010-04-28 13:11 ` David W Noon
2010-04-28 14:27 ` Helmut Jarausch
2010-04-29 8:37 ` Stroller
2010-04-29 9:13 ` Helmut Jarausch
2010-04-29 13:47 ` Dale
2010-05-09 3:10 ` Michael George
2010-05-09 16:30 ` Michael George
2010-04-30 9:43 ` Stroller
2010-04-28 10:07 Helmut Jarausch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox