Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dariusz Piatkowski

Pages: 1 ... 36 37 [38] 39 40 ... 49
556
So guys...I looked at the source, granted, just preliminary stuff, but given what I see I conclude that I must be missing something because the change seems literally trivial, help me out please.

Here is a section of the code, which as best as I can tell sets up the output device, it is identified with the following comments:

/* gvcprn.c */
/* Printer module of PM and Windows GSview */

=== START ===
...
    if (convert) {
   device = option.convert_device;
   resolution = option.convert_resolution;
    }
    else if (method == PRINT_GDI) {
   switch (option.print_gdi_depth) {
       case IDC_COLOUR:
      device = "bmp16m";
      break;
       case IDC_GREY:
      device = "bmpgray";
      break;
       default:
      device = "bmpmono";
      break;
   }
   resolution = "300";   /* fix later */
    }
    else if (method == PRINT_PS) {
   device = "pswrite";
   resolution = "600";   /* a guess */
    }
    else {
   device = option.printer_device;
   resolution = option.printer_resolution;
    }
...
=== STOP ===

See that reference to 'pswrite' when the print method is set to PRINT_PS (I assume PostScript printer selection)?

I will simply change that to 'ps2write', re-compile and report back on the results...seems just too easy though, no???

557
Networking / Re: Samba 4.4.x Netdrive plugin for OS/2
« on: April 02, 2017, 03:48:55 am »
Are any of you guys running into problems attempting to do COPY/PASTE to a SAMBA target???

I was trying to do so today actually...a quick movie, attempted to do a WPS/XWP copy/paste and this would produce a SYS0266:

=== START ===
SYS0266: The specified file was not copied.

EXPLANATION: Either the source and target files are not in the same
file system or the operating system does not support COPY for this
file system.

ACTION: Check the source and target file names and retry the operation.
=== STOP ===

...and yet going to CLI I had absolutely no problem accomplishing this...any ideas?

558
Well you guys...after several hrs of trying all sorts of things, reviewing some of the older ticket on Paul's site (Mantis), etc, etc...I come to the conclusion that Andi did, namely: GSView is the culprit as the newer ghostscript releases no longer support 'pswrite'.

Sooo...I suppose given that I continue to have Lucide printing problems I will take a stab at the GSView source...no idea how complex (or not) it is...but maybe i can decipher it??? lol

559
Hi Andreas!

Rozwiązanie rosyjski:

1. Skopiuj plik z \usr\lib\gsdll2.dll do \usr\bin
2. Start programu GVPM.EXE
3. Wybierz z menu "Options" - "Easy Configure"
4. Dalej - Katalog X:\USR !!! - dalej ... do końca
5. Nowy plik o nazwie PRINTERS.INI została wygenerowana / i ewentualnie \OS2\GVPM.INI
6. Restart GVPM - Otwórz plik PDF - Druk - Lista urządzeń zawiera teraz ps2write

Powodzenia! Przepraszam za mój katastrofalnej języka polskiego.

Wow my friend...that is SUPERB!!!

So the only - shall we say - un-clear step is #4, as it literally translates to:

"4. Further - Catalog X:\user !!! - further...until the end"

...and try as hard as I did...I just couldn't make sense of it...hmmm....???

Anyways, I tried this, however the "Easy Configure" always ended up in a FAIL...and the GVPM.INI itself was never re-written.

I did take a stab at that file manually, modified the following 'GhostscriptEXE' section, since adjusting it from within GSView (using the Advanced Config option) did not make any changes:

OLD
===
[GSview-5.0]
Configured=1
GSversion=910
Version=5.0
GhostscriptDLL=G:\usr\lib\gsdll2.dll
GhostscriptEXE=G:\APPS\GENERAL\GSTOOLS\gs9.04\bin\gsos2.exe
GhostscriptInclude=G:\usr\share\ghostscript\9.18\resource\init;G:\usr\share\ghostscript\9.18\lib;G:\usr\share\ghostscript\9.18\iccprofiles
GhostscriptOther=-dNOPLATFONTS -sFONTPATH="g:\psfonts;G:\usr\share\fonts\default\ghostscript;G:\usr\share\fonts\default\type1"

NEW
===

[GSview-5.0]
Configured=1
GSversion=910
Version=5.0
GhostscriptDLL=G:\usr\lib\gsdll2.dll
GhostscriptEXE=G:\usr\bin\gsos2.exe
GhostscriptInclude=G:\usr\share\ghostscript\9.18\resource\init;G:\usr\share\ghostscript\9.18\lib;G:\usr\share\ghostscript\9.18\iccprofiles
GhostscriptOther=-dNOPLATFONTS -sFONTPATH="g:\psfonts;G:\usr\share\fonts\default\ghostscript;G:\usr\share\fonts\default\type1"

...unfortunately, even with the corrected path to the gsos2.exe file it still failed to print.

560
Hi ivan,

...Now I need to find jpeg.dll, lcms22.dll, cupsim.dll and cupc.dll.  I assume the last two are to help with integration into cups printing but the question is which versions of all those.

Maybe you need to check if you have those DLLs in your libpath.

I find all but one of the DLLs you listed in my \usr\lib path, which is the target DLL path for RPM installer on my system. Only the cupc.dll is missing.

If I remember correctly, the cups-libs RPM package was installed along with the ghostscript RPM package. As well, the ghostscript-fonts RPM was another pre-requisite.

561
Hi Andi,

...I'm pretty sure printing worked some times ago but now I get the same error message than you. Time to fill an issue I think.

Btw. at least font path may need slash instead back slash.

I tried your settings, no difference. This includes the fwd-slash instead of back-slash.

562
Utilities / Re: PCL6 Printer driver
« on: March 25, 2017, 10:53:44 pm »
I have IMBPCL5.EXE here...what are you looking for?

563
I have been using native GSView and Ghostscript for a number of years now. Even though Lucide has come along nicely I still experience pretty regular printing issues with it (see http://trac.netlabs.org/lucide/ticket/342)...so I rely on Ghostveiw/script to always come through with a good hard-copy output.

The current working setup is made up of:

1) GSView 5.0 (2012-01-07 release)
2) Ghostscript 9.04

I installed the current RPM package of Ghostscript, that being 9.18. I then modified the setups in GSView so re-point it to the RPM version of the install.

1) Working setup of GSView
"Ghostscript DLL:"
=> G:\APPS\GENERAL\GSTOOLS\gs9.04\bin\gsdll2.dll

"Ghostscript Include Path: "
=> g:\apps\general\gstools\gs9.04\resource\Init;G:\apps\general\gstools\gs9.04\lib;g:\apps\general\gstools\gs9.04\resource\Font;g:\psfonts;

"Ghostscript Options:"
=> -dNOPLATFONTS -sFONTPATH="g:\psfonts;g:\apps\general\gstools\gs9.04\resource\Font"

2) NEW setups of GSView
"Ghostscript DLL:"
=> G:\usr\lib\gsdll2.dll

"Ghostscript Include Path: "
=> G:\usr\share\ghostscript\9.18\resource\init;G:\usr\share\ghostscript\9.18\lib;G:\usr\share\ghostscript\9.18\iccprofiles;

"Ghostscript Options:"
=> -dNOPLATFONTS -sFONTPATH="g:\psfonts;G:\usr\share\fonts\default\ghostscript;G:\usr\share\fonts\default\type1"

This gave me a working display of the PDF, meaning, GSview has no problems properly rendering the PDF files. The only issue I actually have is the ability to print. Specifically, any attempt to do so produces the following error message:

=== START ===
GPL Ghostscript 9.18 (2015-10-05)
Copyright (C) 2015 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Unknown device: pswrite
  ./base/gsicc_manage.c:1086: gsicc_open_search(): Could not find default_gray.icc
| ./base/gsicc_manage.c:1706: gsicc_set_device_profile(): cannot find device profile
Unrecoverable error: unknownerror in .special_op
Operand stack:
    defaultdevice
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
    defaultdevice
gsapi_exit returns 0
DosFreeModule returns 12
=== STOP ===

Because of the message above (...could not find default_gray.icc...) I included the matching directory in the Include Path setup, that being: "G:\usr\share\ghostscript\9.18\iccprofiles;". Still, this has had no impact, the error remains.

So I'm curious how have others proceeded in this migration step? Have you completely un-installed Ghostview? Have you made any other changes?

