printing pdf files
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 444 from 2006/11/16
    From: The Netherlands
    I would like to print out a pdf file with my peg2.
    The pdf file shows up nicely with apdf3.3 and I can also print out the text from there.
    But it is a mess no graphics all same font etc..
    I need Ghostscript for this?
    And is there a easy install guide for this or a installer?
    And what version on aminet I see 5 and 6 versions off which the 5 has more files.
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »18.11.07 - 18:26
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Motosampy
    Posts: 199 from 2004/8/14
    From: Järvenp&a...
    You`ll need to install GhostScript, I thionk the latest version is 8.50 or something like that.

    See the thread
    https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=4253&forum=9#39475

    There is somewhere quite a good installation guide also, but just can`t remember where. Perhaps someone else remembers or finds it (or writes one`s own?). The installation is pretty simple though if I remember correctly.
  • »18.11.07 - 18:56
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 444 from 2006/11/16
    From: The Netherlands
    I tried to install but no printing.
    This is my user-startup:

    assign gs854: prog:gs854
    assign gs854data: gs854:lib
    assign gs854fonts: gs854:fonts
    assign gs854resource: gs854:resource
    assign ghostscript: gs854:

    I installed the gs-handler into l: and the ps: into devs/dosdrivers

    the arguments in Tprint ps tab are:

    gs854:bin/gs -sDEVICE=tp24 -dBATCH -DNOPAUSE -q

    tempdir Turboprint:Temp

    I try to print from apdf with printing set to ps: and postscriptlevel2(default).

    Peg freezes and no reaction from the printer.
    It is the 020 NOFPU version which should work?
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »18.11.07 - 20:09
    Profile
  • MorphOS Developer
    CISC
    Posts: 619 from 2005/8/27
    From: the land with ...
    It's worth noting you don't need GhostScript if you have a printer capable of PostScript, then all you need to do is set APDF to output to PAR: or USBPAR:...


    - CISC
  • »18.11.07 - 20:52
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Schlonz
    Posts: 131 from 2004/4/16
    From: Langen, Germany
    @amiga4001:

    - use the nofpu version of GS

    - in System Prefs -> Printer -> PS change in the "PS Printmode" box the "Printmode" to "Colour 24 Bit" and "Density" to something else than "as in config".
  • »18.11.07 - 22:05
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Motosampy
    Posts: 199 from 2004/8/14
    From: Järvenp&a...
    Try changing

    gs854:bin/gs -sDEVICE=tp24 -dBATCH -DNOPAUSE -q

    to

    gs854:bin/gs -sDEVICE=Turboprint -q
  • »19.11.07 - 09:11
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 444 from 2006/11/16
    From: The Netherlands
    No still no go keeps freezing.
    Could somebody email me the ghostscript dir with all files and the user-startup piece with the assigns?
    And maybe also the gs-handler and the dosdriver?
    And exactly what line into the ps argument.
    PM me please so I can get it to work.
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »19.11.07 - 21:22
    Profile
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 599 from 2004/11/27
    @ amiga4001

    I'm using GS8.54 every day, mostly for pdf creation but also for color and bw printing and it works very well.

    So here is what I have in my user-startup:

    ;BEGIN Ghostscript854
    Assign GS854: "System:GS854"
    Assign GS854Fonts: "System:GS854/fonts"
    Assign GS854Data: "System:GS854/lib"
    Assign GS854Resource: "System:GS854/resource"
    Assign Ghostscript: "GS854:"
    ;END Ghostscript854

    This means of course you have a System: partition and a GS854 drawer...

    Please ha a look at my screengrab.

    You can get the gs-handler which has to be in "L" as well as the PS mountfile which has to be in "Devs/DOSDrivers" from here:

    http://www.whoosh777.pwp.blueyonder.co.uk/TP_PS_files.lha

    For the line in PS I use:

    GS854:bin/gs -sDEVICE=tp24 -dBATCH -dNOPAUSE -q

    and then I print to PS:

    All the files of the latest version you can get here:

    http://www.whoosh777.pwp.blueyonder.co.uk/gs854release020nofpu.lha
    http://www.whoosh777.pwp.blueyonder.co.uk/gs854fonts.lha
    http://www.whoosh777.pwp.blueyonder.co.uk/gs854core.lha

    as well as instructions how to install and use the software.

    Be carefull to use only the "nofpu" version of gs with MorphOS because the fpu version does not work.

    Hope this helps

    Regards

    Christoph
  • »20.11.07 - 06:46
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 444 from 2006/11/16
    From: The Netherlands
    To all who helped ..thanks!
    Works now don't know exactly which caused it to work now but it does.
    I also changed a setting in the info window off the PS mountlist.
    It said activate=0 I changed this to 1.
    Don't know if this did the trick but it works like a dream now so haapy morphosuser again!
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »21.11.07 - 20:56
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Jeckel
    Posts: 133 from 2007/3/11
    Printing via PS: doesn't work for me either.

    Ghostscript seems to be ok: it can open PDF files and even print them using "GS854:bin/gs -sDEVICE=tp24 -dBATCH -dNOPAUSE -q file.pdf" command line.

    TurboPrint seems to be ok too: I can print texts and photos with various programs.

    But when I try to print using PS: nothing happens?

    I use the original TurboPrint version from MOS 1.4.5 and the latest Ghostscript.
  • »22.11.07 - 17:42
    Profile
  • MorphOS Developer
    geit
    Posts: 1045 from 2004/9/23
    I made an installer script for latest Ghostscript 8.60.

    Please note that its recommended to remove any manual installed ghostscripts before running the update.

    All needed is downloading the archive and follow the installation process.

    http://www.geit.de/tmp/contrib_ghostscript.tar

    Please report any problems as its quite new.

    Geit
  • »08.01.09 - 01:24
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 444 from 2006/11/16
    From: The Netherlands
    Thanks Geit works perfectly with mos 2.2
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »08.01.09 - 21:38
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    @Geit

    I was wondering, since I hadn't luck before. Can I use this
    to print on efika? (knew this was coming). I downloaded
    it and installed(lovely b.t.w.) I see the comm in
    uer startup. What else do I do. I tried to print the
    test pdf in apdf. I got an error that it couldn't
    open the dir file. Do I need to configure something
    or is it a no go? The printer (HP Deskjet D2430)
    was pick up by poseidon, and bounded to printer.class
    thanks....







    Posted with Sputnik
  • »09.01.09 - 00:14
    Profile
  • MorphOS Developer
    geit
    Posts: 1045 from 2004/9/23
    I was wondering, since I hadn't luck before. Can I use this
    to print on efika? (knew this was coming). I downloaded
    it and installed(lovely b.t.w.) I see the comm in
    uer startup. What else do I do. I tried to print the
    test pdf in apdf. I got an error that it couldn't
    open the dir file. Do I need to configure something
    or is it a no go? The printer (HP Deskjet D2430)
    was pick up by poseidon, and bounded to printer.class



    Just enter printer settings and select your printer or a working driver which prints normal text with an editor.

    Set the port cycle to "device". The gadgets below get available. Enter "usbparallel.device" and *IMPORTANT* press return. Now save settings and it should print via USB.

    Geit
  • »09.01.09 - 00:22
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    I tried all hp drivers, except laser, didn't find one
    which worked, hope I don't have to try ALL the drivers!

    edit: broke out the old epson stylus colour 740i.
    It was accessed, but no telling what the print looked
    like because didnt see anything. The ink felt ok, but
    it may be dryied up. On efika, the sys lock up during
    print a couple of times.


    [ Edited by xyphoid on 2009/1/8 23:21 ]
  • »09.01.09 - 02:14
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    analogkid
    Posts: 665 from 2004/11/3
    From: near myself
    Thank you Geit, after replacing the WGet-version included in the MorphOS SDK with the versions you've packaged, the installation worked like a charm.
  • »09.01.09 - 10:44
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Brumiga
    Posts: 242 from 2004/4/3
    From: France
    Hello all,

    @Geit, I am not able to print a pdf file. I always obtain the following error message, at the bottom of my post.

    I have installed the latest ghostcript. My printer is an epson stylus d88+ plugged to my peg2 in usb, I use the driver epson stylus c84. I have deleted all the config files and rebuilt the config from scratch. In the ps I have modified the arguments accordingly to the readme of ghostscript archives.

    In mossys:devs/dosdrivers ps: contains just that.

    /* $VER: PS 50.1 (31.10.2006)
    *
    * GS-Handler mount entry
    */

    Handler = MOSSYS:l/gs-handler
    StackSize = 4096
    Priority = 5
    GlobVec = -1

    Must this file be modified so that to be able to print pdf from apdf with ghostscript correctly installed ?

    /* Ghostscript printing handler mount entry */

    Handler = L:gs-handler
    StackSize = 5000
    Priority = 5
    GlobVec = -1
    Startup = "DEVICE=usbparallel.device UNIT=0 TYPE=parallel"

    I specify that I use the same printing configuration than in morphos 1.4.5, there it is fully functional, exepted that "Ghostscript:" volume is requested but I ignore it and that prints.

    Brumiga


    [ Edited by Brumiga on 2009/1/17 19:56 ]
  • »17.01.09 - 15:39
    Profile
  • MorphOS Developer
    geit
    Posts: 1045 from 2004/9/23
    No there is no further modification required. The ps file in mossys:devs/dosdrivers is ready to run.

    Just print to ps: in APDF and it should work.

    Geit
  • »17.01.09 - 19:13
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Kamul
    Posts: 121 from 2004/6/9
    From: Poland, Katowice
    Thanks Geit! :) Today I printed my first site directly from APDF. :)

    But I have some problems also. Whent I print a page, sometimes printing works good. But sometimes "Saving..." window with progressbar stays opened for a looong time, CPU usage is 100% and nothing is going on. Has anyone the same problem?
  • »18.01.09 - 18:09
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    serge
    Posts: 725 from 2003/2/20
    Hi Geit,

    I'm trying to install GS on my morphos2.2 without succes. I Tried it when I knew that PS printing is the better way to print with Morphos. Unfortunalty, I ran your installation script and an error occured after downloading the files.
    Here is a
    Screen Grab with the error message

    I dont tryed to install GS before. This is the first time I do it on my new fresh Morphos2.2

    Do you have an idea please?


    Quote:


    geit wrote:

    I made an installer script for latest Ghostscript 8.60.

    Please note that its recommended to remove any manual installed ghostscripts before running the update.

    All needed is downloading the archive and follow the installation process.

    http://www.geit.de/tmp/contrib_ghostscript.tar

    Please report any problems as its quite new.

    Geit

    [ Edited by serge on 2009/2/9 14:15 ]
  • »09.02.09 - 13:12
    Profile
  • MorphOS Developer
    geit
    Posts: 1045 from 2004/9/23
    I guess you got one of the broken versions. As the archve is in constant flux just reload and try again. The current version supports mirror selection and has additional data checks implemented.

    http://www.geit.de/tmp/contrib_ghostscript.tar

    I also updated the installer archive a few times. Current version is 1.22

    http://www.geit.de/tmp/contrib_installer.tar

    Geit
  • »09.02.09 - 13:50
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    serge
    Posts: 725 from 2003/2/20
    It's ok now.

    I found what was wrong with GS at home,

    I had lot of morphos files and folders in mossys: write protected.

    Since I repalced them by files with write flags, the installation of Gs was succesfull.

    Thank you very much for this GS installer Geit.



    [ Edited by serge on 2009/2/9 23:02 ]
  • »09.02.09 - 14:37
    Profile