Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: define device for printing on a file

  1. #1

    Question define device for printing on a file

    Good morning,

    I don't know if it's the right forum but I try here.

    I need to define a device for printing on a file positioned in a subdir defined by me.

    Can anyone help me please?

    Thanks a lot

  2. #2
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,450

    Default Re: define device for printing on a file

    A quick look at the KDE options suggests that this is not possible in KDE because there is no option to define the output device. However, ghostscript does have such an option, see gs --help for details.

    I assume that, if you call ghostscript from the subdir, it will leave the output there.

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,867
    Blog Entries
    14

    Default Re: define device for printing on a file

    AFAICT you might be making things more difficult that they are:

    In almost every app I see, in the list of available printers, an option to print to file, i.e. .ps or .pdf
    LibreOffice apps have the option to export to pdf
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: define device for printing on a file

    On 2012-05-15 09:16, bonovox73 wrote:
    >
    > Good morning,
    >
    > I don't know if it's the right forum but I try here.
    >
    > I need to define a device for printing on a file positioned in a subdir
    > defined by me.


    All Linux applications print to postscript file which is then sent to the
    printer system for processing.

    If what you want is the binary stream that is sent to the printer port,
    that's different, there is no normal access to it.

    If this is not what you mean, please explain again.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  5. #5

    Default Re: define device for printing on a file

    I'm going to explain:
    Before migrate on linux suse system, some applications of my farm run on Solaris O.S.
    With command "lpadmin" I configured a print device that printed on file placed in a subdir.
    This was a printer and when selected, the output was sent not to a phisical device but to the file in that subfolder.
    Now I need to do the same in my new linux environment so I'm looking to find instructions, command line or cups configuration for having the same result as in Solaris environment.

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: define device for printing on a file

    Am 15.05.2012 15:06, schrieb bonovox73:
    >
    > I'm going to explain:
    > Before migrate on linux suse system, some applications of my farm run
    > on Solaris O.S.
    > With command "lpadmin" I configured a print device that printed on file
    > placed in a subdir.
    > This was a printer and when selected, the output was sent not to a
    > phisical device but to the file in that subfolder.
    > Now I need to do the same in my new linux environment so I'm looking to
    > find instructions, command line or cups configuration for having the
    > same result as in Solaris environment.
    >
    >

    The package cups-client contains the command /usr/sbin/lpadmin. I never
    used it, but if you are lucky you can do the same with it you did on
    Solaris maybe.
    Did you already try it?

    --
    PC: oS 12.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.3 | GeForce GT 420
    ThinkPad E320: oS 12.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.8.3 | HD 3000
    eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10

  7. #7

    Default Re: define device for printing on a file

    Yes of course I've already tried and it returned an error.
    Is for this reason that I'm writing on this forum looking for an help

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: define device for printing on a file

    On 2012-05-15 15:46, bonovox73 wrote:
    >
    > Yes of course I've already tried and it returned an error.


    What error?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  9. #9

    Default Re: define device for printing on a file

    bonovox73 wrote:
    > Yes of course I've already tried and it returned an error. Is for
    > this reason that I'm writing on this forum looking for an help


    Well that sounds like a very critical reply to Martin. Who only had to
    make the helpful suggestion because you hadn't told us that you had
    tried that program. Even now you haven't told us what the error message
    was, so we have no idea whether it is something that can be fixed or a
    fundamental limitation. In short, you're not helping yourself with your
    current approach to the forum.

    As Carlos said, programs produce postscript. Most of the print dialogs
    have a check box or suchlike to save the postscript to a file. So
    there's no need to create any device or anything, just select the
    checkbox and choose where to save the file.

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: define device for printing on a file

    On 2012-05-15 15:06, bonovox73 wrote:

    > Now I need to do the same in my new linux environment so I'm looking to
    > find instructions, command line or cups configuration for having the
    > same result as in Solaris environment.


    have a
    look here


    There are two replies.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •