Discussion:
GSview problem
(too old to reply)
D***@gmail.com
2008-08-29 07:42:31 UTC
Permalink
I uninstalled GSView and reinstalled it and now I get the following
error:
Failed to load C:\Program Files\gs\gs8.54\bin\gsdll32.dll, error 126
Does anybody know how can I fix it?
Btw, I have downloaded the file and copy paste it but didn't worked :-
( .

David
Aandi Inston
2008-08-29 07:59:28 UTC
Permalink
Post by D***@gmail.com
I uninstalled GSView and reinstalled it and now I get the following
Failed to load C:\Program Files\gs\gs8.54\bin\gsdll32.dll, error 126
Error 126 is "module not found".

Did you reinstall GhostScript?
----------------------------------------
Aandi Inston
Please support usenet! Post replies and follow-ups, don't e-mail them.
D***@gmail.com
2008-08-29 09:41:14 UTC
Permalink
Post by Aandi Inston
Post by D***@gmail.com
I uninstalled GSView and reinstalled it and now I get the following
Failed to load C:\Program Files\gs\gs8.54\bin\gsdll32.dll, error 126
Error 126 is "module not found".
Did you reinstall GhostScript?
----------------------------------------
Aandi Inston  
Please support usenet! Post replies and follow-ups, don't e-mail them.
Yes I have uninstalled first(+ erased all folders) and then
reinstalled it.

David.
Aandi Inston
2008-08-29 10:46:42 UTC
Permalink
Post by Aandi Inston
Post by D***@gmail.com
I uninstalled GSView and reinstalled it and now I get the following
Failed to load C:\Program Files\gs\gs8.54\bin\gsdll32.dll, error 126
Error 126 is "module not found".
Did you reinstall GhostScript?
Ok, so after you reinstalled GhostScript, did C:\Program
Files\gs\gs8.54\bin\gsdll32.dll exist, at that exact location?

When you wrote "I have downloaded the file and copy paste it", what
EXACTLY did you do?
----------------------------------------
Aandi Inston
Please support usenet! Post replies and follow-ups, don't e-mail them.
D***@gmail.com
2008-09-04 14:05:16 UTC
Permalink
I will not start a new topic. I have a problem concerning displaying
the page in GSView.
I have set
%%BoundingBox: 0 0 792 612
and at the beginning of every page I set the page size with
setpagedevice operator.
Still it does not appear as it should in GSView.It appears the
bounding box of the page, but it appears inside a larger page.
It is set at Media->User Defined and it is all ok.
Is there something that I should do so it will appear as it should in
GSView?
Btw, in Acrobat Distiller it is displayed well.

David.
Aandi Inston
2008-09-04 14:10:09 UTC
Permalink
Post by D***@gmail.com
I have set
%%BoundingBox: 0 0 792 612 ...
Still it does not appear as it should in GSView.
Is the file DSC compliant? (If you are not sure, what are the initial
comments in the file up to and including %%BoundingBox)?
----------------------------------------
Aandi Inston
Please support usenet! Post replies and follow-ups, don't e-mail them.
D***@gmail.com
2008-09-04 14:52:14 UTC
Permalink
%!PS-Adobe-3.0
%%Pages:1
%%Title: Debug Section
%%Creator: ECRION PS Encoder 1548456
%%LanguageLevel: 2
%%CreationDate:
%%For:
Aandi Inston
2008-09-04 15:18:59 UTC
Permalink
Post by D***@gmail.com
%!PS-Adobe-3.0
%%Pages:1
Is this count correct?

Do you have a %%Page: comment?
----------------------------------------
Aandi Inston
Please support usenet! Post replies and follow-ups, don't e-mail them.
a***@hotmail.com
2008-09-04 16:19:06 UTC
Permalink
Post by Aandi Inston
Post by D***@gmail.com
%!PS-Adobe-3.0
%%Pages:1
Is this count correct?
Do you have a %%Page: comment?
----------------------------------------
Aandi Inston
Please support usenet! Post replies and follow-ups, don't e-mail them.
Below is an example of DSC's that work with evince a linux based gs
viewer,
It may be the order you specified your BoundingBox are not the same as
the order for setpagedevice.

Ed

Note the order of 612 792 in BoundingBox and setpagedevice. Our yours
in the
same order. You can switch them all and it still works with a view
that
shows width greater than height

%!PS-Adobe-3.0
%%BoundingBox: 0 0 612 792
%%Pages: 1
%%EndComments

%%BeginProlog
%%EndProlog

%%BeginSetup
<<
/PageSize [612 792]
Post by Aandi Inston
Post by D***@gmail.com
setpagedevice
%%EndSetup

%%BeginPageSetup
%%Page: 1 1
%%EndPageSetup

.5 setgray
36 36 540 720 rectfill
showpage

%%PageTrailer
%%Trailer
%%EOF
D***@gmail.com
2008-09-05 10:44:45 UTC
Permalink
Post by Aandi Inston
Post by D***@gmail.com
%!PS-Adobe-3.0
%%Pages:1
Is this count correct?
Do you have a %%Page: comment?
----------------------------------------
Aandi Inston  
Please support usenet! Post replies and follow-ups, don't e-mail them.
Yes, I do.
I managed to correct this problem:
I put a comment: %%DocumentMedia: plain 792 612 0 ()
and it works on all cases.

I still have an error in GSView (that doesn't seem big) :
in the Messages section I get this message:
Lines in DSC documents must be shorter than 255 characters.

Could this affect some printers ?

David.
Helge Blischke
2008-09-05 12:00:11 UTC
Permalink
Post by D***@gmail.com
Post by Aandi Inston
Post by D***@gmail.com
%!PS-Adobe-3.0
%%Pages:1
Is this count correct?
Do you have a %%Page: comment?
----------------------------------------
Aandi Inston
Please support usenet! Post replies and follow-ups, don't e-mail them.
Yes, I do.
I put a comment: %%DocumentMedia: plain 792 612 0 ()
and it works on all cases.
Lines in DSC documents must be shorter than 255 characters.
Could this affect some printers ?
David.
According to the PLRM the stuff following a percent sign
is treated as a comment up to the end of the current line.
Thus, the printer(s) should simply ignore this.

Helge
--
Helge Blischke
Softwareentwicklung

***@acm.org
a***@hotmail.com
2008-09-05 12:23:10 UTC
Permalink
Post by Helge Blischke
According to the PLRM the stuff following a percent sign
is treated as a comment up to the end of the current line.
Thus, the printer(s) should simply ignore this.
Helge
The Adobe PS interpreter will ignore it. However other pieces of the
workflow
including processes on some printers do use DSC's and other comments
for
feature selection such as media.

Ed
D***@gmail.com
2008-09-05 12:50:30 UTC
Permalink
Post by a***@hotmail.com
Post by Helge Blischke
According to the PLRM the stuff following a percent sign
is treated as a comment up to the end of the current line.
Thus, the printer(s) should simply ignore this.
Helge
The Adobe PS interpreter will ignore it. However other pieces of the
workflow
including processes on some printers do use DSC's and other comments
for
feature selection such as media.
Ed
I understand, but still if a client wants a preview and uses GSview
and the page doesn't display well he's going to panic :-).
Anyway, more important do you know if lines with a length bigger than
256 could affect some printers?
In GSView the documents are displayed well, but in the message box It
gives me this error. I am asking this because I get this at text
showing => if I break it into pieces I got some work to do.

David.
a***@hotmail.com
2008-09-05 15:42:33 UTC
Permalink
Post by D***@gmail.com
Post by a***@hotmail.com
Post by Helge Blischke
According to the PLRM the stuff following a percent sign
is treated as a comment up to the end of the current line.
Thus, the printer(s) should simply ignore this.
Helge
The Adobe PS interpreter will ignore it. However other pieces of the
workflow
including processes on some printers do use DSC's and other comments
for
feature selection such as media.
Ed
I understand, but still if a client wants a preview and uses GSview
and the page doesn't display well he's going to panic :-).
Anyway, more important do you know if lines with a length bigger than
256 could affect some printers?
In GSView the documents are displayed well, but in the message box It
gives me this error. I am asking this because I get this at text
showing => if I break it into pieces I got some work to do.
David.
David,

You can place your DSC's on multiple lines (see example beow) using %%
+
if you have long lines. The DSC parser where you got the error limits
it to 256 characters. Most parsers including spoolers on printers have
this
number set higher if there is any limit.

Ed

%%DocumentSuppliedResources:
%%+ procset Pscript_WinNT_ErrorHandler 5.0 0
%%+ procset Pscript_WinNT_Min 5.0 0
%%+ procset Pscript_Win_Basic 5.0 0
%%+ procset Pscript_Win_Utils_L2 5.0 0

Continue reading on narkive:
Loading...