Thanks as always!

564
Networking / Re: Samba 4.4.x Netdrive plugin for OS/2
« on: March 25, 2017, 03:42:51 pm »
...& a Samba 4.6.0 client (this one needed more source changes that the above)
smbcln46.dll and smbclient.exe:
http://smedley.id.au/tmp/smbcln46-4.6.0-20170312.zip

ndpsmb.dll based on Samba 4.6.0 is at http://smedley.id.au/tmp/ndpsmb-3.2-samba46-20170313.zip (needs smbcln46.dll from the above)

Feedback appreciated - Samba 4.4 is security fixes only now.

Cheers,

Paul

Took a stab at the move to 4.6 and thrilled to report a SUCCESS!!!

Thanks Paul for continuing this work and huge thanks to Greggory, as I had originally in my update process missed something which resulted in the NDFS not recognizing the updated plugin...reviewing your docs allowed me to proof things out a step at a time!

565
Applications / Re: RsyncBackup/2 ready for testing !
« on: March 18, 2017, 03:15:19 pm »
Greggory,
Does your RsyncBackup create live backup/copy of a disk/partition (so disk=>disk copy)? Or is it primarily meant to create a ZIP backup?

I ask because I have been using dSync (dSync for OS/2, Version 0.1.6z  (c) 2001-2003 by MaDdEd-Ii) for a number of years now. It runs once every 24 hrs and simply syncs up my partitions...

Thanks,
-Dariusz

566
Programming / Re: files (and directories) not showing up in WPS
« on: February 10, 2017, 04:31:41 pm »
Doug,

Was this a single filename? Or multiple ones?

The reason why I ask is that I occasionally see this with XWP 1.0.11, but I am literally missing the whole directory listing...in your case, given that EA was the culprit I will review the EAs of all files located in the "missing" directory, maybe that is actually what causes the symptom I am seeing?

567
Storage / Re: Someone has seen this before os2.ini
« on: February 10, 2017, 04:28:17 pm »
Ivan!

...Who in their right mind uses that size boot partition for OS/2?  It is the boot partition not the dump space for things like HOME and PROGRAMS.

Well, back in the day, one could easily do this...so my OS/2 box, with an original install dating back to (I kid you not) around 1993-4 has been upgraded many many times, moved to at least 3 different hardware platforms and subsequently, as HD space become cheap and plenty, it made little sense to re-do the install to separate out the OS from the APPS.

So yeah, big 64Gig HPFS386 partition here, this the main OS and APPS partition...with bulk of DATA stored in other partitions. I live with sins of the past, today, absolutely agree, I would never merge the two...

568
Applications / Re: Blue Lion Beta testing...
« on: February 10, 2017, 04:18:22 pm »
...My question was based on the problems a few people have mentioned here about eCS and 6 core AMD processors and the fact that most off the shelf machines come with Intel processors.

An ancient AMD Phenom II X6 here (1100T), but only workable with 5 cores, the 6th one causes the dreaded "Blue Screen of Boot Death"...LOL...mind you, not all the time, but too often altogether, to the point where attempting to boot with one is almost always a miss.

569
Applications / Re: OpenOffice 4.1.3 Draw problem
« on: February 10, 2017, 02:53:36 pm »
I've got my system set to use VIRTUALADDRESSLIMIT=2560 setting.

Given how many HPFS386 partitions I have defined I found that setting this anywhere higher causes some sort of memory error during boot where the volumes are not "mounted"...yeah, strange error, but pretty specific to my hardware configuration.

570
Folks,

Brief update on my part. Marcel Müller released an updated version of EXIFTOOL...it now handles the same date/time stamp EXIF content down to HH:MM:SS and creates a '~1, ~2, ~3...' filenames...so this now works very well.

If you are not looking for the option to put that information into your EA then Jhead is a great option. In fact, it gives you way more controls over the final filename formatting.

I exchanged a few emails with Elbert Pol and he ported the 3.0 version of Jhead over. I tested it, the app handled all the filename wildcard processing, so multiple files and formatting very well as well. Elbert was going to release this as a RPM package.

I never got a chance to test Paul's release since Elbert got in touch with me regarding the 3.0 release.

Pages: 1 ... 36 37 [38] 39 40 ... 49