[opensuse] Using your own print filter script?
I have a setup using DOSEMU, for that I can direct the DOS program "LPT1:" output directly to a script and it works fine. I would like some Windows computer runnings the same DOS program to also use this script for their "printing," I can get the output from those machines to CUPS vis Samba without an issue -- of course to a normal printer thats setup in CUPS. All I need CUPS to do is pipe the raw data it receives from the client to a script, bypassing any print filters as no processing is needed. My question is, how can I accomplish that? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Andrew Joakimsen wrote:
I have a setup using DOSEMU, for that I can direct the DOS program "LPT1:" output directly to a script and it works fine.
I would like some Windows computer runnings the same DOS program to also use this script for their "printing," I can get the output from those machines to CUPS vis Samba without an issue -- of course to a normal printer thats setup in CUPS.
All I need CUPS to do is pipe the raw data it receives from the client to a script, bypassing any print filters as no processing is needed. My question is, how can I accomplish that?
I'm pretty certain that's how CUPS deals with the kind of Windows setup where the printer driver is installed locally. In those situations, CUPS also just handles the raw data without filtering. I don't have any pointers right now, but maybe this will help your searching. /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Andrew Joakimsen schreef:
I have a setup using DOSEMU, for that I can direct the DOS program "LPT1:" output directly to a script and it works fine.
I would like some Windows computer runnings the same DOS program to also use this script for their "printing," I can get the output from those machines to CUPS vis Samba without an issue -- of course to a normal printer thats setup in CUPS.
All I need CUPS to do is pipe the raw data it receives from the client to a script, bypassing any print filters as no processing is needed. My question is, how can I accomplish that?
I used this to create a CUPS-pdf-printer : http://www.novell.com/coolsolutions/feature/17636.html To make a samba pcl2pdf-printer I used "Easy PDF creation on a sambaserver". Google for it, I dont have the exact location (www.lessbel.com.au/Home.nsf/ is the start of the url, the rest is a bunch of numbers that's truncated, I pdf-printed the document). These can be starting points. HTH -- Met vriendelijke groeten, Koenraad Lelong
On Wed, Oct 8, 2008 at 4:12 AM, Koenraad Lelong <k.lelong@ace-electronics.be> wrote:
Andrew Joakimsen schreef:
All I need CUPS to do is pipe the raw data it receives from the client to a script, bypassing any print filters as no processing is needed. My question is, how can I accomplish that?
To make a samba pcl2pdf-printer I used "Easy PDF creation on a sambaserver". Google for it, I dont have the exact location (www.lessbel.com.au/Home.nsf/ is the start of the url, the rest is a bunch of numbers that's truncated, I
The second site[1] talks about postscript to PDF using the ps2pdf command. BUT I had never thought of bypassing CUPS and the Samba configuration there is exactly what I needed. Except for some errors each time it is used, I guess it is checking if the queue exists (which it does not) but then it sends it to the custom command, anyways, this is working perfectly. In my environment we are also using Samba to access the printers setup in CUPS -- all works. FWIW I am using GhostPCL[2] for the PCL5 to PDF conversion. [1] http://www.lesbell.com.au/Home.nsf/b8ec57204f60dfcb4a2568c60014ed0f/67331530... [2] http://www.artifex.com/downloads/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Andrew Joakimsen
-
Koenraad Lelong
-
Per Jessen